コード例 #1
0
 /// <summary>
 /// Update a Kusto cluster.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group containing the Kusto cluster.
 /// </param>
 /// <param name='clusterName'>
 /// The name of the Kusto cluster.
 /// </param>
 /// <param name='parameters'>
 /// The Kusto cluster parameters supplied to the Update operation.
 /// </param>
 public static Cluster BeginUpdate(this IClustersOperations operations, string resourceGroupName, string clusterName, ClusterUpdate parameters)
 {
     return(operations.BeginUpdateAsync(resourceGroupName, clusterName, parameters).GetAwaiter().GetResult());
 }
コード例 #2
0
 /// <summary>
 /// Updates an existing cluster. This can be used to partially update (ie.
 /// update one or two properties) a cluster without affecting the rest of the
 /// cluster definition.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cluster'>
 /// The properties specified here will overwrite the corresponding properties
 /// in the existing cluster (ie. Those properties will be updated).
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='clusterName'>
 /// The name of the cluster.
 /// </param>
 /// <param name='ifMatch'>
 /// The ETag of the resource. Omit this value to always overwrite the current
 /// record set. Specify the last-seen ETag value to prevent accidentally
 /// overwriting concurrent changes.
 /// </param>
 public static Cluster BeginUpdate(this IClustersOperations operations, Cluster cluster, string resourceGroupName, string clusterName, string ifMatch = default(string))
 {
     return(operations.BeginUpdateAsync(cluster, resourceGroupName, clusterName, ifMatch).GetAwaiter().GetResult());
 }