SqlVirtualMachinesClient Interface

public interface SqlVirtualMachinesClient

An instance of this class provides access to all the operations defined in SqlVirtualMachinesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<SqlVirtualMachineInner>,SqlVirtualMachineInner> beginCreateOrUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineInner parameters)

Creates or updates a SQL virtual machine.

abstract SyncPoller<PollResult<SqlVirtualMachineInner>,SqlVirtualMachineInner> beginCreateOrUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineInner parameters, Context context)

Creates or updates a SQL virtual machine.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String sqlVirtualMachineName)

Deletes a SQL virtual machine.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String sqlVirtualMachineName, Context context)

Deletes a SQL virtual machine.

abstract SyncPoller<PollResult<Void>,Void> beginRedeploy(String resourceGroupName, String sqlVirtualMachineName)

Uninstalls and reinstalls the SQL IaaS Extension.

abstract SyncPoller<PollResult<Void>,Void> beginRedeploy(String resourceGroupName, String sqlVirtualMachineName, Context context)

Uninstalls and reinstalls the SQL IaaS Extension.

abstract SyncPoller<PollResult<Void>,Void> beginStartAssessment(String resourceGroupName, String sqlVirtualMachineName)

Starts SQL best practices Assessment on SQL virtual machine.

abstract SyncPoller<PollResult<Void>,Void> beginStartAssessment(String resourceGroupName, String sqlVirtualMachineName, Context context)

Starts SQL best practices Assessment on SQL virtual machine.

abstract SyncPoller<PollResult<SqlVirtualMachineInner>,SqlVirtualMachineInner> beginUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineUpdate parameters)

Updates a SQL virtual machine.

abstract SyncPoller<PollResult<SqlVirtualMachineInner>,SqlVirtualMachineInner> beginUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineUpdate parameters, Context context)

Updates a SQL virtual machine.

abstract SqlVirtualMachineInner createOrUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineInner parameters)

Creates or updates a SQL virtual machine.

abstract SqlVirtualMachineInner createOrUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineInner parameters, Context context)

Creates or updates a SQL virtual machine.

abstract void delete(String resourceGroupName, String sqlVirtualMachineName)

Deletes a SQL virtual machine.

abstract void delete(String resourceGroupName, String sqlVirtualMachineName, Context context)

Deletes a SQL virtual machine.

abstract SqlVirtualMachineInner getByResourceGroup(String resourceGroupName, String sqlVirtualMachineName)

Gets a SQL virtual machine.

abstract Response<SqlVirtualMachineInner> getByResourceGroupWithResponse(String resourceGroupName, String sqlVirtualMachineName, String expand, Context context)

Gets a SQL virtual machine.

abstract PagedIterable<SqlVirtualMachineInner> list()

Gets all SQL virtual machines in a subscription.

abstract PagedIterable<SqlVirtualMachineInner> list(Context context)

Gets all SQL virtual machines in a subscription.

abstract PagedIterable<SqlVirtualMachineInner> listByResourceGroup(String resourceGroupName)

Gets all SQL virtual machines in a resource group.

abstract PagedIterable<SqlVirtualMachineInner> listByResourceGroup(String resourceGroupName, Context context)

Gets all SQL virtual machines in a resource group.

abstract PagedIterable<SqlVirtualMachineInner> listBySqlVmGroup(String resourceGroupName, String sqlVirtualMachineGroupName)

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

abstract PagedIterable<SqlVirtualMachineInner> listBySqlVmGroup(String resourceGroupName, String sqlVirtualMachineGroupName, Context context)

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

abstract void redeploy(String resourceGroupName, String sqlVirtualMachineName)

Uninstalls and reinstalls the SQL IaaS Extension.

abstract void redeploy(String resourceGroupName, String sqlVirtualMachineName, Context context)

Uninstalls and reinstalls the SQL IaaS Extension.

abstract void startAssessment(String resourceGroupName, String sqlVirtualMachineName)

Starts SQL best practices Assessment on SQL virtual machine.

abstract void startAssessment(String resourceGroupName, String sqlVirtualMachineName, Context context)

Starts SQL best practices Assessment on SQL virtual machine.

abstract SqlVirtualMachineInner update(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineUpdate parameters)

Updates a SQL virtual machine.

abstract SqlVirtualMachineInner update(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineUpdate parameters, Context context)

Updates a SQL virtual machine.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<>,SqlVirtualMachineInner> beginCreateOrUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineInner parameters)

Creates or updates a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
parameters - The SQL virtual machine.

Returns:

the SyncPoller<T,U> for polling of a SQL virtual machine.

beginCreateOrUpdate

public abstract SyncPoller<>,SqlVirtualMachineInner> beginCreateOrUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineInner parameters, Context context)

Creates or updates a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
parameters - The SQL virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a SQL virtual machine.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String sqlVirtualMachineName)

Deletes a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String sqlVirtualMachineName, Context context)

Deletes a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRedeploy

public abstract SyncPoller<>,Void> beginRedeploy(String resourceGroupName, String sqlVirtualMachineName)

Uninstalls and reinstalls the SQL IaaS Extension.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRedeploy

public abstract SyncPoller<>,Void> beginRedeploy(String resourceGroupName, String sqlVirtualMachineName, Context context)

Uninstalls and reinstalls the SQL IaaS Extension.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStartAssessment

public abstract SyncPoller<>,Void> beginStartAssessment(String resourceGroupName, String sqlVirtualMachineName)

Starts SQL best practices Assessment on SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStartAssessment

public abstract SyncPoller<>,Void> beginStartAssessment(String resourceGroupName, String sqlVirtualMachineName, Context context)

Starts SQL best practices Assessment on SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<>,SqlVirtualMachineInner> beginUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineUpdate parameters)

Updates a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
parameters - The SQL virtual machine.

Returns:

the SyncPoller<T,U> for polling of a SQL virtual machine.

beginUpdate

public abstract SyncPoller<>,SqlVirtualMachineInner> beginUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineUpdate parameters, Context context)

Updates a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
parameters - The SQL virtual machine.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a SQL virtual machine.

createOrUpdate

public abstract SqlVirtualMachineInner createOrUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineInner parameters)

Creates or updates a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
parameters - The SQL virtual machine.

Returns:

a SQL virtual machine.

createOrUpdate

public abstract SqlVirtualMachineInner createOrUpdate(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineInner parameters, Context context)

Creates or updates a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
parameters - The SQL virtual machine.
context - The context to associate with this operation.

Returns:

a SQL virtual machine.

delete

public abstract void delete(String resourceGroupName, String sqlVirtualMachineName)

Deletes a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.

delete

public abstract void delete(String resourceGroupName, String sqlVirtualMachineName, Context context)

Deletes a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
context - The context to associate with this operation.

getByResourceGroup

public abstract SqlVirtualMachineInner getByResourceGroup(String resourceGroupName, String sqlVirtualMachineName)

Gets a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.

Returns:

a SQL virtual machine.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String sqlVirtualMachineName, String expand, Context context)

Gets a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
expand - The child resources to include in the response.
context - The context to associate with this operation.

Returns:

a SQL virtual machine along with Response<T>.

list

public abstract PagedIterable list()

Gets all SQL virtual machines in a subscription.

Returns:

all SQL virtual machines in a subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Gets all SQL virtual machines in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

all SQL virtual machines in a subscription as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Gets all SQL virtual machines in a resource group.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

Returns:

all SQL virtual machines in a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Gets all SQL virtual machines in a resource group.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
context - The context to associate with this operation.

Returns:

all SQL virtual machines in a resource group as paginated response with PagedIterable<T>.

listBySqlVmGroup

public abstract PagedIterable listBySqlVmGroup(String resourceGroupName, String sqlVirtualMachineGroupName)

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

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineGroupName - Name of the SQL virtual machine group.

Returns:

the list of sql virtual machines in a SQL virtual machine group as paginated response with PagedIterable<T>.

listBySqlVmGroup

public abstract PagedIterable listBySqlVmGroup(String resourceGroupName, String sqlVirtualMachineGroupName, Context context)

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

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineGroupName - Name of the SQL virtual machine group.
context - The context to associate with this operation.

Returns:

the list of sql virtual machines in a SQL virtual machine group as paginated response with PagedIterable<T>.

redeploy

public abstract void redeploy(String resourceGroupName, String sqlVirtualMachineName)

Uninstalls and reinstalls the SQL IaaS Extension.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.

redeploy

public abstract void redeploy(String resourceGroupName, String sqlVirtualMachineName, Context context)

Uninstalls and reinstalls the SQL IaaS Extension.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
context - The context to associate with this operation.

startAssessment

public abstract void startAssessment(String resourceGroupName, String sqlVirtualMachineName)

Starts SQL best practices Assessment on SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.

startAssessment

public abstract void startAssessment(String resourceGroupName, String sqlVirtualMachineName, Context context)

Starts SQL best practices Assessment on SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
context - The context to associate with this operation.

update

public abstract SqlVirtualMachineInner update(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineUpdate parameters)

Updates a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
parameters - The SQL virtual machine.

Returns:

a SQL virtual machine.

update

public abstract SqlVirtualMachineInner update(String resourceGroupName, String sqlVirtualMachineName, SqlVirtualMachineUpdate parameters, Context context)

Updates a SQL virtual machine.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlVirtualMachineName - Name of the SQL virtual machine.
parameters - The SQL virtual machine.
context - The context to associate with this operation.

Returns:

a SQL virtual machine.

Applies to