Condition¶
-
class
oci.fleet_apps_management.models.
Condition
(**kwargs)¶ Bases:
object
Rule condition
Methods
__init__
(**kwargs)Initializes a new Condition object with values from keyword arguments. Attributes
attr_group
[Required] Gets the attr_group of this Condition. attr_key
[Required] Gets the attr_key of this Condition. attr_value
[Required] Gets the attr_value of this Condition. -
__init__
(**kwargs)¶ Initializes a new Condition object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - attr_group (str) – The value to assign to the attr_group property of this Condition.
- attr_key (str) – The value to assign to the attr_key property of this Condition.
- attr_value (str) – The value to assign to the attr_value property of this Condition.
-
attr_group
¶ [Required] Gets the attr_group of this Condition. Attribute Group. Provide a Tag namespace if the rule is based on a tag. Provide resource type if the rule is based on a resource property.
Returns: The attr_group of this Condition. Return type: str
-
attr_key
¶ [Required] Gets the attr_key of this Condition. Attribute Key.Provide Tag key if the rule is based on a tag. Provide resource property name if the rule is based on a resource property.
Returns: The attr_key of this Condition. Return type: str
-
attr_value
¶ [Required] Gets the attr_value of this Condition. Attribute Value.Provide Tag value if the rule is based on a tag. Provide resource property value if the rule is based on a resource property.
Returns: The attr_value of this Condition. Return type: str
-