MockableAuthorizationSubscriptionResource.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 virtual Azure.AsyncPageable<Azure.ResourceManager.Authorization.Models.AuthorizationClassicAdministrator> GetClassicAdministratorsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetClassicAdministratorsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.Models.AuthorizationClassicAdministrator>
override this.GetClassicAdministratorsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.Models.AuthorizationClassicAdministrator>
Public Overridable Function GetClassicAdministratorsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AuthorizationClassicAdministrator)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to