SourceVcnIpAddressCondition

class oci.fusion_apps.models.SourceVcnIpAddressCondition(**kwargs)

Bases: oci.fusion_apps.models.rule_condition.RuleCondition

An access control rule condition that requires a match on the specified source VCN and IP address range. This condition must be used only in conjunction with SourceVcnIdCondition.

Attributes

ATTRIBUTE_NAME_SOURCE_IP_ADDRESS str(object=’’) -> str
ATTRIBUTE_NAME_SOURCE_VCN_ID str(object=’’) -> str
ATTRIBUTE_NAME_SOURCE_VCN_IP_ADDRESS str(object=’’) -> str
attribute_name [Required] Gets the attribute_name of this RuleCondition.
attribute_value [Required] Gets the attribute_value of this SourceVcnIpAddressCondition.

Methods

__init__(**kwargs) Initializes a new SourceVcnIpAddressCondition 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'
ATTRIBUTE_NAME_SOURCE_VCN_ID = 'SOURCE_VCN_ID'
ATTRIBUTE_NAME_SOURCE_VCN_IP_ADDRESS = 'SOURCE_VCN_IP_ADDRESS'
__init__(**kwargs)

Initializes a new SourceVcnIpAddressCondition object with values from keyword arguments. The default value of the attribute_name attribute of this class is SOURCE_VCN_IP_ADDRESS and it should not be changed. 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 SourceVcnIpAddressCondition. Allowed values for this property are: “SOURCE_IP_ADDRESS”, “SOURCE_VCN_ID”, “SOURCE_VCN_IP_ADDRESS”
  • attribute_value (str) – The value to assign to the attribute_value property of this SourceVcnIpAddressCondition.
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
attribute_value

[Required] Gets the attribute_value of this SourceVcnIpAddressCondition. An IPv4 address range that the original client IP address (in the context of the specified VCN) of an incoming packet must match. The service accepts only classless inter-domain routing (CIDR) format (x.x.x.x/y) strings. Specify 0.0.0.0/0 to match all incoming traffic in the customer VCN.

Returns:The attribute_value of this SourceVcnIpAddressCondition.
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.