Partilhar via


IotHubCertificateDescriptionResource.VerifyAsync Método

Definição

Verifica a posse de chave privada do certificado fornecendo o certificado folha emitido pelo certificado pré-carregado de verificação.

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

Parâmetros

ifMatch
String

ETag do Certificado.

content
IotHubCertificateVerificationContent

O nome do certificado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

ifMatch ou content é nulo.

Aplica-se a