Partilhar via


DeviceProvisioningServicesCertificateResource.VerifyCertificate Método

Definição

Sobrecargas

VerifyCertificate(DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions, CancellationToken)

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/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/verify
  • IdDpsCertificate_VerifyCertificate de operação
VerifyCertificate(String, CertificateVerificationCodeContent, String, Byte[], Nullable<Boolean>, Nullable<DeviceProvisioningServicesCertificatePurpose>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, CancellationToken)

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/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/verify
  • IdDpsCertificate_VerifyCertificate de operação

VerifyCertificate(DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions, CancellationToken)

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/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/verify
  • IdDpsCertificate_VerifyCertificate de operação
public virtual Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource> VerifyCertificate (Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member VerifyCertificate : Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource>
override this.VerifyCertificate : Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource>
Public Overridable Function VerifyCertificate (options As DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeviceProvisioningServicesCertificateResource)

Parâmetros

options
DeviceProvisioningServicesCertificateResourceVerifyCertificateOptions

Um recipiente de propriedades que contém todos os parâmetros desse método, exceto o qualificador LRO e o parâmetro de contexto de solicitação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

options é nulo.

Aplica-se a

VerifyCertificate(String, CertificateVerificationCodeContent, String, Byte[], Nullable<Boolean>, Nullable<DeviceProvisioningServicesCertificatePurpose>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, CancellationToken)

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/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/verify
  • IdDpsCertificate_VerifyCertificate de operação
public virtual Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource> VerifyCertificate (string ifMatch, Azure.ResourceManager.DeviceProvisioningServices.Models.CertificateVerificationCodeContent content, string certificateCommonName = default, byte[] certificateRawBytes = default, bool? certificateIsVerified = default, Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificatePurpose? certificatePurpose = default, DateTimeOffset? certificateCreatedOn = default, DateTimeOffset? certificateLastUpdatedOn = default, bool? certificateHasPrivateKey = default, string certificateNonce = default, System.Threading.CancellationToken cancellationToken = default);
abstract member VerifyCertificate : string * Azure.ResourceManager.DeviceProvisioningServices.Models.CertificateVerificationCodeContent * string * byte[] * Nullable<bool> * Nullable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificatePurpose> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource>
override this.VerifyCertificate : string * Azure.ResourceManager.DeviceProvisioningServices.Models.CertificateVerificationCodeContent * string * byte[] * Nullable<bool> * Nullable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesCertificatePurpose> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesCertificateResource>
Public Overridable Function VerifyCertificate (ifMatch As String, content As CertificateVerificationCodeContent, Optional certificateCommonName As String = Nothing, Optional certificateRawBytes As Byte() = Nothing, Optional certificateIsVerified As Nullable(Of Boolean) = Nothing, Optional certificatePurpose As Nullable(Of DeviceProvisioningServicesCertificatePurpose) = Nothing, Optional certificateCreatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional certificateLastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional certificateHasPrivateKey As Nullable(Of Boolean) = Nothing, Optional certificateNonce As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeviceProvisioningServicesCertificateResource)

Parâmetros

ifMatch
String

ETag do certificado.

content
CertificateVerificationCodeContent

O nome do certificado.

certificateCommonName
String

Nome comum para o certificado.

certificateRawBytes
Byte[]

Dados brutos do certificado.

certificateIsVerified
Nullable<Boolean>

Indica se o certificado foi verificado pelo proprietário da chave privada.

certificatePurpose
Nullable<DeviceProvisioningServicesCertificatePurpose>

Descrever a finalidade do certificado.

certificateCreatedOn
Nullable<DateTimeOffset>

Hora de criação do certificado.

certificateLastUpdatedOn
Nullable<DateTimeOffset>

Hora da última atualização do certificado.

certificateHasPrivateKey
Nullable<Boolean>

Indica se o certificado contém chave privada.

certificateNonce
String

Número aleatório gerado para indicar Prova de Posse.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

ifMatch ou content é nulo.

Aplica-se a