다음을 통해 공유


KeyVaultSecretIdentifier(Uri) Constructor

Definition

Creates a new instance of the KeyVaultSecretIdentifier class.

public KeyVaultSecretIdentifier (Uri id);
new Azure.Security.KeyVault.Secrets.KeyVaultSecretIdentifier : Uri -> Azure.Security.KeyVault.Secrets.KeyVaultSecretIdentifier
Public Sub New (id As Uri)

Parameters

id
Uri

The Uri to a secret or deleted secret.

Exceptions

id is not a valid Key Vault secret ID.

id is null.

Remarks

Successfully parsing the given Uri does not guarantee that the id is a valid Key Vault secret identifier: only that it contains the necessary number of path parts that look like a Key Vault secret identifier. If the VaultUri references a valid Key Vault, the service will return an error if the Name and Version do not specify a valid secret.

Applies to