1. Packages
  2. Nsxt Provider
  3. API Docs
  4. PolicySegmentPort
nsxt 3.11.0 published on Monday, Dec 15, 2025 by vmware
nsxt logo
nsxt 3.11.0 published on Monday, Dec 15, 2025 by vmware

    Create PolicySegmentPort Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PolicySegmentPort(name: string, args: PolicySegmentPortArgs, opts?: CustomResourceOptions);
    @overload
    def PolicySegmentPort(resource_name: str,
                          args: PolicySegmentPortArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicySegmentPort(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          display_name: Optional[str] = None,
                          segment_path: Optional[str] = None,
                          attachment: Optional[PolicySegmentPortAttachmentArgs] = None,
                          context: Optional[PolicySegmentPortContextArgs] = None,
                          description: Optional[str] = None,
                          discovery_profile: Optional[PolicySegmentPortDiscoveryProfileArgs] = None,
                          nsx_id: Optional[str] = None,
                          policy_segment_port_id: Optional[str] = None,
                          qos_profile: Optional[PolicySegmentPortQosProfileArgs] = None,
                          security_profile: Optional[PolicySegmentPortSecurityProfileArgs] = None,
                          tags: Optional[Sequence[PolicySegmentPortTagArgs]] = None)
    func NewPolicySegmentPort(ctx *Context, name string, args PolicySegmentPortArgs, opts ...ResourceOption) (*PolicySegmentPort, error)
    public PolicySegmentPort(string name, PolicySegmentPortArgs args, CustomResourceOptions? opts = null)
    public PolicySegmentPort(String name, PolicySegmentPortArgs args)
    public PolicySegmentPort(String name, PolicySegmentPortArgs args, CustomResourceOptions options)
    
    type: nsxt:PolicySegmentPort
    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 PolicySegmentPortArgs
    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 PolicySegmentPortArgs
    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 PolicySegmentPortArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicySegmentPortArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicySegmentPortArgs
    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 policySegmentPortResource = new Nsxt.PolicySegmentPort("policySegmentPortResource", new()
    {
        DisplayName = "string",
        SegmentPath = "string",
        Attachment = new Nsxt.Inputs.PolicySegmentPortAttachmentArgs
        {
            AllocateAddresses = "string",
            AppId = "string",
            EvpnVlans = new[]
            {
                "string",
            },
            HyperbusMode = "string",
            Id = "string",
            TrafficTag = 0,
            Type = "string",
        },
        Context = new Nsxt.Inputs.PolicySegmentPortContextArgs
        {
            ProjectId = "string",
        },
        Description = "string",
        DiscoveryProfile = new Nsxt.Inputs.PolicySegmentPortDiscoveryProfileArgs
        {
            BindingMapPath = "string",
            IpDiscoveryProfilePath = "string",
            MacDiscoveryProfilePath = "string",
            Revision = 0,
        },
        NsxId = "string",
        PolicySegmentPortId = "string",
        QosProfile = new Nsxt.Inputs.PolicySegmentPortQosProfileArgs
        {
            QosProfilePath = "string",
            BindingMapPath = "string",
            Revision = 0,
        },
        SecurityProfile = new Nsxt.Inputs.PolicySegmentPortSecurityProfileArgs
        {
            BindingMapPath = "string",
            Revision = 0,
            SecurityProfilePath = "string",
            SpoofguardProfilePath = "string",
        },
        Tags = new[]
        {
            new Nsxt.Inputs.PolicySegmentPortTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
    });
    
    example, err := nsxt.NewPolicySegmentPort(ctx, "policySegmentPortResource", &nsxt.PolicySegmentPortArgs{
    	DisplayName: pulumi.String("string"),
    	SegmentPath: pulumi.String("string"),
    	Attachment: &nsxt.PolicySegmentPortAttachmentArgs{
    		AllocateAddresses: pulumi.String("string"),
    		AppId:             pulumi.String("string"),
    		EvpnVlans: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		HyperbusMode: pulumi.String("string"),
    		Id:           pulumi.String("string"),
    		TrafficTag:   pulumi.Float64(0),
    		Type:         pulumi.String("string"),
    	},
    	Context: &nsxt.PolicySegmentPortContextArgs{
    		ProjectId: pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DiscoveryProfile: &nsxt.PolicySegmentPortDiscoveryProfileArgs{
    		BindingMapPath:          pulumi.String("string"),
    		IpDiscoveryProfilePath:  pulumi.String("string"),
    		MacDiscoveryProfilePath: pulumi.String("string"),
    		Revision:                pulumi.Float64(0),
    	},
    	NsxId:               pulumi.String("string"),
    	PolicySegmentPortId: pulumi.String("string"),
    	QosProfile: &nsxt.PolicySegmentPortQosProfileArgs{
    		QosProfilePath: pulumi.String("string"),
    		BindingMapPath: pulumi.String("string"),
    		Revision:       pulumi.Float64(0),
    	},
    	SecurityProfile: &nsxt.PolicySegmentPortSecurityProfileArgs{
    		BindingMapPath:        pulumi.String("string"),
    		Revision:              pulumi.Float64(0),
    		SecurityProfilePath:   pulumi.String("string"),
    		SpoofguardProfilePath: pulumi.String("string"),
    	},
    	Tags: nsxt.PolicySegmentPortTagArray{
    		&nsxt.PolicySegmentPortTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    })
    
    var policySegmentPortResource = new PolicySegmentPort("policySegmentPortResource", PolicySegmentPortArgs.builder()
        .displayName("string")
        .segmentPath("string")
        .attachment(PolicySegmentPortAttachmentArgs.builder()
            .allocateAddresses("string")
            .appId("string")
            .evpnVlans("string")
            .hyperbusMode("string")
            .id("string")
            .trafficTag(0.0)
            .type("string")
            .build())
        .context(PolicySegmentPortContextArgs.builder()
            .projectId("string")
            .build())
        .description("string")
        .discoveryProfile(PolicySegmentPortDiscoveryProfileArgs.builder()
            .bindingMapPath("string")
            .ipDiscoveryProfilePath("string")
            .macDiscoveryProfilePath("string")
            .revision(0.0)
            .build())
        .nsxId("string")
        .policySegmentPortId("string")
        .qosProfile(PolicySegmentPortQosProfileArgs.builder()
            .qosProfilePath("string")
            .bindingMapPath("string")
            .revision(0.0)
            .build())
        .securityProfile(PolicySegmentPortSecurityProfileArgs.builder()
            .bindingMapPath("string")
            .revision(0.0)
            .securityProfilePath("string")
            .spoofguardProfilePath("string")
            .build())
        .tags(PolicySegmentPortTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .build());
    
    policy_segment_port_resource = nsxt.PolicySegmentPort("policySegmentPortResource",
        display_name="string",
        segment_path="string",
        attachment={
            "allocate_addresses": "string",
            "app_id": "string",
            "evpn_vlans": ["string"],
            "hyperbus_mode": "string",
            "id": "string",
            "traffic_tag": 0,
            "type": "string",
        },
        context={
            "project_id": "string",
        },
        description="string",
        discovery_profile={
            "binding_map_path": "string",
            "ip_discovery_profile_path": "string",
            "mac_discovery_profile_path": "string",
            "revision": 0,
        },
        nsx_id="string",
        policy_segment_port_id="string",
        qos_profile={
            "qos_profile_path": "string",
            "binding_map_path": "string",
            "revision": 0,
        },
        security_profile={
            "binding_map_path": "string",
            "revision": 0,
            "security_profile_path": "string",
            "spoofguard_profile_path": "string",
        },
        tags=[{
            "scope": "string",
            "tag": "string",
        }])
    
    const policySegmentPortResource = new nsxt.PolicySegmentPort("policySegmentPortResource", {
        displayName: "string",
        segmentPath: "string",
        attachment: {
            allocateAddresses: "string",
            appId: "string",
            evpnVlans: ["string"],
            hyperbusMode: "string",
            id: "string",
            trafficTag: 0,
            type: "string",
        },
        context: {
            projectId: "string",
        },
        description: "string",
        discoveryProfile: {
            bindingMapPath: "string",
            ipDiscoveryProfilePath: "string",
            macDiscoveryProfilePath: "string",
            revision: 0,
        },
        nsxId: "string",
        policySegmentPortId: "string",
        qosProfile: {
            qosProfilePath: "string",
            bindingMapPath: "string",
            revision: 0,
        },
        securityProfile: {
            bindingMapPath: "string",
            revision: 0,
            securityProfilePath: "string",
            spoofguardProfilePath: "string",
        },
        tags: [{
            scope: "string",
            tag: "string",
        }],
    });
    
    type: nsxt:PolicySegmentPort
    properties:
        attachment:
            allocateAddresses: string
            appId: string
            evpnVlans:
                - string
            hyperbusMode: string
            id: string
            trafficTag: 0
            type: string
        context:
            projectId: string
        description: string
        discoveryProfile:
            bindingMapPath: string
            ipDiscoveryProfilePath: string
            macDiscoveryProfilePath: string
            revision: 0
        displayName: string
        nsxId: string
        policySegmentPortId: string
        qosProfile:
            bindingMapPath: string
            qosProfilePath: string
            revision: 0
        securityProfile:
            bindingMapPath: string
            revision: 0
            securityProfilePath: string
            spoofguardProfilePath: string
        segmentPath: string
        tags:
            - scope: string
              tag: string
    

    PolicySegmentPort 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 PolicySegmentPort resource accepts the following input properties:

    DisplayName string
    Display name of the resource.
    SegmentPath string
    Path of the segment port.
    Attachment PolicySegmentPortAttachment
    VIF attachment.
    Context PolicySegmentPortContext
    The context which the object belongs to
    Description string
    Description of the resource.
    DiscoveryProfile PolicySegmentPortDiscoveryProfile
    IP and MAC discovery profiles for this segment port.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicySegmentPortId string
    ID of the Segment Port.
    QosProfile PolicySegmentPortQosProfile
    QoS profiles for this segment port.
    SecurityProfile PolicySegmentPortSecurityProfile
    Security profiles for this segment port.
    Tags List<PolicySegmentPortTag>
    A list of scope + tag pairs to associate with this policy.
    DisplayName string
    Display name of the resource.
    SegmentPath string
    Path of the segment port.
    Attachment PolicySegmentPortAttachmentArgs
    VIF attachment.
    Context PolicySegmentPortContextArgs
    The context which the object belongs to
    Description string
    Description of the resource.
    DiscoveryProfile PolicySegmentPortDiscoveryProfileArgs
    IP and MAC discovery profiles for this segment port.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicySegmentPortId string
    ID of the Segment Port.
    QosProfile PolicySegmentPortQosProfileArgs
    QoS profiles for this segment port.
    SecurityProfile PolicySegmentPortSecurityProfileArgs
    Security profiles for this segment port.
    Tags []PolicySegmentPortTagArgs
    A list of scope + tag pairs to associate with this policy.
    displayName String
    Display name of the resource.
    segmentPath String
    Path of the segment port.
    attachment PolicySegmentPortAttachment
    VIF attachment.
    context PolicySegmentPortContext
    The context which the object belongs to
    description String
    Description of the resource.
    discoveryProfile PolicySegmentPortDiscoveryProfile
    IP and MAC discovery profiles for this segment port.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policySegmentPortId String
    ID of the Segment Port.
    qosProfile PolicySegmentPortQosProfile
    QoS profiles for this segment port.
    securityProfile PolicySegmentPortSecurityProfile
    Security profiles for this segment port.
    tags List<PolicySegmentPortTag>
    A list of scope + tag pairs to associate with this policy.
    displayName string
    Display name of the resource.
    segmentPath string
    Path of the segment port.
    attachment PolicySegmentPortAttachment
    VIF attachment.
    context PolicySegmentPortContext
    The context which the object belongs to
    description string
    Description of the resource.
    discoveryProfile PolicySegmentPortDiscoveryProfile
    IP and MAC discovery profiles for this segment port.
    nsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policySegmentPortId string
    ID of the Segment Port.
    qosProfile PolicySegmentPortQosProfile
    QoS profiles for this segment port.
    securityProfile PolicySegmentPortSecurityProfile
    Security profiles for this segment port.
    tags PolicySegmentPortTag[]
    A list of scope + tag pairs to associate with this policy.
    display_name str
    Display name of the resource.
    segment_path str
    Path of the segment port.
    attachment PolicySegmentPortAttachmentArgs
    VIF attachment.
    context PolicySegmentPortContextArgs
    The context which the object belongs to
    description str
    Description of the resource.
    discovery_profile PolicySegmentPortDiscoveryProfileArgs
    IP and MAC discovery profiles for this segment port.
    nsx_id str
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policy_segment_port_id str
    ID of the Segment Port.
    qos_profile PolicySegmentPortQosProfileArgs
    QoS profiles for this segment port.
    security_profile PolicySegmentPortSecurityProfileArgs
    Security profiles for this segment port.
    tags Sequence[PolicySegmentPortTagArgs]
    A list of scope + tag pairs to associate with this policy.
    displayName String
    Display name of the resource.
    segmentPath String
    Path of the segment port.
    attachment Property Map
    VIF attachment.
    context Property Map
    The context which the object belongs to
    description String
    Description of the resource.
    discoveryProfile Property Map
    IP and MAC discovery profiles for this segment port.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policySegmentPortId String
    ID of the Segment Port.
    qosProfile Property Map
    QoS profiles for this segment port.
    securityProfile Property Map
    Security profiles for this segment port.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this policy.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PolicySegmentPort resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed 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.
    Id string
    The provider-assigned unique ID for this managed 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.
    id String
    The provider-assigned unique ID for this managed 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.
    id string
    The provider-assigned unique ID for this managed 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.
    id str
    The provider-assigned unique ID for this managed 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.
    id String
    The provider-assigned unique ID for this managed 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.

    Look up Existing PolicySegmentPort Resource

    Get an existing PolicySegmentPort 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?: PolicySegmentPortState, opts?: CustomResourceOptions): PolicySegmentPort
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            attachment: Optional[PolicySegmentPortAttachmentArgs] = None,
            context: Optional[PolicySegmentPortContextArgs] = None,
            description: Optional[str] = None,
            discovery_profile: Optional[PolicySegmentPortDiscoveryProfileArgs] = None,
            display_name: Optional[str] = None,
            nsx_id: Optional[str] = None,
            path: Optional[str] = None,
            policy_segment_port_id: Optional[str] = None,
            qos_profile: Optional[PolicySegmentPortQosProfileArgs] = None,
            revision: Optional[float] = None,
            security_profile: Optional[PolicySegmentPortSecurityProfileArgs] = None,
            segment_path: Optional[str] = None,
            tags: Optional[Sequence[PolicySegmentPortTagArgs]] = None) -> PolicySegmentPort
    func GetPolicySegmentPort(ctx *Context, name string, id IDInput, state *PolicySegmentPortState, opts ...ResourceOption) (*PolicySegmentPort, error)
    public static PolicySegmentPort Get(string name, Input<string> id, PolicySegmentPortState? state, CustomResourceOptions? opts = null)
    public static PolicySegmentPort get(String name, Output<String> id, PolicySegmentPortState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:PolicySegmentPort    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.
    The following state arguments are supported:
    Attachment PolicySegmentPortAttachment
    VIF attachment.
    Context PolicySegmentPortContext
    The context which the object belongs to
    Description string
    Description of the resource.
    DiscoveryProfile PolicySegmentPortDiscoveryProfile
    IP and MAC discovery profiles for this segment port.
    DisplayName string
    Display name of the resource.
    NsxId 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.
    PolicySegmentPortId string
    ID of the Segment Port.
    QosProfile PolicySegmentPortQosProfile
    QoS profiles for this segment port.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SecurityProfile PolicySegmentPortSecurityProfile
    Security profiles for this segment port.
    SegmentPath string
    Path of the segment port.
    Tags List<PolicySegmentPortTag>
    A list of scope + tag pairs to associate with this policy.
    Attachment PolicySegmentPortAttachmentArgs
    VIF attachment.
    Context PolicySegmentPortContextArgs
    The context which the object belongs to
    Description string
    Description of the resource.
    DiscoveryProfile PolicySegmentPortDiscoveryProfileArgs
    IP and MAC discovery profiles for this segment port.
    DisplayName string
    Display name of the resource.
    NsxId 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.
    PolicySegmentPortId string
    ID of the Segment Port.
    QosProfile PolicySegmentPortQosProfileArgs
    QoS profiles for this segment port.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SecurityProfile PolicySegmentPortSecurityProfileArgs
    Security profiles for this segment port.
    SegmentPath string
    Path of the segment port.
    Tags []PolicySegmentPortTagArgs
    A list of scope + tag pairs to associate with this policy.
    attachment PolicySegmentPortAttachment
    VIF attachment.
    context PolicySegmentPortContext
    The context which the object belongs to
    description String
    Description of the resource.
    discoveryProfile PolicySegmentPortDiscoveryProfile
    IP and MAC discovery profiles for this segment port.
    displayName String
    Display name of the resource.
    nsxId 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.
    policySegmentPortId String
    ID of the Segment Port.
    qosProfile PolicySegmentPortQosProfile
    QoS profiles for this segment port.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    securityProfile PolicySegmentPortSecurityProfile
    Security profiles for this segment port.
    segmentPath String
    Path of the segment port.
    tags List<PolicySegmentPortTag>
    A list of scope + tag pairs to associate with this policy.
    attachment PolicySegmentPortAttachment
    VIF attachment.
    context PolicySegmentPortContext
    The context which the object belongs to
    description string
    Description of the resource.
    discoveryProfile PolicySegmentPortDiscoveryProfile
    IP and MAC discovery profiles for this segment port.
    displayName string
    Display name of the resource.
    nsxId 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.
    policySegmentPortId string
    ID of the Segment Port.
    qosProfile PolicySegmentPortQosProfile
    QoS profiles for this segment port.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    securityProfile PolicySegmentPortSecurityProfile
    Security profiles for this segment port.
    segmentPath string
    Path of the segment port.
    tags PolicySegmentPortTag[]
    A list of scope + tag pairs to associate with this policy.
    attachment PolicySegmentPortAttachmentArgs
    VIF attachment.
    context PolicySegmentPortContextArgs
    The context which the object belongs to
    description str
    Description of the resource.
    discovery_profile PolicySegmentPortDiscoveryProfileArgs
    IP and MAC discovery profiles for this segment port.
    display_name str
    Display name of the resource.
    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_port_id str
    ID of the Segment Port.
    qos_profile PolicySegmentPortQosProfileArgs
    QoS profiles for this segment port.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    security_profile PolicySegmentPortSecurityProfileArgs
    Security profiles for this segment port.
    segment_path str
    Path of the segment port.
    tags Sequence[PolicySegmentPortTagArgs]
    A list of scope + tag pairs to associate with this policy.
    attachment Property Map
    VIF attachment.
    context Property Map
    The context which the object belongs to
    description String
    Description of the resource.
    discoveryProfile Property Map
    IP and MAC discovery profiles for this segment port.
    displayName String
    Display name of the resource.
    nsxId 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.
    policySegmentPortId String
    ID of the Segment Port.
    qosProfile Property Map
    QoS profiles for this segment port.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    securityProfile Property Map
    Security profiles for this segment port.
    segmentPath String
    Path of the segment port.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this policy.

    Supporting Types

    PolicySegmentPortAttachment, PolicySegmentPortAttachmentArgs

    AllocateAddresses string
    Indicate how IP will be allocated for the port. Allowed values are IP_POOL, MAC_POOL, BOTH, DHCP, DHCPV6, SLAAC, NONE
    AppId string
    ID used to identify/look up a child attachment behind a parent attachment
    EvpnVlans List<string>
    Evpn tenant VLAN IDs the Parent logical-port serves.
    HyperbusMode string
    ID used to identify/look up a child attachment behind a parent attachment
    Id string
    ID of the Segment Port.
    TrafficTag double
    VIF UUID on NSX Manager. If the attachement type is PARENT, this property is required.
    Type string
    Type of port attachment. PARENT type is automatically set if evpn_vlans or hyperbus_mode is configured. INDEPENDENT type is automatically set for ports that belong to Segment of type DVPortgroup. STATIC type is deprecated.
    AllocateAddresses string
    Indicate how IP will be allocated for the port. Allowed values are IP_POOL, MAC_POOL, BOTH, DHCP, DHCPV6, SLAAC, NONE
    AppId string
    ID used to identify/look up a child attachment behind a parent attachment
    EvpnVlans []string
    Evpn tenant VLAN IDs the Parent logical-port serves.
    HyperbusMode string
    ID used to identify/look up a child attachment behind a parent attachment
    Id string
    ID of the Segment Port.
    TrafficTag float64
    VIF UUID on NSX Manager. If the attachement type is PARENT, this property is required.
    Type string
    Type of port attachment. PARENT type is automatically set if evpn_vlans or hyperbus_mode is configured. INDEPENDENT type is automatically set for ports that belong to Segment of type DVPortgroup. STATIC type is deprecated.
    allocateAddresses String
    Indicate how IP will be allocated for the port. Allowed values are IP_POOL, MAC_POOL, BOTH, DHCP, DHCPV6, SLAAC, NONE
    appId String
    ID used to identify/look up a child attachment behind a parent attachment
    evpnVlans List<String>
    Evpn tenant VLAN IDs the Parent logical-port serves.
    hyperbusMode String
    ID used to identify/look up a child attachment behind a parent attachment
    id String
    ID of the Segment Port.
    trafficTag Double
    VIF UUID on NSX Manager. If the attachement type is PARENT, this property is required.
    type String
    Type of port attachment. PARENT type is automatically set if evpn_vlans or hyperbus_mode is configured. INDEPENDENT type is automatically set for ports that belong to Segment of type DVPortgroup. STATIC type is deprecated.
    allocateAddresses string
    Indicate how IP will be allocated for the port. Allowed values are IP_POOL, MAC_POOL, BOTH, DHCP, DHCPV6, SLAAC, NONE
    appId string
    ID used to identify/look up a child attachment behind a parent attachment
    evpnVlans string[]
    Evpn tenant VLAN IDs the Parent logical-port serves.
    hyperbusMode string
    ID used to identify/look up a child attachment behind a parent attachment
    id string
    ID of the Segment Port.
    trafficTag number
    VIF UUID on NSX Manager. If the attachement type is PARENT, this property is required.
    type string
    Type of port attachment. PARENT type is automatically set if evpn_vlans or hyperbus_mode is configured. INDEPENDENT type is automatically set for ports that belong to Segment of type DVPortgroup. STATIC type is deprecated.
    allocate_addresses str
    Indicate how IP will be allocated for the port. Allowed values are IP_POOL, MAC_POOL, BOTH, DHCP, DHCPV6, SLAAC, NONE
    app_id str
    ID used to identify/look up a child attachment behind a parent attachment
    evpn_vlans Sequence[str]
    Evpn tenant VLAN IDs the Parent logical-port serves.
    hyperbus_mode str
    ID used to identify/look up a child attachment behind a parent attachment
    id str
    ID of the Segment Port.
    traffic_tag float
    VIF UUID on NSX Manager. If the attachement type is PARENT, this property is required.
    type str
    Type of port attachment. PARENT type is automatically set if evpn_vlans or hyperbus_mode is configured. INDEPENDENT type is automatically set for ports that belong to Segment of type DVPortgroup. STATIC type is deprecated.
    allocateAddresses String
    Indicate how IP will be allocated for the port. Allowed values are IP_POOL, MAC_POOL, BOTH, DHCP, DHCPV6, SLAAC, NONE
    appId String
    ID used to identify/look up a child attachment behind a parent attachment
    evpnVlans List<String>
    Evpn tenant VLAN IDs the Parent logical-port serves.
    hyperbusMode String
    ID used to identify/look up a child attachment behind a parent attachment
    id String
    ID of the Segment Port.
    trafficTag Number
    VIF UUID on NSX Manager. If the attachement type is PARENT, this property is required.
    type String
    Type of port attachment. PARENT type is automatically set if evpn_vlans or hyperbus_mode is configured. INDEPENDENT type is automatically set for ports that belong to Segment of type DVPortgroup. STATIC type is deprecated.

    PolicySegmentPortContext, PolicySegmentPortContextArgs

    ProjectId string
    The ID of the project which the object belongs to
    ProjectId string
    The ID of the project which the object belongs to
    projectId String
    The ID of the project which the object belongs to
    projectId string
    The ID of the project which the object belongs to
    project_id str
    The ID of the project which the object belongs to
    projectId String
    The ID of the project which the object belongs to

    PolicySegmentPortDiscoveryProfile, PolicySegmentPortDiscoveryProfileArgs

    BindingMapPath string
    Policy path of profile binding map
    IpDiscoveryProfilePath string
    Policy path of associated IP Discovery Profile
    MacDiscoveryProfilePath string
    Policy path of associated Mac Discovery Profile
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    BindingMapPath string
    Policy path of profile binding map
    IpDiscoveryProfilePath string
    Policy path of associated IP Discovery Profile
    MacDiscoveryProfilePath string
    Policy path of associated Mac Discovery Profile
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    bindingMapPath String
    Policy path of profile binding map
    ipDiscoveryProfilePath String
    Policy path of associated IP Discovery Profile
    macDiscoveryProfilePath String
    Policy path of associated Mac Discovery Profile
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    bindingMapPath string
    Policy path of profile binding map
    ipDiscoveryProfilePath string
    Policy path of associated IP Discovery Profile
    macDiscoveryProfilePath string
    Policy path of associated Mac Discovery Profile
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    binding_map_path str
    Policy path of profile binding map
    ip_discovery_profile_path str
    Policy path of associated IP Discovery Profile
    mac_discovery_profile_path str
    Policy path of associated Mac Discovery Profile
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    bindingMapPath String
    Policy path of profile binding map
    ipDiscoveryProfilePath String
    Policy path of associated IP Discovery Profile
    macDiscoveryProfilePath String
    Policy path of associated Mac Discovery Profile
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.

    PolicySegmentPortQosProfile, PolicySegmentPortQosProfileArgs

    QosProfilePath string
    Policy path of associated QoS Profile
    BindingMapPath string
    Policy path of profile binding map
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    QosProfilePath string
    Policy path of associated QoS Profile
    BindingMapPath string
    Policy path of profile binding map
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    qosProfilePath String
    Policy path of associated QoS Profile
    bindingMapPath String
    Policy path of profile binding map
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    qosProfilePath string
    Policy path of associated QoS Profile
    bindingMapPath string
    Policy path of profile binding map
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    qos_profile_path str
    Policy path of associated QoS Profile
    binding_map_path str
    Policy path of profile binding map
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    qosProfilePath String
    Policy path of associated QoS Profile
    bindingMapPath String
    Policy path of profile binding map
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.

    PolicySegmentPortSecurityProfile, PolicySegmentPortSecurityProfileArgs

    BindingMapPath string
    Policy path of profile binding map
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SecurityProfilePath string
    Policy path of associated Segment Security Profile
    SpoofguardProfilePath string
    Policy path of associated Spoofguard Profile
    BindingMapPath string
    Policy path of profile binding map
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SecurityProfilePath string
    Policy path of associated Segment Security Profile
    SpoofguardProfilePath string
    Policy path of associated Spoofguard Profile
    bindingMapPath String
    Policy path of profile binding map
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    securityProfilePath String
    Policy path of associated Segment Security Profile
    spoofguardProfilePath String
    Policy path of associated Spoofguard Profile
    bindingMapPath string
    Policy path of profile binding map
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    securityProfilePath string
    Policy path of associated Segment Security Profile
    spoofguardProfilePath string
    Policy path of associated Spoofguard Profile
    binding_map_path str
    Policy path of profile binding map
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    security_profile_path str
    Policy path of associated Segment Security Profile
    spoofguard_profile_path str
    Policy path of associated Spoofguard Profile
    bindingMapPath String
    Policy path of profile binding map
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    securityProfilePath String
    Policy path of associated Segment Security Profile
    spoofguardProfilePath String
    Policy path of associated Spoofguard Profile

    PolicySegmentPortTag, PolicySegmentPortTagArgs

    Scope string
    Tag string
    A list of scope + tag pairs to associate with this policy.
    Scope string
    Tag string
    A list of scope + tag pairs to associate with this policy.
    scope String
    tag String
    A list of scope + tag pairs to associate with this policy.
    scope string
    tag string
    A list of scope + tag pairs to associate with this policy.
    scope str
    tag str
    A list of scope + tag pairs to associate with this policy.
    scope String
    tag String
    A list of scope + tag pairs to associate with this policy.

    Package Details

    Repository
    nsxt vmware/terraform-provider-nsxt
    License
    Notes
    This Pulumi package is based on the nsxt Terraform Provider.
    nsxt logo
    nsxt 3.11.0 published on Monday, Dec 15, 2025 by vmware
      Meet Neo: Your AI Platform Teammate