Client. Start Recover Deleted Secret(String, CancellationToken) Method
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.
Recovers the deleted secret to the latest version.
public virtual Azure.Security.KeyVault.Secrets.RecoverDeletedSecretOperation StartRecoverDeletedSecret (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecoverDeletedSecret : string * System.Threading.CancellationToken -> Azure.Security.KeyVault.Secrets.RecoverDeletedSecretOperation override this.StartRecoverDeletedSecret : string * System.Threading.CancellationToken -> Azure.Security.KeyVault.Secrets.RecoverDeletedSecretOperation
Public Overridable Function StartRecoverDeletedSecret (name As String, Optional cancellationToken As CancellationToken = Nothing) As RecoverDeletedSecretOperation
The name of the secret.
A RecoverDeletedSecretOperation to wait on this long-running operation.
name is an empty string.
name is null.
The server returned an error. See Message for details returned from the server.
Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.