SqlVirtualMachineGroups class

Class representing a SqlVirtualMachineGroups.

Constructors

SqlVirtualMachineGroups(SqlVirtualMachineManagementClientContext)

Create a SqlVirtualMachineGroups.

Methods

beginCreateOrUpdate(string, string, SqlVirtualMachineGroup, RequestOptionsBase)

Creates or updates a SQL virtual machine group.

beginDeleteMethod(string, string, RequestOptionsBase)

Deletes a SQL virtual machine group.

beginUpdate(string, string, SqlVirtualMachineGroupUpdate, RequestOptionsBase)

Updates SQL virtual machine group tags.

createOrUpdate(string, string, SqlVirtualMachineGroup, RequestOptionsBase)

Creates or updates a SQL virtual machine group.

deleteMethod(string, string, RequestOptionsBase)

Deletes a SQL virtual machine group.

get(string, string, RequestOptionsBase)

Gets a SQL virtual machine group.

get(string, string, RequestOptionsBase, ServiceCallback<SqlVirtualMachineGroup>)
get(string, string, ServiceCallback<SqlVirtualMachineGroup>)
list(RequestOptionsBase)

Gets all SQL virtual machine groups in a subscription.

list(RequestOptionsBase, ServiceCallback<SqlVirtualMachineGroupListResult>)
list(ServiceCallback<SqlVirtualMachineGroupListResult>)
listByResourceGroup(string, RequestOptionsBase)

Gets all SQL virtual machine groups in a resource group.

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<SqlVirtualMachineGroupListResult>)
listByResourceGroup(string, ServiceCallback<SqlVirtualMachineGroupListResult>)
listByResourceGroupNext(string, RequestOptionsBase)

Gets all SQL virtual machine groups in a resource group.

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<SqlVirtualMachineGroupListResult>)
listByResourceGroupNext(string, ServiceCallback<SqlVirtualMachineGroupListResult>)
listNext(string, RequestOptionsBase)

Gets all SQL virtual machine groups in a subscription.

listNext(string, RequestOptionsBase, ServiceCallback<SqlVirtualMachineGroupListResult>)
listNext(string, ServiceCallback<SqlVirtualMachineGroupListResult>)
update(string, string, SqlVirtualMachineGroupUpdate, RequestOptionsBase)

Updates SQL virtual machine group tags.

Constructor Details

SqlVirtualMachineGroups(SqlVirtualMachineManagementClientContext)

Create a SqlVirtualMachineGroups.

new SqlVirtualMachineGroups(client: SqlVirtualMachineManagementClientContext)

Parameters

client
SqlVirtualMachineManagementClientContext

Reference to the service client.

Method Details

beginCreateOrUpdate(string, string, SqlVirtualMachineGroup, RequestOptionsBase)

Creates or updates a SQL virtual machine group.

function beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroup, options?: RequestOptionsBase): Promise<LROPoller>

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
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

beginDeleteMethod(string, string, RequestOptionsBase)

Deletes a SQL virtual machine group.

function beginDeleteMethod(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: RequestOptionsBase): Promise<LROPoller>

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
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

beginUpdate(string, string, SqlVirtualMachineGroupUpdate, RequestOptionsBase)

Updates SQL virtual machine group tags.

function beginUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroupUpdate, options?: RequestOptionsBase): Promise<LROPoller>

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
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

createOrUpdate(string, string, SqlVirtualMachineGroup, RequestOptionsBase)

Creates or updates a SQL virtual machine group.

function createOrUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroup, options?: RequestOptionsBase): Promise<SqlVirtualMachineGroupsCreateOrUpdateResponse>

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
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SqlVirtualMachineGroupsCreateOrUpdateResponse>

deleteMethod(string, string, RequestOptionsBase)

Deletes a SQL virtual machine group.

function deleteMethod(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: RequestOptionsBase): Promise<RestResponse>

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
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

get(string, string, RequestOptionsBase)

Gets a SQL virtual machine group.

function get(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: RequestOptionsBase): Promise<SqlVirtualMachineGroupsGetResponse>

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
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SqlVirtualMachineGroupsGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<SqlVirtualMachineGroup>)

function get(resourceGroupName: string, sqlVirtualMachineGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

The optional parameters

callback

ServiceCallback<SqlVirtualMachineGroup>

The callback

get(string, string, ServiceCallback<SqlVirtualMachineGroup>)

function get(resourceGroupName: string, sqlVirtualMachineGroupName: string, callback: ServiceCallback<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.

callback

ServiceCallback<SqlVirtualMachineGroup>

The callback

list(RequestOptionsBase)

Gets all SQL virtual machine groups in a subscription.

function list(options?: RequestOptionsBase): Promise<SqlVirtualMachineGroupsListResponse>

Parameters

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SqlVirtualMachineGroupsListResponse>

list(RequestOptionsBase, ServiceCallback<SqlVirtualMachineGroupListResult>)

function list(options: RequestOptionsBase, callback: ServiceCallback<SqlVirtualMachineGroupListResult>)

Parameters

options
RequestOptionsBase

The optional parameters

list(ServiceCallback<SqlVirtualMachineGroupListResult>)

function list(callback: ServiceCallback<SqlVirtualMachineGroupListResult>)

Parameters

listByResourceGroup(string, RequestOptionsBase)

Gets all SQL virtual machine groups in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<SqlVirtualMachineGroupsListByResourceGroupResponse>

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.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SqlVirtualMachineGroupsListByResourceGroupResponse>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<SqlVirtualMachineGroupListResult>)

function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<SqlVirtualMachineGroupListResult>)

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.

options
RequestOptionsBase

The optional parameters

listByResourceGroup(string, ServiceCallback<SqlVirtualMachineGroupListResult>)

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<SqlVirtualMachineGroupListResult>)

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.

listByResourceGroupNext(string, RequestOptionsBase)

Gets all SQL virtual machine groups in a resource group.

function listByResourceGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<SqlVirtualMachineGroupsListByResourceGroupNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SqlVirtualMachineGroupsListByResourceGroupNextResponse>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<SqlVirtualMachineGroupListResult>)

function listByResourceGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<SqlVirtualMachineGroupListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listByResourceGroupNext(string, ServiceCallback<SqlVirtualMachineGroupListResult>)

function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<SqlVirtualMachineGroupListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

listNext(string, RequestOptionsBase)

Gets all SQL virtual machine groups in a subscription.

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<SqlVirtualMachineGroupsListNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SqlVirtualMachineGroupsListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<SqlVirtualMachineGroupListResult>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<SqlVirtualMachineGroupListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listNext(string, ServiceCallback<SqlVirtualMachineGroupListResult>)

function listNext(nextPageLink: string, callback: ServiceCallback<SqlVirtualMachineGroupListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

update(string, string, SqlVirtualMachineGroupUpdate, RequestOptionsBase)

Updates SQL virtual machine group tags.

function update(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroupUpdate, options?: RequestOptionsBase): Promise<SqlVirtualMachineGroupsUpdateResponse>

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
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SqlVirtualMachineGroupsUpdateResponse>