SqlVirtualMachineGroups interface

Interface representing a SqlVirtualMachineGroups.

Methods

beginCreateOrUpdate(string, string, SqlVirtualMachineGroup, SqlVirtualMachineGroupsCreateOrUpdateOptionalParams)

Creates or updates a SQL virtual machine group.

beginCreateOrUpdateAndWait(string, string, SqlVirtualMachineGroup, SqlVirtualMachineGroupsCreateOrUpdateOptionalParams)

Creates or updates a SQL virtual machine group.

beginDelete(string, string, SqlVirtualMachineGroupsDeleteOptionalParams)

Deletes a SQL virtual machine group.

beginDeleteAndWait(string, string, SqlVirtualMachineGroupsDeleteOptionalParams)

Deletes a SQL virtual machine group.

beginUpdate(string, string, SqlVirtualMachineGroupUpdate, SqlVirtualMachineGroupsUpdateOptionalParams)

Updates SQL virtual machine group tags.

beginUpdateAndWait(string, string, SqlVirtualMachineGroupUpdate, SqlVirtualMachineGroupsUpdateOptionalParams)

Updates SQL virtual machine group tags.

get(string, string, SqlVirtualMachineGroupsGetOptionalParams)

Gets a SQL virtual machine group.

list(SqlVirtualMachineGroupsListOptionalParams)

Gets all SQL virtual machine groups in a subscription.

listByResourceGroup(string, SqlVirtualMachineGroupsListByResourceGroupOptionalParams)

Gets all SQL virtual machine groups in a resource group.

Method Details

beginCreateOrUpdate(string, string, SqlVirtualMachineGroup, SqlVirtualMachineGroupsCreateOrUpdateOptionalParams)

Creates or updates a SQL virtual machine group.

function beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroup, options?: SqlVirtualMachineGroupsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlVirtualMachineGroup>, SqlVirtualMachineGroup>>

Parameters

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.

options
SqlVirtualMachineGroupsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<SqlVirtualMachineGroup>, SqlVirtualMachineGroup>>

beginCreateOrUpdateAndWait(string, string, SqlVirtualMachineGroup, SqlVirtualMachineGroupsCreateOrUpdateOptionalParams)

Creates or updates a SQL virtual machine group.

function beginCreateOrUpdateAndWait(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroup, options?: SqlVirtualMachineGroupsCreateOrUpdateOptionalParams): Promise<SqlVirtualMachineGroup>

Parameters

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.

options
SqlVirtualMachineGroupsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, SqlVirtualMachineGroupsDeleteOptionalParams)

Deletes a SQL virtual machine group.

function beginDelete(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachineGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

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.

options
SqlVirtualMachineGroupsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, SqlVirtualMachineGroupsDeleteOptionalParams)

Deletes a SQL virtual machine group.

function beginDeleteAndWait(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachineGroupsDeleteOptionalParams): Promise<void>

Parameters

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.

options
SqlVirtualMachineGroupsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, SqlVirtualMachineGroupUpdate, SqlVirtualMachineGroupsUpdateOptionalParams)

Updates SQL virtual machine group tags.

function beginUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroupUpdate, options?: SqlVirtualMachineGroupsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlVirtualMachineGroup>, SqlVirtualMachineGroup>>

Parameters

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
SqlVirtualMachineGroupUpdate

The SQL virtual machine group.

options
SqlVirtualMachineGroupsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<SqlVirtualMachineGroup>, SqlVirtualMachineGroup>>

beginUpdateAndWait(string, string, SqlVirtualMachineGroupUpdate, SqlVirtualMachineGroupsUpdateOptionalParams)

Updates SQL virtual machine group tags.

function beginUpdateAndWait(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroupUpdate, options?: SqlVirtualMachineGroupsUpdateOptionalParams): Promise<SqlVirtualMachineGroup>

Parameters

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
SqlVirtualMachineGroupUpdate

The SQL virtual machine group.

options
SqlVirtualMachineGroupsUpdateOptionalParams

The options parameters.

Returns

get(string, string, SqlVirtualMachineGroupsGetOptionalParams)

Gets a SQL virtual machine group.

function get(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachineGroupsGetOptionalParams): Promise<SqlVirtualMachineGroup>

Parameters

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.

options
SqlVirtualMachineGroupsGetOptionalParams

The options parameters.

Returns

list(SqlVirtualMachineGroupsListOptionalParams)

Gets all SQL virtual machine groups in a subscription.

function list(options?: SqlVirtualMachineGroupsListOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachineGroup, SqlVirtualMachineGroup[], PageSettings>

Parameters

options
SqlVirtualMachineGroupsListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, SqlVirtualMachineGroupsListByResourceGroupOptionalParams)

Gets all SQL virtual machine groups in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: SqlVirtualMachineGroupsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachineGroup, SqlVirtualMachineGroup[], PageSettings>

Parameters

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.

Returns