Share via


VirtualClustersOperationsExtensions.UpdateAsync Method

Definition

Updates a virtual cluster.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.VirtualCluster> UpdateAsync (this Microsoft.Azure.Management.Sql.IVirtualClustersOperations operations, string resourceGroupName, string virtualClusterName, Microsoft.Azure.Management.Sql.Models.VirtualClusterUpdate parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Sql.IVirtualClustersOperations * string * string * Microsoft.Azure.Management.Sql.Models.VirtualClusterUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.VirtualCluster>
<Extension()>
Public Function UpdateAsync (operations As IVirtualClustersOperations, resourceGroupName As String, virtualClusterName As String, parameters As VirtualClusterUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualCluster)

Parameters

operations
IVirtualClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

virtualClusterName
String

The name of the virtual cluster.

parameters
VirtualClusterUpdate

The requested virtual cluster resource state.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to