Compartilhar via


ProviderRegistrationResource.GetResourceTypeRegistration Método

Definição

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

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/resourcetypeRegistrations/{resourceType}
  • Operação IdResourceTypeRegistrations_Get
public virtual Azure.Response<Azure.ResourceManager.ProviderHub.ResourceTypeRegistrationResource> GetResourceTypeRegistration (string resourceType, System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourceTypeRegistration : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ProviderHub.ResourceTypeRegistrationResource>
override this.GetResourceTypeRegistration : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ProviderHub.ResourceTypeRegistrationResource>
Public Overridable Function GetResourceTypeRegistration (resourceType As String, Optional cancellationToken As CancellationToken = Nothing) As 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 esperava-se que não estivesse vazia.

resourceType é nulo.

Aplica-se a