Share via


ValidateSecretContent(SecretType, WritableSubResource) Constructor

Definition

Initializes a new instance of ValidateSecretContent.

public ValidateSecretContent (Azure.ResourceManager.Cdn.Models.SecretType secretType, Azure.ResourceManager.Resources.Models.WritableSubResource secretSource);
new Azure.ResourceManager.Cdn.Models.ValidateSecretContent : Azure.ResourceManager.Cdn.Models.SecretType * Azure.ResourceManager.Resources.Models.WritableSubResource -> Azure.ResourceManager.Cdn.Models.ValidateSecretContent
Public Sub New (secretType As SecretType, secretSource As WritableSubResource)

Parameters

secretType
SecretType

The secret type.

secretSource
WritableSubResource

Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​.

Exceptions

secretSource is null.

Applies to