CertificateBundleVersionSummary¶
- class oci.certificates.models.CertificateBundleVersionSummary(**kwargs)¶
Bases:
objectThe properties of the certificate bundle. Certificate bundle version summary objects do not include the actual contents of the certificate.
Attributes:
A constant which can be used with the stages property of a CertificateBundleVersionSummary.
A constant which can be used with the stages property of a CertificateBundleVersionSummary.
A constant which can be used with the stages property of a CertificateBundleVersionSummary.
A constant which can be used with the stages property of a CertificateBundleVersionSummary.
A constant which can be used with the stages property of a CertificateBundleVersionSummary.
A constant which can be used with the stages property of a CertificateBundleVersionSummary.
A constant which can be used with the stages property of a CertificateBundleVersionSummary.
[Required] Gets the certificate_id of this CertificateBundleVersionSummary.
[Required] Gets the certificate_name of this CertificateBundleVersionSummary.
Gets the revocation_status of this CertificateBundleVersionSummary.
Gets the serial_number of this CertificateBundleVersionSummary.
[Required] Gets the stages of this CertificateBundleVersionSummary.
[Required] Gets the time_created of this CertificateBundleVersionSummary.
Gets the time_of_deletion of this CertificateBundleVersionSummary.
Gets the validity of this CertificateBundleVersionSummary.
Gets the version_name of this CertificateBundleVersionSummary.
[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_PENDING_ACTIVATION = 'PENDING_ACTIVATION'¶
A constant which can be used with the stages property of a CertificateBundleVersionSummary. This constant has a value of “PENDING_ACTIVATION”
- 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”, “PENDING_ACTIVATION”, “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.
- property 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
- property 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
- property revocation_status¶
Gets the revocation_status of this CertificateBundleVersionSummary.
- Returns
The revocation_status of this CertificateBundleVersionSummary.
- Return type
- property 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
- property 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”, “PENDING_ACTIVATION”, “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]
- property 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
- property 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
- property validity¶
Gets the validity of this CertificateBundleVersionSummary.
- Returns
The validity of this CertificateBundleVersionSummary.
- Return type
- property 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
- property 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