/// <summary> /// Returns a list of azure subscriptions for the organization /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='orgName'> /// The organization's name /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <AzureSubscriptionResponse> > ListForOrgAsync(this IAzureSubscription operations, string orgName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListForOrgWithHttpMessagesAsync(orgName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }