Share via


SqlVirtualMachineGroupsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a SQL virtual machine group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.SqlVirtualMachine.Models.SqlVirtualMachineGroup> CreateOrUpdateAsync (this Microsoft.Azure.Management.SqlVirtualMachine.ISqlVirtualMachineGroupsOperations operations, string resourceGroupName, string sqlVirtualMachineGroupName, Microsoft.Azure.Management.SqlVirtualMachine.Models.SqlVirtualMachineGroup parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.SqlVirtualMachine.ISqlVirtualMachineGroupsOperations * string * string * Microsoft.Azure.Management.SqlVirtualMachine.Models.SqlVirtualMachineGroup * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.SqlVirtualMachine.Models.SqlVirtualMachineGroup>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ISqlVirtualMachineGroupsOperations, resourceGroupName As String, sqlVirtualMachineGroupName As String, parameters As SqlVirtualMachineGroup, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SqlVirtualMachineGroup)

Parameters

operations
ISqlVirtualMachineGroupsOperations

The operations group for this extension method.

resourceGroupName
String

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

sqlVirtualMachineGroupName
String

Name of the SQL virtual machine group.

parameters
SqlVirtualMachineGroup

The SQL virtual machine group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to