CertificateModelFactory.KeyVaultCertificateWithPolicy 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 KeyVaultCertificateWithPolicy for mocking purposes.
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
Parameters
- properties
- CertificateProperties
Sets the Properties property.
- policy
- CertificatePolicy
Sets the Policy property.
Returns
A new instance of the KeyVaultCertificateWithPolicy for mocking purposes.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET