Partilhar via


IotHubDescriptionResource.GetIotHubCertificateDescriptionAsync 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>> GetIotHubCertificateDescriptionAsync (string certificateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIotHubCertificateDescriptionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.IotHubCertificateDescriptionResource>>
override this.GetIotHubCertificateDescriptionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.IotHubCertificateDescriptionResource>>
Public Overridable Function GetIotHubCertificateDescriptionAsync (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