CertificateInner Class

  • java.lang.Object
    • ProxyResource
      • com.microsoft.azure.management.batch.implementation.CertificateInner

public class CertificateInner

Contains information about a certificate.

Method Summary

Modifier and Type Method and Description
DeleteCertificateError deleteCertificateError()

Get this is only returned when the certificate provisioningState is 'Failed'.

String etag()

Get the ETag of the resource, used for concurrency statements.

CertificateFormat format()

Get the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.

CertificateProvisioningState previousProvisioningState()

Get the previous provisioned state of the resource. Possible values include: 'Succeeded', 'Deleting', 'Failed'.

DateTime previousProvisioningStateTransitionTime()

Get the previousProvisioningStateTransitionTime value.

CertificateProvisioningState provisioningState()

Get possible values include: 'Succeeded', 'Deleting', 'Failed'.

DateTime provisioningStateTransitionTime()

Get the provisioningStateTransitionTime value.

String publicData()

Get the public key of the certificate.

String thumbprint()

Get this must match the thumbprint from the name.

String thumbprintAlgorithm()

Get this must match the first portion of the certificate name. Currently required to be 'SHA1'.

CertificateInner withFormat(CertificateFormat format)

Set the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.

CertificateInner withThumbprint(String thumbprint)

Set this must match the thumbprint from the name.

CertificateInner withThumbprintAlgorithm(String thumbprintAlgorithm)

Set this must match the first portion of the certificate name. Currently required to be 'SHA1'.

Method Details

deleteCertificateError

public DeleteCertificateError deleteCertificateError()

Get this is only returned when the certificate provisioningState is 'Failed'.

Returns:

the deleteCertificateError value

etag

public String etag()

Get the ETag of the resource, used for concurrency statements.

Returns:

the etag value

format

public CertificateFormat format()

Get the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.

Returns:

the format value

previousProvisioningState

public CertificateProvisioningState previousProvisioningState()

Get the previous provisioned state of the resource. Possible values include: 'Succeeded', 'Deleting', 'Failed'.

Returns:

the previousProvisioningState value

previousProvisioningStateTransitionTime

public DateTime previousProvisioningStateTransitionTime()

Get the previousProvisioningStateTransitionTime value.

Returns:

the previousProvisioningStateTransitionTime value

provisioningState

public CertificateProvisioningState provisioningState()

Get possible values include: 'Succeeded', 'Deleting', 'Failed'.

Returns:

the provisioningState value

provisioningStateTransitionTime

public DateTime provisioningStateTransitionTime()

Get the provisioningStateTransitionTime value.

Returns:

the provisioningStateTransitionTime value

publicData

public String publicData()

Get the public key of the certificate.

Returns:

the publicData value

thumbprint

public String thumbprint()

Get this must match the thumbprint from the name.

Returns:

the thumbprint value

thumbprintAlgorithm

public String thumbprintAlgorithm()

Get this must match the first portion of the certificate name. Currently required to be 'SHA1'.

Returns:

the thumbprintAlgorithm value

withFormat

public CertificateInner withFormat(CertificateFormat format)

Set the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.

Parameters:

format - the format value to set

Returns:

the CertificateInner object itself.

withThumbprint

public CertificateInner withThumbprint(String thumbprint)

Set 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 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