Freigeben über


CertificateModelFactory.CertificatePolicy Methode

Definition

Initialisiert eine neue instance von für CertificatePolicy Mockingzwecke.

public static Azure.Security.KeyVault.Certificates.CertificatePolicy CertificatePolicy (string subject = default, Azure.Security.KeyVault.Certificates.SubjectAlternativeNames subjectAlternativeNames = default, string issuerName = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default);
static member CertificatePolicy : string * Azure.Security.KeyVault.Certificates.SubjectAlternativeNames * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Security.KeyVault.Certificates.CertificatePolicy
Public Shared Function CertificatePolicy (Optional subject As String = Nothing, Optional subjectAlternativeNames As SubjectAlternativeNames = Nothing, Optional issuerName As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing) As CertificatePolicy

Parameter

subject
String

Legt die Subject-Eigenschaft fest.

subjectAlternativeNames
SubjectAlternativeNames

Legt die SubjectAlternativeNames-Eigenschaft fest.

issuerName
String

Legt die IssuerName-Eigenschaft fest.

createdOn
Nullable<DateTimeOffset>

Legt die CreatedOn-Eigenschaft fest.

updatedOn
Nullable<DateTimeOffset>

Legt die UpdatedOn-Eigenschaft fest.

Gibt zurück

Eine neue instance des für CertificatePolicy Mockingzwecke.

Gilt für: