SqlVirtualMachines interface

Interface representing a SqlVirtualMachines.

Methods

beginCreateOrUpdate(string, string, SqlVirtualMachine, SqlVirtualMachinesCreateOrUpdateOptionalParams)

Creates or updates a SQL virtual machine.

beginCreateOrUpdateAndWait(string, string, SqlVirtualMachine, SqlVirtualMachinesCreateOrUpdateOptionalParams)

Creates or updates a SQL virtual machine.

beginDelete(string, string, SqlVirtualMachinesDeleteOptionalParams)

Deletes a SQL virtual machine.

beginDeleteAndWait(string, string, SqlVirtualMachinesDeleteOptionalParams)

Deletes a SQL virtual machine.

beginRedeploy(string, string, SqlVirtualMachinesRedeployOptionalParams)

Uninstalls and reinstalls the SQL IaaS Extension.

beginRedeployAndWait(string, string, SqlVirtualMachinesRedeployOptionalParams)

Uninstalls and reinstalls the SQL IaaS Extension.

beginStartAssessment(string, string, SqlVirtualMachinesStartAssessmentOptionalParams)

Starts SQL best practices Assessment on SQL virtual machine.

beginStartAssessmentAndWait(string, string, SqlVirtualMachinesStartAssessmentOptionalParams)

Starts SQL best practices Assessment on SQL virtual machine.

beginUpdate(string, string, SqlVirtualMachineUpdate, SqlVirtualMachinesUpdateOptionalParams)

Updates a SQL virtual machine.

beginUpdateAndWait(string, string, SqlVirtualMachineUpdate, SqlVirtualMachinesUpdateOptionalParams)

Updates a SQL virtual machine.

get(string, string, SqlVirtualMachinesGetOptionalParams)

Gets a SQL virtual machine.

list(SqlVirtualMachinesListOptionalParams)

Gets all SQL virtual machines in a subscription.

listByResourceGroup(string, SqlVirtualMachinesListByResourceGroupOptionalParams)

Gets all SQL virtual machines in a resource group.

listBySqlVmGroup(string, string, SqlVirtualMachinesListBySqlVmGroupOptionalParams)

Gets the list of sql virtual machines in a SQL virtual machine group.

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.

options
SqlVirtualMachinesCreateOrUpdateOptionalParams

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.

options
SqlVirtualMachinesCreateOrUpdateOptionalParams

The options parameters.

Returns

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.

options
SqlVirtualMachinesDeleteOptionalParams

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.

options
SqlVirtualMachinesDeleteOptionalParams

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.

options
SqlVirtualMachinesRedeployOptionalParams

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.

options
SqlVirtualMachinesRedeployOptionalParams

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.

options
SqlVirtualMachinesStartAssessmentOptionalParams

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.

options
SqlVirtualMachinesStartAssessmentOptionalParams

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.

options
SqlVirtualMachinesUpdateOptionalParams

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.

options
SqlVirtualMachinesUpdateOptionalParams

The options parameters.

Returns

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.

options
SqlVirtualMachinesGetOptionalParams

The options parameters.

Returns

list(SqlVirtualMachinesListOptionalParams)

Gets all SQL virtual machines in a subscription.

function list(options?: SqlVirtualMachinesListOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine, SqlVirtualMachine[], PageSettings>

Parameters

options
SqlVirtualMachinesListOptionalParams

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.

options
SqlVirtualMachinesListByResourceGroupOptionalParams

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.

options
SqlVirtualMachinesListBySqlVmGroupOptionalParams

The options parameters.

Returns