AuthorizationExtensions.GetClassicAdministratorsAsync Method

Definition

Gets service administrator, account administrator, and co-administrators for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/classicAdministrators
  • Operation Id: ClassicAdministrators_List
  • Default Api Version: 2015-07-01
public static Azure.AsyncPageable<Azure.ResourceManager.Authorization.Models.AuthorizationClassicAdministrator> GetClassicAdministratorsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetClassicAdministratorsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.Models.AuthorizationClassicAdministrator>
<Extension()>
Public Function GetClassicAdministratorsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AuthorizationClassicAdministrator)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AuthorizationClassicAdministrator that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to