ResourcesOperationsExtensions.GetAsync(IResourcesOperations, String, String, String, String, String, String, CancellationToken) Method

Definition

Returns a resource belonging to a resource group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceInner> GetAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.IResourcesOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, System.Threading.CancellationToken cancellationToken = null);
static member GetAsync : Microsoft.Azure.Management.ResourceManager.Fluent.IResourcesOperations * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceInner>

Parameters

operations
IResourcesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceProviderNamespace
String

Resource identity.

parentResourcePath
String

Resource identity.

resourceType
String

Resource identity.

resourceName
String

Resource identity.

apiVersion
String
cancellationToken
CancellationToken

The cancellation token.

Returns

Task<GenericResourceInner>

Applies to