ConditionGroup¶
- class oci.cloud_guard.models.ConditionGroup(**kwargs)¶
Bases:
objectDetails for a condition configured on a target.
Methods:
__init__(**kwargs)Initializes a new ConditionGroup object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this ConditionGroup.
[Required] Gets the condition of this ConditionGroup.
- __init__(**kwargs)¶
Initializes a new ConditionGroup object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this ConditionGroup.
condition (oci.cloud_guard.models.Condition) – The value to assign to the condition property of this ConditionGroup.
- property compartment_id¶
[Required] Gets the compartment_id of this ConditionGroup. Compartment OCID associated with condition
- Returns
The compartment_id of this ConditionGroup.
- Return type
str
- property condition¶
[Required] Gets the condition of this ConditionGroup.
- Returns
The condition of this ConditionGroup.
- Return type