Condividi tramite


SqlVirtualMachineExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.SqlVirtualMachine.

public static class SqlVirtualMachineExtensions
type SqlVirtualMachineExtensions = class
Public Module SqlVirtualMachineExtensions
Inheritance
SqlVirtualMachineExtensions

Methods

GetAvailabilityGroupListenerResource(ArmClient, ResourceIdentifier)

Gets an object representing an AvailabilityGroupListenerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an AvailabilityGroupListenerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAvailabilityGroupListenerResource(ResourceIdentifier) instead.

GetSqlVm(ResourceGroupResource, String, String, CancellationToken)

Gets a SQL virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}
  • Operation Id: SqlVirtualMachines_Get
GetSqlVmAsync(ResourceGroupResource, String, String, CancellationToken)

Gets a SQL virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}
  • Operation Id: SqlVirtualMachines_Get
GetSqlVmGroup(ResourceGroupResource, String, CancellationToken)

Gets a SQL virtual machine group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}
  • Operation Id: SqlVirtualMachineGroups_Get
GetSqlVmGroupAsync(ResourceGroupResource, String, CancellationToken)

Gets a SQL virtual machine group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}
  • Operation Id: SqlVirtualMachineGroups_Get
GetSqlVmGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a SqlVmGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SqlVmGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSqlVmGroupResource(ResourceIdentifier) instead.

GetSqlVmGroups(ResourceGroupResource)

Gets a collection of SqlVmGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSqlVmGroups() instead.

GetSqlVmGroups(SubscriptionResource, CancellationToken)

Gets all SQL virtual machine groups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups
  • Operation Id: SqlVirtualMachineGroups_List
GetSqlVmGroupsAsync(SubscriptionResource, CancellationToken)

Gets all SQL virtual machine groups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups
  • Operation Id: SqlVirtualMachineGroups_List
GetSqlVmResource(ArmClient, ResourceIdentifier)

Gets an object representing a SqlVmResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SqlVmResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSqlVmResource(ResourceIdentifier) instead.

GetSqlVms(ResourceGroupResource)

Gets a collection of SqlVmResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSqlVms() instead.

GetSqlVms(SubscriptionResource, CancellationToken)

Gets all SQL virtual machines in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines
  • Operation Id: SqlVirtualMachines_List
GetSqlVmsAsync(SubscriptionResource, CancellationToken)

Gets all SQL virtual machines in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines
  • Operation Id: SqlVirtualMachines_List

Applies to