SqlVirtualMachineGroups interface
Interface representing a SqlVirtualMachineGroups.
Methods
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.
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.
The options parameters.
Returns
Promise<SqlVirtualMachineGroup>
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.
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.
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.
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.
The options parameters.
Returns
Promise<SqlVirtualMachineGroup>
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.
The options parameters.
Returns
Promise<SqlVirtualMachineGroup>
list(SqlVirtualMachineGroupsListOptionalParams)
Gets all SQL virtual machine groups in a subscription.
function list(options?: SqlVirtualMachineGroupsListOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachineGroup, SqlVirtualMachineGroup[], PageSettings>
Parameters
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.
The options parameters.
Returns
Azure SDK for JavaScript