CertificateSummary

class oci.golden_gate.models.CertificateSummary(**kwargs)

Bases: object

Summary of the Certificates.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a CertificateSummary.
is_self_signed [Required] Gets the is_self_signed of this CertificateSummary.
key [Required] Gets the key of this CertificateSummary.
lifecycle_state [Required] Gets the lifecycle_state of this CertificateSummary.
subject [Required] Gets the subject of this CertificateSummary.
time_created [Required] Gets the time_created of this CertificateSummary.
time_valid_to [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.
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
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
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
subject

[Required] Gets the subject of this CertificateSummary. The Certificate subject.

Returns:The subject of this CertificateSummary.
Return type:str
time_created

[Required] Gets the time_created of this CertificateSummary. The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_created of this CertificateSummary.
Return type:datetime
time_valid_to

[Required] Gets the time_valid_to of this CertificateSummary. The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_valid_to of this CertificateSummary.
Return type:datetime