Compartir a través de


IotHubDescriptionResource.GetIotHubCertificateDescriptionAsync Método

Definición

Devuelve el certificado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}
  • IdCertificates_Get de operaciones
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

Nombre del certificado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

certificateName es una cadena vacía y se espera que no esté vacía.

certificateName es null.

Se aplica a