Partager via


CertificateModelFactory.KeyVaultCertificateWithPolicy Méthode

Définition

Initialise une nouvelle instance du KeyVaultCertificateWithPolicy à des fins moqueurs.

public static Azure.Security.KeyVault.Certificates.KeyVaultCertificateWithPolicy KeyVaultCertificateWithPolicy (Azure.Security.KeyVault.Certificates.CertificateProperties properties, Uri keyId = default, Uri secretId = default, byte[] cer = default, Azure.Security.KeyVault.Certificates.CertificatePolicy policy = default);
static member KeyVaultCertificateWithPolicy : Azure.Security.KeyVault.Certificates.CertificateProperties * Uri * Uri * byte[] * Azure.Security.KeyVault.Certificates.CertificatePolicy -> Azure.Security.KeyVault.Certificates.KeyVaultCertificateWithPolicy
Public Shared Function KeyVaultCertificateWithPolicy (properties As CertificateProperties, Optional keyId As Uri = Nothing, Optional secretId As Uri = Nothing, Optional cer As Byte() = Nothing, Optional policy As CertificatePolicy = Nothing) As KeyVaultCertificateWithPolicy

Paramètres

properties
CertificateProperties

Définit la propriété Properties.

keyId
Uri

Définit la propriété KeyId.

secretId
Uri

Définit la propriété SecretId.

cer
Byte[]

Définit la propriété Cer.

policy
CertificatePolicy

Définit la propriété Policy.

Retours

Une nouvelle instance du KeyVaultCertificateWithPolicy à des fins moqueurs.

S’applique à