Data Source: oci_load_balancer_path_route_sets
This data source provides the list of Path Route Sets in Oracle Cloud Infrastructure Load Balancer service.
Lists all path route sets associated with the specified load balancer.
Example Usage
data "oci_load_balancer_path_route_sets" "test_path_route_sets" {
#Required
load_balancer_id = oci_load_balancer_load_balancer.test_load_balancer.id
}
Argument Reference
The following arguments are supported:
load_balancer_id- (Required) The OCID of the load balancer associated with the path route sets to retrieve.
Attributes Reference
The following attributes are exported:
path_route_sets- The list of path_route_sets.
PathRouteSet Reference
The following attributes are exported:
name- The unique name for this set of path route rules. Avoid entering confidential information. Example:example_path_route_setpath_routes- The set of path route rules.backend_set_name- The name of the target backend set for requests where the incoming URI matches the specified path. Example:example_backend_setpath- The path string to match against the incoming URI path.- Path strings are case-insensitive.
- Asterisk (*) wildcards are not supported.
- Regular expressions are not supported.
Example:
/example/video/123path_match_type- The type of matching to apply to incoming URIs.match_type- Specifies how the load balancing service compares a PathRoute object’spathstring against the incoming URI.- EXACT_MATCH - Looks for a
pathstring that exactly matches the incoming URI path. - FORCE_LONGEST_PREFIX_MATCH - Looks for the
pathstring with the best, longest match of the beginning portion of the incoming URI path. - PREFIX_MATCH - Looks for a
pathstring that matches the beginning portion of the incoming URI path. - SUFFIX_MATCH - Looks for a
pathstring that matches the ending portion of the incoming URI path.
For a full description of how the system handles
matchTypein a path route set containing multiple rules, see Managing Request Routing.- EXACT_MATCH - Looks for a