Freigeben über


SubscriptionsOperationsExtensions.GetAsync Methode

Definition

Ruft Details zu einem angegebenen Abonnement ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.Subscription> GetAsync (this Microsoft.Azure.Management.ResourceManager.ISubscriptionsOperations operations, string subscriptionId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ResourceManager.ISubscriptionsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.Subscription>
<Extension()>
Public Function GetAsync (operations As ISubscriptionsOperations, subscriptionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Subscription)

Parameter

operations
ISubscriptionsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

subscriptionId
String

Hierbei handelt es sich um die ID des Zielabonnements.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: