Compartilhar via


CertificateModelFactory.KeyVaultCertificateWithPolicy Método

Definição

Inicializa uma nova instância do KeyVaultCertificateWithPolicy para fins de simulação.

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

Parâmetros

properties
CertificateProperties

Define a propriedade Properties.

keyId
Uri

Define a propriedade KeyId.

secretId
Uri

Define a propriedade SecretId.

cer
Byte[]

Define a propriedade Cer.

policy
CertificatePolicy

Define a propriedade Policy.

Retornos

Uma nova instância do KeyVaultCertificateWithPolicy para fins de simulação.

Aplica-se a