共用方式為


ProvidersOperationsExtensions.GetAtTenantScopeAsync Method

Definition

Gets the specified resource provider at the tenant level.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.ProviderInner> GetAtTenantScopeAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.IProvidersOperations operations, string resourceProviderNamespace, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAtTenantScopeAsync : Microsoft.Azure.Management.ResourceManager.Fluent.IProvidersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.ProviderInner>
<Extension()>
Public Function GetAtTenantScopeAsync (operations As IProvidersOperations, resourceProviderNamespace As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ProviderInner)

Parameters

operations
IProvidersOperations

The operations group for this extension method.

resourceProviderNamespace
String

The namespace of the resource provider.

expand
String

The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to