vcd.NsxtAlbVirtualServiceHttpSecRules
Explore with Pulumi AI
Create NsxtAlbVirtualServiceHttpSecRules Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NsxtAlbVirtualServiceHttpSecRules(name: string, args: NsxtAlbVirtualServiceHttpSecRulesArgs, opts?: CustomResourceOptions);
@overload
def NsxtAlbVirtualServiceHttpSecRules(resource_name: str,
args: NsxtAlbVirtualServiceHttpSecRulesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NsxtAlbVirtualServiceHttpSecRules(resource_name: str,
opts: Optional[ResourceOptions] = None,
rules: Optional[Sequence[NsxtAlbVirtualServiceHttpSecRulesRuleArgs]] = None,
virtual_service_id: Optional[str] = None,
nsxt_alb_virtual_service_http_sec_rules_id: Optional[str] = None)
func NewNsxtAlbVirtualServiceHttpSecRules(ctx *Context, name string, args NsxtAlbVirtualServiceHttpSecRulesArgs, opts ...ResourceOption) (*NsxtAlbVirtualServiceHttpSecRules, error)
public NsxtAlbVirtualServiceHttpSecRules(string name, NsxtAlbVirtualServiceHttpSecRulesArgs args, CustomResourceOptions? opts = null)
public NsxtAlbVirtualServiceHttpSecRules(String name, NsxtAlbVirtualServiceHttpSecRulesArgs args)
public NsxtAlbVirtualServiceHttpSecRules(String name, NsxtAlbVirtualServiceHttpSecRulesArgs args, CustomResourceOptions options)
type: vcd:NsxtAlbVirtualServiceHttpSecRules
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 NsxtAlbVirtualServiceHttpSecRulesArgs
- 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 NsxtAlbVirtualServiceHttpSecRulesArgs
- 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 NsxtAlbVirtualServiceHttpSecRulesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NsxtAlbVirtualServiceHttpSecRulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NsxtAlbVirtualServiceHttpSecRulesArgs
- 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 nsxtAlbVirtualServiceHttpSecRulesResource = new Vcd.NsxtAlbVirtualServiceHttpSecRules("nsxtAlbVirtualServiceHttpSecRulesResource", new()
{
Rules = new[]
{
new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleArgs
{
Actions = new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleActionsArgs
{
Connections = "string",
RateLimit = new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitArgs
{
Count = "string",
Period = "string",
ActionCloseConnection = false,
ActionLocalResponses = new[]
{
new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionLocalResponseArgs
{
StatusCode = "string",
Content = "string",
ContentType = "string",
},
},
ActionRedirects = new[]
{
new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionRedirectArgs
{
Port = "string",
Protocol = "string",
StatusCode = 0,
Host = "string",
KeepQuery = false,
Path = "string",
},
},
},
RedirectToHttps = "string",
SendResponse = new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleActionsSendResponseArgs
{
StatusCode = "string",
Content = "string",
ContentType = "string",
},
},
MatchCriteria = new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaArgs
{
ClientIpAddress = new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaClientIpAddressArgs
{
Criteria = "string",
IpAddresses = new[]
{
"string",
},
},
Cookie = new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaCookieArgs
{
Criteria = "string",
Name = "string",
Value = "string",
},
HttpMethods = new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaHttpMethodsArgs
{
Criteria = "string",
Methods = new[]
{
"string",
},
},
Path = new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaPathArgs
{
Criteria = "string",
Paths = new[]
{
"string",
},
},
ProtocolType = "string",
Queries = new[]
{
"string",
},
RequestHeaders = new[]
{
new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaRequestHeaderArgs
{
Criteria = "string",
Name = "string",
Values = new[]
{
"string",
},
},
},
ServicePorts = new Vcd.Inputs.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaServicePortsArgs
{
Criteria = "string",
Ports = new[]
{
0,
},
},
},
Name = "string",
Active = false,
Logging = false,
},
},
VirtualServiceId = "string",
NsxtAlbVirtualServiceHttpSecRulesId = "string",
});
example, err := vcd.NewNsxtAlbVirtualServiceHttpSecRules(ctx, "nsxtAlbVirtualServiceHttpSecRulesResource", &vcd.NsxtAlbVirtualServiceHttpSecRulesArgs{
Rules: vcd.NsxtAlbVirtualServiceHttpSecRulesRuleArray{
&vcd.NsxtAlbVirtualServiceHttpSecRulesRuleArgs{
Actions: &vcd.NsxtAlbVirtualServiceHttpSecRulesRuleActionsArgs{
Connections: pulumi.String("string"),
RateLimit: &vcd.NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitArgs{
Count: pulumi.String("string"),
Period: pulumi.String("string"),
ActionCloseConnection: pulumi.Bool(false),
ActionLocalResponses: vcd.NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionLocalResponseArray{
&vcd.NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionLocalResponseArgs{
StatusCode: pulumi.String("string"),
Content: pulumi.String("string"),
ContentType: pulumi.String("string"),
},
},
ActionRedirects: vcd.NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionRedirectArray{
&vcd.NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionRedirectArgs{
Port: pulumi.String("string"),
Protocol: pulumi.String("string"),
StatusCode: pulumi.Float64(0),
Host: pulumi.String("string"),
KeepQuery: pulumi.Bool(false),
Path: pulumi.String("string"),
},
},
},
RedirectToHttps: pulumi.String("string"),
SendResponse: &vcd.NsxtAlbVirtualServiceHttpSecRulesRuleActionsSendResponseArgs{
StatusCode: pulumi.String("string"),
Content: pulumi.String("string"),
ContentType: pulumi.String("string"),
},
},
MatchCriteria: &vcd.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaArgs{
ClientIpAddress: &vcd.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaClientIpAddressArgs{
Criteria: pulumi.String("string"),
IpAddresses: pulumi.StringArray{
pulumi.String("string"),
},
},
Cookie: &vcd.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaCookieArgs{
Criteria: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
HttpMethods: &vcd.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaHttpMethodsArgs{
Criteria: pulumi.String("string"),
Methods: pulumi.StringArray{
pulumi.String("string"),
},
},
Path: &vcd.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaPathArgs{
Criteria: pulumi.String("string"),
Paths: pulumi.StringArray{
pulumi.String("string"),
},
},
ProtocolType: pulumi.String("string"),
Queries: pulumi.StringArray{
pulumi.String("string"),
},
RequestHeaders: vcd.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaRequestHeaderArray{
&vcd.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaRequestHeaderArgs{
Criteria: pulumi.String("string"),
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ServicePorts: &vcd.NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaServicePortsArgs{
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"),
NsxtAlbVirtualServiceHttpSecRulesId: pulumi.String("string"),
})
var nsxtAlbVirtualServiceHttpSecRulesResource = new NsxtAlbVirtualServiceHttpSecRules("nsxtAlbVirtualServiceHttpSecRulesResource", NsxtAlbVirtualServiceHttpSecRulesArgs.builder()
.rules(NsxtAlbVirtualServiceHttpSecRulesRuleArgs.builder()
.actions(NsxtAlbVirtualServiceHttpSecRulesRuleActionsArgs.builder()
.connections("string")
.rateLimit(NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitArgs.builder()
.count("string")
.period("string")
.actionCloseConnection(false)
.actionLocalResponses(NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionLocalResponseArgs.builder()
.statusCode("string")
.content("string")
.contentType("string")
.build())
.actionRedirects(NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionRedirectArgs.builder()
.port("string")
.protocol("string")
.statusCode(0)
.host("string")
.keepQuery(false)
.path("string")
.build())
.build())
.redirectToHttps("string")
.sendResponse(NsxtAlbVirtualServiceHttpSecRulesRuleActionsSendResponseArgs.builder()
.statusCode("string")
.content("string")
.contentType("string")
.build())
.build())
.matchCriteria(NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaArgs.builder()
.clientIpAddress(NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaClientIpAddressArgs.builder()
.criteria("string")
.ipAddresses("string")
.build())
.cookie(NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaCookieArgs.builder()
.criteria("string")
.name("string")
.value("string")
.build())
.httpMethods(NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaHttpMethodsArgs.builder()
.criteria("string")
.methods("string")
.build())
.path(NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaPathArgs.builder()
.criteria("string")
.paths("string")
.build())
.protocolType("string")
.queries("string")
.requestHeaders(NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaRequestHeaderArgs.builder()
.criteria("string")
.name("string")
.values("string")
.build())
.servicePorts(NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaServicePortsArgs.builder()
.criteria("string")
.ports(0)
.build())
.build())
.name("string")
.active(false)
.logging(false)
.build())
.virtualServiceId("string")
.nsxtAlbVirtualServiceHttpSecRulesId("string")
.build());
nsxt_alb_virtual_service_http_sec_rules_resource = vcd.NsxtAlbVirtualServiceHttpSecRules("nsxtAlbVirtualServiceHttpSecRulesResource",
rules=[{
"actions": {
"connections": "string",
"rate_limit": {
"count": "string",
"period": "string",
"action_close_connection": False,
"action_local_responses": [{
"status_code": "string",
"content": "string",
"content_type": "string",
}],
"action_redirects": [{
"port": "string",
"protocol": "string",
"status_code": 0,
"host": "string",
"keep_query": False,
"path": "string",
}],
},
"redirect_to_https": "string",
"send_response": {
"status_code": "string",
"content": "string",
"content_type": "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_sec_rules_id="string")
const nsxtAlbVirtualServiceHttpSecRulesResource = new vcd.NsxtAlbVirtualServiceHttpSecRules("nsxtAlbVirtualServiceHttpSecRulesResource", {
rules: [{
actions: {
connections: "string",
rateLimit: {
count: "string",
period: "string",
actionCloseConnection: false,
actionLocalResponses: [{
statusCode: "string",
content: "string",
contentType: "string",
}],
actionRedirects: [{
port: "string",
protocol: "string",
statusCode: 0,
host: "string",
keepQuery: false,
path: "string",
}],
},
redirectToHttps: "string",
sendResponse: {
statusCode: "string",
content: "string",
contentType: "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",
nsxtAlbVirtualServiceHttpSecRulesId: "string",
});
type: vcd:NsxtAlbVirtualServiceHttpSecRules
properties:
nsxtAlbVirtualServiceHttpSecRulesId: string
rules:
- actions:
connections: string
rateLimit:
actionCloseConnection: false
actionLocalResponses:
- content: string
contentType: string
statusCode: string
actionRedirects:
- host: string
keepQuery: false
path: string
port: string
protocol: string
statusCode: 0
count: string
period: string
redirectToHttps: string
sendResponse:
content: string
contentType: string
statusCode: 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
NsxtAlbVirtualServiceHttpSecRules 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 NsxtAlbVirtualServiceHttpSecRules resource accepts the following input properties:
- Rules
List<Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Id
- Rules
[]Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Id
- rules
List<Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Id
- rules
Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Id
- rules
Sequence[Nsxt
Alb Virtual Service Http Sec 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_ sec_ 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 Sec Rules Id
Outputs
All input properties are implicitly available as output properties. Additionally, the NsxtAlbVirtualServiceHttpSecRules 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 NsxtAlbVirtualServiceHttpSecRules Resource
Get an existing NsxtAlbVirtualServiceHttpSecRules 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?: NsxtAlbVirtualServiceHttpSecRulesState, opts?: CustomResourceOptions): NsxtAlbVirtualServiceHttpSecRules
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
nsxt_alb_virtual_service_http_sec_rules_id: Optional[str] = None,
rules: Optional[Sequence[NsxtAlbVirtualServiceHttpSecRulesRuleArgs]] = None,
virtual_service_id: Optional[str] = None) -> NsxtAlbVirtualServiceHttpSecRules
func GetNsxtAlbVirtualServiceHttpSecRules(ctx *Context, name string, id IDInput, state *NsxtAlbVirtualServiceHttpSecRulesState, opts ...ResourceOption) (*NsxtAlbVirtualServiceHttpSecRules, error)
public static NsxtAlbVirtualServiceHttpSecRules Get(string name, Input<string> id, NsxtAlbVirtualServiceHttpSecRulesState? state, CustomResourceOptions? opts = null)
public static NsxtAlbVirtualServiceHttpSecRules get(String name, Output<String> id, NsxtAlbVirtualServiceHttpSecRulesState state, CustomResourceOptions options)
resources: _: type: vcd:NsxtAlbVirtualServiceHttpSecRules 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 Sec Rules Id - Rules
List<Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Id - Rules
[]Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Id - rules
List<Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Id - rules
Nsxt
Alb Virtual Service Http Sec 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_ sec_ rules_ id - rules
Sequence[Nsxt
Alb Virtual Service Http Sec 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 Sec 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
NsxtAlbVirtualServiceHttpSecRulesRule, NsxtAlbVirtualServiceHttpSecRulesRuleArgs
- Actions
Nsxt
Alb Virtual Service Http Sec Rules Rule Actions - Actions to perform with the rule that matches
- Match
Criteria NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria - Rule matching Criteria
- Name string
- Name of the rule
- Active bool
- Defines is 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 Sec Rules Rule Actions - Actions to perform with the rule that matches
- Match
Criteria NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria - Rule matching Criteria
- Name string
- Name of the rule
- Active bool
- Defines is 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 Sec Rules Rule Actions - Actions to perform with the rule that matches
- match
Criteria NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria - Rule matching Criteria
- name String
- Name of the rule
- active Boolean
- Defines is 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 Sec Rules Rule Actions - Actions to perform with the rule that matches
- match
Criteria NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria - Rule matching Criteria
- name string
- Name of the rule
- active boolean
- Defines is 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 Sec Rules Rule Actions - Actions to perform with the rule that matches
- match_
criteria NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria - Rule matching Criteria
- name str
- Name of the rule
- active bool
- Defines is 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 is the rule is active or not
- logging Boolean
- Defines whether to enable logging with headers on rule match or not
NsxtAlbVirtualServiceHttpSecRulesRuleActions, NsxtAlbVirtualServiceHttpSecRulesRuleActionsArgs
- Connections string
- ALLOW or CLOSE connections
- Rate
Limit NsxtAlb Virtual Service Http Sec Rules Rule Actions Rate Limit - Apply actions based on rate limits
- Redirect
To stringHttps - Port number that should be redirected to HTTPS
- Send
Response NsxtAlb Virtual Service Http Sec Rules Rule Actions Send Response - Send custom response
- Connections string
- ALLOW or CLOSE connections
- Rate
Limit NsxtAlb Virtual Service Http Sec Rules Rule Actions Rate Limit - Apply actions based on rate limits
- Redirect
To stringHttps - Port number that should be redirected to HTTPS
- Send
Response NsxtAlb Virtual Service Http Sec Rules Rule Actions Send Response - Send custom response
- connections String
- ALLOW or CLOSE connections
- rate
Limit NsxtAlb Virtual Service Http Sec Rules Rule Actions Rate Limit - Apply actions based on rate limits
- redirect
To StringHttps - Port number that should be redirected to HTTPS
- send
Response NsxtAlb Virtual Service Http Sec Rules Rule Actions Send Response - Send custom response
- connections string
- ALLOW or CLOSE connections
- rate
Limit NsxtAlb Virtual Service Http Sec Rules Rule Actions Rate Limit - Apply actions based on rate limits
- redirect
To stringHttps - Port number that should be redirected to HTTPS
- send
Response NsxtAlb Virtual Service Http Sec Rules Rule Actions Send Response - Send custom response
- connections str
- ALLOW or CLOSE connections
- rate_
limit NsxtAlb Virtual Service Http Sec Rules Rule Actions Rate Limit - Apply actions based on rate limits
- redirect_
to_ strhttps - Port number that should be redirected to HTTPS
- send_
response NsxtAlb Virtual Service Http Sec Rules Rule Actions Send Response - Send custom response
- connections String
- ALLOW or CLOSE connections
- rate
Limit Property Map - Apply actions based on rate limits
- redirect
To StringHttps - Port number that should be redirected to HTTPS
- send
Response Property Map - Send custom response
NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimit, NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitArgs
- Count string
- Maximum number of connections, requests or packets permitted each period. The count must be between 1 and 1000000000
- Period string
- Time value in seconds to enforce rate count. The period must be between 1 and 1000000000
- Action
Close boolConnection - Set to true if the connection should be closed
- Action
Local List<NsxtResponses Alb Virtual Service Http Sec Rules Rule Actions Rate Limit Action Local Response> - Send custom response
- Action
Redirects List<NsxtAlb Virtual Service Http Sec Rules Rule Actions Rate Limit Action Redirect> - Redirect based on rate limits
- Count string
- Maximum number of connections, requests or packets permitted each period. The count must be between 1 and 1000000000
- Period string
- Time value in seconds to enforce rate count. The period must be between 1 and 1000000000
- Action
Close boolConnection - Set to true if the connection should be closed
- Action
Local []NsxtResponses Alb Virtual Service Http Sec Rules Rule Actions Rate Limit Action Local Response - Send custom response
- Action
Redirects []NsxtAlb Virtual Service Http Sec Rules Rule Actions Rate Limit Action Redirect - Redirect based on rate limits
- count String
- Maximum number of connections, requests or packets permitted each period. The count must be between 1 and 1000000000
- period String
- Time value in seconds to enforce rate count. The period must be between 1 and 1000000000
- action
Close BooleanConnection - Set to true if the connection should be closed
- action
Local List<NsxtResponses Alb Virtual Service Http Sec Rules Rule Actions Rate Limit Action Local Response> - Send custom response
- action
Redirects List<NsxtAlb Virtual Service Http Sec Rules Rule Actions Rate Limit Action Redirect> - Redirect based on rate limits
- count string
- Maximum number of connections, requests or packets permitted each period. The count must be between 1 and 1000000000
- period string
- Time value in seconds to enforce rate count. The period must be between 1 and 1000000000
- action
Close booleanConnection - Set to true if the connection should be closed
- action
Local NsxtResponses Alb Virtual Service Http Sec Rules Rule Actions Rate Limit Action Local Response[] - Send custom response
- action
Redirects NsxtAlb Virtual Service Http Sec Rules Rule Actions Rate Limit Action Redirect[] - Redirect based on rate limits
- count str
- Maximum number of connections, requests or packets permitted each period. The count must be between 1 and 1000000000
- period str
- Time value in seconds to enforce rate count. The period must be between 1 and 1000000000
- action_
close_ boolconnection - Set to true if the connection should be closed
- action_
local_ Sequence[Nsxtresponses Alb Virtual Service Http Sec Rules Rule Actions Rate Limit Action Local Response] - Send custom response
- action_
redirects Sequence[NsxtAlb Virtual Service Http Sec Rules Rule Actions Rate Limit Action Redirect] - Redirect based on rate limits
- count String
- Maximum number of connections, requests or packets permitted each period. The count must be between 1 and 1000000000
- period String
- Time value in seconds to enforce rate count. The period must be between 1 and 1000000000
- action
Close BooleanConnection - Set to true if the connection should be closed
- action
Local List<Property Map>Responses - Send custom response
- action
Redirects List<Property Map> - Redirect based on rate limits
NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionLocalResponse, NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionLocalResponseArgs
- Status
Code string - HTTP Status code to send
- Content string
- Base64 encoded content
- Content
Type string - MIME type for the content
- Status
Code string - HTTP Status code to send
- Content string
- Base64 encoded content
- Content
Type string - MIME type for the content
- status
Code String - HTTP Status code to send
- content String
- Base64 encoded content
- content
Type String - MIME type for the content
- status
Code string - HTTP Status code to send
- content string
- Base64 encoded content
- content
Type string - MIME type for the content
- status_
code str - HTTP Status code to send
- content str
- Base64 encoded content
- content_
type str - MIME type for the content
- status
Code String - HTTP Status code to send
- content String
- Base64 encoded content
- content
Type String - MIME type for the content
NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionRedirect, NsxtAlbVirtualServiceHttpSecRulesRuleActionsRateLimitActionRedirectArgs
- port str
- Port to which redirect the request
- 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
NsxtAlbVirtualServiceHttpSecRulesRuleActionsSendResponse, NsxtAlbVirtualServiceHttpSecRulesRuleActionsSendResponseArgs
- Status
Code string - HTTP Status code to send
- Content string
- Base64 encoded content
- Content
Type string - MIME type for the content
- Status
Code string - HTTP Status code to send
- Content string
- Base64 encoded content
- Content
Type string - MIME type for the content
- status
Code String - HTTP Status code to send
- content String
- Base64 encoded content
- content
Type String - MIME type for the content
- status
Code string - HTTP Status code to send
- content string
- Base64 encoded content
- content
Type string - MIME type for the content
- status_
code str - HTTP Status code to send
- content str
- Base64 encoded content
- content_
type str - MIME type for the content
- status
Code String - HTTP Status code to send
- content String
- Base64 encoded content
- content
Type String - MIME type for the content
NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteria, NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaArgs
- Client
Ip NsxtAddress Alb Virtual Service Http Sec Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Sec Rules Rule Match Criteria Cookie - Criteria for matching cookie
- Http
Methods NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- Path
Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Rule Match Criteria Request Header> - A set of rules for matching request headers
- Service
Ports NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria Service Ports - Service Port criteria
- Client
Ip NsxtAddress Alb Virtual Service Http Sec Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Sec Rules Rule Match Criteria Cookie - Criteria for matching cookie
- Http
Methods NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- Path
Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Rule Match Criteria Request Header - A set of rules for matching request headers
- Service
Ports NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria Service Ports - Service Port criteria
- client
Ip NsxtAddress Alb Virtual Service Http Sec Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Sec Rules Rule Match Criteria Cookie - Criteria for matching cookie
- http
Methods NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- path
Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Rule Match Criteria Request Header> - A set of rules for matching request headers
- service
Ports NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria Service Ports - Service Port criteria
- client
Ip NsxtAddress Alb Virtual Service Http Sec Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Sec Rules Rule Match Criteria Cookie - Criteria for matching cookie
- http
Methods NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- path
Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Rule Match Criteria Request Header[] - A set of rules for matching request headers
- service
Ports NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria Service Ports - Service Port criteria
- client_
ip_ Nsxtaddress Alb Virtual Service Http Sec Rules Rule Match Criteria Client Ip Address - Client IP Address criteria
- Nsxt
Alb Virtual Service Http Sec Rules Rule Match Criteria Cookie - Criteria for matching cookie
- http_
methods NsxtAlb Virtual Service Http Sec Rules Rule Match Criteria Http Methods - HTTP methods that should be matched
- path
Nsxt
Alb Virtual Service Http Sec 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 Sec Rules Rule Match Criteria Request Header] - A set of rules for matching request headers
- service_
ports NsxtAlb Virtual Service Http Sec 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
NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaClientIpAddress, NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaClientIpAddressArgs
- 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
NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaCookie, NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaCookieArgs
- 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
NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaHttpMethods, NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaHttpMethodsArgs
NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaPath, NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaPathArgs
NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaRequestHeader, NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaRequestHeaderArgs
- 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
NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaServicePorts, NsxtAlbVirtualServiceHttpSecRulesRuleMatchCriteriaServicePortsArgs
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.