共用方式為


AuthorizationExtensions.ElevateAccessGlobalAdministratorAsync Method

Definition

Elevates access for a Global Administrator.

  • Request Path: /providers/Microsoft.Authorization/elevateAccess
  • Operation Id: GlobalAdministrator_ElevateAccess
  • Default Api Version: 2015-07-01
public static System.Threading.Tasks.Task<Azure.Response> ElevateAccessGlobalAdministratorAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, System.Threading.CancellationToken cancellationToken = default);
static member ElevateAccessGlobalAdministratorAsync : Azure.ResourceManager.Resources.TenantResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
<Extension()>
Public Function ElevateAccessGlobalAdministratorAsync (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource is null.

Applies to