CertificateModelFactory.DeletedCertificate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DeletedCertificate for mocking purposes.
public static Azure.Security.KeyVault.Certificates.DeletedCertificate DeletedCertificate (Azure.Security.KeyVault.Certificates.CertificateProperties properties, Uri keyId = default, Uri secretId = default, byte[] cer = default, Azure.Security.KeyVault.Certificates.CertificatePolicy policy = default, Uri recoveryId = default, DateTimeOffset? deletedOn = default, DateTimeOffset? scheduledPurgeDate = default);
static member DeletedCertificate : Azure.Security.KeyVault.Certificates.CertificateProperties * Uri * Uri * byte[] * Azure.Security.KeyVault.Certificates.CertificatePolicy * Uri * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Security.KeyVault.Certificates.DeletedCertificate
Public Shared Function DeletedCertificate (properties As CertificateProperties, Optional keyId As Uri = Nothing, Optional secretId As Uri = Nothing, Optional cer As Byte() = Nothing, Optional policy As CertificatePolicy = Nothing, Optional recoveryId As Uri = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional scheduledPurgeDate As Nullable(Of DateTimeOffset) = Nothing) As DeletedCertificate
Parameters
- properties
- CertificateProperties
Sets the Properties property.
- policy
- CertificatePolicy
Sets the Policy property.
- recoveryId
- Uri
Sets the RecoveryId property.
- deletedOn
- Nullable<DateTimeOffset>
Sets the DeletedOn property.
- scheduledPurgeDate
- Nullable<DateTimeOffset>
Sets the ScheduledPurgeDate property.
Returns
A new instance of the DeletedCertificate for mocking purposes.