Association¶
-
class
oci.certificates_management.models.
Association
(**kwargs)¶ Bases:
object
The details of the association.
Attributes
ASSOCIATION_TYPE_CA_BUNDLE
A constant which can be used with the association_type property of a Association. ASSOCIATION_TYPE_CERTIFICATE
A constant which can be used with the association_type property of a Association. ASSOCIATION_TYPE_CERTIFICATE_AUTHORITY
A constant which can be used with the association_type property of a Association. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a Association. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a Association. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a Association. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a Association. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a Association. associated_resource_id
[Required] Gets the associated_resource_id of this Association. association_type
[Required] Gets the association_type of this Association. certificates_resource_id
[Required] Gets the certificates_resource_id of this Association. compartment_id
[Required] Gets the compartment_id of this Association. id
[Required] Gets the id of this Association. lifecycle_state
[Required] Gets the lifecycle_state of this Association. name
[Required] Gets the name of this Association. time_created
[Required] Gets the time_created of this Association. Methods
__init__
(**kwargs)Initializes a new Association object with values from keyword arguments. -
ASSOCIATION_TYPE_CA_BUNDLE
= 'CA_BUNDLE'¶ A constant which can be used with the association_type property of a Association. This constant has a value of “CA_BUNDLE”
-
ASSOCIATION_TYPE_CERTIFICATE
= 'CERTIFICATE'¶ A constant which can be used with the association_type property of a Association. This constant has a value of “CERTIFICATE”
-
ASSOCIATION_TYPE_CERTIFICATE_AUTHORITY
= 'CERTIFICATE_AUTHORITY'¶ A constant which can be used with the association_type property of a Association. This constant has a value of “CERTIFICATE_AUTHORITY”
-
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a Association. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a Association. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a Association. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a Association. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a Association. This constant has a value of “UPDATING”
-
__init__
(**kwargs)¶ Initializes a new Association object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this Association.
- name (str) – The value to assign to the name property of this Association.
- time_created (datetime) – The value to assign to the time_created property of this Association.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this Association. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- certificates_resource_id (str) – The value to assign to the certificates_resource_id property of this Association.
- associated_resource_id (str) – The value to assign to the associated_resource_id property of this Association.
- compartment_id (str) – The value to assign to the compartment_id property of this Association.
- association_type (str) – The value to assign to the association_type property of this Association. Allowed values for this property are: “CERTIFICATE”, “CERTIFICATE_AUTHORITY”, “CA_BUNDLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
associated_resource_id
¶ [Required] Gets the associated_resource_id of this Association. The OCID of the associated resource.
Returns: The associated_resource_id of this Association. Return type: str
-
association_type
¶ [Required] Gets the association_type of this Association. Type of the association.
Allowed values for this property are: “CERTIFICATE”, “CERTIFICATE_AUTHORITY”, “CA_BUNDLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The association_type of this Association. Return type: str
-
certificates_resource_id
¶ [Required] Gets the certificates_resource_id of this Association. The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
Returns: The certificates_resource_id of this Association. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this Association. The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.
Returns: The compartment_id of this Association. Return type: str
-
id
¶ [Required] Gets the id of this Association. The OCID of the association.
Returns: The id of this Association. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this Association. The current lifecycle state of the association.
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this Association. Return type: str
-
name
¶ [Required] Gets the name of this Association. A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
Returns: The name of this Association. Return type: str
-