Class CertificateOperation
java.lang.Object
com.azure.security.keyvault.certificates.models.CertificateOperation
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateOperation>
public final class CertificateOperation
extends Object
implements com.azure.json.JsonSerializable<CertificateOperation>
A certificate operation is returned in case of long-running service requests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateOperationfromJson(com.azure.json.JsonReader jsonReader) Reads a JSON stream into aCertificateOperation.Get the cancellation requested status.Get the certificate type.byte[]getCsr()Get the csr.getError()Get the error.getId()Get the identifier.Get the issuer name.getName()Get the certificate name.Get the requestId.Get the status.Get the status details.Get the target.Get the URL for the Azure KeyVault service.booleanGet the certificate transparency status.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods 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
-
CertificateOperation
public CertificateOperation()Creates an instance ofCertificateOperation.
-
-
Method Details
-
getId
Get the identifier.- Returns:
- the identifier.
-
getIssuerName
Get the issuer name.- Returns:
- the issuer name
-
getCertificateType
Get the certificate type.- Returns:
- the certificateType
-
isCertificateTransparent
public boolean isCertificateTransparent()Get the certificate transparency status.- Returns:
- the certificateTransparency status.
-
getCsr
public byte[] getCsr()Get the csr.- Returns:
- the csr.
-
getCancellationRequested
Get the cancellation requested status.- Returns:
- the cancellationRequested status.
-
getStatus
Get the status.- Returns:
- the status
-
getStatusDetails
Get the status details.- Returns:
- the status details
-
getError
Get the error.- Returns:
- the error
-
getTarget
Get the target.- Returns:
- the target
-
getRequestId
Get the requestId.- Returns:
- the requestId
-
getVaultUrl
Get the URL for the Azure KeyVault service.- Returns:
- the value of the URL for the Azure KeyVault service.
-
getName
Get the certificate name.- Returns:
- the name of the certificate.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CertificateOperation>- Throws:
IOException
-
fromJson
public static CertificateOperation fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads a JSON stream into aCertificateOperation.- Parameters:
jsonReader- TheJsonReaderbeing read.- Returns:
- The
CertificateOperationthat the JSON stream represented, may return null. - Throws:
IOException- If aCertificateOperationfails to be read from thejsonReader.
-