SqlVirtualMachineGroups class
Class representing a SqlVirtualMachineGroups.
Constructors
Sql |
Create a SqlVirtualMachineGroups. |
Methods
Constructor Details
SqlVirtualMachineGroups(SqlVirtualMachineManagementClientContext)
Create a SqlVirtualMachineGroups.
new SqlVirtualMachineGroups(client: SqlVirtualMachineManagementClientContext)
Parameters
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<SqlVirtualMachineGroupsGetResponse>
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
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
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<SqlVirtualMachineGroupsListResponse>
Promise<Models.SqlVirtualMachineGroupsListResponse>
list(RequestOptionsBase, ServiceCallback<SqlVirtualMachineGroupListResult>)
function list(options: RequestOptionsBase, callback: ServiceCallback<SqlVirtualMachineGroupListResult>)
Parameters
- options
- RequestOptionsBase
The optional parameters
The callback
list(ServiceCallback<SqlVirtualMachineGroupListResult>)
function list(callback: ServiceCallback<SqlVirtualMachineGroupListResult>)
Parameters
The callback
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
The callback
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.
The callback
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
The callback
listByResourceGroupNext(string, ServiceCallback<SqlVirtualMachineGroupListResult>)
function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<SqlVirtualMachineGroupListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
The callback
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
The callback
listNext(string, ServiceCallback<SqlVirtualMachineGroupListResult>)
function listNext(nextPageLink: string, callback: ServiceCallback<SqlVirtualMachineGroupListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
The callback
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>