你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmDeviceProvisioningServicesModelFactory.CertificateVerificationCodeProperties 方法

定义

初始化 CertificateVerificationCodeProperties 的新实例。

public static Azure.ResourceManager.DeviceProvisioningServices.Models.CertificateVerificationCodeProperties CertificateVerificationCodeProperties (string verificationCode = default, string subject = default, DateTimeOffset? expireOn = default, BinaryData thumbprint = default, bool? isVerified = default, BinaryData certificate = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default);
static member CertificateVerificationCodeProperties : string * string * Nullable<DateTimeOffset> * BinaryData * Nullable<bool> * BinaryData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.DeviceProvisioningServices.Models.CertificateVerificationCodeProperties
Public Shared Function CertificateVerificationCodeProperties (Optional verificationCode As String = Nothing, Optional subject As String = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional thumbprint As BinaryData = Nothing, Optional isVerified As Nullable(Of Boolean) = Nothing, Optional certificate As BinaryData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing) As CertificateVerificationCodeProperties

参数

verificationCode
String

验证码。

subject
String

证书使用者。

expireOn
Nullable<DateTimeOffset>

代码过期。

thumbprint
BinaryData

证书指纹。

isVerified
Nullable<Boolean>

指示证书是否由私钥的所有者验证。

certificate
BinaryData

X509 证书 .cer 文件的 base-64 表示形式或仅表示 .pem 文件内容。

createdOn
Nullable<DateTimeOffset>

证书创建时间。

updatedOn
Nullable<DateTimeOffset>

证书更新时间。

返回

用于模拟的新 CertificateVerificationCodeProperties 实例。

适用于