/// <summary> /// Patch FHIR Service details. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the service instance. /// </param> /// <param name='fhirServiceName'> /// The name of FHIR Service resource. /// </param> /// <param name='workspaceName'> /// The name of workspace resource. /// </param> /// <param name='fhirservicePatchResource'> /// The parameters for updating a Fhir Service. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <FhirService> BeginUpdateAsync(this IFhirServicesOperations operations, string resourceGroupName, string fhirServiceName, string workspaceName, FhirServicePatchResource fhirservicePatchResource, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, fhirServiceName, workspaceName, fhirservicePatchResource, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Patch FHIR Service details. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the service instance. /// </param> /// <param name='fhirServiceName'> /// The name of FHIR Service resource. /// </param> /// <param name='workspaceName'> /// The name of workspace resource. /// </param> /// <param name='fhirservicePatchResource'> /// The parameters for updating a Fhir Service. /// </param> public static FhirService BeginUpdate(this IFhirServicesOperations operations, string resourceGroupName, string fhirServiceName, string workspaceName, FhirServicePatchResource fhirservicePatchResource) { return(operations.BeginUpdateAsync(resourceGroupName, fhirServiceName, workspaceName, fhirservicePatchResource).GetAwaiter().GetResult()); }