AuthorizationExtensions.ElevateAccessGlobalAdministratorAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET