Class PathRoute
A "path route rule" to evaluate an incoming URI path, and then route a matching request to the specified backend set.
Path route rules apply only to HTTP and HTTPS requests. They have no effect on TCP requests.
Inherited Members
Namespace: Oci.LoadbalancerService.Models
Assembly: OCI.DotNetSDK.Loadbalancer.dll
Syntax
public class PathRouteProperties
BackendSetName
Declaration
[Required(ErrorMessage = "BackendSetName is required.")]
[JsonProperty(PropertyName = "backendSetName")]
public string BackendSetName { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The name of the target backend set for requests where the incoming URI matches the specified path.
 | 
Remarks
Required
Path
Declaration
[Required(ErrorMessage = "Path is required.")]
[JsonProperty(PropertyName = "path")]
public string Path { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The path string to match against the incoming URI path.
 
 | 
Remarks
Required
PathMatchType
Declaration
[Required(ErrorMessage = "PathMatchType is required.")]
[JsonProperty(PropertyName = "pathMatchType")]
public PathMatchType PathMatchType { get; set; }Property Value
| Type | Description | 
|---|---|
| PathMatchType | The type of matching to apply to incoming URIs. | 
Remarks
Required