Compartilhar via


IotHubCertificateDescriptionCollection.GetAsync Método

Definição

Retorna o certificado.

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

Parâmetros

certificateName
String

O 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