ArmCdnModelFactory.KeyVaultCertificateSource 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.
Describes the parameters for using a user's KeyVault certificate for securing custom domain.
public static Azure.ResourceManager.Cdn.Models.KeyVaultCertificateSource KeyVaultCertificateSource(string subscriptionId = default, string resourceGroupName = default, string vaultName = default, string secretName = default, string secretVersion = default, Azure.ResourceManager.Cdn.Models.CertificateUpdateAction updateRule = default, Azure.ResourceManager.Cdn.Models.CertificateDeleteAction deleteRule = default);
static member KeyVaultCertificateSource : string * string * string * string * string * Azure.ResourceManager.Cdn.Models.CertificateUpdateAction * Azure.ResourceManager.Cdn.Models.CertificateDeleteAction -> Azure.ResourceManager.Cdn.Models.KeyVaultCertificateSource
Public Shared Function KeyVaultCertificateSource (Optional subscriptionId As String = Nothing, Optional resourceGroupName As String = Nothing, Optional vaultName As String = Nothing, Optional secretName As String = Nothing, Optional secretVersion As String = Nothing, Optional updateRule As CertificateUpdateAction = Nothing, Optional deleteRule As CertificateDeleteAction = Nothing) As KeyVaultCertificateSource
Parameters
- subscriptionId
- String
Subscription Id of the user's Key Vault containing the SSL certificate.
- resourceGroupName
- String
Resource group of the user's Key Vault containing the SSL certificate.
- vaultName
- String
The name of the user's Key Vault containing the SSL certificate.
- secretName
- String
The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
- secretVersion
- String
The version(GUID) of Key Vault Secret in Key Vault.
- updateRule
- CertificateUpdateAction
Describes the action that shall be taken when the certificate is updated in Key Vault.
- deleteRule
- CertificateDeleteAction
Describes the action that shall be taken when the certificate is removed from Key Vault.
Returns
A new KeyVaultCertificateSource instance for mocking.