Compartilhar via


ContainerAppCertificateCollection.GetAsync(String, CancellationToken) Método

Definição

Obtenha o Certificado especificado. Caminho da Solicitação: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName} Operation Id: Certificates_Get

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppCertificateResource>> GetAsync (string certificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppCertificateResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppCertificateResource>>
Public Overridable Function GetAsync (certificateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppCertificateResource))

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