CertificateInner Class

public final class CertificateInner
extends ProxyResource

Contains information about a certificate.

Constructor Summary

Constructor Description
CertificateInner()

Creates an instance of CertificateInner class.

Method Summary

Modifier and Type Method and Description
DeleteCertificateError deleteCertificateError()

Get the deleteCertificateError property: This is only returned when the certificate provisioningState is 'Failed'.

String etag()

Get the etag property: The ETag of the resource, used for concurrency statements.

CertificateFormat format()

Get the format property: The format of the certificate - either Pfx or Cer.

CertificateProvisioningState previousProvisioningState()

Get the previousProvisioningState property: The previous provisioned state of the resource.

OffsetDateTime previousProvisioningStateTransitionTime()

Get the previousProvisioningStateTransitionTime property: The time at which the certificate entered its previous state.

CertificateProvisioningState provisioningState()

Get the provisioningState property: The provisioningState property.

OffsetDateTime provisioningStateTransitionTime()

Get the provisioningStateTransitionTime property: The time at which the certificate entered its current state.

String publicData()

Get the publicData property: The public key of the certificate.

String thumbprint()

Get the thumbprint property: The thumbprint of the certificate.

String thumbprintAlgorithm()

Get the thumbprintAlgorithm property: The algorithm of the certificate thumbprint.

void validate()

Validates the instance.

CertificateInner withFormat(CertificateFormat format)

Set the format property: The format of the certificate - either Pfx or Cer.

CertificateInner withThumbprint(String thumbprint)

Set the thumbprint property: The thumbprint of the certificate.

CertificateInner withThumbprintAlgorithm(String thumbprintAlgorithm)

Set the thumbprintAlgorithm property: The algorithm of the certificate thumbprint.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CertificateInner

public CertificateInner()

Creates an instance of CertificateInner class.

Method Details

deleteCertificateError

public DeleteCertificateError deleteCertificateError()

Get the deleteCertificateError property: This is only returned when the certificate provisioningState is 'Failed'.

Returns:

the deleteCertificateError value.

etag

public String etag()

Get the etag property: The ETag of the resource, used for concurrency statements.

Returns:

the etag value.

format

public CertificateFormat format()

Get the format property: The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.

Returns:

the format value.

previousProvisioningState

public CertificateProvisioningState previousProvisioningState()

Get the previousProvisioningState property: The previous provisioned state of the resource.

Returns:

the previousProvisioningState value.

previousProvisioningStateTransitionTime

public OffsetDateTime previousProvisioningStateTransitionTime()

Get the previousProvisioningStateTransitionTime property: The time at which the certificate entered its previous state.

Returns:

the previousProvisioningStateTransitionTime value.

provisioningState

public CertificateProvisioningState provisioningState()

Get the provisioningState property: The provisioningState property.

Returns:

the provisioningState value.

provisioningStateTransitionTime

public OffsetDateTime provisioningStateTransitionTime()

Get the provisioningStateTransitionTime property: The time at which the certificate entered its current state.

Returns:

the provisioningStateTransitionTime value.

publicData

public String publicData()

Get the publicData property: The public key of the certificate.

Returns:

the publicData value.

thumbprint

public String thumbprint()

Get the thumbprint property: The thumbprint of the certificate. This must match the thumbprint from the name.

Returns:

the thumbprint value.

thumbprintAlgorithm

public String thumbprintAlgorithm()

Get the thumbprintAlgorithm property: The algorithm of the certificate thumbprint. This must match the first portion of the certificate name. Currently required to be 'SHA1'.

Returns:

the thumbprintAlgorithm value.

validate

public void validate()

Validates the instance.

withFormat

public CertificateInner withFormat(CertificateFormat format)

Set the format property: The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.

Parameters:

format - the format value to set.

Returns:

the CertificateInner object itself.

withThumbprint

public CertificateInner withThumbprint(String thumbprint)

Set the thumbprint property: The thumbprint of the certificate. This must match the thumbprint from the name.

Parameters:

thumbprint - the thumbprint value to set.

Returns:

the CertificateInner object itself.

withThumbprintAlgorithm

public CertificateInner withThumbprintAlgorithm(String thumbprintAlgorithm)

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'.

Parameters:

thumbprintAlgorithm - the thumbprintAlgorithm value to set.

Returns:

the CertificateInner object itself.

Applies to