Condividi tramite


ArmCdnModelFactory.ValidateSecretContent Method

Definition

Initializes a new instance of ValidateSecretContent.

public static Azure.ResourceManager.Cdn.Models.ValidateSecretContent ValidateSecretContent (Azure.ResourceManager.Cdn.Models.SecretType secretType = default, Azure.Core.ResourceIdentifier secretSourceId = default, string secretVersion = default);
static member ValidateSecretContent : Azure.ResourceManager.Cdn.Models.SecretType * Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.Cdn.Models.ValidateSecretContent
Public Shared Function ValidateSecretContent (Optional secretType As SecretType = Nothing, Optional secretSourceId As ResourceIdentifier = Nothing, Optional secretVersion As String = Nothing) As ValidateSecretContent

Parameters

secretType
SecretType

The secret type.

secretSourceId
ResourceIdentifier

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}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​.

secretVersion
String

Secret version, if customer is using a specific version.

Returns

A new ValidateSecretContent instance for mocking.

Applies to