다음을 통해 공유


SqlVirtualMachineExtensions.GetSqlVmGroup Method

Definition

Gets a SQL virtual machine group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}
  • Operation Id: SqlVirtualMachineGroups_Get
public static Azure.Response<Azure.ResourceManager.SqlVirtualMachine.SqlVmGroupResource> GetSqlVmGroup (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string sqlVmGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetSqlVmGroup : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SqlVirtualMachine.SqlVmGroupResource>
<Extension()>
Public Function GetSqlVmGroup (resourceGroupResource As ResourceGroupResource, sqlVmGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SqlVmGroupResource)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

sqlVmGroupName
String

Name of the SQL virtual machine group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or sqlVmGroupName is null.

sqlVmGroupName is an empty string, and was expected to be non-empty.

Applies to