Class RoutingRuleState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.SpotInst.Multai
Assembly: Pulumi.SpotInst.dll
Syntax
public sealed class RoutingRuleState : ResourceArgs
Constructors
View SourceRoutingRuleState()
Declaration
public RoutingRuleState()
Properties
View SourceBalancerId
The ID of the balancer.
Declaration
public Input<string> BalancerId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ListenerId
The ID of the listener.
Declaration
public Input<string> ListenerId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MiddlewareIds
Declaration
public InputList<string> MiddlewareIds { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Priority
Declaration
public Input<int> Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Route
Route defines a simple language for matching HTTP requests and route the traffic accordingly. Route provides series of matchers that follow the syntax: Path matcher: — Path("/foo/bar") // trie-based PathRegexp(“/foo/.”) // regexp-based Method matcher: — Method(“GET”) // trie-based MethodRegexp(“POST|PUT”) // regexp based Header matcher: — Header(“Content-Type”, “application/json”) // trie-based HeaderRegexp(“Content-Type”, “application/.”) // regexp based Matchers can be combined using && operator: — Method(“POST”) && Path("/v1")
Declaration
public Input<string> Route { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Strategy
Balancing strategy. Valid values: ROUNDROBIN, RANDOM, LEASTCONN, IPHASH.
Declaration
public Input<string> Strategy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A list of key:value paired tags.
Declaration
public InputList<RoutingRuleTagGetArgs> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RoutingRuleTagGetArgs> |
TargetSetIds
Declaration
public InputList<string> TargetSetIds { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |