/// <summary>
 /// Patch an existing Azure ML web service resource.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='patchPayload'>
 /// The payload to patch the Azure ML web service with.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group.
 /// </param>
 /// <param name='webServiceName'>
 /// The Azure ML web service name which you want to reach.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <WebService> PatchWithRequestIdAsync(this IWebServicesOperations operations, WebService patchPayload, string resourceGroupName, string webServiceName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PatchWebServiceWithProperRequestIdAsync(patchPayload, resourceGroupName, webServiceName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }