Partilhar via


ContainerAppManagedEnvironmentCertificateCollection.GetAsync Método

Definição

Obtenha o Certificado especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}
  • Operação IdCertificates_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentCertificateResource>> GetAsync (string certificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentCertificateResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentCertificateResource>>
Public Overridable Function GetAsync (certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppManagedEnvironmentCertificateResource))

Parâmetros

certificateName
String

Nome do Certificado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

certificateName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

certificateName é nulo.

Aplica-se a