Partilhar via


AttestationProviderCollection.GetAsync(String, CancellationToken) Método

Definição

Obtenha o status do Provedor de Atestado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}
  • IdAttestationProviders_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Attestation.AttestationProviderResource>> GetAsync (string providerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Attestation.AttestationProviderResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Attestation.AttestationProviderResource>>
Public Overridable Function GetAsync (providerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AttestationProviderResource))

Parâmetros

providerName
String

Nome do provedor de atestado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

providerName é nulo.

Aplica-se a