Compartir a través de


DeviceProvisioningServiceResource.GetDeviceProvisioningServicesCertificateAsync Método

Definición

Obtenga el certificado del servicio de aprovisionamiento.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}
  • IdDpsCertificate_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource>> GetDeviceProvisioningServicesCertificateAsync (string certificateName, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeviceProvisioningServicesCertificateAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource>>
override this.GetDeviceProvisioningServicesCertificateAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource>>
Public Overridable Function GetDeviceProvisioningServicesCertificateAsync (certificateName As String, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeviceProvisioningServicesCertificateResource))

Parámetros

certificateName
String

Nombre del certificado que se va a recuperar.

ifMatch
String

ETag 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