Sdílet prostřednictvím


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
  • Default Api Version: 2022-02-01
  • Resource: SqlVmResource
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
  • Default Api Version: 2022-02-01
  • Resource: SqlVmResource
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
  • Default Api Version: 2022-02-01
  • Resource: SqlVmGroupResource
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
  • Default Api Version: 2022-02-01
  • Resource: SqlVmGroupResource
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
  • Default Api Version: 2022-02-01
  • Resource: SqlVmGroupResource
GetSqlVmGroupsAsync(SubscriptionResource, CancellationToken)

Gets all SQL virtual machine groups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups
  • Operation Id: SqlVirtualMachineGroups_List
  • Default Api Version: 2022-02-01
  • Resource: SqlVmGroupResource
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
  • Default Api Version: 2022-02-01
  • Resource: SqlVmResource
GetSqlVmsAsync(SubscriptionResource, CancellationToken)

Gets all SQL virtual machines in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines
  • Operation Id: SqlVirtualMachines_List
  • Default Api Version: 2022-02-01
  • Resource: SqlVmResource

Applies to