CertificateSummary¶
- class oci.golden_gate.models.CertificateSummary(**kwargs)¶
Bases:
objectSummary of the Certificates.
Attributes:
A constant which can be used with the lifecycle_state property of a CertificateSummary.
A constant which can be used with the lifecycle_state property of a CertificateSummary.
A constant which can be used with the lifecycle_state property of a CertificateSummary.
A constant which can be used with the lifecycle_state property of a CertificateSummary.
A constant which can be used with the lifecycle_state property of a CertificateSummary.
[Required] Gets the is_self_signed of this CertificateSummary.
[Required] Gets the key of this CertificateSummary.
[Required] Gets the lifecycle_state of this CertificateSummary.
[Required] Gets the subject of this CertificateSummary.
[Required] Gets the time_created of this CertificateSummary.
[Required] Gets the time_valid_to of this CertificateSummary.
Methods:
__init__(**kwargs)Initializes a new CertificateSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “FAILED”
- __init__(**kwargs)¶
Initializes a new CertificateSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
key (str) – The value to assign to the key property of this CertificateSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this CertificateSummary. Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
subject (str) – The value to assign to the subject property of this CertificateSummary.
is_self_signed (bool) – The value to assign to the is_self_signed property of this CertificateSummary.
time_valid_to (datetime) – The value to assign to the time_valid_to property of this CertificateSummary.
time_created (datetime) – The value to assign to the time_created property of this CertificateSummary.
- property is_self_signed¶
[Required] Gets the is_self_signed of this CertificateSummary. Indicates if the certificate is self signed.
- Returns
The is_self_signed of this CertificateSummary.
- Return type
bool
- property key¶
[Required] Gets the key of this CertificateSummary. The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
- Returns
The key of this CertificateSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this CertificateSummary. Possible certificate lifecycle states.
Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this CertificateSummary.
- Return type
str
- property subject¶
[Required] Gets the subject of this CertificateSummary. The Certificate subject.
- Returns
The subject of this CertificateSummary.
- Return type
str