Skip to main content

resolve_services

Creates, updates, deletes, gets or lists a resolve_services resource.

Overview

Nameresolve_services
TypeResource
Idazure.service_fabric_dataplane.resolve_services

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
resolve_serviceexecservice_id, endpointPartitionKeyType, PartitionKeyValue, PreviousRspVersion, timeoutResolve a Service Fabric partition. Resolve a Service Fabric service partition to get the endpoints of the service replicas.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )
service_idstringThe identity of the service. This ID is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myappapp1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions.
PartitionKeyTypeintegerKey type for the partition. This parameter is required if the partition scheme for the service is Int64Range or Named. The possible values are following. - None (1) - Indicates that the PartitionKeyValue parameter is not specified. This is valid for the partitions with partitioning scheme as Singleton. This is the default value. The value is 1. - Int64Range (2) - Indicates that the PartitionKeyValue parameter is an int64 partition key. This is valid for the partitions with partitioning scheme as Int64Range. The value is 2. - Named (3) - Indicates that the PartitionKeyValue parameter is a name of the partition. This is valid for the partitions with partitioning scheme as Named. The value is 3.
PartitionKeyValuestringPartition key. This is required if the partition scheme for the service is Int64Range or Named. This is not the partition ID, but rather, either the integer key value, or the name of the partition ID. For example, if your service is using ranged partitions from 0 to 10, then they PartitionKeyValue would be an integer in that range. Query service description to see the range or name.
PreviousRspVersionstringThe value in the Version field of the response that was received previously. This is required if the user knows that the result that was gotten previously is stale.
timeoutinteger (int64)The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

Lifecycle Methods

Resolve a Service Fabric partition. Resolve a Service Fabric service partition to get the endpoints of the service replicas.

EXEC azure.service_fabric_dataplane.resolve_services.resolve_service 
@service_id='{{ service_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@PartitionKeyType='{{ PartitionKeyType }}',
@PartitionKeyValue='{{ PartitionKeyValue }}',
@PreviousRspVersion='{{ PreviousRspVersion }}',
@timeout='{{ timeout }}'
;