CreateInclusionCriterionDetails¶
-
class
oci.governance_rules_control_plane.models.CreateInclusionCriterionDetails(**kwargs)¶ Bases:
objectRequest object for Createinclusion criterion operation.
Methods
__init__(**kwargs)Initializes a new CreateInclusionCriterionDetails object with values from keyword arguments. Attributes
associationGets the association of this CreateInclusionCriterionDetails. governance_rule_id[Required] Gets the governance_rule_id of this CreateInclusionCriterionDetails. type[Required] Gets the type of this CreateInclusionCriterionDetails. -
__init__(**kwargs)¶ Initializes a new CreateInclusionCriterionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - governance_rule_id (str) – The value to assign to the governance_rule_id property of this CreateInclusionCriterionDetails.
- type (str) – The value to assign to the type property of this CreateInclusionCriterionDetails.
- association (oci.governance_rules_control_plane.models.Association) – The value to assign to the association property of this CreateInclusionCriterionDetails.
-
association¶ Gets the association of this CreateInclusionCriterionDetails.
Returns: The association of this CreateInclusionCriterionDetails. Return type: oci.governance_rules_control_plane.models.Association
-
governance_rule_id¶ [Required] Gets the governance_rule_id of this CreateInclusionCriterionDetails. The Oracle ID (OCID) of the governance rule. Every inclusion criterion is associated with a governance rule.
Returns: The governance_rule_id of this CreateInclusionCriterionDetails. Return type: str
-
type¶ [Required] Gets the type of this CreateInclusionCriterionDetails. Type of inclusion criterion - TENANCY, ALL or TAG. We support TENANCY and ALL for now.
Returns: The type of this CreateInclusionCriterionDetails. Return type: str
-