ProvidersOperationsExtensions.GetAsync(IProvidersOperations, String, String, CancellationToken) Method

Definition

Gets a resource provider.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.ProviderInner> GetAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.IProvidersOperations operations, string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = null);
static member GetAsync : Microsoft.Azure.Management.ResourceManager.Fluent.IProvidersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.ProviderInner>

Parameters

operations
IProvidersOperations

The operations group for this extension method.

resourceProviderNamespace
String

Namespace of the resource provider.

expand
String

The $expand query parameter. e.g. To include property aliases in response, use $expand=resourceTypes/aliases.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<ProviderInner>

Applies to