def resolve_service(service_id, partition_key_type:nil, partition_key_value:nil, previous_rsp_version:nil, timeout:60, custom_headers:nil)
      response = resolve_service_async(service_id, partition_key_type:partition_key_type, partition_key_value:partition_key_value, previous_rsp_version:previous_rsp_version, timeout:timeout, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def resolve_service(service_id, partition_key_type:nil, partition_key_value:nil, previous_rsp_version:nil, timeout:60, custom_headers:nil)
      response = resolve_service_async(service_id, partition_key_type:partition_key_type, partition_key_value:partition_key_value, previous_rsp_version:previous_rsp_version, timeout:timeout, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Resolve a Service Fabric partition.

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

 @param service_id [String] The identity of the service. This 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 "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous
 versions.
 @param partition_key_type [Integer] Key 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.
 @param partition_key_value [String] Partition key. This is required if the
 partition scheme for the service is Int64Range or Named.
 @param previous_rsp_version [String] The value in the Version field of the
 response that was received previously. This is required if the user knows
 that the result that was got previously is stale.
 @param timeout [Integer] 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.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ResolvedServicePartition] operation results.