1. Packages
  2. Vcd Provider
  3. API Docs
  4. NsxtAlbVirtualServiceHttpReqRules
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

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 This property is required. string
The unique name of the resource.
args This property is required. NsxtAlbVirtualServiceHttpReqRulesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. NsxtAlbVirtualServiceHttpReqRulesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NsxtAlbVirtualServiceHttpReqRulesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
example, err := vcd.NewNsxtAlbVirtualServiceHttpReqRules(ctx, "nsxtAlbVirtualServiceHttpReqRulesResource", &vcd.NsxtAlbVirtualServiceHttpReqRulesArgs{
Rules: .NsxtAlbVirtualServiceHttpReqRulesRuleArray{
&.NsxtAlbVirtualServiceHttpReqRulesRuleArgs{
Actions: &.NsxtAlbVirtualServiceHttpReqRulesRuleActionsArgs{
ModifyHeaders: .NsxtAlbVirtualServiceHttpReqRulesRuleActionsModifyHeaderArray{
&.NsxtAlbVirtualServiceHttpReqRulesRuleActionsModifyHeaderArgs{
Action: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Redirect: &.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: &.NsxtAlbVirtualServiceHttpReqRulesRuleActionsRewriteUrlArgs{
ExistingPath: pulumi.String("string"),
HostHeader: pulumi.String("string"),
KeepQuery: pulumi.Bool(false),
Query: pulumi.String("string"),
},
},
MatchCriteria: &.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaArgs{
ClientIpAddress: &.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaClientIpAddressArgs{
Criteria: pulumi.String("string"),
IpAddresses: pulumi.StringArray{
pulumi.String("string"),
},
},
Cookie: &.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaCookieArgs{
Criteria: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
HttpMethods: &.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaHttpMethodsArgs{
Criteria: pulumi.String("string"),
Methods: pulumi.StringArray{
pulumi.String("string"),
},
},
Path: &.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaPathArgs{
Criteria: pulumi.String("string"),
Paths: pulumi.StringArray{
pulumi.String("string"),
},
},
ProtocolType: pulumi.String("string"),
Queries: pulumi.StringArray{
pulumi.String("string"),
},
RequestHeaders: .NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaRequestHeaderArray{
&.NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaRequestHeaderArgs{
Criteria: pulumi.String("string"),
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ServicePorts: &.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"),
})
Copy
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());
Copy
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")
Copy
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",
});
Copy
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
Copy

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 This property is required. List<NsxtAlbVirtualServiceHttpReqRulesRule>

One or more rule blocks with matching criteria and actions.

VirtualServiceId This property is required. string
An ID of existing ALB Virtual Service.
NsxtAlbVirtualServiceHttpReqRulesId string
Rules This property is required. []NsxtAlbVirtualServiceHttpReqRulesRuleArgs

One or more rule blocks with matching criteria and actions.

VirtualServiceId This property is required. string
An ID of existing ALB Virtual Service.
NsxtAlbVirtualServiceHttpReqRulesId string
rules This property is required. List<NsxtAlbVirtualServiceHttpReqRulesRule>

One or more rule blocks with matching criteria and actions.

virtualServiceId This property is required. String
An ID of existing ALB Virtual Service.
nsxtAlbVirtualServiceHttpReqRulesId String
rules This property is required. NsxtAlbVirtualServiceHttpReqRulesRule[]

One or more rule blocks with matching criteria and actions.

virtualServiceId This property is required. string
An ID of existing ALB Virtual Service.
nsxtAlbVirtualServiceHttpReqRulesId string
rules This property is required. Sequence[NsxtAlbVirtualServiceHttpReqRulesRuleArgs]

One or more rule blocks with matching criteria and actions.

virtual_service_id This property is required. str
An ID of existing ALB Virtual Service.
nsxt_alb_virtual_service_http_req_rules_id str
rules This property is required. List<Property Map>

One or more rule blocks with matching criteria and actions.

virtualServiceId This property is required. String
An ID of existing ALB Virtual Service.
nsxtAlbVirtualServiceHttpReqRulesId String

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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
NsxtAlbVirtualServiceHttpReqRulesId string
Rules List<NsxtAlbVirtualServiceHttpReqRulesRule>

One or more rule blocks with matching criteria and actions.

VirtualServiceId string
An ID of existing ALB Virtual Service.
NsxtAlbVirtualServiceHttpReqRulesId string
Rules []NsxtAlbVirtualServiceHttpReqRulesRuleArgs

One or more rule blocks with matching criteria and actions.

VirtualServiceId string
An ID of existing ALB Virtual Service.
nsxtAlbVirtualServiceHttpReqRulesId String
rules List<NsxtAlbVirtualServiceHttpReqRulesRule>

One or more rule blocks with matching criteria and actions.

virtualServiceId String
An ID of existing ALB Virtual Service.
nsxtAlbVirtualServiceHttpReqRulesId string
rules NsxtAlbVirtualServiceHttpReqRulesRule[]

One or more rule blocks with matching criteria and actions.

virtualServiceId string
An ID of existing ALB Virtual Service.
nsxt_alb_virtual_service_http_req_rules_id str
rules Sequence[NsxtAlbVirtualServiceHttpReqRulesRuleArgs]

One or more rule blocks with matching criteria and actions.

virtual_service_id str
An ID of existing ALB Virtual Service.
nsxtAlbVirtualServiceHttpReqRulesId String
rules List<Property Map>

One or more rule blocks with matching criteria and actions.

virtualServiceId String
An ID of existing ALB Virtual Service.

Supporting Types

NsxtAlbVirtualServiceHttpReqRulesRule
, NsxtAlbVirtualServiceHttpReqRulesRuleArgs

Actions This property is required. NsxtAlbVirtualServiceHttpReqRulesRuleActions
Actions to perform with the rule that matches
MatchCriteria This property is required. NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteria
Rule matching Criteria
Name This property is required. 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 This property is required. NsxtAlbVirtualServiceHttpReqRulesRuleActions
Actions to perform with the rule that matches
MatchCriteria This property is required. NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteria
Rule matching Criteria
Name This property is required. 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 This property is required. NsxtAlbVirtualServiceHttpReqRulesRuleActions
Actions to perform with the rule that matches
matchCriteria This property is required. NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteria
Rule matching Criteria
name This property is required. 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 This property is required. NsxtAlbVirtualServiceHttpReqRulesRuleActions
Actions to perform with the rule that matches
matchCriteria This property is required. NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteria
Rule matching Criteria
name This property is required. 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 This property is required. NsxtAlbVirtualServiceHttpReqRulesRuleActions
Actions to perform with the rule that matches
match_criteria This property is required. NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteria
Rule matching Criteria
name This property is required. 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 This property is required. Property Map
Actions to perform with the rule that matches
matchCriteria This property is required. Property Map
Rule matching Criteria
name This property is required. 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

modifyHeaders List<Property Map>
A set of header modification rules
redirect Property Map
Redirect request
rewriteUrl Property Map
URL rewrite rules

NsxtAlbVirtualServiceHttpReqRulesRuleActionsModifyHeader
, NsxtAlbVirtualServiceHttpReqRulesRuleActionsModifyHeaderArgs

Action This property is required. string
One of the following HTTP header actions. Options - ADD, REMOVE, REPLACE
Name This property is required. string
HTTP header name
Value string
HTTP header value
Action This property is required. string
One of the following HTTP header actions. Options - ADD, REMOVE, REPLACE
Name This property is required. string
HTTP header name
Value string
HTTP header value
action This property is required. String
One of the following HTTP header actions. Options - ADD, REMOVE, REPLACE
name This property is required. String
HTTP header name
value String
HTTP header value
action This property is required. string
One of the following HTTP header actions. Options - ADD, REMOVE, REPLACE
name This property is required. string
HTTP header name
value string
HTTP header value
action This property is required. str
One of the following HTTP header actions. Options - ADD, REMOVE, REPLACE
name This property is required. str
HTTP header name
value str
HTTP header value
action This property is required. String
One of the following HTTP header actions. Options - ADD, REMOVE, REPLACE
name This property is required. String
HTTP header name
value String
HTTP header value

NsxtAlbVirtualServiceHttpReqRulesRuleActionsRedirect
, NsxtAlbVirtualServiceHttpReqRulesRuleActionsRedirectArgs

Protocol This property is required. string
HTTP or HTTPS protocol
StatusCode This property is required. double
One of the redirect status codes - 301, 302, 307
Host string
Host to which redirect the request
KeepQuery 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 This property is required. string
HTTP or HTTPS protocol
StatusCode This property is required. float64
One of the redirect status codes - 301, 302, 307
Host string
Host to which redirect the request
KeepQuery 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 This property is required. String
HTTP or HTTPS protocol
statusCode This property is required. Double
One of the redirect status codes - 301, 302, 307
host String
Host to which redirect the request
keepQuery 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 This property is required. string
HTTP or HTTPS protocol
statusCode This property is required. number
One of the redirect status codes - 301, 302, 307
host string
Host to which redirect the request
keepQuery 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 This property is required. str
HTTP or HTTPS protocol
status_code This property is required. 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 This property is required. String
HTTP or HTTPS protocol
statusCode This property is required. Number
One of the redirect status codes - 301, 302, 307
host String
Host to which redirect the request
keepQuery 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

ExistingPath This property is required. string
Path to use for the rewritten URL
HostHeader This property is required. string
Host to use for the rewritten URL
KeepQuery 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
ExistingPath This property is required. string
Path to use for the rewritten URL
HostHeader This property is required. string
Host to use for the rewritten URL
KeepQuery 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
existingPath This property is required. String
Path to use for the rewritten URL
hostHeader This property is required. String
Host to use for the rewritten URL
keepQuery 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
existingPath This property is required. string
Path to use for the rewritten URL
hostHeader This property is required. string
Host to use for the rewritten URL
keepQuery 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 This property is required. str
Path to use for the rewritten URL
host_header This property is required. 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
existingPath This property is required. String
Path to use for the rewritten URL
hostHeader This property is required. String
Host to use for the rewritten URL
keepQuery 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

clientIpAddress Property Map
Client IP Address criteria
cookie Property Map
Criteria for matching cookie
httpMethods Property Map
HTTP methods that should be matched
path Property Map
Request path criteria
protocolType String
Protocol to match - 'HTTP' or 'HTTPS'
queries List<String>
HTTP request query strings to match
requestHeaders List<Property Map>
A set of rules for matching request headers
servicePorts Property Map
Service Port criteria

NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaClientIpAddress
, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaClientIpAddressArgs

Criteria This property is required. string
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
IpAddresses This property is required. List<string>
A set of IP addresses
Criteria This property is required. string
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
IpAddresses This property is required. []string
A set of IP addresses
criteria This property is required. String
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
ipAddresses This property is required. List<String>
A set of IP addresses
criteria This property is required. string
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
ipAddresses This property is required. string[]
A set of IP addresses
criteria This property is required. str
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
ip_addresses This property is required. Sequence[str]
A set of IP addresses
criteria This property is required. String
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN.
ipAddresses This property is required. List<String>
A set of IP addresses

NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaCookie
, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaCookieArgs

Criteria This property is required. 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 This property is required. string
Name of the HTTP cookie whose value is to be matched
Value This property is required. string
String values to match for an HTTP cookie
Criteria This property is required. 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 This property is required. string
Name of the HTTP cookie whose value is to be matched
Value This property is required. string
String values to match for an HTTP cookie
criteria This property is required. 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 This property is required. String
Name of the HTTP cookie whose value is to be matched
value This property is required. String
String values to match for an HTTP cookie
criteria This property is required. 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 This property is required. string
Name of the HTTP cookie whose value is to be matched
value This property is required. string
String values to match for an HTTP cookie
criteria This property is required. 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 This property is required. str
Name of the HTTP cookie whose value is to be matched
value This property is required. str
String values to match for an HTTP cookie
criteria This property is required. 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 This property is required. String
Name of the HTTP cookie whose value is to be matched
value This property is required. String
String values to match for an HTTP cookie

NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaHttpMethods
, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaHttpMethodsArgs

Criteria This property is required. string
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
Methods This property is required. List<string>
HTTP methods to match. Options - GET, PUT, POST, DELETE, HEAD, OPTIONS, TRACE, CONNECT, PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK
Criteria This property is required. string
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
Methods This property is required. []string
HTTP methods to match. Options - GET, PUT, POST, DELETE, HEAD, OPTIONS, TRACE, CONNECT, PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK
criteria This property is required. String
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
methods This property is required. List<String>
HTTP methods to match. Options - GET, PUT, POST, DELETE, HEAD, OPTIONS, TRACE, CONNECT, PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK
criteria This property is required. string
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
methods This property is required. string[]
HTTP methods to match. Options - GET, PUT, POST, DELETE, HEAD, OPTIONS, TRACE, CONNECT, PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK
criteria This property is required. str
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
methods This property is required. Sequence[str]
HTTP methods to match. Options - GET, PUT, POST, DELETE, HEAD, OPTIONS, TRACE, CONNECT, PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK
criteria This property is required. String
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
methods This property is required. List<String>
HTTP methods to match. Options - GET, PUT, POST, DELETE, HEAD, OPTIONS, TRACE, CONNECT, PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK

NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaPath
, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaPathArgs

Criteria This property is required. string
Criteria to use for matching the path in the HTTP request URI. Options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH
Paths This property is required. List<string>
String values to match the path
Criteria This property is required. string
Criteria to use for matching the path in the HTTP request URI. Options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH
Paths This property is required. []string
String values to match the path
criteria This property is required. String
Criteria to use for matching the path in the HTTP request URI. Options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH
paths This property is required. List<String>
String values to match the path
criteria This property is required. string
Criteria to use for matching the path in the HTTP request URI. Options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH
paths This property is required. string[]
String values to match the path
criteria This property is required. str
Criteria to use for matching the path in the HTTP request URI. Options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH
paths This property is required. Sequence[str]
String values to match the path
criteria This property is required. String
Criteria to use for matching the path in the HTTP request URI. Options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH
paths This property is required. List<String>
String values to match the path

NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaRequestHeader
, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaRequestHeaderArgs

Criteria This property is required. 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 This property is required. string
Name of the HTTP header whose value is to be matched
Values This property is required. List<string>
String values to match for an HTTP header
Criteria This property is required. 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 This property is required. string
Name of the HTTP header whose value is to be matched
Values This property is required. []string
String values to match for an HTTP header
criteria This property is required. 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 This property is required. String
Name of the HTTP header whose value is to be matched
values This property is required. List<String>
String values to match for an HTTP header
criteria This property is required. 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 This property is required. string
Name of the HTTP header whose value is to be matched
values This property is required. string[]
String values to match for an HTTP header
criteria This property is required. 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 This property is required. str
Name of the HTTP header whose value is to be matched
values This property is required. Sequence[str]
String values to match for an HTTP header
criteria This property is required. 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 This property is required. String
Name of the HTTP header whose value is to be matched
values This property is required. List<String>
String values to match for an HTTP header

NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaServicePorts
, NsxtAlbVirtualServiceHttpReqRulesRuleMatchCriteriaServicePortsArgs

Criteria This property is required. string
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
Ports This property is required. List<double>
A set of TCP ports. Allowed values are 1-65535
Criteria This property is required. string
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
Ports This property is required. []float64
A set of TCP ports. Allowed values are 1-65535
criteria This property is required. String
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
ports This property is required. List<Double>
A set of TCP ports. Allowed values are 1-65535
criteria This property is required. string
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
ports This property is required. number[]
A set of TCP ports. Allowed values are 1-65535
criteria This property is required. str
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
ports This property is required. Sequence[float]
A set of TCP ports. Allowed values are 1-65535
criteria This property is required. String
Criteria to use for IP address matching the HTTP request. Options - IS_IN, IS_NOT_IN
ports This property is required. List<Number>
A set of TCP ports. Allowed values are 1-65535

Package Details

Repository
vcd vmware/terraform-provider-vcd
License
Notes
This Pulumi package is based on the vcd Terraform Provider.