SqlVirtualMachines interface
Interface representing a SqlVirtualMachines.
Methods
Method Details
beginCreateOrUpdate(string, string, SqlVirtualMachine, SqlVirtualMachinesCreateOrUpdateOptionalParams)
Creates or updates a SQL virtual machine.
function beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachine, options?: SqlVirtualMachinesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlVirtualMachine>, SqlVirtualMachine>>
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.
- sqlVirtualMachineName
-
string
Name of the SQL virtual machine.
- parameters
- SqlVirtualMachine
The SQL virtual machine.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<SqlVirtualMachine>, SqlVirtualMachine>>
beginCreateOrUpdateAndWait(string, string, SqlVirtualMachine, SqlVirtualMachinesCreateOrUpdateOptionalParams)
Creates or updates a SQL virtual machine.
function beginCreateOrUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachine, options?: SqlVirtualMachinesCreateOrUpdateOptionalParams): Promise<SqlVirtualMachine>
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.
- sqlVirtualMachineName
-
string
Name of the SQL virtual machine.
- parameters
- SqlVirtualMachine
The SQL virtual machine.
The options parameters.
Returns
Promise<SqlVirtualMachine>
beginDelete(string, string, SqlVirtualMachinesDeleteOptionalParams)
Deletes a SQL virtual machine.
function beginDelete(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesDeleteOptionalParams): 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.
- sqlVirtualMachineName
-
string
Name of the SQL virtual machine.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, SqlVirtualMachinesDeleteOptionalParams)
Deletes a SQL virtual machine.
function beginDeleteAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesDeleteOptionalParams): 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.
- sqlVirtualMachineName
-
string
Name of the SQL virtual machine.
The options parameters.
Returns
Promise<void>
beginRedeploy(string, string, SqlVirtualMachinesRedeployOptionalParams)
Uninstalls and reinstalls the SQL IaaS Extension.
function beginRedeploy(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesRedeployOptionalParams): 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.
- sqlVirtualMachineName
-
string
Name of the SQL virtual machine.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginRedeployAndWait(string, string, SqlVirtualMachinesRedeployOptionalParams)
Uninstalls and reinstalls the SQL IaaS Extension.
function beginRedeployAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesRedeployOptionalParams): 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.
- sqlVirtualMachineName
-
string
Name of the SQL virtual machine.
The options parameters.
Returns
Promise<void>
beginStartAssessment(string, string, SqlVirtualMachinesStartAssessmentOptionalParams)
Starts SQL best practices Assessment on SQL virtual machine.
function beginStartAssessment(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): 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.
- sqlVirtualMachineName
-
string
Name of the SQL virtual machine.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginStartAssessmentAndWait(string, string, SqlVirtualMachinesStartAssessmentOptionalParams)
Starts SQL best practices Assessment on SQL virtual machine.
function beginStartAssessmentAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): 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.
- sqlVirtualMachineName
-
string
Name of the SQL virtual machine.
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, SqlVirtualMachineUpdate, SqlVirtualMachinesUpdateOptionalParams)
Updates a SQL virtual machine.
function beginUpdate(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlVirtualMachine>, SqlVirtualMachine>>
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.
- sqlVirtualMachineName
-
string
Name of the SQL virtual machine.
- parameters
- SqlVirtualMachineUpdate
The SQL virtual machine.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<SqlVirtualMachine>, SqlVirtualMachine>>
beginUpdateAndWait(string, string, SqlVirtualMachineUpdate, SqlVirtualMachinesUpdateOptionalParams)
Updates a SQL virtual machine.
function beginUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<SqlVirtualMachine>
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.
- sqlVirtualMachineName
-
string
Name of the SQL virtual machine.
- parameters
- SqlVirtualMachineUpdate
The SQL virtual machine.
The options parameters.
Returns
Promise<SqlVirtualMachine>
get(string, string, SqlVirtualMachinesGetOptionalParams)
Gets a SQL virtual machine.
function get(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesGetOptionalParams): Promise<SqlVirtualMachine>
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.
- sqlVirtualMachineName
-
string
Name of the SQL virtual machine.
The options parameters.
Returns
Promise<SqlVirtualMachine>
list(SqlVirtualMachinesListOptionalParams)
Gets all SQL virtual machines in a subscription.
function list(options?: SqlVirtualMachinesListOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine, SqlVirtualMachine[], PageSettings>
Parameters
The options parameters.
Returns
listByResourceGroup(string, SqlVirtualMachinesListByResourceGroupOptionalParams)
Gets all SQL virtual machines in a resource group.
function listByResourceGroup(resourceGroupName: string, options?: SqlVirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine, SqlVirtualMachine[], 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
listBySqlVmGroup(string, string, SqlVirtualMachinesListBySqlVmGroupOptionalParams)
Gets the list of sql virtual machines in a SQL virtual machine group.
function listBySqlVmGroup(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachinesListBySqlVmGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine, SqlVirtualMachine[], 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.
- sqlVirtualMachineGroupName
-
string
Name of the SQL virtual machine group.
The options parameters.
Returns
Azure SDK for JavaScript