Class DeletedSecret
- java.lang.Object
-
- com.azure.security.keyvault.secrets.models.KeyVaultSecret
-
- com.azure.security.keyvault.secrets.models.DeletedSecret
-
public final class DeletedSecret extends KeyVaultSecret
Deleted Secret is the resource consisting of name, recovery id, deleted date, scheduled purge date and its attributes inherited fromKeyVaultSecret
. It is managed by Secret Service.- See Also:
SecretClient
,SecretAsyncClient
-
-
Constructor Summary
Constructors Constructor Description DeletedSecret()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getDeletedOn()
Get the deleted UTC time.String
getRecoveryId()
Get the recoveryId identifier.OffsetDateTime
getScheduledPurgeDate()
Get the scheduled purge UTC time.-
Methods inherited from class com.azure.security.keyvault.secrets.models.KeyVaultSecret
getId, getName, getProperties, getValue, setProperties
-
-
-
-
Method Detail
-
getRecoveryId
public String getRecoveryId()
Get the recoveryId identifier.- Returns:
- the recoveryId identifier.
-
getScheduledPurgeDate
public OffsetDateTime getScheduledPurgeDate()
Get the scheduled purge UTC time.- Returns:
- the scheduledPurgeDate UTC time.
-
getDeletedOn
public OffsetDateTime getDeletedOn()
Get the deleted UTC time.- Returns:
- the deletedDate UTC time.
-
-