Example #1
0
 /// <summary>
 /// Updates the configuration of a Service Fabric managed cluster resource.
 /// </summary>
 /// <remarks>
 /// Update the configuration of a Service Fabric managed cluster resource with
 /// the specified name.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='clusterName'>
 /// The name of the cluster resource.
 /// </param>
 /// <param name='parameters'>
 /// The parameters to update the managed cluster configuration.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ManagedCluster> BeginUpdateAsync(this IManagedClustersOperations operations, string resourceGroupName, string clusterName, ManagedClusterUpdateParameters parameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, clusterName, parameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }