你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CertificateModelFactory.KeyVaultCertificateWithPolicy 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 的新实例 KeyVaultCertificateWithPolicy 以进行模拟。
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
参数
- properties
- CertificateProperties
设置 Properties 属性。
- policy
- CertificatePolicy
设置 Policy 属性。
返回
用于模拟目的的 的新实例 KeyVaultCertificateWithPolicy 。