Compartilhar via


ProviderRegistrationResource.GetResourceTypeRegistrationAsync Método

Definição

Obtém detalhes de um tipo de recurso na assinatura e no provedor fornecidos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/resourcetypeRegistrations/{resourceType}
  • IdResourceTypeRegistrations_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.ResourceTypeRegistrationResource>> GetResourceTypeRegistrationAsync (string resourceType, System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourceTypeRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.ResourceTypeRegistrationResource>>
override this.GetResourceTypeRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.ResourceTypeRegistrationResource>>
Public Overridable Function GetResourceTypeRegistrationAsync (resourceType As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ResourceTypeRegistrationResource))

Parâmetros

resourceType
String

O tipo de recurso.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

resourceType é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

resourceType é nulo.

Aplica-se a