Partilhar via


ArmNetworkCloudModelFactory.SecretArchiveReference Method

Definition

Initializes a new instance of SecretArchiveReference.

public static Azure.ResourceManager.NetworkCloud.Models.SecretArchiveReference SecretArchiveReference (Azure.Core.ResourceIdentifier keyVaultId = default, string secretName = default, string secretVersion = default);
static member SecretArchiveReference : Azure.Core.ResourceIdentifier * string * string -> Azure.ResourceManager.NetworkCloud.Models.SecretArchiveReference
Public Shared Function SecretArchiveReference (Optional keyVaultId As ResourceIdentifier = Nothing, Optional secretName As String = Nothing, Optional secretVersion As String = Nothing) As SecretArchiveReference

Parameters

keyVaultId
ResourceIdentifier

The resource ID of the key vault containing the secret.

secretName
String

The name of the secret in the key vault.

secretVersion
String

The version of the secret in the key vault.

Returns

A new SecretArchiveReference instance for mocking.

Applies to