nsxt.VpcGatewayPolicy
Explore with Pulumi AI
Create VpcGatewayPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcGatewayPolicy(name: string, args: VpcGatewayPolicyArgs, opts?: CustomResourceOptions);
@overload
def VpcGatewayPolicy(resource_name: str,
args: VpcGatewayPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcGatewayPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
context: Optional[VpcGatewayPolicyContextArgs] = None,
display_name: Optional[str] = None,
comments: Optional[str] = None,
description: Optional[str] = None,
locked: Optional[bool] = None,
nsx_id: Optional[str] = None,
rules: Optional[Sequence[VpcGatewayPolicyRuleArgs]] = None,
sequence_number: Optional[float] = None,
stateful: Optional[bool] = None,
tags: Optional[Sequence[VpcGatewayPolicyTagArgs]] = None,
tcp_strict: Optional[bool] = None,
vpc_gateway_policy_id: Optional[str] = None)
func NewVpcGatewayPolicy(ctx *Context, name string, args VpcGatewayPolicyArgs, opts ...ResourceOption) (*VpcGatewayPolicy, error)
public VpcGatewayPolicy(string name, VpcGatewayPolicyArgs args, CustomResourceOptions? opts = null)
public VpcGatewayPolicy(String name, VpcGatewayPolicyArgs args)
public VpcGatewayPolicy(String name, VpcGatewayPolicyArgs args, CustomResourceOptions options)
type: nsxt:VpcGatewayPolicy
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 VpcGatewayPolicyArgs
- 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 VpcGatewayPolicyArgs
- 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 VpcGatewayPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcGatewayPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcGatewayPolicyArgs
- 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 vpcGatewayPolicyResource = new Nsxt.VpcGatewayPolicy("vpcGatewayPolicyResource", new()
{
Context = new Nsxt.Inputs.VpcGatewayPolicyContextArgs
{
ProjectId = "string",
VpcId = "string",
},
DisplayName = "string",
Comments = "string",
Description = "string",
Locked = false,
NsxId = "string",
Rules = new[]
{
new Nsxt.Inputs.VpcGatewayPolicyRuleArgs
{
DisplayName = "string",
Notes = "string",
Path = "string",
DestinationsExcluded = false,
Direction = "string",
Disabled = false,
Description = "string",
IpVersion = "string",
LogLabel = "string",
Logged = false,
Profiles = new[]
{
"string",
},
DestinationGroups = new[]
{
"string",
},
NsxId = "string",
Action = "string",
Revision = 0,
RuleId = 0,
Scopes = new[]
{
"string",
},
SequenceNumber = 0,
ServiceEntries = new Nsxt.Inputs.VpcGatewayPolicyRuleServiceEntriesArgs
{
AlgorithmEntries = new[]
{
new Nsxt.Inputs.VpcGatewayPolicyRuleServiceEntriesAlgorithmEntryArgs
{
Algorithm = "string",
DestinationPort = "string",
Description = "string",
DisplayName = "string",
SourcePorts = new[]
{
"string",
},
},
},
EtherTypeEntries = new[]
{
new Nsxt.Inputs.VpcGatewayPolicyRuleServiceEntriesEtherTypeEntryArgs
{
EtherType = 0,
Description = "string",
DisplayName = "string",
},
},
IcmpEntries = new[]
{
new Nsxt.Inputs.VpcGatewayPolicyRuleServiceEntriesIcmpEntryArgs
{
Protocol = "string",
Description = "string",
DisplayName = "string",
IcmpCode = "string",
IcmpType = "string",
},
},
IgmpEntries = new[]
{
new Nsxt.Inputs.VpcGatewayPolicyRuleServiceEntriesIgmpEntryArgs
{
Description = "string",
DisplayName = "string",
},
},
IpProtocolEntries = new[]
{
new Nsxt.Inputs.VpcGatewayPolicyRuleServiceEntriesIpProtocolEntryArgs
{
Protocol = 0,
Description = "string",
DisplayName = "string",
},
},
L4PortSetEntries = new[]
{
new Nsxt.Inputs.VpcGatewayPolicyRuleServiceEntriesL4PortSetEntryArgs
{
Protocol = "string",
Description = "string",
DestinationPorts = new[]
{
"string",
},
DisplayName = "string",
SourcePorts = new[]
{
"string",
},
},
},
},
Services = new[]
{
"string",
},
SourceGroups = new[]
{
"string",
},
SourcesExcluded = false,
Tags = new[]
{
new Nsxt.Inputs.VpcGatewayPolicyRuleTagArgs
{
Scope = "string",
Tag = "string",
},
},
},
},
SequenceNumber = 0,
Stateful = false,
Tags = new[]
{
new Nsxt.Inputs.VpcGatewayPolicyTagArgs
{
Scope = "string",
Tag = "string",
},
},
TcpStrict = false,
VpcGatewayPolicyId = "string",
});
example, err := nsxt.NewVpcGatewayPolicy(ctx, "vpcGatewayPolicyResource", &nsxt.VpcGatewayPolicyArgs{
Context: &nsxt.VpcGatewayPolicyContextArgs{
ProjectId: pulumi.String("string"),
VpcId: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
Comments: pulumi.String("string"),
Description: pulumi.String("string"),
Locked: pulumi.Bool(false),
NsxId: pulumi.String("string"),
Rules: nsxt.VpcGatewayPolicyRuleArray{
&nsxt.VpcGatewayPolicyRuleArgs{
DisplayName: pulumi.String("string"),
Notes: pulumi.String("string"),
Path: pulumi.String("string"),
DestinationsExcluded: pulumi.Bool(false),
Direction: pulumi.String("string"),
Disabled: pulumi.Bool(false),
Description: pulumi.String("string"),
IpVersion: pulumi.String("string"),
LogLabel: pulumi.String("string"),
Logged: pulumi.Bool(false),
Profiles: pulumi.StringArray{
pulumi.String("string"),
},
DestinationGroups: pulumi.StringArray{
pulumi.String("string"),
},
NsxId: pulumi.String("string"),
Action: pulumi.String("string"),
Revision: pulumi.Float64(0),
RuleId: pulumi.Float64(0),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
SequenceNumber: pulumi.Float64(0),
ServiceEntries: &nsxt.VpcGatewayPolicyRuleServiceEntriesArgs{
AlgorithmEntries: nsxt.VpcGatewayPolicyRuleServiceEntriesAlgorithmEntryArray{
&nsxt.VpcGatewayPolicyRuleServiceEntriesAlgorithmEntryArgs{
Algorithm: pulumi.String("string"),
DestinationPort: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
SourcePorts: pulumi.StringArray{
pulumi.String("string"),
},
},
},
EtherTypeEntries: nsxt.VpcGatewayPolicyRuleServiceEntriesEtherTypeEntryArray{
&nsxt.VpcGatewayPolicyRuleServiceEntriesEtherTypeEntryArgs{
EtherType: pulumi.Float64(0),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
},
},
IcmpEntries: nsxt.VpcGatewayPolicyRuleServiceEntriesIcmpEntryArray{
&nsxt.VpcGatewayPolicyRuleServiceEntriesIcmpEntryArgs{
Protocol: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
IcmpCode: pulumi.String("string"),
IcmpType: pulumi.String("string"),
},
},
IgmpEntries: nsxt.VpcGatewayPolicyRuleServiceEntriesIgmpEntryArray{
&nsxt.VpcGatewayPolicyRuleServiceEntriesIgmpEntryArgs{
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
},
},
IpProtocolEntries: nsxt.VpcGatewayPolicyRuleServiceEntriesIpProtocolEntryArray{
&nsxt.VpcGatewayPolicyRuleServiceEntriesIpProtocolEntryArgs{
Protocol: pulumi.Float64(0),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
},
},
L4PortSetEntries: nsxt.VpcGatewayPolicyRuleServiceEntriesL4PortSetEntryArray{
&nsxt.VpcGatewayPolicyRuleServiceEntriesL4PortSetEntryArgs{
Protocol: pulumi.String("string"),
Description: pulumi.String("string"),
DestinationPorts: pulumi.StringArray{
pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
SourcePorts: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Services: pulumi.StringArray{
pulumi.String("string"),
},
SourceGroups: pulumi.StringArray{
pulumi.String("string"),
},
SourcesExcluded: pulumi.Bool(false),
Tags: nsxt.VpcGatewayPolicyRuleTagArray{
&nsxt.VpcGatewayPolicyRuleTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
},
},
SequenceNumber: pulumi.Float64(0),
Stateful: pulumi.Bool(false),
Tags: nsxt.VpcGatewayPolicyTagArray{
&nsxt.VpcGatewayPolicyTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
TcpStrict: pulumi.Bool(false),
VpcGatewayPolicyId: pulumi.String("string"),
})
var vpcGatewayPolicyResource = new VpcGatewayPolicy("vpcGatewayPolicyResource", VpcGatewayPolicyArgs.builder()
.context(VpcGatewayPolicyContextArgs.builder()
.projectId("string")
.vpcId("string")
.build())
.displayName("string")
.comments("string")
.description("string")
.locked(false)
.nsxId("string")
.rules(VpcGatewayPolicyRuleArgs.builder()
.displayName("string")
.notes("string")
.path("string")
.destinationsExcluded(false)
.direction("string")
.disabled(false)
.description("string")
.ipVersion("string")
.logLabel("string")
.logged(false)
.profiles("string")
.destinationGroups("string")
.nsxId("string")
.action("string")
.revision(0.0)
.ruleId(0.0)
.scopes("string")
.sequenceNumber(0.0)
.serviceEntries(VpcGatewayPolicyRuleServiceEntriesArgs.builder()
.algorithmEntries(VpcGatewayPolicyRuleServiceEntriesAlgorithmEntryArgs.builder()
.algorithm("string")
.destinationPort("string")
.description("string")
.displayName("string")
.sourcePorts("string")
.build())
.etherTypeEntries(VpcGatewayPolicyRuleServiceEntriesEtherTypeEntryArgs.builder()
.etherType(0.0)
.description("string")
.displayName("string")
.build())
.icmpEntries(VpcGatewayPolicyRuleServiceEntriesIcmpEntryArgs.builder()
.protocol("string")
.description("string")
.displayName("string")
.icmpCode("string")
.icmpType("string")
.build())
.igmpEntries(VpcGatewayPolicyRuleServiceEntriesIgmpEntryArgs.builder()
.description("string")
.displayName("string")
.build())
.ipProtocolEntries(VpcGatewayPolicyRuleServiceEntriesIpProtocolEntryArgs.builder()
.protocol(0.0)
.description("string")
.displayName("string")
.build())
.l4PortSetEntries(VpcGatewayPolicyRuleServiceEntriesL4PortSetEntryArgs.builder()
.protocol("string")
.description("string")
.destinationPorts("string")
.displayName("string")
.sourcePorts("string")
.build())
.build())
.services("string")
.sourceGroups("string")
.sourcesExcluded(false)
.tags(VpcGatewayPolicyRuleTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build())
.sequenceNumber(0.0)
.stateful(false)
.tags(VpcGatewayPolicyTagArgs.builder()
.scope("string")
.tag("string")
.build())
.tcpStrict(false)
.vpcGatewayPolicyId("string")
.build());
vpc_gateway_policy_resource = nsxt.VpcGatewayPolicy("vpcGatewayPolicyResource",
context={
"project_id": "string",
"vpc_id": "string",
},
display_name="string",
comments="string",
description="string",
locked=False,
nsx_id="string",
rules=[{
"display_name": "string",
"notes": "string",
"path": "string",
"destinations_excluded": False,
"direction": "string",
"disabled": False,
"description": "string",
"ip_version": "string",
"log_label": "string",
"logged": False,
"profiles": ["string"],
"destination_groups": ["string"],
"nsx_id": "string",
"action": "string",
"revision": 0,
"rule_id": 0,
"scopes": ["string"],
"sequence_number": 0,
"service_entries": {
"algorithm_entries": [{
"algorithm": "string",
"destination_port": "string",
"description": "string",
"display_name": "string",
"source_ports": ["string"],
}],
"ether_type_entries": [{
"ether_type": 0,
"description": "string",
"display_name": "string",
}],
"icmp_entries": [{
"protocol": "string",
"description": "string",
"display_name": "string",
"icmp_code": "string",
"icmp_type": "string",
}],
"igmp_entries": [{
"description": "string",
"display_name": "string",
}],
"ip_protocol_entries": [{
"protocol": 0,
"description": "string",
"display_name": "string",
}],
"l4_port_set_entries": [{
"protocol": "string",
"description": "string",
"destination_ports": ["string"],
"display_name": "string",
"source_ports": ["string"],
}],
},
"services": ["string"],
"source_groups": ["string"],
"sources_excluded": False,
"tags": [{
"scope": "string",
"tag": "string",
}],
}],
sequence_number=0,
stateful=False,
tags=[{
"scope": "string",
"tag": "string",
}],
tcp_strict=False,
vpc_gateway_policy_id="string")
const vpcGatewayPolicyResource = new nsxt.VpcGatewayPolicy("vpcGatewayPolicyResource", {
context: {
projectId: "string",
vpcId: "string",
},
displayName: "string",
comments: "string",
description: "string",
locked: false,
nsxId: "string",
rules: [{
displayName: "string",
notes: "string",
path: "string",
destinationsExcluded: false,
direction: "string",
disabled: false,
description: "string",
ipVersion: "string",
logLabel: "string",
logged: false,
profiles: ["string"],
destinationGroups: ["string"],
nsxId: "string",
action: "string",
revision: 0,
ruleId: 0,
scopes: ["string"],
sequenceNumber: 0,
serviceEntries: {
algorithmEntries: [{
algorithm: "string",
destinationPort: "string",
description: "string",
displayName: "string",
sourcePorts: ["string"],
}],
etherTypeEntries: [{
etherType: 0,
description: "string",
displayName: "string",
}],
icmpEntries: [{
protocol: "string",
description: "string",
displayName: "string",
icmpCode: "string",
icmpType: "string",
}],
igmpEntries: [{
description: "string",
displayName: "string",
}],
ipProtocolEntries: [{
protocol: 0,
description: "string",
displayName: "string",
}],
l4PortSetEntries: [{
protocol: "string",
description: "string",
destinationPorts: ["string"],
displayName: "string",
sourcePorts: ["string"],
}],
},
services: ["string"],
sourceGroups: ["string"],
sourcesExcluded: false,
tags: [{
scope: "string",
tag: "string",
}],
}],
sequenceNumber: 0,
stateful: false,
tags: [{
scope: "string",
tag: "string",
}],
tcpStrict: false,
vpcGatewayPolicyId: "string",
});
type: nsxt:VpcGatewayPolicy
properties:
comments: string
context:
projectId: string
vpcId: string
description: string
displayName: string
locked: false
nsxId: string
rules:
- action: string
description: string
destinationGroups:
- string
destinationsExcluded: false
direction: string
disabled: false
displayName: string
ipVersion: string
logLabel: string
logged: false
notes: string
nsxId: string
path: string
profiles:
- string
revision: 0
ruleId: 0
scopes:
- string
sequenceNumber: 0
serviceEntries:
algorithmEntries:
- algorithm: string
description: string
destinationPort: string
displayName: string
sourcePorts:
- string
etherTypeEntries:
- description: string
displayName: string
etherType: 0
icmpEntries:
- description: string
displayName: string
icmpCode: string
icmpType: string
protocol: string
igmpEntries:
- description: string
displayName: string
ipProtocolEntries:
- description: string
displayName: string
protocol: 0
l4PortSetEntries:
- description: string
destinationPorts:
- string
displayName: string
protocol: string
sourcePorts:
- string
services:
- string
sourceGroups:
- string
sourcesExcluded: false
tags:
- scope: string
tag: string
sequenceNumber: 0
stateful: false
tags:
- scope: string
tag: string
tcpStrict: false
vpcGatewayPolicyId: string
VpcGatewayPolicy 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 VpcGatewayPolicy resource accepts the following input properties:
- Context
Vpc
Gateway Policy Context - The context which the object belongs to
- Display
Name string - Display name of the resource.
- Comments string
- Comments for this Gateway Policy including lock/unlock comments.
- Description string
- Description of the resource.
- Locked bool
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- Rules
List<Vpc
Gateway Policy Rule> - A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- Sequence
Number double - An int value used to resolve conflicts between security policies
- Stateful bool
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- List<Vpc
Gateway Policy Tag> - A list of scope + tag pairs to associate with this Gateway Policy.
- Tcp
Strict bool - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- Vpc
Gateway stringPolicy Id - ID of the Security Policy.
- Context
Vpc
Gateway Policy Context Args - The context which the object belongs to
- Display
Name string - Display name of the resource.
- Comments string
- Comments for this Gateway Policy including lock/unlock comments.
- Description string
- Description of the resource.
- Locked bool
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- Rules
[]Vpc
Gateway Policy Rule Args - A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- Sequence
Number float64 - An int value used to resolve conflicts between security policies
- Stateful bool
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- []Vpc
Gateway Policy Tag Args - A list of scope + tag pairs to associate with this Gateway Policy.
- Tcp
Strict bool - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- Vpc
Gateway stringPolicy Id - ID of the Security Policy.
- context
Vpc
Gateway Policy Context - The context which the object belongs to
- display
Name String - Display name of the resource.
- comments String
- Comments for this Gateway Policy including lock/unlock comments.
- description String
- Description of the resource.
- locked Boolean
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- rules
List<Vpc
Gateway Policy Rule> - A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- sequence
Number Double - An int value used to resolve conflicts between security policies
- stateful Boolean
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- List<Vpc
Gateway Policy Tag> - A list of scope + tag pairs to associate with this Gateway Policy.
- tcp
Strict Boolean - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- vpc
Gateway StringPolicy Id - ID of the Security Policy.
- context
Vpc
Gateway Policy Context - The context which the object belongs to
- display
Name string - Display name of the resource.
- comments string
- Comments for this Gateway Policy including lock/unlock comments.
- description string
- Description of the resource.
- locked boolean
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- rules
Vpc
Gateway Policy Rule[] - A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- sequence
Number number - An int value used to resolve conflicts between security policies
- stateful boolean
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- Vpc
Gateway Policy Tag[] - A list of scope + tag pairs to associate with this Gateway Policy.
- tcp
Strict boolean - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- vpc
Gateway stringPolicy Id - ID of the Security Policy.
- context
Vpc
Gateway Policy Context Args - The context which the object belongs to
- display_
name str - Display name of the resource.
- comments str
- Comments for this Gateway Policy including lock/unlock comments.
- description str
- Description of the resource.
- locked bool
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- rules
Sequence[Vpc
Gateway Policy Rule Args] - A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- sequence_
number float - An int value used to resolve conflicts between security policies
- stateful bool
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- Sequence[Vpc
Gateway Policy Tag Args] - A list of scope + tag pairs to associate with this Gateway Policy.
- tcp_
strict bool - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- vpc_
gateway_ strpolicy_ id - ID of the Security Policy.
- context Property Map
- The context which the object belongs to
- display
Name String - Display name of the resource.
- comments String
- Comments for this Gateway Policy including lock/unlock comments.
- description String
- Description of the resource.
- locked Boolean
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- rules List<Property Map>
- A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- sequence
Number Number - An int value used to resolve conflicts between security policies
- stateful Boolean
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- List<Property Map>
- A list of scope + tag pairs to associate with this Gateway Policy.
- tcp
Strict Boolean - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- vpc
Gateway StringPolicy Id - ID of the Security Policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcGatewayPolicy resource produces the following output properties:
Look up Existing VpcGatewayPolicy Resource
Get an existing VpcGatewayPolicy 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?: VpcGatewayPolicyState, opts?: CustomResourceOptions): VpcGatewayPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comments: Optional[str] = None,
context: Optional[VpcGatewayPolicyContextArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
locked: Optional[bool] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
revision: Optional[float] = None,
rules: Optional[Sequence[VpcGatewayPolicyRuleArgs]] = None,
sequence_number: Optional[float] = None,
stateful: Optional[bool] = None,
tags: Optional[Sequence[VpcGatewayPolicyTagArgs]] = None,
tcp_strict: Optional[bool] = None,
vpc_gateway_policy_id: Optional[str] = None) -> VpcGatewayPolicy
func GetVpcGatewayPolicy(ctx *Context, name string, id IDInput, state *VpcGatewayPolicyState, opts ...ResourceOption) (*VpcGatewayPolicy, error)
public static VpcGatewayPolicy Get(string name, Input<string> id, VpcGatewayPolicyState? state, CustomResourceOptions? opts = null)
public static VpcGatewayPolicy get(String name, Output<String> id, VpcGatewayPolicyState state, CustomResourceOptions options)
resources: _: type: nsxt:VpcGatewayPolicy 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.
- Comments string
- Comments for this Gateway Policy including lock/unlock comments.
- Context
Vpc
Gateway Policy Context - The context which the object belongs to
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Locked bool
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- Path string
- The NSX path of the policy resource.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Rules
List<Vpc
Gateway Policy Rule> - A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- Sequence
Number double - An int value used to resolve conflicts between security policies
- Stateful bool
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- List<Vpc
Gateway Policy Tag> - A list of scope + tag pairs to associate with this Gateway Policy.
- Tcp
Strict bool - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- Vpc
Gateway stringPolicy Id - ID of the Security Policy.
- Comments string
- Comments for this Gateway Policy including lock/unlock comments.
- Context
Vpc
Gateway Policy Context Args - The context which the object belongs to
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Locked bool
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- Path string
- The NSX path of the policy resource.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Rules
[]Vpc
Gateway Policy Rule Args - A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- Sequence
Number float64 - An int value used to resolve conflicts between security policies
- Stateful bool
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- []Vpc
Gateway Policy Tag Args - A list of scope + tag pairs to associate with this Gateway Policy.
- Tcp
Strict bool - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- Vpc
Gateway stringPolicy Id - ID of the Security Policy.
- comments String
- Comments for this Gateway Policy including lock/unlock comments.
- context
Vpc
Gateway Policy Context - The context which the object belongs to
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- locked Boolean
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- path String
- The NSX path of the policy resource.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rules
List<Vpc
Gateway Policy Rule> - A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- sequence
Number Double - An int value used to resolve conflicts between security policies
- stateful Boolean
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- List<Vpc
Gateway Policy Tag> - A list of scope + tag pairs to associate with this Gateway Policy.
- tcp
Strict Boolean - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- vpc
Gateway StringPolicy Id - ID of the Security Policy.
- comments string
- Comments for this Gateway Policy including lock/unlock comments.
- context
Vpc
Gateway Policy Context - The context which the object belongs to
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- locked boolean
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- path string
- The NSX path of the policy resource.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rules
Vpc
Gateway Policy Rule[] - A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- sequence
Number number - An int value used to resolve conflicts between security policies
- stateful boolean
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- Vpc
Gateway Policy Tag[] - A list of scope + tag pairs to associate with this Gateway Policy.
- tcp
Strict boolean - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- vpc
Gateway stringPolicy Id - ID of the Security Policy.
- comments str
- Comments for this Gateway Policy including lock/unlock comments.
- context
Vpc
Gateway Policy Context Args - The context which the object belongs to
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- locked bool
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- path str
- The NSX path of the policy resource.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rules
Sequence[Vpc
Gateway Policy Rule Args] - A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- sequence_
number float - An int value used to resolve conflicts between security policies
- stateful bool
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- Sequence[Vpc
Gateway Policy Tag Args] - A list of scope + tag pairs to associate with this Gateway Policy.
- tcp_
strict bool - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- vpc_
gateway_ strpolicy_ id - ID of the Security Policy.
- comments String
- Comments for this Gateway Policy including lock/unlock comments.
- context Property Map
- The context which the object belongs to
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- locked Boolean
- A boolean value indicating if the policy is locked. If locked, no other users can update the resource.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- path String
- The NSX path of the policy resource.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rules List<Property Map>
- A repeatable block to specify rules for the Gateway Policy. Each rule includes the following fields:
- sequence
Number Number - An int value used to resolve conflicts between security policies
- stateful Boolean
- A boolean value to indicate if this Policy is stateful. When it is stateful, the state of the network connects are tracked and a stateful packet inspection is performed.
- List<Property Map>
- A list of scope + tag pairs to associate with this Gateway Policy.
- tcp
Strict Boolean - A boolean value to enable/disable a 3 way TCP handshake is done before the data packets are sent.
- vpc
Gateway StringPolicy Id - ID of the Security Policy.
Supporting Types
VpcGatewayPolicyContext, VpcGatewayPolicyContextArgs
- project_
id str - The ID of the project which the object belongs to
- vpc_
id str - The ID of the VPC which the object belongs to
VpcGatewayPolicyRule, VpcGatewayPolicyRuleArgs
- Display
Name string - Display name of the resource.
- Action string
- The action for the Rule. Must be one of:
ALLOW
,DROP
orREJECT
. Defaults toALLOW
. - Description string
- Description of the resource.
- Destination
Groups List<string> - Set of group paths that serve as the destination for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- Destinations
Excluded bool - A boolean value indicating negation of destination groups.
- Direction string
- The traffic direction for the policy. Must be one of:
IN
,OUT
orIN_OUT
. Defaults toIN_OUT
. - Disabled bool
- A boolean value to indicate the rule is disabled. Defaults to
false
. - Ip
Version string - The IP Protocol for the rule. Must be one of:
IPV4
,IPV6
orIPV4_IPV6
. Defaults toIPV4_IPV6
. - Log
Label string - Additional information (string) which will be propagated to the rule syslog.
- Logged bool
- A boolean flag to enable packet logging.
- Notes string
- Text for additional notes on changes for the rule.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- Path string
- The NSX path of the policy resource.
- Profiles List<string>
- A list of context profiles for the rule.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Rule
Id double - Unique positive number that is assigned by the system and is useful for debugging.
- Scopes List<string>
- List of policy paths where the rule is applied
- Sequence
Number double - It is recommended not to specify sequence number for rules, but rather rely on provider to auto-assign them. If you choose to specify sequence numbers, you must make sure the numbers are consistent with order of the rules in configuration. Please note that sequence numbers should start with 1, not 0. To avoid confusion, either specify sequence numbers in all rules, or none at all.
- Service
Entries VpcGateway Policy Rule Service Entries - List of services to match
- Services List<string>
- List of services to match.
- Source
Groups List<string> - Set of group paths that serve as the source for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- Sources
Excluded bool - Negation of source groups
- List<Vpc
Gateway Policy Rule Tag> - A list of scope + tag pairs to associate with this Rule.
- Display
Name string - Display name of the resource.
- Action string
- The action for the Rule. Must be one of:
ALLOW
,DROP
orREJECT
. Defaults toALLOW
. - Description string
- Description of the resource.
- Destination
Groups []string - Set of group paths that serve as the destination for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- Destinations
Excluded bool - A boolean value indicating negation of destination groups.
- Direction string
- The traffic direction for the policy. Must be one of:
IN
,OUT
orIN_OUT
. Defaults toIN_OUT
. - Disabled bool
- A boolean value to indicate the rule is disabled. Defaults to
false
. - Ip
Version string - The IP Protocol for the rule. Must be one of:
IPV4
,IPV6
orIPV4_IPV6
. Defaults toIPV4_IPV6
. - Log
Label string - Additional information (string) which will be propagated to the rule syslog.
- Logged bool
- A boolean flag to enable packet logging.
- Notes string
- Text for additional notes on changes for the rule.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- Path string
- The NSX path of the policy resource.
- Profiles []string
- A list of context profiles for the rule.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Rule
Id float64 - Unique positive number that is assigned by the system and is useful for debugging.
- Scopes []string
- List of policy paths where the rule is applied
- Sequence
Number float64 - It is recommended not to specify sequence number for rules, but rather rely on provider to auto-assign them. If you choose to specify sequence numbers, you must make sure the numbers are consistent with order of the rules in configuration. Please note that sequence numbers should start with 1, not 0. To avoid confusion, either specify sequence numbers in all rules, or none at all.
- Service
Entries VpcGateway Policy Rule Service Entries - List of services to match
- Services []string
- List of services to match.
- Source
Groups []string - Set of group paths that serve as the source for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- Sources
Excluded bool - Negation of source groups
- []Vpc
Gateway Policy Rule Tag - A list of scope + tag pairs to associate with this Rule.
- display
Name String - Display name of the resource.
- action String
- The action for the Rule. Must be one of:
ALLOW
,DROP
orREJECT
. Defaults toALLOW
. - description String
- Description of the resource.
- destination
Groups List<String> - Set of group paths that serve as the destination for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- destinations
Excluded Boolean - A boolean value indicating negation of destination groups.
- direction String
- The traffic direction for the policy. Must be one of:
IN
,OUT
orIN_OUT
. Defaults toIN_OUT
. - disabled Boolean
- A boolean value to indicate the rule is disabled. Defaults to
false
. - ip
Version String - The IP Protocol for the rule. Must be one of:
IPV4
,IPV6
orIPV4_IPV6
. Defaults toIPV4_IPV6
. - log
Label String - Additional information (string) which will be propagated to the rule syslog.
- logged Boolean
- A boolean flag to enable packet logging.
- notes String
- Text for additional notes on changes for the rule.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- path String
- The NSX path of the policy resource.
- profiles List<String>
- A list of context profiles for the rule.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rule
Id Double - Unique positive number that is assigned by the system and is useful for debugging.
- scopes List<String>
- List of policy paths where the rule is applied
- sequence
Number Double - It is recommended not to specify sequence number for rules, but rather rely on provider to auto-assign them. If you choose to specify sequence numbers, you must make sure the numbers are consistent with order of the rules in configuration. Please note that sequence numbers should start with 1, not 0. To avoid confusion, either specify sequence numbers in all rules, or none at all.
- service
Entries VpcGateway Policy Rule Service Entries - List of services to match
- services List<String>
- List of services to match.
- source
Groups List<String> - Set of group paths that serve as the source for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- sources
Excluded Boolean - Negation of source groups
- List<Vpc
Gateway Policy Rule Tag> - A list of scope + tag pairs to associate with this Rule.
- display
Name string - Display name of the resource.
- action string
- The action for the Rule. Must be one of:
ALLOW
,DROP
orREJECT
. Defaults toALLOW
. - description string
- Description of the resource.
- destination
Groups string[] - Set of group paths that serve as the destination for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- destinations
Excluded boolean - A boolean value indicating negation of destination groups.
- direction string
- The traffic direction for the policy. Must be one of:
IN
,OUT
orIN_OUT
. Defaults toIN_OUT
. - disabled boolean
- A boolean value to indicate the rule is disabled. Defaults to
false
. - ip
Version string - The IP Protocol for the rule. Must be one of:
IPV4
,IPV6
orIPV4_IPV6
. Defaults toIPV4_IPV6
. - log
Label string - Additional information (string) which will be propagated to the rule syslog.
- logged boolean
- A boolean flag to enable packet logging.
- notes string
- Text for additional notes on changes for the rule.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- path string
- The NSX path of the policy resource.
- profiles string[]
- A list of context profiles for the rule.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rule
Id number - Unique positive number that is assigned by the system and is useful for debugging.
- scopes string[]
- List of policy paths where the rule is applied
- sequence
Number number - It is recommended not to specify sequence number for rules, but rather rely on provider to auto-assign them. If you choose to specify sequence numbers, you must make sure the numbers are consistent with order of the rules in configuration. Please note that sequence numbers should start with 1, not 0. To avoid confusion, either specify sequence numbers in all rules, or none at all.
- service
Entries VpcGateway Policy Rule Service Entries - List of services to match
- services string[]
- List of services to match.
- source
Groups string[] - Set of group paths that serve as the source for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- sources
Excluded boolean - Negation of source groups
- Vpc
Gateway Policy Rule Tag[] - A list of scope + tag pairs to associate with this Rule.
- display_
name str - Display name of the resource.
- action str
- The action for the Rule. Must be one of:
ALLOW
,DROP
orREJECT
. Defaults toALLOW
. - description str
- Description of the resource.
- destination_
groups Sequence[str] - Set of group paths that serve as the destination for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- destinations_
excluded bool - A boolean value indicating negation of destination groups.
- direction str
- The traffic direction for the policy. Must be one of:
IN
,OUT
orIN_OUT
. Defaults toIN_OUT
. - disabled bool
- A boolean value to indicate the rule is disabled. Defaults to
false
. - ip_
version str - The IP Protocol for the rule. Must be one of:
IPV4
,IPV6
orIPV4_IPV6
. Defaults toIPV4_IPV6
. - log_
label str - Additional information (string) which will be propagated to the rule syslog.
- logged bool
- A boolean flag to enable packet logging.
- notes str
- Text for additional notes on changes for the rule.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- path str
- The NSX path of the policy resource.
- profiles Sequence[str]
- A list of context profiles for the rule.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rule_
id float - Unique positive number that is assigned by the system and is useful for debugging.
- scopes Sequence[str]
- List of policy paths where the rule is applied
- sequence_
number float - It is recommended not to specify sequence number for rules, but rather rely on provider to auto-assign them. If you choose to specify sequence numbers, you must make sure the numbers are consistent with order of the rules in configuration. Please note that sequence numbers should start with 1, not 0. To avoid confusion, either specify sequence numbers in all rules, or none at all.
- service_
entries VpcGateway Policy Rule Service Entries - List of services to match
- services Sequence[str]
- List of services to match.
- source_
groups Sequence[str] - Set of group paths that serve as the source for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- sources_
excluded bool - Negation of source groups
- Sequence[Vpc
Gateway Policy Rule Tag] - A list of scope + tag pairs to associate with this Rule.
- display
Name String - Display name of the resource.
- action String
- The action for the Rule. Must be one of:
ALLOW
,DROP
orREJECT
. Defaults toALLOW
. - description String
- Description of the resource.
- destination
Groups List<String> - Set of group paths that serve as the destination for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- destinations
Excluded Boolean - A boolean value indicating negation of destination groups.
- direction String
- The traffic direction for the policy. Must be one of:
IN
,OUT
orIN_OUT
. Defaults toIN_OUT
. - disabled Boolean
- A boolean value to indicate the rule is disabled. Defaults to
false
. - ip
Version String - The IP Protocol for the rule. Must be one of:
IPV4
,IPV6
orIPV4_IPV6
. Defaults toIPV4_IPV6
. - log
Label String - Additional information (string) which will be propagated to the rule syslog.
- logged Boolean
- A boolean flag to enable packet logging.
- notes String
- Text for additional notes on changes for the rule.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the Gateway Policy resource.
- path String
- The NSX path of the policy resource.
- profiles List<String>
- A list of context profiles for the rule.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rule
Id Number - Unique positive number that is assigned by the system and is useful for debugging.
- scopes List<String>
- List of policy paths where the rule is applied
- sequence
Number Number - It is recommended not to specify sequence number for rules, but rather rely on provider to auto-assign them. If you choose to specify sequence numbers, you must make sure the numbers are consistent with order of the rules in configuration. Please note that sequence numbers should start with 1, not 0. To avoid confusion, either specify sequence numbers in all rules, or none at all.
- service
Entries Property Map - List of services to match
- services List<String>
- List of services to match.
- source
Groups List<String> - Set of group paths that serve as the source for this rule. IPs, IP ranges, or CIDRs. An empty set can be used to specify "Any".
- sources
Excluded Boolean - Negation of source groups
- List<Property Map>
- A list of scope + tag pairs to associate with this Rule.
VpcGatewayPolicyRuleServiceEntries, VpcGatewayPolicyRuleServiceEntriesArgs
- Algorithm
Entries List<VpcGateway Policy Rule Service Entries Algorithm Entry> - Algorithm type service entry
- Ether
Type List<VpcEntries Gateway Policy Rule Service Entries Ether Type Entry> - Ether type service entry
- Icmp
Entries List<VpcGateway Policy Rule Service Entries Icmp Entry> - ICMP type service entry
- Igmp
Entries List<VpcGateway Policy Rule Service Entries Igmp Entry> - IGMP type service entry
- Ip
Protocol List<VpcEntries Gateway Policy Rule Service Entries Ip Protocol Entry> - IP Protocol type service entry
- L4Port
Set List<VpcEntries Gateway Policy Rule Service Entries L4Port Set Entry> - L4 port set type service entry
- Algorithm
Entries []VpcGateway Policy Rule Service Entries Algorithm Entry - Algorithm type service entry
- Ether
Type []VpcEntries Gateway Policy Rule Service Entries Ether Type Entry - Ether type service entry
- Icmp
Entries []VpcGateway Policy Rule Service Entries Icmp Entry - ICMP type service entry
- Igmp
Entries []VpcGateway Policy Rule Service Entries Igmp Entry - IGMP type service entry
- Ip
Protocol []VpcEntries Gateway Policy Rule Service Entries Ip Protocol Entry - IP Protocol type service entry
- L4Port
Set []VpcEntries Gateway Policy Rule Service Entries L4Port Set Entry - L4 port set type service entry
- algorithm
Entries List<VpcGateway Policy Rule Service Entries Algorithm Entry> - Algorithm type service entry
- ether
Type List<VpcEntries Gateway Policy Rule Service Entries Ether Type Entry> - Ether type service entry
- icmp
Entries List<VpcGateway Policy Rule Service Entries Icmp Entry> - ICMP type service entry
- igmp
Entries List<VpcGateway Policy Rule Service Entries Igmp Entry> - IGMP type service entry
- ip
Protocol List<VpcEntries Gateway Policy Rule Service Entries Ip Protocol Entry> - IP Protocol type service entry
- l4Port
Set List<VpcEntries Gateway Policy Rule Service Entries L4Port Set Entry> - L4 port set type service entry
- algorithm
Entries VpcGateway Policy Rule Service Entries Algorithm Entry[] - Algorithm type service entry
- ether
Type VpcEntries Gateway Policy Rule Service Entries Ether Type Entry[] - Ether type service entry
- icmp
Entries VpcGateway Policy Rule Service Entries Icmp Entry[] - ICMP type service entry
- igmp
Entries VpcGateway Policy Rule Service Entries Igmp Entry[] - IGMP type service entry
- ip
Protocol VpcEntries Gateway Policy Rule Service Entries Ip Protocol Entry[] - IP Protocol type service entry
- l4Port
Set VpcEntries Gateway Policy Rule Service Entries L4Port Set Entry[] - L4 port set type service entry
- algorithm_
entries Sequence[VpcGateway Policy Rule Service Entries Algorithm Entry] - Algorithm type service entry
- ether_
type_ Sequence[Vpcentries Gateway Policy Rule Service Entries Ether Type Entry] - Ether type service entry
- icmp_
entries Sequence[VpcGateway Policy Rule Service Entries Icmp Entry] - ICMP type service entry
- igmp_
entries Sequence[VpcGateway Policy Rule Service Entries Igmp Entry] - IGMP type service entry
- ip_
protocol_ Sequence[Vpcentries Gateway Policy Rule Service Entries Ip Protocol Entry] - IP Protocol type service entry
- l4_
port_ Sequence[Vpcset_ entries Gateway Policy Rule Service Entries L4Port Set Entry] - L4 port set type service entry
- algorithm
Entries List<Property Map> - Algorithm type service entry
- ether
Type List<Property Map>Entries - Ether type service entry
- icmp
Entries List<Property Map> - ICMP type service entry
- igmp
Entries List<Property Map> - IGMP type service entry
- ip
Protocol List<Property Map>Entries - IP Protocol type service entry
- l4Port
Set List<Property Map>Entries - L4 port set type service entry
VpcGatewayPolicyRuleServiceEntriesAlgorithmEntry, VpcGatewayPolicyRuleServiceEntriesAlgorithmEntryArgs
- Algorithm string
- Algorithm
- Destination
Port string - A single destination port
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Source
Ports List<string> - Set of source ports or ranges
- Algorithm string
- Algorithm
- Destination
Port string - A single destination port
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Source
Ports []string - Set of source ports or ranges
- algorithm String
- Algorithm
- destination
Port String - A single destination port
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- source
Ports List<String> - Set of source ports or ranges
- algorithm string
- Algorithm
- destination
Port string - A single destination port
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- source
Ports string[] - Set of source ports or ranges
- algorithm str
- Algorithm
- destination_
port str - A single destination port
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- source_
ports Sequence[str] - Set of source ports or ranges
- algorithm String
- Algorithm
- destination
Port String - A single destination port
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- source
Ports List<String> - Set of source ports or ranges
VpcGatewayPolicyRuleServiceEntriesEtherTypeEntry, VpcGatewayPolicyRuleServiceEntriesEtherTypeEntryArgs
- Ether
Type double - Type of the encapsulated protocol
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Ether
Type float64 - Type of the encapsulated protocol
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- ether
Type Double - Type of the encapsulated protocol
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- ether
Type number - Type of the encapsulated protocol
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- ether_
type float - Type of the encapsulated protocol
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- ether
Type Number - Type of the encapsulated protocol
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
VpcGatewayPolicyRuleServiceEntriesIcmpEntry, VpcGatewayPolicyRuleServiceEntriesIcmpEntryArgs
- Protocol string
- Version of ICMP protocol (ICMPv4/ICMPv6)
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Icmp
Code string - ICMP message code
- Icmp
Type string - ICMP message type
- Protocol string
- Version of ICMP protocol (ICMPv4/ICMPv6)
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Icmp
Code string - ICMP message code
- Icmp
Type string - ICMP message type
- protocol String
- Version of ICMP protocol (ICMPv4/ICMPv6)
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- icmp
Code String - ICMP message code
- icmp
Type String - ICMP message type
- protocol string
- Version of ICMP protocol (ICMPv4/ICMPv6)
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- icmp
Code string - ICMP message code
- icmp
Type string - ICMP message type
- protocol str
- Version of ICMP protocol (ICMPv4/ICMPv6)
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- icmp_
code str - ICMP message code
- icmp_
type str - ICMP message type
- protocol String
- Version of ICMP protocol (ICMPv4/ICMPv6)
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- icmp
Code String - ICMP message code
- icmp
Type String - ICMP message type
VpcGatewayPolicyRuleServiceEntriesIgmpEntry, VpcGatewayPolicyRuleServiceEntriesIgmpEntryArgs
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
VpcGatewayPolicyRuleServiceEntriesIpProtocolEntry, VpcGatewayPolicyRuleServiceEntriesIpProtocolEntryArgs
- Protocol double
- IP protocol number
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Protocol float64
- IP protocol number
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- protocol Double
- IP protocol number
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- protocol number
- IP protocol number
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- protocol float
- IP protocol number
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- protocol Number
- IP protocol number
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
VpcGatewayPolicyRuleServiceEntriesL4PortSetEntry, VpcGatewayPolicyRuleServiceEntriesL4PortSetEntryArgs
- Protocol string
- L4 Protocol
- Description string
- Description of the resource.
- Destination
Ports List<string> - Set of destination ports
- Display
Name string - Display name of the resource.
- Source
Ports List<string> - Set of source ports
- Protocol string
- L4 Protocol
- Description string
- Description of the resource.
- Destination
Ports []string - Set of destination ports
- Display
Name string - Display name of the resource.
- Source
Ports []string - Set of source ports
- protocol String
- L4 Protocol
- description String
- Description of the resource.
- destination
Ports List<String> - Set of destination ports
- display
Name String - Display name of the resource.
- source
Ports List<String> - Set of source ports
- protocol string
- L4 Protocol
- description string
- Description of the resource.
- destination
Ports string[] - Set of destination ports
- display
Name string - Display name of the resource.
- source
Ports string[] - Set of source ports
- protocol str
- L4 Protocol
- description str
- Description of the resource.
- destination_
ports Sequence[str] - Set of destination ports
- display_
name str - Display name of the resource.
- source_
ports Sequence[str] - Set of source ports
- protocol String
- L4 Protocol
- description String
- Description of the resource.
- destination
Ports List<String> - Set of destination ports
- display
Name String - Display name of the resource.
- source
Ports List<String> - Set of source ports
VpcGatewayPolicyRuleTag, VpcGatewayPolicyRuleTagArgs
VpcGatewayPolicyTag, VpcGatewayPolicyTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.