Class CertificateProperties
java.lang.Object
com.azure.resourcemanager.batch.models.CertificateBaseProperties
com.azure.resourcemanager.batch.fluent.models.CertificateProperties
Certificate properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the deleteCertificateError property: This is only returned when the certificate provisioningState is 'Failed'.Get the previousProvisioningState property: The previous provisioned state of the resource.Get the previousProvisioningStateTransitionTime property: The time at which the certificate entered its previous state.Get the provisioningState property: The provisioningState property.Get the provisioningStateTransitionTime property: The time at which the certificate entered its current state.Get the publicData property: The public key of the certificate.void
validate()
Validates the instance.withFormat
(CertificateFormat format) Set the format property: The format of the certificate - either Pfx or Cer.withThumbprint
(String thumbprint) Set the thumbprint property: The thumbprint of the certificate.withThumbprintAlgorithm
(String thumbprintAlgorithm) Set the thumbprintAlgorithm property: The algorithm of the certificate thumbprint.Methods inherited from class com.azure.resourcemanager.batch.models.CertificateBaseProperties
format, thumbprint, thumbprintAlgorithm
-
Constructor Details
-
CertificateProperties
public CertificateProperties()Creates an instance of CertificateProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioningState property.- Returns:
- the provisioningState value.
-
provisioningStateTransitionTime
Get the provisioningStateTransitionTime property: The time at which the certificate entered its current state.- Returns:
- the provisioningStateTransitionTime value.
-
previousProvisioningState
Get the previousProvisioningState property: The previous provisioned state of the resource.- Returns:
- the previousProvisioningState value.
-
previousProvisioningStateTransitionTime
Get the previousProvisioningStateTransitionTime property: The time at which the certificate entered its previous state.- Returns:
- the previousProvisioningStateTransitionTime value.
-
publicData
Get the publicData property: The public key of the certificate.- Returns:
- the publicData value.
-
deleteCertificateError
Get the deleteCertificateError property: This is only returned when the certificate provisioningState is 'Failed'.- Returns:
- the deleteCertificateError value.
-
withThumbprintAlgorithm
Set the thumbprintAlgorithm property: The algorithm of the certificate thumbprint.This must match the first portion of the certificate name. Currently required to be 'SHA1'.
- Overrides:
withThumbprintAlgorithm
in classCertificateBaseProperties
- Parameters:
thumbprintAlgorithm
- the thumbprintAlgorithm value to set.- Returns:
- the CertificateBaseProperties object itself.
-
withThumbprint
Set the thumbprint property: The thumbprint of the certificate.This must match the thumbprint from the name.
- Overrides:
withThumbprint
in classCertificateBaseProperties
- Parameters:
thumbprint
- the thumbprint value to set.- Returns:
- the CertificateBaseProperties object itself.
-
withFormat
Set the format property: The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.- Overrides:
withFormat
in classCertificateBaseProperties
- Parameters:
format
- the format value to set.- Returns:
- the CertificateBaseProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCertificateBaseProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-