Class DeletedKey
- java.lang.Object
-
- com.azure.security.keyvault.keys.models.KeyVaultKey
-
- com.azure.security.keyvault.keys.models.DeletedKey
-
public final class DeletedKey extends KeyVaultKey
Deleted Key is the resource consisting of name, recovery id, deleted date, scheduled purge date and its attributes inherited fromKeyVaultKey
. It is managed by Key Service.- See Also:
KeyClient
,KeyAsyncClient
-
-
Constructor Summary
Constructors Constructor Description DeletedKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getDeletedOn()
Get the deleted UTC time.JsonWebKey
getKey()
Get the key value.String
getRecoveryId()
Get the recoveryId identifier.OffsetDateTime
getScheduledPurgeDate()
Get the scheduled purge UTC time.-
Methods inherited from class com.azure.security.keyvault.keys.models.KeyVaultKey
getId, getKeyOperations, getKeyType, getName, getProperties
-
-
-
-
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.
-
getKey
public JsonWebKey getKey()
Get the key value.- Overrides:
getKey
in classKeyVaultKey
- Returns:
- the key value
-
-