Share via


AuthorizationExtensions.GetClassicAdministrators 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.Pageable<Azure.ResourceManager.Authorization.Models.AuthorizationClassicAdministrator> GetClassicAdministrators (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetClassicAdministrators : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Authorization.Models.AuthorizationClassicAdministrator>
<Extension()>
Public Function GetClassicAdministrators (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AuthorizationClassicAdministrator)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to