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

Definition

Gets the specified resource provider.

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

Parameters

operations
IProvidersOperations

The operations group for this extension method.

resourceProviderNamespace
System.String

The namespace of the resource provider.

expand
System.String

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

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Provider>

Applies to