vcd.NsxtAlbVirtualServiceHttpReqRules
Explore with Pulumi AI
Create NsxtAlbVirtualServiceHttpReqRules Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NsxtAlbVirtualServiceHttpReqRules(name: string, args: NsxtAlbVirtualServiceHttpReqRulesArgs, opts?: CustomResourceOptions);
@overload
def NsxtAlbVirtualServiceHttpReqRules(resource_name: str,
args: NsxtAlbVirtualServiceHttpReqRulesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NsxtAlbVirtualServiceHttpReqRules(resource_name: str,
opts: Optional[ResourceOptions] = None,
rules: Optional[Sequence[NsxtAlbVirtualServiceHttpReqRulesRuleArgs]] = None,
virtual_service_id: Optional[str] = None,
nsxt_alb_virtual_service_http_req_rules_id: Optional[str] = None)
func NewNsxtAlbVirtualServiceHttpReqRules(ctx *Context, name string, args NsxtAlbVirtualServiceHttpReqRulesArgs, opts ...ResourceOption) (*NsxtAlbVirtualServiceHttpReqRules, error)
public NsxtAlbVirtualServiceHttpReqRules(string name, NsxtAlbVirtualServiceHttpReqRulesArgs args, CustomResourceOptions? opts = null)
public NsxtAlbVirtualServiceHttpReqRules(String name, NsxtAlbVirtualServiceHttpReqRulesArgs args)
public NsxtAlbVirtualServiceHttpReqRules(String name, NsxtAlbVirtualServiceHttpReqRulesArgs args, CustomResourceOptions options)
type: vcd:NsxtAlbVirtualServiceHttpReqRules
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 NsxtAlbVirtualServiceHttpReqRulesArgs
- 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 NsxtAlbVirtualServiceHttpReqRulesArgs
- 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 NsxtAlbVirtualServiceHttpReqRulesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NsxtAlbVirtualServiceHttpReqRulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NsxtAlbVirtualServiceHttpReqRulesArgs
- 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 nsxtAlbVirtualServiceHttpReqRulesResource = new Vcd.NsxtAlbVirtualServiceHttpReqRules("nsxtAlbVirtualServiceHttpReqRulesResource", new()
{
Rules = new[]
{
new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleArgs
{
Actions = new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleActionsArgs
{
ModifyHeaders = new[]
{
new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleActionsModifyHeaderArgs
{
Action = "string",
Name = "string",
Value = "string",
},
},
Redirect = new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleActionsRedirectArgs
{
Protocol = "string",
StatusCode = 0,
Host = "string",
KeepQuery = false,
Path = "string",
Port = "string",
},
RewriteUrl = new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleActionsRewriteUrlArgs
{
ExistingPath = "string",
HostHeader = "string",
KeepQuery = false,
Query = "string",
},
},
MatchCriteria = new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaArgs
{
ClientIpAddress = new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaClientIpAddressArgs
{
Criteria = "string",
IpAddresses = new[]
{
"string",
},
},
Cookie = new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaCookieArgs
{
Criteria = "string",
Name = "string",
Value = "string",
},
HttpMethods = new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaHttpMethodsArgs
{
Criteria = "string",
Methods = new[]
{
"string",
},
},
Path = new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaPathArgs
{
Criteria = "string",
Paths = new[]
{
"string",
},
},
ProtocolType = "string",
Queries = new[]
{
"string",
},
RequestHeaders = new[]
{
new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaRequestHeaderArgs
{
Criteria = "string",
Name = "string",
Values = new[]
{
"string",
},
},
},
ServicePorts = new Vcd.Inputs.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaServicePortsArgs
{
Criteria = "string",
Ports = new[]
{
0,
},
},
},
Name = "string",
Active = false,
Logging = false,
},
},
VirtualServiceId = "string",
NsxtAlbVirtualServiceHttpReqRulesId = "string",
});
example, err := vcd.NewNsxtAlbVirtualServiceHttpReqRules(ctx, "nsxtAlbVirtualServiceHttpReqRulesResource", &vcd.NsxtAlbVirtualServiceHttpReqRulesArgs{
Rules: vcd.NsxtAlbVirtualServiceHttpReqRulesRuleArray{
&vcd.NsxtAlbVirtualServiceHttpReqRulesRuleArgs{
Actions: &vcd.NsxtAlbVirtualServiceHttpReqRulesRuleActionsArgs{
ModifyHeaders: vcd.NsxtAlbVirtualServiceHttpReqRulesRuleActionsModifyHeaderArray{
&vcd.NsxtAlbVirtualServiceHttpReqRulesRuleActionsModifyHeaderArgs{
Action: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Redirect: &vcd.NsxtAlbVirtualServiceHttpReqRulesRuleActionsRedirectArgs{
Protocol: pulumi.String("string"),
StatusCode: pulumi.Float64(0),
Host: pulumi.String("string"),
KeepQuery: pulumi.Bool(false),
Path: pulumi.String("string"),
Port: pulumi.String("string"),
},
RewriteUrl: &vcd.NsxtAlbVirtualServiceHttpReqRulesRuleActionsRewriteUrlArgs{
ExistingPath: pulumi.String("string"),
HostHeader: pulumi.String("string"),
KeepQuery: pulumi.Bool(false),
Query: pulumi.String("string"),
},
},
MatchCriteria: &vcd.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaArgs{
ClientIpAddress: &vcd.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaClientIpAddressArgs{
Criteria: pulumi.String("string"),
IpAddresses: pulumi.StringArray{
pulumi.String("string"),
},
},
Cookie: &vcd.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaCookieArgs{
Criteria: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
HttpMethods: &vcd.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaHttpMethodsArgs{
Criteria: pulumi.String("string"),
Methods: pulumi.StringArray{
pulumi.String("string"),
},
},
Path: &vcd.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaPathArgs{
Criteria: pulumi.String("string"),
Paths: pulumi.StringArray{
pulumi.String("string"),
},
},
ProtocolType: pulumi.String("string"),
Queries: pulumi.StringArray{
pulumi.String("string"),
},
RequestHeaders: vcd.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaRequestHeaderArray{
&vcd.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaRequestHeaderArgs{
Criteria: pulumi.String("string"),
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ServicePorts: &vcd.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaServicePortsArgs{
Criteria: pulumi.String("string"),
Ports: pulumi.Float64Array{
pulumi.Float64(0),
},
},
},
Name: pulumi.String("string"),
Active: pulumi.Bool(false),
Logging: pulumi.Bool(false),
},
},
VirtualServiceId: pulumi.String("string"),
NsxtAlbVirtualServiceHttpReqRulesId: pulumi.String("string"),
})
var nsxtAlbVirtualServiceHttpReqRulesResource = new NsxtAlbVirtualServiceHttpReqRules("nsxtAlbVirtualServiceHttpReqRulesResource", NsxtAlbVirtualServiceHttpReqRulesArgs.builder()
.rules(NsxtAlbVirtualServiceHttpReqRulesRuleArgs.builder()
.actions(NsxtAlbVirtualServiceHttpReqRulesRuleActionsArgs.builder()
.modifyHeaders(NsxtAlbVirtualServiceHttpReqRulesRuleActionsModifyHeaderArgs.builder()
.action("string")
.name("string")
.value("string")
.build())
.redirect(NsxtAlbVirtualServiceHttpReqRulesRuleActionsRedirectArgs.builder()
.protocol("string")
.statusCode(0)
.host("string")
.keepQuery(false)
.path("string")
.port("string")
.build())
.rewriteUrl(NsxtAlbVirtualServiceHttpReqRulesRuleActionsRewriteUrlArgs.builder()
.existingPath("string")
.hostHeader("string")
.keepQuery(false)
.query("string")
.build())
.build())
.matchCriteria(NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaArgs.builder()
.clientIpAddress(NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaClientIpAddressArgs.builder()
.criteria("string")
.ipAddresses("string")
.build())
.cookie(NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaCookieArgs.builder()
.criteria("string")
.name("string")
.value("string")
.build())
.httpMethods(NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaHttpMethodsArgs.builder()
.criteria("string")
.methods("string")
.build())
.path(NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaPathArgs.builder()
.criteria("string")
.paths("string")
.build())
.protocolType("string")
.queries("string")
.requestHeaders(NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaRequestHeaderArgs.builder()
.criteria("string")
.name("string")
.values("string")
.build())
.servicePorts(NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaServicePortsArgs.builder()
.criteria("string")
.ports(0)
.build())
.build())
.name("string")
.active(false)
.logging(false)
.build())
.virtualServiceId("string")
.nsxtAlbVirtualServiceHttpReqRulesId("string")
.build());
nsxt_alb_virtual_service_http_req_rules_resource = vcd.NsxtAlbVirtualServiceHttpReqRules("nsxtAlbVirtualServiceHttpReqRulesResource",
rules=[{
"actions": {
"modify_headers": [{
"action": "string",
"name": "string",
"value": "string",
}],
"redirect": {
"protocol": "string",
"status_code": 0,
"host": "string",
"keep_query": False,
"path": "string",
"port": "string",
},
"rewrite_url": {
"existing_path": "string",
"host_header": "string",
"keep_query": False,
"query": "string",
},
},
"match_criteria": {
"client_ip_address": {
"criteria": "string",
"ip_addresses": ["string"],
},
"cookie": {
"criteria": "string",
"name": "string",
"value": "string",
},
"http_methods": {
"criteria": "string",
"methods": ["string"],
},
"path": {
"criteria": "string",
"paths": ["string"],
},
"protocol_type": "string",
"queries": ["string"],
"request_headers": [{
"criteria": "string",
"name": "string",
"values": ["string"],
}],
"service_ports": {
"criteria": "string",
"ports": [0],
},
},
"name": "string",
"active": False,
"logging": False,
}],
virtual_service_id="string",
nsxt_alb_virtual_service_http_req_rules_id="string")
const nsxtAlbVirtualServiceHttpReqRulesResource = new vcd.NsxtAlbVirtualServiceHttpReqRules("nsxtAlbVirtualServiceHttpReqRulesResource", {
rules: [{
actions: {
modifyHeaders: [{
action: "string",
name: "string",
value: "string",
}],
redirect: {
protocol: "string",
statusCode: 0,
host: "string",
keepQuery: false,
path: "string",
port: "string",
},
rewriteUrl: {
existingPath: "string",
hostHeader: "string",
keepQuery: false,
query: "string",
},
},
matchCriteria: {
clientIpAddress: {
criteria: "string",
ipAddresses: ["string"],
},
cookie: {
criteria: "string",
name: "string",
value: "string",
},
httpMethods: {
criteria: "string",
methods: ["string"],
},
path: {
criteria: "string",
paths: ["string"],
},
protocolType: "string",
queries: ["string"],
requestHeaders: [{
criteria: "string",
name: "string",
values: ["string"],
}],
servicePorts: {
criteria: "string",
ports: [0],
},
},
name: "string",
active: false,
logging: false,
}],
virtualServiceId: "string",
nsxtAlbVirtualServiceHttpReqRulesId: "string",
});
type: vcd:NsxtAlbVirtualServiceHttpReqRules
properties:
nsxtAlbVirtualServiceHttpReqRulesId: string
rules:
- actions:
modifyHeaders:
- action: string
name: string
value: string
redirect:
host: string
keepQuery: false
path: string
port: string
protocol: string
statusCode: 0
rewriteUrl:
existingPath: string
hostHeader: string
keepQuery: false
query: string
active: false
logging: false
matchCriteria:
clientIpAddress:
criteria: string
ipAddresses:
- string
cookie:
criteria: string
name: string
value: string
httpMethods:
criteria: string
methods:
- string
path:
criteria: string
paths:
- string
protocolType: string
queries:
- string
requestHeaders:
- criteria: string
name: string
values:
- string
servicePorts:
criteria: string
ports:
- 0
name: string
virtualServiceId: string
NsxtAlbVirtualServiceHttpReqRules 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 NsxtAlbVirtualServiceHttpReqRules resource accepts the following input properties:
- Rules
List<Nsxt
Alb Virtual Service Http Req Rules Rule> One or more rule blocks with matching criteria and actions.
- Virtual
Service stringId - An ID of existing ALB Virtual Service.
- Nsxt
Alb stringVirtual Service Http Req Rules Id
- Rules
[]Nsxt
Alb Virtual Service Http Req Rules Rule Args One or more rule blocks with matching criteria and actions.
- Virtual
Service stringId - An ID of existing ALB Virtual Service.
- Nsxt
Alb stringVirtual Service Http Req Rules Id
- rules
List<Nsxt
Alb Virtual Service Http Req Rules Rule> One or more rule blocks with matching criteria and actions.
- virtual
Service StringId - An ID of existing ALB Virtual Service.
- nsxt
Alb StringVirtual Service Http Req Rules Id
- rules
Nsxt
Alb Virtual Service Http Req Rules Rule[] One or more rule blocks with matching criteria and actions.
- virtual
Service stringId - An ID of existing ALB Virtual Service.
- nsxt
Alb stringVirtual Service Http Req Rules Id
- rules
Sequence[Nsxt
Alb Virtual Service Http Req Rules Rule Args] One or more rule blocks with matching criteria and actions.
- virtual_
service_ strid - An ID of existing ALB Virtual Service.
- nsxt_
alb_ strvirtual_ service_ http_ req_ rules_ id
- rules List<Property Map>
One or more rule blocks with matching criteria and actions.
- virtual
Service StringId - An ID of existing ALB Virtual Service.
- nsxt
Alb StringVirtual Service Http Req Rules Id
Outputs
All input properties are implicitly available as output properties. Additionally, the NsxtAlbVirtualServiceHttpReqRules resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing NsxtAlbVirtualServiceHttpReqRules Resource
Get an existing NsxtAlbVirtualServiceHttpReqRules 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?: NsxtAlbVirtualServiceHttpReqRulesState, opts?: CustomResourceOptions): NsxtAlbVirtualServiceHttpReqRules
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
nsxt_alb_virtual_service_http_req_rules_id: Optional[str] = None,
rules: Optional[Sequence[NsxtAlbVirtualServiceHttpReqRulesRuleArgs]] = None,
virtual_service_id: Optional[str] = None) -> NsxtAlbVirtualServiceHttpReqRules
func GetNsxtAlbVirtualServiceHttpReqRules(ctx *Context, name string, id IDInput, state *NsxtAlbVirtualServiceHttpReqRulesState, opts ...ResourceOption) (*NsxtAlbVirtualServiceHttpReqRules, error)
public static NsxtAlbVirtualServiceHttpReqRules Get(string name, Input<string> id, NsxtAlbVirtualServiceHttpReqRulesState? state, CustomResourceOptions? opts = null)
public static NsxtAlbVirtualServiceHttpReqRules get(String name, Output<String> id, NsxtAlbVirtualServiceHttpReqRulesState state, CustomResourceOptions options)
resources: _: type: vcd:NsxtAlbVirtualServiceHttpReqRules 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.
- Nsxt
Alb stringVirtual Service Http Req Rules Id - Rules
List<Nsxt
Alb Virtual Service Http Req Rules Rule> One or more rule blocks with matching criteria and actions.
- Virtual
Service stringId - An ID of existing ALB Virtual Service.
- Nsxt
Alb stringVirtual Service Http Req Rules Id - Rules
[]Nsxt
Alb Virtual Service Http Req Rules Rule Args One or more rule blocks with matching criteria and actions.
- Virtual
Service stringId - An ID of existing ALB Virtual Service.
- nsxt
Alb StringVirtual Service Http Req Rules Id - rules
List<Nsxt
Alb Virtual Service Http Req Rules Rule> One or more rule blocks with matching criteria and actions.
- virtual
Service StringId - An ID of existing ALB Virtual Service.
- nsxt
Alb stringVirtual Service Http Req Rules Id - rules
Nsxt
Alb Virtual Service Http Req Rules Rule[] One or more rule blocks with matching criteria and actions.
- virtual
Service stringId - An ID of existing ALB Virtual Service.
- nsxt_
alb_ strvirtual_ service_ http_ req_ rules_ id - rules
Sequence[Nsxt
Alb Virtual Service Http Req Rules Rule Args] One or more rule blocks with matching criteria and actions.
- virtual_
service_ strid - An ID of existing ALB Virtual Service.
- nsxt
Alb StringVirtual Service Http Req Rules Id - rules List<Property Map>
One or more rule blocks with matching criteria and actions.
- virtual
Service StringId - An ID of existing ALB Virtual Service.
Supporting Types
NsxtAlbVirtualServiceHttpReqRulesRule, NsxtAlbVirtualServiceHttpReqRulesRuleArgs
- Actions
Nsxt
Alb Virtual Service Http Req Rules Rule Actions - Actions to perform with the rule that matches
- Match
Criteria NsxtAlb Virtual Service Http Req Rules Rule Match Criteria - Rule matching Criteria
- Name string
- Name of the rule
- Active bool
- Defines if the rule is active or not
- Logging bool
- Defines whether to enable logging with headers on rule match or not
- Actions
Nsxt
Alb Virtual Service Http Req Rules Rule Actions - Actions to perform with the rule that matches
- Match
Criteria NsxtAlb Virtual Service Http Req Rules Rule Match Criteria - Rule matching Criteria
- Name string
- Name of the rule
- Active bool
- Defines if the rule is active or not
- Logging bool
- Defines whether to enable logging with headers on rule match or not
- actions
Nsxt
Alb Virtual Service Http Req Rules Rule Actions - Actions to perform with the rule that matches
- match
Criteria NsxtAlb Virtual Service Http Req Rules Rule Match Criteria - Rule matching Criteria
- name String
- Name of the rule
- active Boolean
- Defines if the rule is active or not
- logging Boolean
- Defines whether to enable logging with headers on rule match or not
- actions
Nsxt
Alb Virtual Service Http Req Rules Rule Actions - Actions to perform with the rule that matches
- match
Criteria NsxtAlb Virtual Service Http Req Rules Rule Match Criteria - Rule matching Criteria
- name string
- Name of the rule
- active boolean
- Defines if the rule is active or not
- logging boolean
- Defines whether to enable logging with headers on rule match or not
- actions
Nsxt
Alb Virtual Service Http Req Rules Rule Actions - Actions to perform with the rule that matches
- match_
criteria NsxtAlb Virtual Service Http Req Rules Rule Match Criteria - Rule matching Criteria
- name str
- Name of the rule
- active bool
- Defines if the rule is active or not
- logging bool
- Defines whether to enable logging with headers on rule match or not
- actions Property Map
- Actions to perform with the rule that matches
- match
Criteria Property Map - Rule matching Criteria
- name String
- Name of the rule
- active Boolean
- Defines if the rule is active or not
- logging Boolean
- Defines whether to enable logging with headers on rule match or not
NsxtAlbVirtualServiceHttpReqRulesRuleActions, NsxtAlbVirtualServiceHttpReqRulesRuleActionsArgs
- Modify
Headers List<NsxtAlb Virtual Service Http Req Rules Rule Actions Modify Header> - A set of header modification rules
- Redirect
Nsxt
Alb Virtual Service Http Req Rules Rule Actions Redirect - Redirect request
- Rewrite
Url NsxtAlb Virtual Service Http Req Rules Rule Actions Rewrite Url - URL rewrite rules
- Modify
Headers []NsxtAlb Virtual Service Http Req Rules Rule Actions Modify Header - A set of header modification rules
- Redirect
Nsxt
Alb Virtual Service Http Req Rules Rule Actions Redirect - Redirect request
- Rewrite
Url NsxtAlb Virtual Service Http Req Rules Rule Actions Rewrite Url - URL rewrite rules
- modify
Headers List<NsxtAlb Virtual Service Http Req Rules Rule Actions Modify Header> - A set of header modification rules
- redirect
Nsxt
Alb Virtual Service Http Req Rules Rule Actions Redirect - Redirect request
- rewrite
Url NsxtAlb Virtual Service Http Req Rules Rule Actions Rewrite Url - URL rewrite rules
- modify
Headers NsxtAlb Virtual Service Http Req Rules Rule Actions Modify Header[] - A set of header modification rules
- redirect
Nsxt
Alb Virtual Service Http Req Rules Rule Actions Redirect - Redirect request
- rewrite
Url NsxtAlb Virtual Service Http Req Rules Rule Actions Rewrite Url - URL rewrite rules
- modify_
headers Sequence[NsxtAlb Virtual Service Http Req Rules Rule Actions Modify Header] - A set of header modification rules
- redirect
Nsxt
Alb Virtual Service Http Req Rules Rule Actions Redirect - Redirect request
- rewrite_
url NsxtAlb Virtual Service Http Req Rules Rule Actions Rewrite Url - URL rewrite rules
- modify
Headers List<Property Map> - A set of header modification rules
- redirect Property Map
- Redirect request
- rewrite
Url Property Map - URL rewrite rules
NsxtAlbVirtualServiceHttpReqRulesRuleActionsModifyHeader, NsxtAlbVirtualServiceHttpReqRulesRuleActionsModifyHeaderArgs
NsxtAlbVirtualServiceHttpReqRulesRuleActionsRedirect, NsxtAlbVirtualServiceHttpReqRulesRuleActionsRedirectArgs
- Protocol string
- HTTP or HTTPS protocol
- Status
Code double - One of the redirect status codes - 301, 302, 307
- Host string
- Host to which redirect the request
- Keep
Query bool - Should the query part be preserved
- Path string
- Path to which redirect the request
- Port string
- Port to which redirect the request. Default is 80 for HTTP and 443 for HTTPS protocol
- Protocol string
- HTTP or HTTPS protocol
- Status
Code float64 - One of the redirect status codes - 301, 302, 307
- Host string
- Host to which redirect the request
- Keep
Query bool - Should the query part be preserved
- Path string
- Path to which redirect the request
- Port string
- Port to which redirect the request. Default is 80 for HTTP and 443 for HTTPS protocol
- protocol String
- HTTP or HTTPS protocol
- status
Code Double - One of the redirect status codes - 301, 302, 307
- host String
- Host to which redirect the request
- keep
Query Boolean - Should the query part be preserved
- path String
- Path to which redirect the request
- port String
- Port to which redirect the request. Default is 80 for HTTP and 443 for HTTPS protocol
- protocol string
- HTTP or HTTPS protocol
- status
Code number - One of the redirect status codes - 301, 302, 307
- host string
- Host to which redirect the request
- keep
Query boolean - Should the query part be preserved
- path string
- Path to which redirect the request
- port string
- Port to which redirect the request. Default is 80 for HTTP and 443 for HTTPS protocol
- protocol str
- HTTP or HTTPS protocol
- status_
code float - One of the redirect status codes - 301, 302, 307
- host str
- Host to which redirect the request
- keep_
query bool - Should the query part be preserved
- path str
- Path to which redirect the request
- port str
- Port to which redirect the request. Default is 80 for HTTP and 443 for HTTPS protocol
- protocol String
- HTTP or HTTPS protocol
- status
Code Number - One of the redirect status codes - 301, 302, 307
- host String
- Host to which redirect the request
- keep
Query Boolean - Should the query part be preserved
- path String
- Path to which redirect the request
- port String
- Port to which redirect the request. Default is 80 for HTTP and 443 for HTTPS protocol
NsxtAlbVirtualServiceHttpReqRulesRuleActionsRewriteUrl, NsxtAlbVirtualServiceHttpReqRulesRuleActionsRewriteUrlArgs
- Existing
Path string - Path to use for the rewritten URL
- Host
Header string - Host to use for the rewritten URL
- Keep
Query bool - Whether or not to keep the existing query string when rewriting the URL
- Query string
- Query string to use or append to the existing query string in the rewritten URL
- Existing
Path string - Path to use for the rewritten URL
- Host
Header string - Host to use for the rewritten URL
- Keep
Query bool - Whether or not to keep the existing query string when rewriting the URL
- Query string
- Query string to use or append to the existing query string in the rewritten URL
- existing
Path String - Path to use for the rewritten URL
- host
Header String - Host to use for the rewritten URL
- keep
Query Boolean - Whether or not to keep the existing query string when rewriting the URL
- query String
- Query string to use or append to the existing query string in the rewritten URL
- existing
Path string - Path to use for the rewritten URL
- host
Header string - Host to use for the rewritten URL
- keep
Query boolean - Whether or not to keep the existing query string when rewriting the URL
- query string
- Query string to use or append to the existing query string in the rewritten URL
- existing_
path str - Path to use for the rewritten URL
- host_
header str - Host to use for the rewritten URL
- keep_
query bool - Whether or not to keep the existing query string when rewriting the URL
- query str
- Query string to use or append to the existing query string in the rewritten URL
- existing
Path String - Path to use for the rewritten URL
- host
Header String - Host to use for the rewritten URL
- keep
Query Boolean - Whether or not to keep the existing query string when rewriting the URL
- query String
- Query string to use or append to the existing query string in the rewritten URL
NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteria, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaArgs
- Client
Ip NsxtAddress Alb Virtual Service Http Req Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Req Rules Rule Match Criteria Cookie - Criteria for matching cookie
- Http
Methods NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- Path
Nsxt
Alb Virtual Service Http Req Rules Rule Match Criteria Path - Request path criteria
- Protocol
Type string - Protocol to match - 'HTTP' or 'HTTPS'
- Queries List<string>
- HTTP request query strings to match
- Request
Headers List<NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Request Header> - A set of rules for matching request headers
- Service
Ports NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Service Ports - Service Port criteria
- Client
Ip NsxtAddress Alb Virtual Service Http Req Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Req Rules Rule Match Criteria Cookie - Criteria for matching cookie
- Http
Methods NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- Path
Nsxt
Alb Virtual Service Http Req Rules Rule Match Criteria Path - Request path criteria
- Protocol
Type string - Protocol to match - 'HTTP' or 'HTTPS'
- Queries []string
- HTTP request query strings to match
- Request
Headers []NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Request Header - A set of rules for matching request headers
- Service
Ports NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Service Ports - Service Port criteria
- client
Ip NsxtAddress Alb Virtual Service Http Req Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Req Rules Rule Match Criteria Cookie - Criteria for matching cookie
- http
Methods NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- path
Nsxt
Alb Virtual Service Http Req Rules Rule Match Criteria Path - Request path criteria
- protocol
Type String - Protocol to match - 'HTTP' or 'HTTPS'
- queries List<String>
- HTTP request query strings to match
- request
Headers List<NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Request Header> - A set of rules for matching request headers
- service
Ports NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Service Ports - Service Port criteria
- client
Ip NsxtAddress Alb Virtual Service Http Req Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Req Rules Rule Match Criteria Cookie - Criteria for matching cookie
- http
Methods NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- path
Nsxt
Alb Virtual Service Http Req Rules Rule Match Criteria Path - Request path criteria
- protocol
Type string - Protocol to match - 'HTTP' or 'HTTPS'
- queries string[]
- HTTP request query strings to match
- request
Headers NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Request Header[] - A set of rules for matching request headers
- service
Ports NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Service Ports - Service Port criteria
- client_
ip_ Nsxtaddress Alb Virtual Service Http Req Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Req Rules Rule Match Criteria Cookie - Criteria for matching cookie
- http_
methods NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- path
Nsxt
Alb Virtual Service Http Req Rules Rule Match Criteria Path - Request path criteria
- protocol_
type str - Protocol to match - 'HTTP' or 'HTTPS'
- queries Sequence[str]
- HTTP request query strings to match
- request_
headers Sequence[NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Request Header] - A set of rules for matching request headers
- service_
ports NsxtAlb Virtual Service Http Req Rules Rule Match Criteria Service Ports - Service Port criteria
- client
Ip Property MapAddress - Client IP Address criteria
- Property Map
- Criteria for matching cookie
- http
Methods Property Map - HTTP methods that should be matched
- path Property Map
- Request path criteria
- protocol
Type String - Protocol to match - 'HTTP' or 'HTTPS'
- queries List<String>
- HTTP request query strings to match
- request
Headers List<Property Map> - A set of rules for matching request headers
- service
Ports Property Map - Service Port criteria
NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaClientIpAddress, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaClientIpAddressArgs
- Criteria string
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- Ip
Addresses List<string> - A set of IP addresses
- Criteria string
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- Ip
Addresses []string - A set of IP addresses
- criteria String
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- ip
Addresses List<String> - A set of IP addresses
- criteria string
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- ip
Addresses string[] - A set of IP addresses
- criteria str
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- ip_
addresses Sequence[str] - A set of IP addresses
- criteria String
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- ip
Addresses List<String> - A set of IP addresses
NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaCookie, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaCookieArgs
- Criteria string
- Criteria to use for matching cookies in the HTTP request. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- Name string
- Name of the HTTP cookie whose value is to be matched
- Value string
- String values to match for an HTTP cookie
- Criteria string
- Criteria to use for matching cookies in the HTTP request. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- Name string
- Name of the HTTP cookie whose value is to be matched
- Value string
- String values to match for an HTTP cookie
- criteria String
- Criteria to use for matching cookies in the HTTP request. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- name String
- Name of the HTTP cookie whose value is to be matched
- value String
- String values to match for an HTTP cookie
- criteria string
- Criteria to use for matching cookies in the HTTP request. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- name string
- Name of the HTTP cookie whose value is to be matched
- value string
- String values to match for an HTTP cookie
- criteria str
- Criteria to use for matching cookies in the HTTP request. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- name str
- Name of the HTTP cookie whose value is to be matched
- value str
- String values to match for an HTTP cookie
- criteria String
- Criteria to use for matching cookies in the HTTP request. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- name String
- Name of the HTTP cookie whose value is to be matched
- value String
- String values to match for an HTTP cookie
NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaHttpMethods, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaHttpMethodsArgs
NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaPath, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaPathArgs
NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaRequestHeader, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaRequestHeaderArgs
- Criteria string
- Criteria to use for matching headers and cookies in the HTTP request amd response. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- Name string
- Name of the HTTP header whose value is to be matched
- Values List<string>
- String values to match for an HTTP header
- Criteria string
- Criteria to use for matching headers and cookies in the HTTP request amd response. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- Name string
- Name of the HTTP header whose value is to be matched
- Values []string
- String values to match for an HTTP header
- criteria String
- Criteria to use for matching headers and cookies in the HTTP request amd response. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- name String
- Name of the HTTP header whose value is to be matched
- values List<String>
- String values to match for an HTTP header
- criteria string
- Criteria to use for matching headers and cookies in the HTTP request amd response. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- name string
- Name of the HTTP header whose value is to be matched
- values string[]
- String values to match for an HTTP header
- criteria str
- Criteria to use for matching headers and cookies in the HTTP request amd response. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- name str
- Name of the HTTP header whose value is to be matched
- values Sequence[str]
- String values to match for an HTTP header
- criteria String
- Criteria to use for matching headers and cookies in the HTTP request amd response. Options - EXISTS, DOES_NOT_EXIST, BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL
- name String
- Name of the HTTP header whose value is to be matched
- values List<String>
- String values to match for an HTTP header
NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaServicePorts, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaServicePortsArgs
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.