SubscriptionsOperationsExtensions.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets details about a specified subscription.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Subscription.Models.SubscriptionModel> GetAsync (this Microsoft.Azure.Management.Subscription.ISubscriptionsOperations operations, string subscriptionId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Subscription.ISubscriptionsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Subscription.Models.SubscriptionModel>
<Extension()>
Public Function GetAsync (operations As ISubscriptionsOperations, subscriptionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SubscriptionModel)
Parameters
- operations
- ISubscriptionsOperations
The operations group for this extension method.
- subscriptionId
- String
The ID of the target subscription.
- cancellationToken
- CancellationToken
The cancellation token.