Compartir a través de


IGenericResources.GetAsync Método

Definición

Devuelve un recurso que pertenece a un grupo de recursos de forma asincrónica.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.IGenericResource> GetAsync (string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.IGenericResource>
Public Function GetAsync (resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, Optional apiVersion As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IGenericResource)

Parámetros

resourceGroupName
String

resourceGroupName Es el nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

resourceProviderNamespace
String

resourceProviderNamespace Identidad de recurso.

parentResourcePath
String

identidad de recurso parentResourcePath.

resourceType
String

resourceType Resource Identity.

resourceName
String

resourceName Resource Identity.

apiVersion
String

apiVersion el valor de cadena

cancellationToken
CancellationToken

Devoluciones

el recurso genérico

Se aplica a