nsxt.PolicySegmentSecurityProfile
Explore with Pulumi AI
Create PolicySegmentSecurityProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicySegmentSecurityProfile(name: string, args: PolicySegmentSecurityProfileArgs, opts?: CustomResourceOptions);
@overload
def PolicySegmentSecurityProfile(resource_name: str,
args: PolicySegmentSecurityProfileInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicySegmentSecurityProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
dhcp_client_block_enabled: Optional[bool] = None,
policy_segment_security_profile_id: Optional[str] = None,
description: Optional[str] = None,
bpdu_filter_allows: Optional[Sequence[str]] = None,
dhcp_client_block_v6_enabled: Optional[bool] = None,
dhcp_server_block_enabled: Optional[bool] = None,
context: Optional[PolicySegmentSecurityProfileContextArgs] = None,
non_ip_traffic_block_enabled: Optional[bool] = None,
dhcp_server_block_v6_enabled: Optional[bool] = None,
nsx_id: Optional[str] = None,
bpdu_filter_enable: Optional[bool] = None,
ra_guard_enabled: Optional[bool] = None,
rate_limits: Optional[Sequence[PolicySegmentSecurityProfileRateLimitArgs]] = None,
rate_limits_enabled: Optional[bool] = None,
tags: Optional[Sequence[PolicySegmentSecurityProfileTagArgs]] = None)
func NewPolicySegmentSecurityProfile(ctx *Context, name string, args PolicySegmentSecurityProfileArgs, opts ...ResourceOption) (*PolicySegmentSecurityProfile, error)
public PolicySegmentSecurityProfile(string name, PolicySegmentSecurityProfileArgs args, CustomResourceOptions? opts = null)
public PolicySegmentSecurityProfile(String name, PolicySegmentSecurityProfileArgs args)
public PolicySegmentSecurityProfile(String name, PolicySegmentSecurityProfileArgs args, CustomResourceOptions options)
type: nsxt:PolicySegmentSecurityProfile
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 PolicySegmentSecurityProfileArgs
- 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 PolicySegmentSecurityProfileInitArgs
- 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 PolicySegmentSecurityProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicySegmentSecurityProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicySegmentSecurityProfileArgs
- 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 policySegmentSecurityProfileResource = new Nsxt.PolicySegmentSecurityProfile("policySegmentSecurityProfileResource", new()
{
DisplayName = "string",
DhcpClientBlockEnabled = false,
PolicySegmentSecurityProfileId = "string",
Description = "string",
BpduFilterAllows = new[]
{
"string",
},
DhcpClientBlockV6Enabled = false,
DhcpServerBlockEnabled = false,
Context = new Nsxt.Inputs.PolicySegmentSecurityProfileContextArgs
{
ProjectId = "string",
},
NonIpTrafficBlockEnabled = false,
DhcpServerBlockV6Enabled = false,
NsxId = "string",
BpduFilterEnable = false,
RaGuardEnabled = false,
RateLimits = new[]
{
new Nsxt.Inputs.PolicySegmentSecurityProfileRateLimitArgs
{
RxBroadcast = 0,
RxMulticast = 0,
TxBroadcast = 0,
TxMulticast = 0,
},
},
RateLimitsEnabled = false,
Tags = new[]
{
new Nsxt.Inputs.PolicySegmentSecurityProfileTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicySegmentSecurityProfile(ctx, "policySegmentSecurityProfileResource", &nsxt.PolicySegmentSecurityProfileArgs{
DisplayName: pulumi.String("string"),
DhcpClientBlockEnabled: pulumi.Bool(false),
PolicySegmentSecurityProfileId: pulumi.String("string"),
Description: pulumi.String("string"),
BpduFilterAllows: pulumi.StringArray{
pulumi.String("string"),
},
DhcpClientBlockV6Enabled: pulumi.Bool(false),
DhcpServerBlockEnabled: pulumi.Bool(false),
Context: &nsxt.PolicySegmentSecurityProfileContextArgs{
ProjectId: pulumi.String("string"),
},
NonIpTrafficBlockEnabled: pulumi.Bool(false),
DhcpServerBlockV6Enabled: pulumi.Bool(false),
NsxId: pulumi.String("string"),
BpduFilterEnable: pulumi.Bool(false),
RaGuardEnabled: pulumi.Bool(false),
RateLimits: nsxt.PolicySegmentSecurityProfileRateLimitArray{
&nsxt.PolicySegmentSecurityProfileRateLimitArgs{
RxBroadcast: pulumi.Float64(0),
RxMulticast: pulumi.Float64(0),
TxBroadcast: pulumi.Float64(0),
TxMulticast: pulumi.Float64(0),
},
},
RateLimitsEnabled: pulumi.Bool(false),
Tags: nsxt.PolicySegmentSecurityProfileTagArray{
&nsxt.PolicySegmentSecurityProfileTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policySegmentSecurityProfileResource = new PolicySegmentSecurityProfile("policySegmentSecurityProfileResource", PolicySegmentSecurityProfileArgs.builder()
.displayName("string")
.dhcpClientBlockEnabled(false)
.policySegmentSecurityProfileId("string")
.description("string")
.bpduFilterAllows("string")
.dhcpClientBlockV6Enabled(false)
.dhcpServerBlockEnabled(false)
.context(PolicySegmentSecurityProfileContextArgs.builder()
.projectId("string")
.build())
.nonIpTrafficBlockEnabled(false)
.dhcpServerBlockV6Enabled(false)
.nsxId("string")
.bpduFilterEnable(false)
.raGuardEnabled(false)
.rateLimits(PolicySegmentSecurityProfileRateLimitArgs.builder()
.rxBroadcast(0)
.rxMulticast(0)
.txBroadcast(0)
.txMulticast(0)
.build())
.rateLimitsEnabled(false)
.tags(PolicySegmentSecurityProfileTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_segment_security_profile_resource = nsxt.PolicySegmentSecurityProfile("policySegmentSecurityProfileResource",
display_name="string",
dhcp_client_block_enabled=False,
policy_segment_security_profile_id="string",
description="string",
bpdu_filter_allows=["string"],
dhcp_client_block_v6_enabled=False,
dhcp_server_block_enabled=False,
context={
"project_id": "string",
},
non_ip_traffic_block_enabled=False,
dhcp_server_block_v6_enabled=False,
nsx_id="string",
bpdu_filter_enable=False,
ra_guard_enabled=False,
rate_limits=[{
"rx_broadcast": 0,
"rx_multicast": 0,
"tx_broadcast": 0,
"tx_multicast": 0,
}],
rate_limits_enabled=False,
tags=[{
"scope": "string",
"tag": "string",
}])
const policySegmentSecurityProfileResource = new nsxt.PolicySegmentSecurityProfile("policySegmentSecurityProfileResource", {
displayName: "string",
dhcpClientBlockEnabled: false,
policySegmentSecurityProfileId: "string",
description: "string",
bpduFilterAllows: ["string"],
dhcpClientBlockV6Enabled: false,
dhcpServerBlockEnabled: false,
context: {
projectId: "string",
},
nonIpTrafficBlockEnabled: false,
dhcpServerBlockV6Enabled: false,
nsxId: "string",
bpduFilterEnable: false,
raGuardEnabled: false,
rateLimits: [{
rxBroadcast: 0,
rxMulticast: 0,
txBroadcast: 0,
txMulticast: 0,
}],
rateLimitsEnabled: false,
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicySegmentSecurityProfile
properties:
bpduFilterAllows:
- string
bpduFilterEnable: false
context:
projectId: string
description: string
dhcpClientBlockEnabled: false
dhcpClientBlockV6Enabled: false
dhcpServerBlockEnabled: false
dhcpServerBlockV6Enabled: false
displayName: string
nonIpTrafficBlockEnabled: false
nsxId: string
policySegmentSecurityProfileId: string
raGuardEnabled: false
rateLimits:
- rxBroadcast: 0
rxMulticast: 0
txBroadcast: 0
txMulticast: 0
rateLimitsEnabled: false
tags:
- scope: string
tag: string
PolicySegmentSecurityProfile 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 PolicySegmentSecurityProfile resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Bpdu
Filter List<string>Allows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - Bpdu
Filter boolEnable - Indicates whether BPDU filter is enabled. Default is
True
. - Context
Policy
Segment Security Profile Context - The context which the object belongs to
- Description string
- Description of the resource.
- Dhcp
Client boolBlock Enabled - Filters DHCP server and/or client traffic. Default is
False
. - Dhcp
Client boolBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - Dhcp
Server boolBlock Enabled - Filters DHCP server and/or client traffic. Default is
True
. - Dhcp
Server boolBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - Non
Ip boolTraffic Block Enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Segment stringSecurity Profile Id - ID of the resource.
- Ra
Guard boolEnabled - Enable or disable Router Advertisement Guard. Default is
False
- Rate
Limits List<PolicySegment Security Profile Rate Limit> - Rate limits.
- Rate
Limits boolEnabled - Enable or disable Rate Limits. Default is
False
. - List<Policy
Segment Security Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Display
Name string - Display name of the resource.
- Bpdu
Filter []stringAllows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - Bpdu
Filter boolEnable - Indicates whether BPDU filter is enabled. Default is
True
. - Context
Policy
Segment Security Profile Context Args - The context which the object belongs to
- Description string
- Description of the resource.
- Dhcp
Client boolBlock Enabled - Filters DHCP server and/or client traffic. Default is
False
. - Dhcp
Client boolBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - Dhcp
Server boolBlock Enabled - Filters DHCP server and/or client traffic. Default is
True
. - Dhcp
Server boolBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - Non
Ip boolTraffic Block Enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Segment stringSecurity Profile Id - ID of the resource.
- Ra
Guard boolEnabled - Enable or disable Router Advertisement Guard. Default is
False
- Rate
Limits []PolicySegment Security Profile Rate Limit Args - Rate limits.
- Rate
Limits boolEnabled - Enable or disable Rate Limits. Default is
False
. - []Policy
Segment Security Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- bpdu
Filter List<String>Allows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - bpdu
Filter BooleanEnable - Indicates whether BPDU filter is enabled. Default is
True
. - context
Policy
Segment Security Profile Context - The context which the object belongs to
- description String
- Description of the resource.
- dhcp
Client BooleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
False
. - dhcp
Client BooleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - dhcp
Server BooleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
True
. - dhcp
Server BooleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - non
Ip BooleanTraffic Block Enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Segment StringSecurity Profile Id - ID of the resource.
- ra
Guard BooleanEnabled - Enable or disable Router Advertisement Guard. Default is
False
- rate
Limits List<PolicySegment Security Profile Rate Limit> - Rate limits.
- rate
Limits BooleanEnabled - Enable or disable Rate Limits. Default is
False
. - List<Policy
Segment Security Profile Tag> - A list of scope + tag pairs to associate with this resource.
- display
Name string - Display name of the resource.
- bpdu
Filter string[]Allows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - bpdu
Filter booleanEnable - Indicates whether BPDU filter is enabled. Default is
True
. - context
Policy
Segment Security Profile Context - The context which the object belongs to
- description string
- Description of the resource.
- dhcp
Client booleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
False
. - dhcp
Client booleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - dhcp
Server booleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
True
. - dhcp
Server booleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - non
Ip booleanTraffic Block Enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Segment stringSecurity Profile Id - ID of the resource.
- ra
Guard booleanEnabled - Enable or disable Router Advertisement Guard. Default is
False
- rate
Limits PolicySegment Security Profile Rate Limit[] - Rate limits.
- rate
Limits booleanEnabled - Enable or disable Rate Limits. Default is
False
. - Policy
Segment Security Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- display_
name str - Display name of the resource.
- bpdu_
filter_ Sequence[str]allows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - bpdu_
filter_ boolenable - Indicates whether BPDU filter is enabled. Default is
True
. - context
Policy
Segment Security Profile Context Args - The context which the object belongs to
- description str
- Description of the resource.
- dhcp_
client_ boolblock_ enabled - Filters DHCP server and/or client traffic. Default is
False
. - dhcp_
client_ boolblock_ v6_ enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - dhcp_
server_ boolblock_ enabled - Filters DHCP server and/or client traffic. Default is
True
. - dhcp_
server_ boolblock_ v6_ enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - non_
ip_ booltraffic_ block_ enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy_
segment_ strsecurity_ profile_ id - ID of the resource.
- ra_
guard_ boolenabled - Enable or disable Router Advertisement Guard. Default is
False
- rate_
limits Sequence[PolicySegment Security Profile Rate Limit Args] - Rate limits.
- rate_
limits_ boolenabled - Enable or disable Rate Limits. Default is
False
. - Sequence[Policy
Segment Security Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- bpdu
Filter List<String>Allows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - bpdu
Filter BooleanEnable - Indicates whether BPDU filter is enabled. Default is
True
. - context Property Map
- The context which the object belongs to
- description String
- Description of the resource.
- dhcp
Client BooleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
False
. - dhcp
Client BooleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - dhcp
Server BooleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
True
. - dhcp
Server BooleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - non
Ip BooleanTraffic Block Enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Segment StringSecurity Profile Id - ID of the resource.
- ra
Guard BooleanEnabled - Enable or disable Router Advertisement Guard. Default is
False
- rate
Limits List<Property Map> - Rate limits.
- rate
Limits BooleanEnabled - Enable or disable Rate Limits. Default is
False
. - List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicySegmentSecurityProfile resource produces the following output properties:
Look up Existing PolicySegmentSecurityProfile Resource
Get an existing PolicySegmentSecurityProfile 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?: PolicySegmentSecurityProfileState, opts?: CustomResourceOptions): PolicySegmentSecurityProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bpdu_filter_allows: Optional[Sequence[str]] = None,
bpdu_filter_enable: Optional[bool] = None,
context: Optional[PolicySegmentSecurityProfileContextArgs] = None,
description: Optional[str] = None,
dhcp_client_block_enabled: Optional[bool] = None,
dhcp_client_block_v6_enabled: Optional[bool] = None,
dhcp_server_block_enabled: Optional[bool] = None,
dhcp_server_block_v6_enabled: Optional[bool] = None,
display_name: Optional[str] = None,
non_ip_traffic_block_enabled: Optional[bool] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_segment_security_profile_id: Optional[str] = None,
ra_guard_enabled: Optional[bool] = None,
rate_limits: Optional[Sequence[PolicySegmentSecurityProfileRateLimitArgs]] = None,
rate_limits_enabled: Optional[bool] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[PolicySegmentSecurityProfileTagArgs]] = None) -> PolicySegmentSecurityProfile
func GetPolicySegmentSecurityProfile(ctx *Context, name string, id IDInput, state *PolicySegmentSecurityProfileState, opts ...ResourceOption) (*PolicySegmentSecurityProfile, error)
public static PolicySegmentSecurityProfile Get(string name, Input<string> id, PolicySegmentSecurityProfileState? state, CustomResourceOptions? opts = null)
public static PolicySegmentSecurityProfile get(String name, Output<String> id, PolicySegmentSecurityProfileState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicySegmentSecurityProfile 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.
- Bpdu
Filter List<string>Allows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - Bpdu
Filter boolEnable - Indicates whether BPDU filter is enabled. Default is
True
. - Context
Policy
Segment Security Profile Context - The context which the object belongs to
- Description string
- Description of the resource.
- Dhcp
Client boolBlock Enabled - Filters DHCP server and/or client traffic. Default is
False
. - Dhcp
Client boolBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - Dhcp
Server boolBlock Enabled - Filters DHCP server and/or client traffic. Default is
True
. - Dhcp
Server boolBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - Display
Name string - Display name of the resource.
- Non
Ip boolTraffic Block Enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Segment stringSecurity Profile Id - ID of the resource.
- Ra
Guard boolEnabled - Enable or disable Router Advertisement Guard. Default is
False
- Rate
Limits List<PolicySegment Security Profile Rate Limit> - Rate limits.
- Rate
Limits boolEnabled - Enable or disable Rate Limits. Default is
False
. - Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Segment Security Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Bpdu
Filter []stringAllows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - Bpdu
Filter boolEnable - Indicates whether BPDU filter is enabled. Default is
True
. - Context
Policy
Segment Security Profile Context Args - The context which the object belongs to
- Description string
- Description of the resource.
- Dhcp
Client boolBlock Enabled - Filters DHCP server and/or client traffic. Default is
False
. - Dhcp
Client boolBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - Dhcp
Server boolBlock Enabled - Filters DHCP server and/or client traffic. Default is
True
. - Dhcp
Server boolBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - Display
Name string - Display name of the resource.
- Non
Ip boolTraffic Block Enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Segment stringSecurity Profile Id - ID of the resource.
- Ra
Guard boolEnabled - Enable or disable Router Advertisement Guard. Default is
False
- Rate
Limits []PolicySegment Security Profile Rate Limit Args - Rate limits.
- Rate
Limits boolEnabled - Enable or disable Rate Limits. Default is
False
. - Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Policy
Segment Security Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- bpdu
Filter List<String>Allows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - bpdu
Filter BooleanEnable - Indicates whether BPDU filter is enabled. Default is
True
. - context
Policy
Segment Security Profile Context - The context which the object belongs to
- description String
- Description of the resource.
- dhcp
Client BooleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
False
. - dhcp
Client BooleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - dhcp
Server BooleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
True
. - dhcp
Server BooleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - display
Name String - Display name of the resource.
- non
Ip BooleanTraffic Block Enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Segment StringSecurity Profile Id - ID of the resource.
- ra
Guard BooleanEnabled - Enable or disable Router Advertisement Guard. Default is
False
- rate
Limits List<PolicySegment Security Profile Rate Limit> - Rate limits.
- rate
Limits BooleanEnabled - Enable or disable Rate Limits. Default is
False
. - revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Segment Security Profile Tag> - A list of scope + tag pairs to associate with this resource.
- bpdu
Filter string[]Allows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - bpdu
Filter booleanEnable - Indicates whether BPDU filter is enabled. Default is
True
. - context
Policy
Segment Security Profile Context - The context which the object belongs to
- description string
- Description of the resource.
- dhcp
Client booleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
False
. - dhcp
Client booleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - dhcp
Server booleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
True
. - dhcp
Server booleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - display
Name string - Display name of the resource.
- non
Ip booleanTraffic Block Enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path string
- The NSX path of the policy resource.
- policy
Segment stringSecurity Profile Id - ID of the resource.
- ra
Guard booleanEnabled - Enable or disable Router Advertisement Guard. Default is
False
- rate
Limits PolicySegment Security Profile Rate Limit[] - Rate limits.
- rate
Limits booleanEnabled - Enable or disable Rate Limits. Default is
False
. - revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Policy
Segment Security Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- bpdu_
filter_ Sequence[str]allows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - bpdu_
filter_ boolenable - Indicates whether BPDU filter is enabled. Default is
True
. - context
Policy
Segment Security Profile Context Args - The context which the object belongs to
- description str
- Description of the resource.
- dhcp_
client_ boolblock_ enabled - Filters DHCP server and/or client traffic. Default is
False
. - dhcp_
client_ boolblock_ v6_ enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - dhcp_
server_ boolblock_ enabled - Filters DHCP server and/or client traffic. Default is
True
. - dhcp_
server_ boolblock_ v6_ enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - display_
name str - Display name of the resource.
- non_
ip_ booltraffic_ block_ enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path str
- The NSX path of the policy resource.
- policy_
segment_ strsecurity_ profile_ id - ID of the resource.
- ra_
guard_ boolenabled - Enable or disable Router Advertisement Guard. Default is
False
- rate_
limits Sequence[PolicySegment Security Profile Rate Limit Args] - Rate limits.
- rate_
limits_ boolenabled - Enable or disable Rate Limits. Default is
False
. - revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Policy
Segment Security Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- bpdu
Filter List<String>Allows - List of allowed MAC addresses to be excluded from BPDU filtering. List of allowed MACs -
01:80:c2:00:00:00
,01:80:c2:00:00:01
,01:80:c2:00:00:02
,01:80:c2:00:00:03
,01:80:c2:00:00:04
,01:80:c2:00:00:05
,01:80:c2:00:00:06
,01:80:c2:00:00:07
,01:80:c2:00:00:08
,01:80:c2:00:00:09
,01:80:c2:00:00:0a
,01:80:c2:00:00:0b
,01:80:c2:00:00:0c
,01:80:c2:00:00:0d
,01:80:c2:00:00:0e
,01:80:c2:00:00:0f
,00:e0:2b:00:00:00
,00:e0:2b:00:00:04
,00:e0:2b:00:00:06
,01:00:0c:00:00:00
,01:00:0c:cc:cc:cc
,01:00:0c:cc:cc:cd
,01:00:0c:cd:cd:cd
,01:00:0c:cc:cc:c0
,01:00:0c:cc:cc:c1
,01:00:0c:cc:cc:c2
,01:00:0c:cc:cc:c3
,01:00:0c:cc:cc:c4
,01:00:0c:cc:cc:c5
,01:00:0c:cc:cc:c6
,01:00:0c:cc:cc:c7
. - bpdu
Filter BooleanEnable - Indicates whether BPDU filter is enabled. Default is
True
. - context Property Map
- The context which the object belongs to
- description String
- Description of the resource.
- dhcp
Client BooleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
False
. - dhcp
Client BooleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
False
. - dhcp
Server BooleanBlock Enabled - Filters DHCP server and/or client traffic. Default is
True
. - dhcp
Server BooleanBlock V6Enabled - Filters DHCP server and/or client IPv6 traffic. Default is
True
. - display
Name String - Display name of the resource.
- non
Ip BooleanTraffic Block Enabled - A flag to block all traffic except IP/(G)ARP/BPDU. Default is
False
. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Segment StringSecurity Profile Id - ID of the resource.
- ra
Guard BooleanEnabled - Enable or disable Router Advertisement Guard. Default is
False
- rate
Limits List<Property Map> - Rate limits.
- rate
Limits BooleanEnabled - Enable or disable Rate Limits. Default is
False
. - revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicySegmentSecurityProfileContext, PolicySegmentSecurityProfileContextArgs
- Project
Id string - The ID of the project which the object belongs to
- Project
Id string - The ID of the project which the object belongs to
- project
Id String - The ID of the project which the object belongs to
- project
Id string - The ID of the project which the object belongs to
- project_
id str - The ID of the project which the object belongs to
- project
Id String - The ID of the project which the object belongs to
PolicySegmentSecurityProfileRateLimit, PolicySegmentSecurityProfileRateLimitArgs
- Rx
Broadcast double - Incoming broadcast traffic limit in packets per second.
- Rx
Multicast double - Incoming multicast traffic limit in packets per second.
- Tx
Broadcast double - Outgoing broadcast traffic limit in packets per second.
- Tx
Multicast double - Outgoing multicast traffic limit in packets per second.
- Rx
Broadcast float64 - Incoming broadcast traffic limit in packets per second.
- Rx
Multicast float64 - Incoming multicast traffic limit in packets per second.
- Tx
Broadcast float64 - Outgoing broadcast traffic limit in packets per second.
- Tx
Multicast float64 - Outgoing multicast traffic limit in packets per second.
- rx
Broadcast Double - Incoming broadcast traffic limit in packets per second.
- rx
Multicast Double - Incoming multicast traffic limit in packets per second.
- tx
Broadcast Double - Outgoing broadcast traffic limit in packets per second.
- tx
Multicast Double - Outgoing multicast traffic limit in packets per second.
- rx
Broadcast number - Incoming broadcast traffic limit in packets per second.
- rx
Multicast number - Incoming multicast traffic limit in packets per second.
- tx
Broadcast number - Outgoing broadcast traffic limit in packets per second.
- tx
Multicast number - Outgoing multicast traffic limit in packets per second.
- rx_
broadcast float - Incoming broadcast traffic limit in packets per second.
- rx_
multicast float - Incoming multicast traffic limit in packets per second.
- tx_
broadcast float - Outgoing broadcast traffic limit in packets per second.
- tx_
multicast float - Outgoing multicast traffic limit in packets per second.
- rx
Broadcast Number - Incoming broadcast traffic limit in packets per second.
- rx
Multicast Number - Incoming multicast traffic limit in packets per second.
- tx
Broadcast Number - Outgoing broadcast traffic limit in packets per second.
- tx
Multicast Number - Outgoing multicast traffic limit in packets per second.
PolicySegmentSecurityProfileTag, PolicySegmentSecurityProfileTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.