InclusionCriterion¶
-
class
oci.governance_rules_control_plane.models.
InclusionCriterion
(**kwargs)¶ Bases:
object
Represents the criterion for the inclusion of the child tenancies under a governance rule. This can be either TENANCY or TAG.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a InclusionCriterion. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a InclusionCriterion. TYPE_ALL
A constant which can be used with the type property of a InclusionCriterion. TYPE_TENANCY
A constant which can be used with the type property of a InclusionCriterion. association
Gets the association of this InclusionCriterion. governance_rule_id
[Required] Gets the governance_rule_id of this InclusionCriterion. id
[Required] Gets the id of this InclusionCriterion. lifecycle_state
[Required] Gets the lifecycle_state of this InclusionCriterion. time_created
[Required] Gets the time_created of this InclusionCriterion. time_updated
[Required] Gets the time_updated of this InclusionCriterion. type
[Required] Gets the type of this InclusionCriterion. Methods
__init__
(**kwargs)Initializes a new InclusionCriterion object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a InclusionCriterion. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a InclusionCriterion. This constant has a value of “DELETED”
-
TYPE_ALL
= 'ALL'¶ A constant which can be used with the type property of a InclusionCriterion. This constant has a value of “ALL”
-
TYPE_TENANCY
= 'TENANCY'¶ A constant which can be used with the type property of a InclusionCriterion. This constant has a value of “TENANCY”
-
__init__
(**kwargs)¶ Initializes a new InclusionCriterion 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 InclusionCriterion.
- governance_rule_id (str) – The value to assign to the governance_rule_id property of this InclusionCriterion.
- type (str) – The value to assign to the type property of this InclusionCriterion. Allowed values for this property are: “TENANCY”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- association (oci.governance_rules_control_plane.models.Association) – The value to assign to the association property of this InclusionCriterion.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this InclusionCriterion. Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this InclusionCriterion.
- time_updated (datetime) – The value to assign to the time_updated property of this InclusionCriterion.
-
association
¶ Gets the association of this InclusionCriterion.
Returns: The association of this InclusionCriterion. Return type: oci.governance_rules_control_plane.models.Association
-
governance_rule_id
¶ [Required] Gets the governance_rule_id of this InclusionCriterion. The Oracle ID (OCID) of the governance rule. Every inclusion criterion is associated with a governance rule.
Returns: The governance_rule_id of this InclusionCriterion. Return type: str
-
id
¶ [Required] Gets the id of this InclusionCriterion. The Oracle ID (OCID) of the inclusion criterion.
Returns: The id of this InclusionCriterion. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this InclusionCriterion. The current state of the inclusion criterion.
Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this InclusionCriterion. Return type: str
-
time_created
¶ [Required] Gets the time_created of this InclusionCriterion. Date and time the inclusion criterion was created. An RFC3339 formatted datetime string.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_created of this InclusionCriterion. Return type: datetime
-
time_updated
¶ [Required] Gets the time_updated of this InclusionCriterion. Date and time the inclusion criterion was updated. An RFC3339 formatted datetime string.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_updated of this InclusionCriterion. Return type: datetime
-
type
¶ [Required] Gets the type of this InclusionCriterion. Type of inclusion criterion - TENANCY, ALL or TAG. We support TENANCY and ALL for now.
Allowed values for this property are: “TENANCY”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this InclusionCriterion. Return type: str
-