vcd.NsxtAlbVirtualServiceHttpRespRules
Explore with Pulumi AI
Create NsxtAlbVirtualServiceHttpRespRules Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NsxtAlbVirtualServiceHttpRespRules(name: string, args: NsxtAlbVirtualServiceHttpRespRulesArgs, opts?: CustomResourceOptions);
@overload
def NsxtAlbVirtualServiceHttpRespRules(resource_name: str,
args: NsxtAlbVirtualServiceHttpRespRulesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NsxtAlbVirtualServiceHttpRespRules(resource_name: str,
opts: Optional[ResourceOptions] = None,
rules: Optional[Sequence[NsxtAlbVirtualServiceHttpRespRulesRuleArgs]] = None,
virtual_service_id: Optional[str] = None,
nsxt_alb_virtual_service_http_resp_rules_id: Optional[str] = None)
func NewNsxtAlbVirtualServiceHttpRespRules(ctx *Context, name string, args NsxtAlbVirtualServiceHttpRespRulesArgs, opts ...ResourceOption) (*NsxtAlbVirtualServiceHttpRespRules, error)
public NsxtAlbVirtualServiceHttpRespRules(string name, NsxtAlbVirtualServiceHttpRespRulesArgs args, CustomResourceOptions? opts = null)
public NsxtAlbVirtualServiceHttpRespRules(String name, NsxtAlbVirtualServiceHttpRespRulesArgs args)
public NsxtAlbVirtualServiceHttpRespRules(String name, NsxtAlbVirtualServiceHttpRespRulesArgs args, CustomResourceOptions options)
type: vcd:NsxtAlbVirtualServiceHttpRespRules
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 NsxtAlbVirtualServiceHttpRespRulesArgs
- 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 NsxtAlbVirtualServiceHttpRespRulesArgs
- 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 NsxtAlbVirtualServiceHttpRespRulesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NsxtAlbVirtualServiceHttpRespRulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NsxtAlbVirtualServiceHttpRespRulesArgs
- 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 nsxtAlbVirtualServiceHttpRespRulesResource = new Vcd.NsxtAlbVirtualServiceHttpRespRules("nsxtAlbVirtualServiceHttpRespRulesResource", new()
{
Rules = new[]
{
new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleArgs
{
Actions = new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleActionsArgs
{
ModifyHeaders = new[]
{
new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleActionsModifyHeaderArgs
{
Action = "string",
Name = "string",
Value = "string",
},
},
RewriteLocationHeader = new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleActionsRewriteLocationHeaderArgs
{
Port = "string",
Protocol = "string",
Host = "string",
KeepQuery = false,
Path = "string",
},
},
MatchCriteria = new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaArgs
{
ClientIpAddress = new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaClientIpAddressArgs
{
Criteria = "string",
IpAddresses = new[]
{
"string",
},
},
Cookie = new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaCookieArgs
{
Criteria = "string",
Name = "string",
Value = "string",
},
HttpMethods = new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaHttpMethodsArgs
{
Criteria = "string",
Methods = new[]
{
"string",
},
},
LocationHeader = new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaLocationHeaderArgs
{
Criteria = "string",
Values = new[]
{
"string",
},
},
Path = new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaPathArgs
{
Criteria = "string",
Paths = new[]
{
"string",
},
},
ProtocolType = "string",
Queries = new[]
{
"string",
},
RequestHeaders = new[]
{
new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaRequestHeaderArgs
{
Criteria = "string",
Name = "string",
Values = new[]
{
"string",
},
},
},
ResponseHeaders = new[]
{
new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaResponseHeaderArgs
{
Criteria = "string",
Name = "string",
Values = new[]
{
"string",
},
},
},
ServicePorts = new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaServicePortsArgs
{
Criteria = "string",
Ports = new[]
{
0,
},
},
StatusCode = new Vcd.Inputs.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaStatusCodeArgs
{
Criteria = "string",
HttpStatusCode = "string",
},
},
Name = "string",
Active = false,
Logging = false,
},
},
VirtualServiceId = "string",
NsxtAlbVirtualServiceHttpRespRulesId = "string",
});
example, err := vcd.NewNsxtAlbVirtualServiceHttpRespRules(ctx, "nsxtAlbVirtualServiceHttpRespRulesResource", &vcd.NsxtAlbVirtualServiceHttpRespRulesArgs{
Rules: vcd.NsxtAlbVirtualServiceHttpRespRulesRuleArray{
&vcd.NsxtAlbVirtualServiceHttpRespRulesRuleArgs{
Actions: &vcd.NsxtAlbVirtualServiceHttpRespRulesRuleActionsArgs{
ModifyHeaders: vcd.NsxtAlbVirtualServiceHttpRespRulesRuleActionsModifyHeaderArray{
&vcd.NsxtAlbVirtualServiceHttpRespRulesRuleActionsModifyHeaderArgs{
Action: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
RewriteLocationHeader: &vcd.NsxtAlbVirtualServiceHttpRespRulesRuleActionsRewriteLocationHeaderArgs{
Port: pulumi.String("string"),
Protocol: pulumi.String("string"),
Host: pulumi.String("string"),
KeepQuery: pulumi.Bool(false),
Path: pulumi.String("string"),
},
},
MatchCriteria: &vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaArgs{
ClientIpAddress: &vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaClientIpAddressArgs{
Criteria: pulumi.String("string"),
IpAddresses: pulumi.StringArray{
pulumi.String("string"),
},
},
Cookie: &vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaCookieArgs{
Criteria: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
HttpMethods: &vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaHttpMethodsArgs{
Criteria: pulumi.String("string"),
Methods: pulumi.StringArray{
pulumi.String("string"),
},
},
LocationHeader: &vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaLocationHeaderArgs{
Criteria: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
Path: &vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaPathArgs{
Criteria: pulumi.String("string"),
Paths: pulumi.StringArray{
pulumi.String("string"),
},
},
ProtocolType: pulumi.String("string"),
Queries: pulumi.StringArray{
pulumi.String("string"),
},
RequestHeaders: vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaRequestHeaderArray{
&vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaRequestHeaderArgs{
Criteria: pulumi.String("string"),
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ResponseHeaders: vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaResponseHeaderArray{
&vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaResponseHeaderArgs{
Criteria: pulumi.String("string"),
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ServicePorts: &vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaServicePortsArgs{
Criteria: pulumi.String("string"),
Ports: pulumi.Float64Array{
pulumi.Float64(0),
},
},
StatusCode: &vcd.NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaStatusCodeArgs{
Criteria: pulumi.String("string"),
HttpStatusCode: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Active: pulumi.Bool(false),
Logging: pulumi.Bool(false),
},
},
VirtualServiceId: pulumi.String("string"),
NsxtAlbVirtualServiceHttpRespRulesId: pulumi.String("string"),
})
var nsxtAlbVirtualServiceHttpRespRulesResource = new NsxtAlbVirtualServiceHttpRespRules("nsxtAlbVirtualServiceHttpRespRulesResource", NsxtAlbVirtualServiceHttpRespRulesArgs.builder()
.rules(NsxtAlbVirtualServiceHttpRespRulesRuleArgs.builder()
.actions(NsxtAlbVirtualServiceHttpRespRulesRuleActionsArgs.builder()
.modifyHeaders(NsxtAlbVirtualServiceHttpRespRulesRuleActionsModifyHeaderArgs.builder()
.action("string")
.name("string")
.value("string")
.build())
.rewriteLocationHeader(NsxtAlbVirtualServiceHttpRespRulesRuleActionsRewriteLocationHeaderArgs.builder()
.port("string")
.protocol("string")
.host("string")
.keepQuery(false)
.path("string")
.build())
.build())
.matchCriteria(NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaArgs.builder()
.clientIpAddress(NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaClientIpAddressArgs.builder()
.criteria("string")
.ipAddresses("string")
.build())
.cookie(NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaCookieArgs.builder()
.criteria("string")
.name("string")
.value("string")
.build())
.httpMethods(NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaHttpMethodsArgs.builder()
.criteria("string")
.methods("string")
.build())
.locationHeader(NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaLocationHeaderArgs.builder()
.criteria("string")
.values("string")
.build())
.path(NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaPathArgs.builder()
.criteria("string")
.paths("string")
.build())
.protocolType("string")
.queries("string")
.requestHeaders(NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaRequestHeaderArgs.builder()
.criteria("string")
.name("string")
.values("string")
.build())
.responseHeaders(NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaResponseHeaderArgs.builder()
.criteria("string")
.name("string")
.values("string")
.build())
.servicePorts(NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaServicePortsArgs.builder()
.criteria("string")
.ports(0)
.build())
.statusCode(NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaStatusCodeArgs.builder()
.criteria("string")
.httpStatusCode("string")
.build())
.build())
.name("string")
.active(false)
.logging(false)
.build())
.virtualServiceId("string")
.nsxtAlbVirtualServiceHttpRespRulesId("string")
.build());
nsxt_alb_virtual_service_http_resp_rules_resource = vcd.NsxtAlbVirtualServiceHttpRespRules("nsxtAlbVirtualServiceHttpRespRulesResource",
rules=[{
"actions": {
"modify_headers": [{
"action": "string",
"name": "string",
"value": "string",
}],
"rewrite_location_header": {
"port": "string",
"protocol": "string",
"host": "string",
"keep_query": False,
"path": "string",
},
},
"match_criteria": {
"client_ip_address": {
"criteria": "string",
"ip_addresses": ["string"],
},
"cookie": {
"criteria": "string",
"name": "string",
"value": "string",
},
"http_methods": {
"criteria": "string",
"methods": ["string"],
},
"location_header": {
"criteria": "string",
"values": ["string"],
},
"path": {
"criteria": "string",
"paths": ["string"],
},
"protocol_type": "string",
"queries": ["string"],
"request_headers": [{
"criteria": "string",
"name": "string",
"values": ["string"],
}],
"response_headers": [{
"criteria": "string",
"name": "string",
"values": ["string"],
}],
"service_ports": {
"criteria": "string",
"ports": [0],
},
"status_code": {
"criteria": "string",
"http_status_code": "string",
},
},
"name": "string",
"active": False,
"logging": False,
}],
virtual_service_id="string",
nsxt_alb_virtual_service_http_resp_rules_id="string")
const nsxtAlbVirtualServiceHttpRespRulesResource = new vcd.NsxtAlbVirtualServiceHttpRespRules("nsxtAlbVirtualServiceHttpRespRulesResource", {
rules: [{
actions: {
modifyHeaders: [{
action: "string",
name: "string",
value: "string",
}],
rewriteLocationHeader: {
port: "string",
protocol: "string",
host: "string",
keepQuery: false,
path: "string",
},
},
matchCriteria: {
clientIpAddress: {
criteria: "string",
ipAddresses: ["string"],
},
cookie: {
criteria: "string",
name: "string",
value: "string",
},
httpMethods: {
criteria: "string",
methods: ["string"],
},
locationHeader: {
criteria: "string",
values: ["string"],
},
path: {
criteria: "string",
paths: ["string"],
},
protocolType: "string",
queries: ["string"],
requestHeaders: [{
criteria: "string",
name: "string",
values: ["string"],
}],
responseHeaders: [{
criteria: "string",
name: "string",
values: ["string"],
}],
servicePorts: {
criteria: "string",
ports: [0],
},
statusCode: {
criteria: "string",
httpStatusCode: "string",
},
},
name: "string",
active: false,
logging: false,
}],
virtualServiceId: "string",
nsxtAlbVirtualServiceHttpRespRulesId: "string",
});
type: vcd:NsxtAlbVirtualServiceHttpRespRules
properties:
nsxtAlbVirtualServiceHttpRespRulesId: string
rules:
- actions:
modifyHeaders:
- action: string
name: string
value: string
rewriteLocationHeader:
host: string
keepQuery: false
path: string
port: string
protocol: string
active: false
logging: false
matchCriteria:
clientIpAddress:
criteria: string
ipAddresses:
- string
cookie:
criteria: string
name: string
value: string
httpMethods:
criteria: string
methods:
- string
locationHeader:
criteria: string
values:
- string
path:
criteria: string
paths:
- string
protocolType: string
queries:
- string
requestHeaders:
- criteria: string
name: string
values:
- string
responseHeaders:
- criteria: string
name: string
values:
- string
servicePorts:
criteria: string
ports:
- 0
statusCode:
criteria: string
httpStatusCode: string
name: string
virtualServiceId: string
NsxtAlbVirtualServiceHttpRespRules 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 NsxtAlbVirtualServiceHttpRespRules resource accepts the following input properties:
- Rules
List<Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Id
- Rules
[]Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Id
- rules
List<Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Id
- rules
Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Id
- rules
Sequence[Nsxt
Alb Virtual Service Http Resp 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_ resp_ 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 Resp Rules Id
Outputs
All input properties are implicitly available as output properties. Additionally, the NsxtAlbVirtualServiceHttpRespRules 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 NsxtAlbVirtualServiceHttpRespRules Resource
Get an existing NsxtAlbVirtualServiceHttpRespRules 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?: NsxtAlbVirtualServiceHttpRespRulesState, opts?: CustomResourceOptions): NsxtAlbVirtualServiceHttpRespRules
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
nsxt_alb_virtual_service_http_resp_rules_id: Optional[str] = None,
rules: Optional[Sequence[NsxtAlbVirtualServiceHttpRespRulesRuleArgs]] = None,
virtual_service_id: Optional[str] = None) -> NsxtAlbVirtualServiceHttpRespRules
func GetNsxtAlbVirtualServiceHttpRespRules(ctx *Context, name string, id IDInput, state *NsxtAlbVirtualServiceHttpRespRulesState, opts ...ResourceOption) (*NsxtAlbVirtualServiceHttpRespRules, error)
public static NsxtAlbVirtualServiceHttpRespRules Get(string name, Input<string> id, NsxtAlbVirtualServiceHttpRespRulesState? state, CustomResourceOptions? opts = null)
public static NsxtAlbVirtualServiceHttpRespRules get(String name, Output<String> id, NsxtAlbVirtualServiceHttpRespRulesState state, CustomResourceOptions options)
resources: _: type: vcd:NsxtAlbVirtualServiceHttpRespRules 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 Resp Rules Id - Rules
List<Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Id - Rules
[]Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Id - rules
List<Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Id - rules
Nsxt
Alb Virtual Service Http Resp 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_ resp_ rules_ id - rules
Sequence[Nsxt
Alb Virtual Service Http Resp 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 Resp 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
NsxtAlbVirtualServiceHttpRespRulesRule, NsxtAlbVirtualServiceHttpRespRulesRuleArgs
- Actions
Nsxt
Alb Virtual Service Http Resp Rules Rule Actions - Actions to perform with the rule that matches
- Match
Criteria NsxtAlb Virtual Service Http Resp 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 Resp Rules Rule Actions - Actions to perform with the rule that matches
- Match
Criteria NsxtAlb Virtual Service Http Resp 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 Resp Rules Rule Actions - Actions to perform with the rule that matches
- match
Criteria NsxtAlb Virtual Service Http Resp 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 Resp Rules Rule Actions - Actions to perform with the rule that matches
- match
Criteria NsxtAlb Virtual Service Http Resp 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 Resp Rules Rule Actions - Actions to perform with the rule that matches
- match_
criteria NsxtAlb Virtual Service Http Resp 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
NsxtAlbVirtualServiceHttpRespRulesRuleActions, NsxtAlbVirtualServiceHttpRespRulesRuleActionsArgs
- modify
Headers List<Property Map> - Modify header
- rewrite
Location Property MapHeader - Rewrite location header
NsxtAlbVirtualServiceHttpRespRulesRuleActionsModifyHeader, NsxtAlbVirtualServiceHttpRespRulesRuleActionsModifyHeaderArgs
NsxtAlbVirtualServiceHttpRespRulesRuleActionsRewriteLocationHeader, NsxtAlbVirtualServiceHttpRespRulesRuleActionsRewriteLocationHeaderArgs
- port str
- Port to which redirect the request
- protocol str
- HTTP or HTTPS protocol
- 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
NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteria, NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaArgs
- Client
Ip NsxtAddress Alb Virtual Service Http Resp Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Resp Rules Rule Match Criteria Cookie - Criteria for matching cookie
- Http
Methods NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- Location
Header NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Location Header - A matching criteria for Location header
- Path
Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Rule Match Criteria Request Header> - A set of rules for matching request headers
- Response
Headers List<NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Response Header> - A set of criteria to match response headers
- Service
Ports NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Service Ports - Service Port criteria
- Status
Code NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Status Code - HTTP Status code to match
- Client
Ip NsxtAddress Alb Virtual Service Http Resp Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Resp Rules Rule Match Criteria Cookie - Criteria for matching cookie
- Http
Methods NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- Location
Header NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Location Header - A matching criteria for Location header
- Path
Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Rule Match Criteria Request Header - A set of rules for matching request headers
- Response
Headers []NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Response Header - A set of criteria to match response headers
- Service
Ports NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Service Ports - Service Port criteria
- Status
Code NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Status Code - HTTP Status code to match
- client
Ip NsxtAddress Alb Virtual Service Http Resp Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Resp Rules Rule Match Criteria Cookie - Criteria for matching cookie
- http
Methods NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- location
Header NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Location Header - A matching criteria for Location header
- path
Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Rule Match Criteria Request Header> - A set of rules for matching request headers
- response
Headers List<NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Response Header> - A set of criteria to match response headers
- service
Ports NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Service Ports - Service Port criteria
- status
Code NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Status Code - HTTP Status code to match
- client
Ip NsxtAddress Alb Virtual Service Http Resp Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Resp Rules Rule Match Criteria Cookie - Criteria for matching cookie
- http
Methods NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- location
Header NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Location Header - A matching criteria for Location header
- path
Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Rule Match Criteria Request Header[] - A set of rules for matching request headers
- response
Headers NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Response Header[] - A set of criteria to match response headers
- service
Ports NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Service Ports - Service Port criteria
- status
Code NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Status Code - HTTP Status code to match
- client_
ip_ Nsxtaddress Alb Virtual Service Http Resp Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Resp Rules Rule Match Criteria Cookie - Criteria for matching cookie
- http_
methods NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- location_
header NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Location Header - A matching criteria for Location header
- path
Nsxt
Alb Virtual Service Http Resp 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 Resp Rules Rule Match Criteria Request Header] - A set of rules for matching request headers
- response_
headers Sequence[NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Response Header] - A set of criteria to match response headers
- service_
ports NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Service Ports - Service Port criteria
- status_
code NsxtAlb Virtual Service Http Resp Rules Rule Match Criteria Status Code - HTTP Status code to match
- client
Ip Property MapAddress - Client IP Address criteria
- Property Map
- Criteria for matching cookie
- http
Methods Property Map - HTTP methods that should be matched
- location
Header Property Map - A matching criteria for Location header
- 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
- response
Headers List<Property Map> - A set of criteria to match response headers
- service
Ports Property Map - Service Port criteria
- status
Code Property Map - HTTP Status code to match
NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaClientIpAddress, NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaClientIpAddressArgs
- 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
NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaCookie, NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaCookieArgs
- 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
NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaHttpMethods, NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaHttpMethodsArgs
NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaLocationHeader, NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaLocationHeaderArgs
NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaPath, NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaPathArgs
NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaRequestHeader, NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaRequestHeaderArgs
- 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
NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaResponseHeader, NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaResponseHeaderArgs
- 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>
- A set of 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
- A set of 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>
- A set of 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[]
- A set of 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]
- A set of 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>
- A set of values to match for an HTTP header
NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaServicePorts, NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaServicePortsArgs
NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaStatusCode, NsxtAlbVirtualServiceHttpRespRulesRuleMatchCriteriaStatusCodeArgs
- Criteria string
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- Http
Status stringCode - Enter a http status code or range
- Criteria string
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- Http
Status stringCode - Enter a http status code or range
- criteria String
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- http
Status StringCode - Enter a http status code or range
- criteria string
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- http
Status stringCode - Enter a http status code or range
- criteria str
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- http_
status_ strcode - Enter a http status code or range
- criteria String
- Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
- http
Status StringCode - Enter a http status code or range
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.