CertificateAuthorityBundleVersionSummary¶
- class oci.certificates.models.CertificateAuthorityBundleVersionSummary(**kwargs)¶
Bases:
objectThe properties of a version of a bundle for a certificate authority (CA). Certificate authority 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 CertificateAuthorityBundleVersionSummary.
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
[Required] Gets the certificate_authority_id of this CertificateAuthorityBundleVersionSummary.
[Required] Gets the certificate_authority_name of this CertificateAuthorityBundleVersionSummary.
Gets the revocation_status of this CertificateAuthorityBundleVersionSummary.
Gets the serial_number of this CertificateAuthorityBundleVersionSummary.
[Required] Gets the stages of this CertificateAuthorityBundleVersionSummary.
[Required] Gets the time_created of this CertificateAuthorityBundleVersionSummary.
Gets the time_of_deletion of this CertificateAuthorityBundleVersionSummary.
Gets the validity of this CertificateAuthorityBundleVersionSummary.
Gets the version_name of this CertificateAuthorityBundleVersionSummary.
[Required] Gets the version_number of this CertificateAuthorityBundleVersionSummary.
Methods:
__init__(**kwargs)Initializes a new CertificateAuthorityBundleVersionSummary object with values from keyword arguments.
- STAGES_CURRENT = 'CURRENT'¶
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary. This constant has a value of “CURRENT”
- STAGES_DEPRECATED = 'DEPRECATED'¶
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary. This constant has a value of “DEPRECATED”
- STAGES_FAILED = 'FAILED'¶
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary. This constant has a value of “FAILED”
- STAGES_LATEST = 'LATEST'¶
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary. This constant has a value of “LATEST”
- STAGES_PENDING = 'PENDING'¶
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary. This constant has a value of “PENDING”
- STAGES_PENDING_ACTIVATION = 'PENDING_ACTIVATION'¶
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary. This constant has a value of “PENDING_ACTIVATION”
- STAGES_PREVIOUS = 'PREVIOUS'¶
A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary. This constant has a value of “PREVIOUS”
- __init__(**kwargs)¶
Initializes a new CertificateAuthorityBundleVersionSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
certificate_authority_id (str) – The value to assign to the certificate_authority_id property of this CertificateAuthorityBundleVersionSummary.
serial_number (str) – The value to assign to the serial_number property of this CertificateAuthorityBundleVersionSummary.
time_created (datetime) – The value to assign to the time_created property of this CertificateAuthorityBundleVersionSummary.
version_number (int) – The value to assign to the version_number property of this CertificateAuthorityBundleVersionSummary.
version_name (str) – The value to assign to the version_name property of this CertificateAuthorityBundleVersionSummary.
certificate_authority_name (str) – The value to assign to the certificate_authority_name property of this CertificateAuthorityBundleVersionSummary.
time_of_deletion (datetime) – The value to assign to the time_of_deletion property of this CertificateAuthorityBundleVersionSummary.
validity (oci.certificates.models.Validity) – The value to assign to the validity property of this CertificateAuthorityBundleVersionSummary.
stages (list[str]) – The value to assign to the stages property of this CertificateAuthorityBundleVersionSummary. 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 CertificateAuthorityBundleVersionSummary.
- property certificate_authority_id¶
[Required] Gets the certificate_authority_id of this CertificateAuthorityBundleVersionSummary. The OCID of the certificate authority (CA).
- Returns
The certificate_authority_id of this CertificateAuthorityBundleVersionSummary.
- Return type
str
- property certificate_authority_name¶
[Required] Gets the certificate_authority_name of this CertificateAuthorityBundleVersionSummary. The name of the CA.
- Returns
The certificate_authority_name of this CertificateAuthorityBundleVersionSummary.
- Return type
str
- property revocation_status¶
Gets the revocation_status of this CertificateAuthorityBundleVersionSummary.
- Returns
The revocation_status of this CertificateAuthorityBundleVersionSummary.
- Return type
- property serial_number¶
Gets the serial_number of this CertificateAuthorityBundleVersionSummary. 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 CertificateAuthorityBundleVersionSummary.
- Return type
str
- property stages¶
[Required] Gets the stages of this CertificateAuthorityBundleVersionSummary. A list of rotation states for this CA 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 CertificateAuthorityBundleVersionSummary.
- Return type
list[str]
- property time_created¶
[Required] Gets the time_created of this CertificateAuthorityBundleVersionSummary. An optional property indicating when the CA version was created, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z
- Returns
The time_created of this CertificateAuthorityBundleVersionSummary.
- Return type
datetime
- property time_of_deletion¶
Gets the time_of_deletion of this CertificateAuthorityBundleVersionSummary. An optional property indicating when to delete the CA version, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z
- Returns
The time_of_deletion of this CertificateAuthorityBundleVersionSummary.
- Return type
datetime
- property validity¶
Gets the validity of this CertificateAuthorityBundleVersionSummary.
- Returns
The validity of this CertificateAuthorityBundleVersionSummary.
- Return type
- property version_name¶
Gets the version_name of this CertificateAuthorityBundleVersionSummary. The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA.
- Returns
The version_name of this CertificateAuthorityBundleVersionSummary.
- Return type
str
- property version_number¶
[Required] Gets the version_number of this CertificateAuthorityBundleVersionSummary. The version number of the CA.
- Returns
The version_number of this CertificateAuthorityBundleVersionSummary.
- Return type
int