nsxt.LbHttpRequestRewriteRule
Explore with Pulumi AI
Create LbHttpRequestRewriteRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LbHttpRequestRewriteRule(name: string, args?: LbHttpRequestRewriteRuleArgs, opts?: CustomResourceOptions);
@overload
def LbHttpRequestRewriteRule(resource_name: str,
args: Optional[LbHttpRequestRewriteRuleArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def LbHttpRequestRewriteRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
body_conditions: Optional[Sequence[LbHttpRequestRewriteRuleBodyConditionArgs]] = None,
cookie_conditions: Optional[Sequence[LbHttpRequestRewriteRuleCookieConditionArgs]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
header_conditions: Optional[Sequence[LbHttpRequestRewriteRuleHeaderConditionArgs]] = None,
header_rewrite_action: Optional[LbHttpRequestRewriteRuleHeaderRewriteActionArgs] = None,
ip_conditions: Optional[Sequence[LbHttpRequestRewriteRuleIpConditionArgs]] = None,
lb_http_request_rewrite_rule_id: Optional[str] = None,
match_strategy: Optional[str] = None,
method_conditions: Optional[Sequence[LbHttpRequestRewriteRuleMethodConditionArgs]] = None,
tags: Optional[Sequence[LbHttpRequestRewriteRuleTagArgs]] = None,
tcp_conditions: Optional[Sequence[LbHttpRequestRewriteRuleTcpConditionArgs]] = None,
uri_arguments_conditions: Optional[Sequence[LbHttpRequestRewriteRuleUriArgumentsConditionArgs]] = None,
uri_conditions: Optional[Sequence[LbHttpRequestRewriteRuleUriConditionArgs]] = None,
uri_rewrite_action: Optional[LbHttpRequestRewriteRuleUriRewriteActionArgs] = None,
version_condition: Optional[LbHttpRequestRewriteRuleVersionConditionArgs] = None)
func NewLbHttpRequestRewriteRule(ctx *Context, name string, args *LbHttpRequestRewriteRuleArgs, opts ...ResourceOption) (*LbHttpRequestRewriteRule, error)
public LbHttpRequestRewriteRule(string name, LbHttpRequestRewriteRuleArgs? args = null, CustomResourceOptions? opts = null)
public LbHttpRequestRewriteRule(String name, LbHttpRequestRewriteRuleArgs args)
public LbHttpRequestRewriteRule(String name, LbHttpRequestRewriteRuleArgs args, CustomResourceOptions options)
type: nsxt:LbHttpRequestRewriteRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LbHttpRequestRewriteRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LbHttpRequestRewriteRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LbHttpRequestRewriteRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbHttpRequestRewriteRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LbHttpRequestRewriteRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var lbHttpRequestRewriteRuleResource = new Nsxt.LbHttpRequestRewriteRule("lbHttpRequestRewriteRuleResource", new()
{
BodyConditions = new[]
{
new Nsxt.Inputs.LbHttpRequestRewriteRuleBodyConditionArgs
{
MatchType = "string",
Value = "string",
CaseSensitive = false,
Inverse = false,
},
},
CookieConditions = new[]
{
new Nsxt.Inputs.LbHttpRequestRewriteRuleCookieConditionArgs
{
MatchType = "string",
Name = "string",
Value = "string",
CaseSensitive = false,
Inverse = false,
},
},
Description = "string",
DisplayName = "string",
HeaderConditions = new[]
{
new Nsxt.Inputs.LbHttpRequestRewriteRuleHeaderConditionArgs
{
MatchType = "string",
Name = "string",
Value = "string",
CaseSensitive = false,
Inverse = false,
},
},
HeaderRewriteAction = new Nsxt.Inputs.LbHttpRequestRewriteRuleHeaderRewriteActionArgs
{
Name = "string",
Value = "string",
},
IpConditions = new[]
{
new Nsxt.Inputs.LbHttpRequestRewriteRuleIpConditionArgs
{
SourceAddress = "string",
Inverse = false,
},
},
LbHttpRequestRewriteRuleId = "string",
MatchStrategy = "string",
MethodConditions = new[]
{
new Nsxt.Inputs.LbHttpRequestRewriteRuleMethodConditionArgs
{
Method = "string",
Inverse = false,
},
},
Tags = new[]
{
new Nsxt.Inputs.LbHttpRequestRewriteRuleTagArgs
{
Scope = "string",
Tag = "string",
},
},
TcpConditions = new[]
{
new Nsxt.Inputs.LbHttpRequestRewriteRuleTcpConditionArgs
{
SourcePort = "string",
Inverse = false,
},
},
UriArgumentsConditions = new[]
{
new Nsxt.Inputs.LbHttpRequestRewriteRuleUriArgumentsConditionArgs
{
MatchType = "string",
UriArguments = "string",
CaseSensitive = false,
Inverse = false,
},
},
UriConditions = new[]
{
new Nsxt.Inputs.LbHttpRequestRewriteRuleUriConditionArgs
{
MatchType = "string",
Uri = "string",
CaseSensitive = false,
Inverse = false,
},
},
UriRewriteAction = new Nsxt.Inputs.LbHttpRequestRewriteRuleUriRewriteActionArgs
{
Uri = "string",
UriArguments = "string",
},
VersionCondition = new Nsxt.Inputs.LbHttpRequestRewriteRuleVersionConditionArgs
{
Version = "string",
Inverse = false,
},
});
example, err := nsxt.NewLbHttpRequestRewriteRule(ctx, "lbHttpRequestRewriteRuleResource", &nsxt.LbHttpRequestRewriteRuleArgs{
BodyConditions: nsxt.LbHttpRequestRewriteRuleBodyConditionArray{
&nsxt.LbHttpRequestRewriteRuleBodyConditionArgs{
MatchType: pulumi.String("string"),
Value: pulumi.String("string"),
CaseSensitive: pulumi.Bool(false),
Inverse: pulumi.Bool(false),
},
},
CookieConditions: nsxt.LbHttpRequestRewriteRuleCookieConditionArray{
&nsxt.LbHttpRequestRewriteRuleCookieConditionArgs{
MatchType: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
CaseSensitive: pulumi.Bool(false),
Inverse: pulumi.Bool(false),
},
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
HeaderConditions: nsxt.LbHttpRequestRewriteRuleHeaderConditionArray{
&nsxt.LbHttpRequestRewriteRuleHeaderConditionArgs{
MatchType: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
CaseSensitive: pulumi.Bool(false),
Inverse: pulumi.Bool(false),
},
},
HeaderRewriteAction: &nsxt.LbHttpRequestRewriteRuleHeaderRewriteActionArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
IpConditions: nsxt.LbHttpRequestRewriteRuleIpConditionArray{
&nsxt.LbHttpRequestRewriteRuleIpConditionArgs{
SourceAddress: pulumi.String("string"),
Inverse: pulumi.Bool(false),
},
},
LbHttpRequestRewriteRuleId: pulumi.String("string"),
MatchStrategy: pulumi.String("string"),
MethodConditions: nsxt.LbHttpRequestRewriteRuleMethodConditionArray{
&nsxt.LbHttpRequestRewriteRuleMethodConditionArgs{
Method: pulumi.String("string"),
Inverse: pulumi.Bool(false),
},
},
Tags: nsxt.LbHttpRequestRewriteRuleTagArray{
&nsxt.LbHttpRequestRewriteRuleTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
TcpConditions: nsxt.LbHttpRequestRewriteRuleTcpConditionArray{
&nsxt.LbHttpRequestRewriteRuleTcpConditionArgs{
SourcePort: pulumi.String("string"),
Inverse: pulumi.Bool(false),
},
},
UriArgumentsConditions: nsxt.LbHttpRequestRewriteRuleUriArgumentsConditionArray{
&nsxt.LbHttpRequestRewriteRuleUriArgumentsConditionArgs{
MatchType: pulumi.String("string"),
UriArguments: pulumi.String("string"),
CaseSensitive: pulumi.Bool(false),
Inverse: pulumi.Bool(false),
},
},
UriConditions: nsxt.LbHttpRequestRewriteRuleUriConditionArray{
&nsxt.LbHttpRequestRewriteRuleUriConditionArgs{
MatchType: pulumi.String("string"),
Uri: pulumi.String("string"),
CaseSensitive: pulumi.Bool(false),
Inverse: pulumi.Bool(false),
},
},
UriRewriteAction: &nsxt.LbHttpRequestRewriteRuleUriRewriteActionArgs{
Uri: pulumi.String("string"),
UriArguments: pulumi.String("string"),
},
VersionCondition: &nsxt.LbHttpRequestRewriteRuleVersionConditionArgs{
Version: pulumi.String("string"),
Inverse: pulumi.Bool(false),
},
})
var lbHttpRequestRewriteRuleResource = new LbHttpRequestRewriteRule("lbHttpRequestRewriteRuleResource", LbHttpRequestRewriteRuleArgs.builder()
.bodyConditions(LbHttpRequestRewriteRuleBodyConditionArgs.builder()
.matchType("string")
.value("string")
.caseSensitive(false)
.inverse(false)
.build())
.cookieConditions(LbHttpRequestRewriteRuleCookieConditionArgs.builder()
.matchType("string")
.name("string")
.value("string")
.caseSensitive(false)
.inverse(false)
.build())
.description("string")
.displayName("string")
.headerConditions(LbHttpRequestRewriteRuleHeaderConditionArgs.builder()
.matchType("string")
.name("string")
.value("string")
.caseSensitive(false)
.inverse(false)
.build())
.headerRewriteAction(LbHttpRequestRewriteRuleHeaderRewriteActionArgs.builder()
.name("string")
.value("string")
.build())
.ipConditions(LbHttpRequestRewriteRuleIpConditionArgs.builder()
.sourceAddress("string")
.inverse(false)
.build())
.lbHttpRequestRewriteRuleId("string")
.matchStrategy("string")
.methodConditions(LbHttpRequestRewriteRuleMethodConditionArgs.builder()
.method("string")
.inverse(false)
.build())
.tags(LbHttpRequestRewriteRuleTagArgs.builder()
.scope("string")
.tag("string")
.build())
.tcpConditions(LbHttpRequestRewriteRuleTcpConditionArgs.builder()
.sourcePort("string")
.inverse(false)
.build())
.uriArgumentsConditions(LbHttpRequestRewriteRuleUriArgumentsConditionArgs.builder()
.matchType("string")
.uriArguments("string")
.caseSensitive(false)
.inverse(false)
.build())
.uriConditions(LbHttpRequestRewriteRuleUriConditionArgs.builder()
.matchType("string")
.uri("string")
.caseSensitive(false)
.inverse(false)
.build())
.uriRewriteAction(LbHttpRequestRewriteRuleUriRewriteActionArgs.builder()
.uri("string")
.uriArguments("string")
.build())
.versionCondition(LbHttpRequestRewriteRuleVersionConditionArgs.builder()
.version("string")
.inverse(false)
.build())
.build());
lb_http_request_rewrite_rule_resource = nsxt.LbHttpRequestRewriteRule("lbHttpRequestRewriteRuleResource",
body_conditions=[{
"match_type": "string",
"value": "string",
"case_sensitive": False,
"inverse": False,
}],
cookie_conditions=[{
"match_type": "string",
"name": "string",
"value": "string",
"case_sensitive": False,
"inverse": False,
}],
description="string",
display_name="string",
header_conditions=[{
"match_type": "string",
"name": "string",
"value": "string",
"case_sensitive": False,
"inverse": False,
}],
header_rewrite_action={
"name": "string",
"value": "string",
},
ip_conditions=[{
"source_address": "string",
"inverse": False,
}],
lb_http_request_rewrite_rule_id="string",
match_strategy="string",
method_conditions=[{
"method": "string",
"inverse": False,
}],
tags=[{
"scope": "string",
"tag": "string",
}],
tcp_conditions=[{
"source_port": "string",
"inverse": False,
}],
uri_arguments_conditions=[{
"match_type": "string",
"uri_arguments": "string",
"case_sensitive": False,
"inverse": False,
}],
uri_conditions=[{
"match_type": "string",
"uri": "string",
"case_sensitive": False,
"inverse": False,
}],
uri_rewrite_action={
"uri": "string",
"uri_arguments": "string",
},
version_condition={
"version": "string",
"inverse": False,
})
const lbHttpRequestRewriteRuleResource = new nsxt.LbHttpRequestRewriteRule("lbHttpRequestRewriteRuleResource", {
bodyConditions: [{
matchType: "string",
value: "string",
caseSensitive: false,
inverse: false,
}],
cookieConditions: [{
matchType: "string",
name: "string",
value: "string",
caseSensitive: false,
inverse: false,
}],
description: "string",
displayName: "string",
headerConditions: [{
matchType: "string",
name: "string",
value: "string",
caseSensitive: false,
inverse: false,
}],
headerRewriteAction: {
name: "string",
value: "string",
},
ipConditions: [{
sourceAddress: "string",
inverse: false,
}],
lbHttpRequestRewriteRuleId: "string",
matchStrategy: "string",
methodConditions: [{
method: "string",
inverse: false,
}],
tags: [{
scope: "string",
tag: "string",
}],
tcpConditions: [{
sourcePort: "string",
inverse: false,
}],
uriArgumentsConditions: [{
matchType: "string",
uriArguments: "string",
caseSensitive: false,
inverse: false,
}],
uriConditions: [{
matchType: "string",
uri: "string",
caseSensitive: false,
inverse: false,
}],
uriRewriteAction: {
uri: "string",
uriArguments: "string",
},
versionCondition: {
version: "string",
inverse: false,
},
});
type: nsxt:LbHttpRequestRewriteRule
properties:
bodyConditions:
- caseSensitive: false
inverse: false
matchType: string
value: string
cookieConditions:
- caseSensitive: false
inverse: false
matchType: string
name: string
value: string
description: string
displayName: string
headerConditions:
- caseSensitive: false
inverse: false
matchType: string
name: string
value: string
headerRewriteAction:
name: string
value: string
ipConditions:
- inverse: false
sourceAddress: string
lbHttpRequestRewriteRuleId: string
matchStrategy: string
methodConditions:
- inverse: false
method: string
tags:
- scope: string
tag: string
tcpConditions:
- inverse: false
sourcePort: string
uriArgumentsConditions:
- caseSensitive: false
inverse: false
matchType: string
uriArguments: string
uriConditions:
- caseSensitive: false
inverse: false
matchType: string
uri: string
uriRewriteAction:
uri: string
uriArguments: string
versionCondition:
inverse: false
version: string
LbHttpRequestRewriteRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LbHttpRequestRewriteRule resource accepts the following input properties:
- Body
Conditions List<LbHttp Request Rewrite Rule Body Condition> - Set of match conditions used to match http request body:
- List<Lb
Http Request Rewrite Rule Cookie Condition> - Set of match conditions used to match http request cookie:
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Header
Conditions List<LbHttp Request Rewrite Rule Header Condition> - Set of match conditions used to match http request header:
- Header
Rewrite LbAction Http Request Rewrite Rule Header Rewrite Action - Set of header rewrite actions to be executed when load balancer rule matches:
- Ip
Conditions List<LbHttp Request Rewrite Rule Ip Condition> - Set of match conditions used to match IP header values of HTTP request:
- Lb
Http stringRequest Rewrite Rule Id - ID of the lb rule.
- Match
Strategy string - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- Method
Conditions List<LbHttp Request Rewrite Rule Method Condition> - Set of match conditions used to match http request method:
- List<Lb
Http Request Rewrite Rule Tag> - A list of scope + tag pairs to associate with this lb rule.
- Tcp
Conditions List<LbHttp Request Rewrite Rule Tcp Condition> - Rule condition based on TCP settings of the message
- Uri
Arguments List<LbConditions Http Request Rewrite Rule Uri Arguments Condition> - Set of match conditions used to match http request URI arguments (query string):
- Uri
Conditions List<LbHttp Request Rewrite Rule Uri Condition> - Set of match conditions used to match http request URI:
- Uri
Rewrite LbAction Http Request Rewrite Rule Uri Rewrite Action - Set of URI rewrite actions to be executed when load balancer rule matches:
- Version
Condition LbHttp Request Rewrite Rule Version Condition - Match condition used to match http version of the request:
- Body
Conditions []LbHttp Request Rewrite Rule Body Condition Args - Set of match conditions used to match http request body:
- []Lb
Http Request Rewrite Rule Cookie Condition Args - Set of match conditions used to match http request cookie:
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Header
Conditions []LbHttp Request Rewrite Rule Header Condition Args - Set of match conditions used to match http request header:
- Header
Rewrite LbAction Http Request Rewrite Rule Header Rewrite Action Args - Set of header rewrite actions to be executed when load balancer rule matches:
- Ip
Conditions []LbHttp Request Rewrite Rule Ip Condition Args - Set of match conditions used to match IP header values of HTTP request:
- Lb
Http stringRequest Rewrite Rule Id - ID of the lb rule.
- Match
Strategy string - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- Method
Conditions []LbHttp Request Rewrite Rule Method Condition Args - Set of match conditions used to match http request method:
- []Lb
Http Request Rewrite Rule Tag Args - A list of scope + tag pairs to associate with this lb rule.
- Tcp
Conditions []LbHttp Request Rewrite Rule Tcp Condition Args - Rule condition based on TCP settings of the message
- Uri
Arguments []LbConditions Http Request Rewrite Rule Uri Arguments Condition Args - Set of match conditions used to match http request URI arguments (query string):
- Uri
Conditions []LbHttp Request Rewrite Rule Uri Condition Args - Set of match conditions used to match http request URI:
- Uri
Rewrite LbAction Http Request Rewrite Rule Uri Rewrite Action Args - Set of URI rewrite actions to be executed when load balancer rule matches:
- Version
Condition LbHttp Request Rewrite Rule Version Condition Args - Match condition used to match http version of the request:
- body
Conditions List<LbHttp Request Rewrite Rule Body Condition> - Set of match conditions used to match http request body:
- List<Lb
Http Request Rewrite Rule Cookie Condition> - Set of match conditions used to match http request cookie:
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- header
Conditions List<LbHttp Request Rewrite Rule Header Condition> - Set of match conditions used to match http request header:
- header
Rewrite LbAction Http Request Rewrite Rule Header Rewrite Action - Set of header rewrite actions to be executed when load balancer rule matches:
- ip
Conditions List<LbHttp Request Rewrite Rule Ip Condition> - Set of match conditions used to match IP header values of HTTP request:
- lb
Http StringRequest Rewrite Rule Id - ID of the lb rule.
- match
Strategy String - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- method
Conditions List<LbHttp Request Rewrite Rule Method Condition> - Set of match conditions used to match http request method:
- List<Lb
Http Request Rewrite Rule Tag> - A list of scope + tag pairs to associate with this lb rule.
- tcp
Conditions List<LbHttp Request Rewrite Rule Tcp Condition> - Rule condition based on TCP settings of the message
- uri
Arguments List<LbConditions Http Request Rewrite Rule Uri Arguments Condition> - Set of match conditions used to match http request URI arguments (query string):
- uri
Conditions List<LbHttp Request Rewrite Rule Uri Condition> - Set of match conditions used to match http request URI:
- uri
Rewrite LbAction Http Request Rewrite Rule Uri Rewrite Action - Set of URI rewrite actions to be executed when load balancer rule matches:
- version
Condition LbHttp Request Rewrite Rule Version Condition - Match condition used to match http version of the request:
- body
Conditions LbHttp Request Rewrite Rule Body Condition[] - Set of match conditions used to match http request body:
- Lb
Http Request Rewrite Rule Cookie Condition[] - Set of match conditions used to match http request cookie:
- description string
- Description of this resource.
- display
Name string - The display name of this resource. Defaults to ID if not set.
- header
Conditions LbHttp Request Rewrite Rule Header Condition[] - Set of match conditions used to match http request header:
- header
Rewrite LbAction Http Request Rewrite Rule Header Rewrite Action - Set of header rewrite actions to be executed when load balancer rule matches:
- ip
Conditions LbHttp Request Rewrite Rule Ip Condition[] - Set of match conditions used to match IP header values of HTTP request:
- lb
Http stringRequest Rewrite Rule Id - ID of the lb rule.
- match
Strategy string - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- method
Conditions LbHttp Request Rewrite Rule Method Condition[] - Set of match conditions used to match http request method:
- Lb
Http Request Rewrite Rule Tag[] - A list of scope + tag pairs to associate with this lb rule.
- tcp
Conditions LbHttp Request Rewrite Rule Tcp Condition[] - Rule condition based on TCP settings of the message
- uri
Arguments LbConditions Http Request Rewrite Rule Uri Arguments Condition[] - Set of match conditions used to match http request URI arguments (query string):
- uri
Conditions LbHttp Request Rewrite Rule Uri Condition[] - Set of match conditions used to match http request URI:
- uri
Rewrite LbAction Http Request Rewrite Rule Uri Rewrite Action - Set of URI rewrite actions to be executed when load balancer rule matches:
- version
Condition LbHttp Request Rewrite Rule Version Condition - Match condition used to match http version of the request:
- body_
conditions Sequence[LbHttp Request Rewrite Rule Body Condition Args] - Set of match conditions used to match http request body:
- Sequence[Lb
Http Request Rewrite Rule Cookie Condition Args] - Set of match conditions used to match http request cookie:
- description str
- Description of this resource.
- display_
name str - The display name of this resource. Defaults to ID if not set.
- header_
conditions Sequence[LbHttp Request Rewrite Rule Header Condition Args] - Set of match conditions used to match http request header:
- header_
rewrite_ Lbaction Http Request Rewrite Rule Header Rewrite Action Args - Set of header rewrite actions to be executed when load balancer rule matches:
- ip_
conditions Sequence[LbHttp Request Rewrite Rule Ip Condition Args] - Set of match conditions used to match IP header values of HTTP request:
- lb_
http_ strrequest_ rewrite_ rule_ id - ID of the lb rule.
- match_
strategy str - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- method_
conditions Sequence[LbHttp Request Rewrite Rule Method Condition Args] - Set of match conditions used to match http request method:
- Sequence[Lb
Http Request Rewrite Rule Tag Args] - A list of scope + tag pairs to associate with this lb rule.
- tcp_
conditions Sequence[LbHttp Request Rewrite Rule Tcp Condition Args] - Rule condition based on TCP settings of the message
- uri_
arguments_ Sequence[Lbconditions Http Request Rewrite Rule Uri Arguments Condition Args] - Set of match conditions used to match http request URI arguments (query string):
- uri_
conditions Sequence[LbHttp Request Rewrite Rule Uri Condition Args] - Set of match conditions used to match http request URI:
- uri_
rewrite_ Lbaction Http Request Rewrite Rule Uri Rewrite Action Args - Set of URI rewrite actions to be executed when load balancer rule matches:
- version_
condition LbHttp Request Rewrite Rule Version Condition Args - Match condition used to match http version of the request:
- body
Conditions List<Property Map> - Set of match conditions used to match http request body:
- List<Property Map>
- Set of match conditions used to match http request cookie:
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- header
Conditions List<Property Map> - Set of match conditions used to match http request header:
- header
Rewrite Property MapAction - Set of header rewrite actions to be executed when load balancer rule matches:
- ip
Conditions List<Property Map> - Set of match conditions used to match IP header values of HTTP request:
- lb
Http StringRequest Rewrite Rule Id - ID of the lb rule.
- match
Strategy String - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- method
Conditions List<Property Map> - Set of match conditions used to match http request method:
- List<Property Map>
- A list of scope + tag pairs to associate with this lb rule.
- tcp
Conditions List<Property Map> - Rule condition based on TCP settings of the message
- uri
Arguments List<Property Map>Conditions - Set of match conditions used to match http request URI arguments (query string):
- uri
Conditions List<Property Map> - Set of match conditions used to match http request URI:
- uri
Rewrite Property MapAction - Set of URI rewrite actions to be executed when load balancer rule matches:
- version
Condition Property Map - Match condition used to match http version of the request:
Outputs
All input properties are implicitly available as output properties. Additionally, the LbHttpRequestRewriteRule resource produces the following output properties:
Look up Existing LbHttpRequestRewriteRule Resource
Get an existing LbHttpRequestRewriteRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LbHttpRequestRewriteRuleState, opts?: CustomResourceOptions): LbHttpRequestRewriteRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
body_conditions: Optional[Sequence[LbHttpRequestRewriteRuleBodyConditionArgs]] = None,
cookie_conditions: Optional[Sequence[LbHttpRequestRewriteRuleCookieConditionArgs]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
header_conditions: Optional[Sequence[LbHttpRequestRewriteRuleHeaderConditionArgs]] = None,
header_rewrite_action: Optional[LbHttpRequestRewriteRuleHeaderRewriteActionArgs] = None,
ip_conditions: Optional[Sequence[LbHttpRequestRewriteRuleIpConditionArgs]] = None,
lb_http_request_rewrite_rule_id: Optional[str] = None,
match_strategy: Optional[str] = None,
method_conditions: Optional[Sequence[LbHttpRequestRewriteRuleMethodConditionArgs]] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[LbHttpRequestRewriteRuleTagArgs]] = None,
tcp_conditions: Optional[Sequence[LbHttpRequestRewriteRuleTcpConditionArgs]] = None,
uri_arguments_conditions: Optional[Sequence[LbHttpRequestRewriteRuleUriArgumentsConditionArgs]] = None,
uri_conditions: Optional[Sequence[LbHttpRequestRewriteRuleUriConditionArgs]] = None,
uri_rewrite_action: Optional[LbHttpRequestRewriteRuleUriRewriteActionArgs] = None,
version_condition: Optional[LbHttpRequestRewriteRuleVersionConditionArgs] = None) -> LbHttpRequestRewriteRule
func GetLbHttpRequestRewriteRule(ctx *Context, name string, id IDInput, state *LbHttpRequestRewriteRuleState, opts ...ResourceOption) (*LbHttpRequestRewriteRule, error)
public static LbHttpRequestRewriteRule Get(string name, Input<string> id, LbHttpRequestRewriteRuleState? state, CustomResourceOptions? opts = null)
public static LbHttpRequestRewriteRule get(String name, Output<String> id, LbHttpRequestRewriteRuleState state, CustomResourceOptions options)
resources: _: type: nsxt:LbHttpRequestRewriteRule get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Body
Conditions List<LbHttp Request Rewrite Rule Body Condition> - Set of match conditions used to match http request body:
- List<Lb
Http Request Rewrite Rule Cookie Condition> - Set of match conditions used to match http request cookie:
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Header
Conditions List<LbHttp Request Rewrite Rule Header Condition> - Set of match conditions used to match http request header:
- Header
Rewrite LbAction Http Request Rewrite Rule Header Rewrite Action - Set of header rewrite actions to be executed when load balancer rule matches:
- Ip
Conditions List<LbHttp Request Rewrite Rule Ip Condition> - Set of match conditions used to match IP header values of HTTP request:
- Lb
Http stringRequest Rewrite Rule Id - ID of the lb rule.
- Match
Strategy string - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- Method
Conditions List<LbHttp Request Rewrite Rule Method Condition> - Set of match conditions used to match http request method:
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Lb
Http Request Rewrite Rule Tag> - A list of scope + tag pairs to associate with this lb rule.
- Tcp
Conditions List<LbHttp Request Rewrite Rule Tcp Condition> - Rule condition based on TCP settings of the message
- Uri
Arguments List<LbConditions Http Request Rewrite Rule Uri Arguments Condition> - Set of match conditions used to match http request URI arguments (query string):
- Uri
Conditions List<LbHttp Request Rewrite Rule Uri Condition> - Set of match conditions used to match http request URI:
- Uri
Rewrite LbAction Http Request Rewrite Rule Uri Rewrite Action - Set of URI rewrite actions to be executed when load balancer rule matches:
- Version
Condition LbHttp Request Rewrite Rule Version Condition - Match condition used to match http version of the request:
- Body
Conditions []LbHttp Request Rewrite Rule Body Condition Args - Set of match conditions used to match http request body:
- []Lb
Http Request Rewrite Rule Cookie Condition Args - Set of match conditions used to match http request cookie:
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Header
Conditions []LbHttp Request Rewrite Rule Header Condition Args - Set of match conditions used to match http request header:
- Header
Rewrite LbAction Http Request Rewrite Rule Header Rewrite Action Args - Set of header rewrite actions to be executed when load balancer rule matches:
- Ip
Conditions []LbHttp Request Rewrite Rule Ip Condition Args - Set of match conditions used to match IP header values of HTTP request:
- Lb
Http stringRequest Rewrite Rule Id - ID of the lb rule.
- Match
Strategy string - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- Method
Conditions []LbHttp Request Rewrite Rule Method Condition Args - Set of match conditions used to match http request method:
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Lb
Http Request Rewrite Rule Tag Args - A list of scope + tag pairs to associate with this lb rule.
- Tcp
Conditions []LbHttp Request Rewrite Rule Tcp Condition Args - Rule condition based on TCP settings of the message
- Uri
Arguments []LbConditions Http Request Rewrite Rule Uri Arguments Condition Args - Set of match conditions used to match http request URI arguments (query string):
- Uri
Conditions []LbHttp Request Rewrite Rule Uri Condition Args - Set of match conditions used to match http request URI:
- Uri
Rewrite LbAction Http Request Rewrite Rule Uri Rewrite Action Args - Set of URI rewrite actions to be executed when load balancer rule matches:
- Version
Condition LbHttp Request Rewrite Rule Version Condition Args - Match condition used to match http version of the request:
- body
Conditions List<LbHttp Request Rewrite Rule Body Condition> - Set of match conditions used to match http request body:
- List<Lb
Http Request Rewrite Rule Cookie Condition> - Set of match conditions used to match http request cookie:
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- header
Conditions List<LbHttp Request Rewrite Rule Header Condition> - Set of match conditions used to match http request header:
- header
Rewrite LbAction Http Request Rewrite Rule Header Rewrite Action - Set of header rewrite actions to be executed when load balancer rule matches:
- ip
Conditions List<LbHttp Request Rewrite Rule Ip Condition> - Set of match conditions used to match IP header values of HTTP request:
- lb
Http StringRequest Rewrite Rule Id - ID of the lb rule.
- match
Strategy String - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- method
Conditions List<LbHttp Request Rewrite Rule Method Condition> - Set of match conditions used to match http request method:
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Lb
Http Request Rewrite Rule Tag> - A list of scope + tag pairs to associate with this lb rule.
- tcp
Conditions List<LbHttp Request Rewrite Rule Tcp Condition> - Rule condition based on TCP settings of the message
- uri
Arguments List<LbConditions Http Request Rewrite Rule Uri Arguments Condition> - Set of match conditions used to match http request URI arguments (query string):
- uri
Conditions List<LbHttp Request Rewrite Rule Uri Condition> - Set of match conditions used to match http request URI:
- uri
Rewrite LbAction Http Request Rewrite Rule Uri Rewrite Action - Set of URI rewrite actions to be executed when load balancer rule matches:
- version
Condition LbHttp Request Rewrite Rule Version Condition - Match condition used to match http version of the request:
- body
Conditions LbHttp Request Rewrite Rule Body Condition[] - Set of match conditions used to match http request body:
- Lb
Http Request Rewrite Rule Cookie Condition[] - Set of match conditions used to match http request cookie:
- description string
- Description of this resource.
- display
Name string - The display name of this resource. Defaults to ID if not set.
- header
Conditions LbHttp Request Rewrite Rule Header Condition[] - Set of match conditions used to match http request header:
- header
Rewrite LbAction Http Request Rewrite Rule Header Rewrite Action - Set of header rewrite actions to be executed when load balancer rule matches:
- ip
Conditions LbHttp Request Rewrite Rule Ip Condition[] - Set of match conditions used to match IP header values of HTTP request:
- lb
Http stringRequest Rewrite Rule Id - ID of the lb rule.
- match
Strategy string - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- method
Conditions LbHttp Request Rewrite Rule Method Condition[] - Set of match conditions used to match http request method:
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Lb
Http Request Rewrite Rule Tag[] - A list of scope + tag pairs to associate with this lb rule.
- tcp
Conditions LbHttp Request Rewrite Rule Tcp Condition[] - Rule condition based on TCP settings of the message
- uri
Arguments LbConditions Http Request Rewrite Rule Uri Arguments Condition[] - Set of match conditions used to match http request URI arguments (query string):
- uri
Conditions LbHttp Request Rewrite Rule Uri Condition[] - Set of match conditions used to match http request URI:
- uri
Rewrite LbAction Http Request Rewrite Rule Uri Rewrite Action - Set of URI rewrite actions to be executed when load balancer rule matches:
- version
Condition LbHttp Request Rewrite Rule Version Condition - Match condition used to match http version of the request:
- body_
conditions Sequence[LbHttp Request Rewrite Rule Body Condition Args] - Set of match conditions used to match http request body:
- Sequence[Lb
Http Request Rewrite Rule Cookie Condition Args] - Set of match conditions used to match http request cookie:
- description str
- Description of this resource.
- display_
name str - The display name of this resource. Defaults to ID if not set.
- header_
conditions Sequence[LbHttp Request Rewrite Rule Header Condition Args] - Set of match conditions used to match http request header:
- header_
rewrite_ Lbaction Http Request Rewrite Rule Header Rewrite Action Args - Set of header rewrite actions to be executed when load balancer rule matches:
- ip_
conditions Sequence[LbHttp Request Rewrite Rule Ip Condition Args] - Set of match conditions used to match IP header values of HTTP request:
- lb_
http_ strrequest_ rewrite_ rule_ id - ID of the lb rule.
- match_
strategy str - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- method_
conditions Sequence[LbHttp Request Rewrite Rule Method Condition Args] - Set of match conditions used to match http request method:
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Lb
Http Request Rewrite Rule Tag Args] - A list of scope + tag pairs to associate with this lb rule.
- tcp_
conditions Sequence[LbHttp Request Rewrite Rule Tcp Condition Args] - Rule condition based on TCP settings of the message
- uri_
arguments_ Sequence[Lbconditions Http Request Rewrite Rule Uri Arguments Condition Args] - Set of match conditions used to match http request URI arguments (query string):
- uri_
conditions Sequence[LbHttp Request Rewrite Rule Uri Condition Args] - Set of match conditions used to match http request URI:
- uri_
rewrite_ Lbaction Http Request Rewrite Rule Uri Rewrite Action Args - Set of URI rewrite actions to be executed when load balancer rule matches:
- version_
condition LbHttp Request Rewrite Rule Version Condition Args - Match condition used to match http version of the request:
- body
Conditions List<Property Map> - Set of match conditions used to match http request body:
- List<Property Map>
- Set of match conditions used to match http request cookie:
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- header
Conditions List<Property Map> - Set of match conditions used to match http request header:
- header
Rewrite Property MapAction - Set of header rewrite actions to be executed when load balancer rule matches:
- ip
Conditions List<Property Map> - Set of match conditions used to match IP header values of HTTP request:
- lb
Http StringRequest Rewrite Rule Id - ID of the lb rule.
- match
Strategy String - Strategy to define how load balancer rule is considered a match when multiple match conditions are specified in one rule. If set to ALL, then load balancer rule is considered a match only if all the conditions match. If set to ANY, then load balancer rule is considered a match if any one of the conditions match.
- method
Conditions List<Property Map> - Set of match conditions used to match http request method:
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Property Map>
- A list of scope + tag pairs to associate with this lb rule.
- tcp
Conditions List<Property Map> - Rule condition based on TCP settings of the message
- uri
Arguments List<Property Map>Conditions - Set of match conditions used to match http request URI arguments (query string):
- uri
Conditions List<Property Map> - Set of match conditions used to match http request URI:
- uri
Rewrite Property MapAction - Set of URI rewrite actions to be executed when load balancer rule matches:
- version
Condition Property Map - Match condition used to match http version of the request:
Supporting Types
LbHttpRequestRewriteRuleBodyCondition, LbHttpRequestRewriteRuleBodyConditionArgs
- Match
Type string - Defines how value field is used to match the body of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- Value string
- The value to look for in the body.
- Case
Sensitive bool - If true, case is significant in the match. Default is true.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- Match
Type string - Defines how value field is used to match the body of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- Value string
- The value to look for in the body.
- Case
Sensitive bool - If true, case is significant in the match. Default is true.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type String - Defines how value field is used to match the body of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- value String
- The value to look for in the body.
- case
Sensitive Boolean - If true, case is significant in the match. Default is true.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type string - Defines how value field is used to match the body of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- value string
- The value to look for in the body.
- case
Sensitive boolean - If true, case is significant in the match. Default is true.
- inverse boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match_
type str - Defines how value field is used to match the body of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- value str
- The value to look for in the body.
- case_
sensitive bool - If true, case is significant in the match. Default is true.
- inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type String - Defines how value field is used to match the body of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- value String
- The value to look for in the body.
- case
Sensitive Boolean - If true, case is significant in the match. Default is true.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
LbHttpRequestRewriteRuleCookieCondition, LbHttpRequestRewriteRuleCookieConditionArgs
- Match
Type string - Defines how value field is used to match the cookie. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- Name string
- The name of cookie to match.
- Value string
- The value of cookie to match.
- Case
Sensitive bool - If true, case is significant in the match. Default is true.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- Match
Type string - Defines how value field is used to match the cookie. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- Name string
- The name of cookie to match.
- Value string
- The value of cookie to match.
- Case
Sensitive bool - If true, case is significant in the match. Default is true.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type String - Defines how value field is used to match the cookie. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- name String
- The name of cookie to match.
- value String
- The value of cookie to match.
- case
Sensitive Boolean - If true, case is significant in the match. Default is true.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type string - Defines how value field is used to match the cookie. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- name string
- The name of cookie to match.
- value string
- The value of cookie to match.
- case
Sensitive boolean - If true, case is significant in the match. Default is true.
- inverse boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match_
type str - Defines how value field is used to match the cookie. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- name str
- The name of cookie to match.
- value str
- The value of cookie to match.
- case_
sensitive bool - If true, case is significant in the match. Default is true.
- inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type String - Defines how value field is used to match the cookie. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- name String
- The name of cookie to match.
- value String
- The value of cookie to match.
- case
Sensitive Boolean - If true, case is significant in the match. Default is true.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
LbHttpRequestRewriteRuleHeaderCondition, LbHttpRequestRewriteRuleHeaderConditionArgs
- Match
Type string - Defines how value field is used to match the header value of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX. Header name field does not support match types.
- Name string
- The name of HTTP header to match.
- Value string
- The value of HTTP header to match.
- Case
Sensitive bool - If true, case is significant in the match. Default is true.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- Match
Type string - Defines how value field is used to match the header value of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX. Header name field does not support match types.
- Name string
- The name of HTTP header to match.
- Value string
- The value of HTTP header to match.
- Case
Sensitive bool - If true, case is significant in the match. Default is true.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type String - Defines how value field is used to match the header value of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX. Header name field does not support match types.
- name String
- The name of HTTP header to match.
- value String
- The value of HTTP header to match.
- case
Sensitive Boolean - If true, case is significant in the match. Default is true.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type string - Defines how value field is used to match the header value of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX. Header name field does not support match types.
- name string
- The name of HTTP header to match.
- value string
- The value of HTTP header to match.
- case
Sensitive boolean - If true, case is significant in the match. Default is true.
- inverse boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match_
type str - Defines how value field is used to match the header value of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX. Header name field does not support match types.
- name str
- The name of HTTP header to match.
- value str
- The value of HTTP header to match.
- case_
sensitive bool - If true, case is significant in the match. Default is true.
- inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type String - Defines how value field is used to match the header value of HTTP requests. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX. Header name field does not support match types.
- name String
- The name of HTTP header to match.
- value String
- The value of HTTP header to match.
- case
Sensitive Boolean - If true, case is significant in the match. Default is true.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
LbHttpRequestRewriteRuleHeaderRewriteAction, LbHttpRequestRewriteRuleHeaderRewriteActionArgs
LbHttpRequestRewriteRuleIpCondition, LbHttpRequestRewriteRuleIpConditionArgs
- Source
Address string - The value source IP address to match.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- Source
Address string - The value source IP address to match.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- source
Address String - The value source IP address to match.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- source
Address string - The value source IP address to match.
- inverse boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- source_
address str - The value source IP address to match.
- inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- source
Address String - The value source IP address to match.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
LbHttpRequestRewriteRuleMethodCondition, LbHttpRequestRewriteRuleMethodConditionArgs
LbHttpRequestRewriteRuleTag, LbHttpRequestRewriteRuleTagArgs
LbHttpRequestRewriteRuleTcpCondition, LbHttpRequestRewriteRuleTcpConditionArgs
- Source
Port string - Inverse bool
- Whether to reverse match result of this condition
- Source
Port string - Inverse bool
- Whether to reverse match result of this condition
- source
Port String - inverse Boolean
- Whether to reverse match result of this condition
- source
Port string - inverse boolean
- Whether to reverse match result of this condition
- source_
port str - inverse bool
- Whether to reverse match result of this condition
- source
Port String - inverse Boolean
- Whether to reverse match result of this condition
LbHttpRequestRewriteRuleUriArgumentsCondition, LbHttpRequestRewriteRuleUriArgumentsConditionArgs
- Match
Type string - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- Uri
Arguments string - Query string of URI, typically contains key value pairs.
- Case
Sensitive bool - If true, case is significant in the match. Default is true.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- Match
Type string - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- Uri
Arguments string - Query string of URI, typically contains key value pairs.
- Case
Sensitive bool - If true, case is significant in the match. Default is true.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type String - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- uri
Arguments String - Query string of URI, typically contains key value pairs.
- case
Sensitive Boolean - If true, case is significant in the match. Default is true.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type string - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- uri
Arguments string - Query string of URI, typically contains key value pairs.
- case
Sensitive boolean - If true, case is significant in the match. Default is true.
- inverse boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match_
type str - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- uri_
arguments str - Query string of URI, typically contains key value pairs.
- case_
sensitive bool - If true, case is significant in the match. Default is true.
- inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type String - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- uri
Arguments String - Query string of URI, typically contains key value pairs.
- case
Sensitive Boolean - If true, case is significant in the match. Default is true.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
LbHttpRequestRewriteRuleUriCondition, LbHttpRequestRewriteRuleUriConditionArgs
- Match
Type string - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- Uri string
- The value of URI to match.
- Case
Sensitive bool - If true, case is significant in the match. Default is true.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- Match
Type string - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- Uri string
- The value of URI to match.
- Case
Sensitive bool - If true, case is significant in the match. Default is true.
- Inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type String - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- uri String
- The value of URI to match.
- case
Sensitive Boolean - If true, case is significant in the match. Default is true.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type string - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- uri string
- The value of URI to match.
- case
Sensitive boolean - If true, case is significant in the match. Default is true.
- inverse boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match_
type str - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- uri str
- The value of URI to match.
- case_
sensitive bool - If true, case is significant in the match. Default is true.
- inverse bool
- A flag to indicate whether reverse the match result of this condition. Default is false.
- match
Type String - Defines how value field is used to match the URI. Accepted values are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS, REGEX.
- uri String
- The value of URI to match.
- case
Sensitive Boolean - If true, case is significant in the match. Default is true.
- inverse Boolean
- A flag to indicate whether reverse the match result of this condition. Default is false.
LbHttpRequestRewriteRuleUriRewriteAction, LbHttpRequestRewriteRuleUriRewriteActionArgs
- Uri string
- The new URI for the HTTP request.
- Uri
Arguments string - The new URI arguments(query string) for the HTTP request.
- Uri string
- The new URI for the HTTP request.
- Uri
Arguments string - The new URI arguments(query string) for the HTTP request.
- uri String
- The new URI for the HTTP request.
- uri
Arguments String - The new URI arguments(query string) for the HTTP request.
- uri string
- The new URI for the HTTP request.
- uri
Arguments string - The new URI arguments(query string) for the HTTP request.
- uri str
- The new URI for the HTTP request.
- uri_
arguments str - The new URI arguments(query string) for the HTTP request.
- uri String
- The new URI for the HTTP request.
- uri
Arguments String - The new URI arguments(query string) for the HTTP request.
LbHttpRequestRewriteRuleVersionCondition, LbHttpRequestRewriteRuleVersionConditionArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.