CreateRoutingPolicyDetails¶
- class oci.load_balancer.models.CreateRoutingPolicyDetails(**kwargs)¶
Bases:
objectAn ordered list of routing rules.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Attributes:
A constant which can be used with the condition_language_version property of a CreateRoutingPolicyDetails.
[Required] Gets the condition_language_version of this CreateRoutingPolicyDetails.
[Required] Gets the name of this CreateRoutingPolicyDetails.
[Required] Gets the rules of this CreateRoutingPolicyDetails.
Methods:
__init__(**kwargs)Initializes a new CreateRoutingPolicyDetails object with values from keyword arguments.
- CONDITION_LANGUAGE_VERSION_V1 = 'V1'¶
A constant which can be used with the condition_language_version property of a CreateRoutingPolicyDetails. This constant has a value of “V1”
- __init__(**kwargs)¶
Initializes a new CreateRoutingPolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this CreateRoutingPolicyDetails.
condition_language_version (str) – The value to assign to the condition_language_version property of this CreateRoutingPolicyDetails. Allowed values for this property are: “V1”
rules (list[oci.load_balancer.models.RoutingRule]) – The value to assign to the rules property of this CreateRoutingPolicyDetails.
- property condition_language_version¶
[Required] Gets the condition_language_version of this CreateRoutingPolicyDetails. The version of the language in which condition of rules are composed.
Allowed values for this property are: “V1”
- Returns
The condition_language_version of this CreateRoutingPolicyDetails.
- Return type
str
- property name¶
[Required] Gets the name of this CreateRoutingPolicyDetails. The name for this list of routing rules. It must be unique and it cannot be changed. Avoid entering confidential information.
Example: example_routing_rules
- Returns
The name of this CreateRoutingPolicyDetails.
- Return type
str
- property rules¶
[Required] Gets the rules of this CreateRoutingPolicyDetails. The list of routing rules.
- Returns
The rules of this CreateRoutingPolicyDetails.
- Return type