Class DeletedCertificate
java.lang.Object
com.azure.security.keyvault.certificates.models.KeyVaultCertificate
com.azure.security.keyvault.certificates.models.KeyVaultCertificateWithPolicy
com.azure.security.keyvault.certificates.models.DeletedCertificate
- All Implemented Interfaces:
com.azure.json.JsonSerializable<KeyVaultCertificate>
Deleted Certificate is the resource consisting of name, recovery id, deleted date, scheduled purge date and its
attributes inherited from
KeyVaultCertificate.
It is managed by Certificate Service.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeletedCertificatefromJson(com.azure.json.JsonReader jsonReader) Reads a JSON stream into aDeletedCertificate.Get the deleted UTC time.Get the recoveryId identifier.Get the scheduled purge UTC time.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class com.azure.security.keyvault.certificates.models.KeyVaultCertificateWithPolicy
getPolicy, setPolicy, setPropertiesMethods inherited from class com.azure.security.keyvault.certificates.models.KeyVaultCertificate
getCer, getId, getKeyId, getName, getProperties, getSecretIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DeletedCertificate
public DeletedCertificate()Creates an instance ofDeletedCertificate.
-
-
Method Details
-
getRecoveryId
Get the recoveryId identifier.- Returns:
- the recoveryId identifier.
-
getScheduledPurgeDate
Get the scheduled purge UTC time.- Returns:
- the scheduledPurgeDate UTC time.
-
getDeletedOn
Get the deleted UTC time.- Returns:
- the deletedDate UTC time.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<KeyVaultCertificate>- Overrides:
toJsonin classKeyVaultCertificateWithPolicy- Throws:
IOException
-
fromJson
Reads a JSON stream into aDeletedCertificate.- Parameters:
jsonReader- TheJsonReaderbeing read.- Returns:
- The
DeletedCertificatethat the JSON stream represented, may return null. - Throws:
IOException- If aDeletedCertificatefails to be read from thejsonReader.
-