CertificateBundleVersionSummary

class oci.certificates.models.CertificateBundleVersionSummary(**kwargs)

Bases: object

The properties of the certificate bundle. Certificate bundle version summary objects do not include the actual contents of the certificate.

Attributes

STAGES_CURRENT A constant which can be used with the stages property of a CertificateBundleVersionSummary.
STAGES_DEPRECATED A constant which can be used with the stages property of a CertificateBundleVersionSummary.
STAGES_FAILED A constant which can be used with the stages property of a CertificateBundleVersionSummary.
STAGES_LATEST A constant which can be used with the stages property of a CertificateBundleVersionSummary.
STAGES_PENDING A constant which can be used with the stages property of a CertificateBundleVersionSummary.
STAGES_PREVIOUS A constant which can be used with the stages property of a CertificateBundleVersionSummary.
certificate_id [Required] Gets the certificate_id of this CertificateBundleVersionSummary.
certificate_name [Required] Gets the certificate_name of this CertificateBundleVersionSummary.
revocation_status Gets the revocation_status of this CertificateBundleVersionSummary.
serial_number Gets the serial_number of this CertificateBundleVersionSummary.
stages [Required] Gets the stages of this CertificateBundleVersionSummary.
time_created [Required] Gets the time_created of this CertificateBundleVersionSummary.
time_of_deletion Gets the time_of_deletion of this CertificateBundleVersionSummary.
validity Gets the validity of this CertificateBundleVersionSummary.
version_name Gets the version_name of this CertificateBundleVersionSummary.
version_number [Required] Gets the version_number of this CertificateBundleVersionSummary.

Methods

__init__(**kwargs) Initializes a new CertificateBundleVersionSummary object with values from keyword arguments.
STAGES_CURRENT = 'CURRENT'

A constant which can be used with the stages property of a CertificateBundleVersionSummary. This constant has a value of “CURRENT”

STAGES_DEPRECATED = 'DEPRECATED'

A constant which can be used with the stages property of a CertificateBundleVersionSummary. This constant has a value of “DEPRECATED”

STAGES_FAILED = 'FAILED'

A constant which can be used with the stages property of a CertificateBundleVersionSummary. This constant has a value of “FAILED”

STAGES_LATEST = 'LATEST'

A constant which can be used with the stages property of a CertificateBundleVersionSummary. This constant has a value of “LATEST”

STAGES_PENDING = 'PENDING'

A constant which can be used with the stages property of a CertificateBundleVersionSummary. This constant has a value of “PENDING”

STAGES_PREVIOUS = 'PREVIOUS'

A constant which can be used with the stages property of a CertificateBundleVersionSummary. This constant has a value of “PREVIOUS”

__init__(**kwargs)

Initializes a new CertificateBundleVersionSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • certificate_id (str) – The value to assign to the certificate_id property of this CertificateBundleVersionSummary.
  • serial_number (str) – The value to assign to the serial_number property of this CertificateBundleVersionSummary.
  • version_name (str) – The value to assign to the version_name property of this CertificateBundleVersionSummary.
  • certificate_name (str) – The value to assign to the certificate_name property of this CertificateBundleVersionSummary.
  • version_number (int) – The value to assign to the version_number property of this CertificateBundleVersionSummary.
  • time_created (datetime) – The value to assign to the time_created property of this CertificateBundleVersionSummary.
  • validity (oci.certificates.models.Validity) – The value to assign to the validity property of this CertificateBundleVersionSummary.
  • time_of_deletion (datetime) – The value to assign to the time_of_deletion property of this CertificateBundleVersionSummary.
  • stages (list[str]) – The value to assign to the stages property of this CertificateBundleVersionSummary. Allowed values for items in this list are: “CURRENT”, “PENDING”, “LATEST”, “PREVIOUS”, “DEPRECATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • revocation_status (oci.certificates.models.RevocationStatus) – The value to assign to the revocation_status property of this CertificateBundleVersionSummary.
certificate_id

[Required] Gets the certificate_id of this CertificateBundleVersionSummary. The OCID of the certificate.

Returns:The certificate_id of this CertificateBundleVersionSummary.
Return type:str
certificate_name

[Required] Gets the certificate_name of this CertificateBundleVersionSummary. The name of the certificate.

Returns:The certificate_name of this CertificateBundleVersionSummary.
Return type:str
revocation_status

Gets the revocation_status of this CertificateBundleVersionSummary.

Returns:The revocation_status of this CertificateBundleVersionSummary.
Return type:oci.certificates.models.RevocationStatus
serial_number

Gets the serial_number of this CertificateBundleVersionSummary. A unique certificate identifier used in certificate revocation tracking, formatted as octets. Example: 03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF

Returns:The serial_number of this CertificateBundleVersionSummary.
Return type:str
stages

[Required] Gets the stages of this CertificateBundleVersionSummary. A list of rotation states for this certificate bundle version.

Allowed values for items in this list are: “CURRENT”, “PENDING”, “LATEST”, “PREVIOUS”, “DEPRECATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The stages of this CertificateBundleVersionSummary.
Return type:list[str]
time_created

[Required] Gets the time_created of this CertificateBundleVersionSummary. An optional property indicating when the certificate version was created, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z

Returns:The time_created of this CertificateBundleVersionSummary.
Return type:datetime
time_of_deletion

Gets the time_of_deletion of this CertificateBundleVersionSummary. An optional property indicating when to delete the certificate version, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z

Returns:The time_of_deletion of this CertificateBundleVersionSummary.
Return type:datetime
validity

Gets the validity of this CertificateBundleVersionSummary.

Returns:The validity of this CertificateBundleVersionSummary.
Return type:oci.certificates.models.Validity
version_name

Gets the version_name of this CertificateBundleVersionSummary. The name of the certificate version.

Returns:The version_name of this CertificateBundleVersionSummary.
Return type:str
version_number

[Required] Gets the version_number of this CertificateBundleVersionSummary. The version number of the certificate.

Returns:The version_number of this CertificateBundleVersionSummary.
Return type:int