你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DeletedKey Class
- java.
lang. Object - com.
azure. security. keyvault. keys. models. KeyVaultKey - com.
azure. security. keyvault. keys. models. DeletedKey
- com.
- com.
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 from KeyVaultKey. It is managed by Key Service.
Constructor Summary
Constructor | Description |
---|---|
DeletedKey() |
Creates a new instance of DeletedKey. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Deleted |
fromJson(JsonReader jsonReader)
Reads a JSON stream into a DeletedKey. |
Offset |
getDeletedOn()
Get the deleted UTC time. |
Json |
getKey()
Get the key value. |
String |
getRecoveryId()
Get the recovery |
Offset |
getScheduledPurgeDate()
Get the scheduled purge UTC time. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from KeyVaultKey
Methods inherited from java.lang.Object
Constructor Details
DeletedKey
public DeletedKey()
Creates a new instance of DeletedKey.
Method Details
fromJson
public static DeletedKey fromJson(JsonReader jsonReader)
Reads a JSON stream into a DeletedKey.
Parameters:
Returns:
Throws:
getDeletedOn
public OffsetDateTime getDeletedOn()
Get the deleted UTC time.
Returns:
getKey
public JsonWebKey getKey()
Get the key value.
Overrides:
DeletedKey.getKey()Returns:
getRecoveryId
public String getRecoveryId()
Get the recoveryId identifier.
Returns:
getScheduledPurgeDate
public OffsetDateTime getScheduledPurgeDate()
Get the scheduled purge UTC time.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DeletedKey.toJson(JsonWriter jsonWriter)Parameters:
Throws: