DeletedSecret Class
- java.
lang. Object - com.
azure. security. keyvault. secrets. models. KeyVaultSecret - com.
azure. security. keyvault. secrets. models. DeletedSecret
- com.
- com.
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 from KeyVaultSecret. It is managed by Secret Service.
Constructor Summary
Constructor | Description | |
---|---|---|
DeletedSecret() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Deleted |
fromJson(JsonReader jsonReader)
Reads an instance of DeletedSecret from the Json |
Offset |
getDeletedOn()
Get the deleted UTC time. |
String |
getRecoveryId()
Get the recovery |
Offset |
getScheduledPurgeDate()
Get the scheduled purge UTC time. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from KeyVaultSecret
Methods inherited from java.lang.Object
Constructor Details
DeletedSecret
public DeletedSecret()
Method Details
fromJson
public static DeletedSecret fromJson(JsonReader jsonReader)
Reads an instance of DeletedSecret from the JsonReader.
Parameters:
Returns:
Throws:
getDeletedOn
public OffsetDateTime getDeletedOn()
Get the deleted UTC time.
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:
DeletedSecret.toJson(JsonWriter jsonWriter)Parameters:
Throws:
Applies to
Azure SDK for Java