BdsCertificateConfiguration¶
-
class
oci.bds.models.BdsCertificateConfiguration(**kwargs)¶ Bases:
objectThe BDS certificate configuration information.
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a BdsCertificateConfiguration. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a BdsCertificateConfiguration. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a BdsCertificateConfiguration. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a BdsCertificateConfiguration. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a BdsCertificateConfiguration. TYPE_OCI_CERTIFICATEA constant which can be used with the type property of a BdsCertificateConfiguration. TYPE_SELF_SIGNEDA constant which can be used with the type property of a BdsCertificateConfiguration. bds_instance_id[Required] Gets the bds_instance_id of this BdsCertificateConfiguration. certificate_authority_idGets the certificate_authority_id of this BdsCertificateConfiguration. compartment_idGets the compartment_id of this BdsCertificateConfiguration. display_name[Required] Gets the display_name of this BdsCertificateConfiguration. id[Required] Gets the id of this BdsCertificateConfiguration. is_default_configuration[Required] Gets the is_default_configuration of this BdsCertificateConfiguration. lifecycle_state[Required] Gets the lifecycle_state of this BdsCertificateConfiguration. time_created[Required] Gets the time_created of this BdsCertificateConfiguration. time_last_refreshed_or_generatedGets the time_last_refreshed_or_generated of this BdsCertificateConfiguration. time_updated[Required] Gets the time_updated of this BdsCertificateConfiguration. type[Required] Gets the type of this BdsCertificateConfiguration. Methods
__init__(**kwargs)Initializes a new BdsCertificateConfiguration object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a BdsCertificateConfiguration. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a BdsCertificateConfiguration. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a BdsCertificateConfiguration. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a BdsCertificateConfiguration. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a BdsCertificateConfiguration. This constant has a value of “FAILED”
-
TYPE_OCI_CERTIFICATE= 'OCI_CERTIFICATE'¶ A constant which can be used with the type property of a BdsCertificateConfiguration. This constant has a value of “OCI_CERTIFICATE”
-
TYPE_SELF_SIGNED= 'SELF_SIGNED'¶ A constant which can be used with the type property of a BdsCertificateConfiguration. This constant has a value of “SELF_SIGNED”
-
__init__(**kwargs)¶ Initializes a new BdsCertificateConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - bds_instance_id (str) – The value to assign to the bds_instance_id property of this BdsCertificateConfiguration.
- id (str) – The value to assign to the id property of this BdsCertificateConfiguration.
- certificate_authority_id (str) – The value to assign to the certificate_authority_id property of this BdsCertificateConfiguration.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this BdsCertificateConfiguration. 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’.
- display_name (str) – The value to assign to the display_name property of this BdsCertificateConfiguration.
- time_last_refreshed_or_generated (datetime) – The value to assign to the time_last_refreshed_or_generated property of this BdsCertificateConfiguration.
- time_created (datetime) – The value to assign to the time_created property of this BdsCertificateConfiguration.
- time_updated (datetime) – The value to assign to the time_updated property of this BdsCertificateConfiguration.
- type (str) – The value to assign to the type property of this BdsCertificateConfiguration. Allowed values for this property are: “SELF_SIGNED”, “OCI_CERTIFICATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- is_default_configuration (bool) – The value to assign to the is_default_configuration property of this BdsCertificateConfiguration.
- compartment_id (str) – The value to assign to the compartment_id property of this BdsCertificateConfiguration.
-
bds_instance_id¶ [Required] Gets the bds_instance_id of this BdsCertificateConfiguration. The OCID of the bdsInstance which is the parent resource id.
Returns: The bds_instance_id of this BdsCertificateConfiguration. Return type: str
Gets the certificate_authority_id of this BdsCertificateConfiguration. The OCID of the certificate authority which is associated with this certificate configuration. The value is Null when this BDS certificate configuration type is SELF_SIGNED.
Returns: The certificate_authority_id of this BdsCertificateConfiguration. Return type: str
-
compartment_id¶ Gets the compartment_id of this BdsCertificateConfiguration. The OCID of the compartment of the certificate authority connecting to this certificate configuration.
Returns: The compartment_id of this BdsCertificateConfiguration. Return type: str
-
display_name¶ [Required] Gets the display_name of this BdsCertificateConfiguration. The display name of the BDS certificate configuration.
Returns: The display_name of this BdsCertificateConfiguration. Return type: str
-
id¶ [Required] Gets the id of this BdsCertificateConfiguration. The ID of the BDS certificate configuration defined under BDS resources, not OCID.
Returns: The id of this BdsCertificateConfiguration. Return type: str
-
is_default_configuration¶ [Required] Gets the is_default_configuration of this BdsCertificateConfiguration. If this BDS certificate configuration is a default configuration or not. There will be only one Default certificate configuration per BDS cluster.
Returns: The is_default_configuration of this BdsCertificateConfiguration. Return type: bool
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this BdsCertificateConfiguration. The lifecycle status of the BDS certificate configuration.
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 BdsCertificateConfiguration. Return type: str
-
time_created¶ [Required] Gets the time_created of this BdsCertificateConfiguration. The time when the BDS certificate configuration was created, shown as an RFC 3339 formatted datetime string.
Returns: The time_created of this BdsCertificateConfiguration. Return type: datetime
-
time_last_refreshed_or_generated¶ Gets the time_last_refreshed_or_generated of this BdsCertificateConfiguration. The last time the BDS certificate configuration was used to generate or renew the certificate(s).
Returns: The time_last_refreshed_or_generated of this BdsCertificateConfiguration. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this BdsCertificateConfiguration. The time the BDS certificate configuration was updated, shown as an RFC 3339 formatted datetime string.
Returns: The time_updated of this BdsCertificateConfiguration. Return type: datetime
-
type¶ [Required] Gets the type of this BdsCertificateConfiguration. The type of the BDS certificate configuration, also the type of the BDS certificates which will be generated by the BDS certificate configuration.
Allowed values for this property are: “SELF_SIGNED”, “OCI_CERTIFICATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this BdsCertificateConfiguration. Return type: str
-