RuleCondition¶
-
class
oci.fusion_apps.models.
RuleCondition
(**kwargs)¶ Bases:
object
A condition to apply to an access control rule.
Attributes
ATTRIBUTE_NAME_SOURCE_IP_ADDRESS
A constant which can be used with the attribute_name property of a RuleCondition. ATTRIBUTE_NAME_SOURCE_VCN_ID
A constant which can be used with the attribute_name property of a RuleCondition. ATTRIBUTE_NAME_SOURCE_VCN_IP_ADDRESS
A constant which can be used with the attribute_name property of a RuleCondition. attribute_name
[Required] Gets the attribute_name of this RuleCondition. Methods
__init__
(**kwargs)Initializes a new RuleCondition object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
ATTRIBUTE_NAME_SOURCE_IP_ADDRESS
= 'SOURCE_IP_ADDRESS'¶ A constant which can be used with the attribute_name property of a RuleCondition. This constant has a value of “SOURCE_IP_ADDRESS”
-
ATTRIBUTE_NAME_SOURCE_VCN_ID
= 'SOURCE_VCN_ID'¶ A constant which can be used with the attribute_name property of a RuleCondition. This constant has a value of “SOURCE_VCN_ID”
-
ATTRIBUTE_NAME_SOURCE_VCN_IP_ADDRESS
= 'SOURCE_VCN_IP_ADDRESS'¶ A constant which can be used with the attribute_name property of a RuleCondition. This constant has a value of “SOURCE_VCN_IP_ADDRESS”
-
__init__
(**kwargs)¶ Initializes a new RuleCondition object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: attribute_name (str) – The value to assign to the attribute_name property of this RuleCondition. Allowed values for this property are: “SOURCE_IP_ADDRESS”, “SOURCE_VCN_ID”, “SOURCE_VCN_IP_ADDRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
attribute_name
¶ [Required] Gets the attribute_name of this RuleCondition. RuleCondition type
Allowed values for this property are: “SOURCE_IP_ADDRESS”, “SOURCE_VCN_ID”, “SOURCE_VCN_IP_ADDRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The attribute_name of this RuleCondition. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-