Freigeben über


DedicatedHostGroupsOperationsExtensions.GetAsync Methode

Definition

Ruft Informationen zu einer dedizierten Hostgruppe ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.DedicatedHostGroup> GetAsync (this Microsoft.Azure.Management.Compute.IDedicatedHostGroupsOperations operations, string resourceGroupName, string hostGroupName, Microsoft.Azure.Management.Compute.Models.InstanceViewTypes? expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.IDedicatedHostGroupsOperations * string * string * Nullable<Microsoft.Azure.Management.Compute.Models.InstanceViewTypes> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.DedicatedHostGroup>
<Extension()>
Public Function GetAsync (operations As IDedicatedHostGroupsOperations, resourceGroupName As String, hostGroupName As String, Optional expand As Nullable(Of InstanceViewTypes) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DedicatedHostGroup)

Parameter

operations
IDedicatedHostGroupsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

hostGroupName
String

Der Name der dedizierten Hostgruppe.

expand
Nullable<InstanceViewTypes>

Der expand-Ausdruck, der auf den Vorgang angewendet werden soll. "InstanceView" ruft die Liste der instance Ansichten der dedizierten Hosts unter der dedizierten Hostgruppe ab. "UserData" wird für dedizierte Hostgruppen nicht unterstützt. Mögliche Werte: "instanceView", "userData"

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: