共用方式為


CertificateModelFactory.CertificateProperties Method

Definition

Initializes a new instance of the CertificateProperties for mocking purposes.

public static Azure.Security.KeyVault.Certificates.CertificateProperties CertificateProperties (Uri id = default, string name = default, Uri vaultUri = default, string version = default, byte[] x509thumbprint = default, DateTimeOffset? notBefore = default, DateTimeOffset? expiresOn = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, string recoveryLevel = default, int? recoverableDays = default);
static member CertificateProperties : Uri * string * Uri * string * byte[] * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<int> -> Azure.Security.KeyVault.Certificates.CertificateProperties
Public Shared Function CertificateProperties (Optional id As Uri = Nothing, Optional name As String = Nothing, Optional vaultUri As Uri = Nothing, Optional version As String = Nothing, Optional x509thumbprint As Byte() = Nothing, Optional notBefore As Nullable(Of DateTimeOffset) = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional recoveryLevel As String = Nothing, Optional recoverableDays As Nullable(Of Integer) = Nothing) As CertificateProperties

Parameters

id
Uri

Sets the Id property.

name
String

Sets the Name property.

vaultUri
Uri

Sets the VaultUri property.

version
String

Sets the Version property.

x509thumbprint
Byte[]

Sets the Azure.Security.KeyVault.Certificates.CertificateProperties.X509Thumbprint property.

notBefore
Nullable<DateTimeOffset>

Sets the NotBefore property.

expiresOn
Nullable<DateTimeOffset>

Sets the ExpiresOn property.

createdOn
Nullable<DateTimeOffset>

Sets the CreatedOn property.

updatedOn
Nullable<DateTimeOffset>

Sets the UpdatedOn property.

recoveryLevel
String

Sets the RecoveryLevel property.

recoverableDays
Nullable<Int32>

Sets the RecoverableDays property.

Returns

A new instance of the CertificateProperties for mocking purposes.

Applies to