1. Packages
  2. Nsxt Provider
  3. API Docs
  4. PolicySegment
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

nsxt.PolicySegment

Explore with Pulumi AI

nsxt logo
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

    Create PolicySegment Resource

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

    Constructor syntax

    new PolicySegment(name: string, args: PolicySegmentArgs, opts?: CustomResourceOptions);
    @overload
    def PolicySegment(resource_name: str,
                      args: PolicySegmentArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicySegment(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      display_name: Optional[str] = None,
                      l2_extension: Optional[PolicySegmentL2ExtensionArgs] = None,
                      nsx_id: Optional[str] = None,
                      context: Optional[PolicySegmentContextArgs] = None,
                      description: Optional[str] = None,
                      dhcp_config_path: Optional[str] = None,
                      discovery_profile: Optional[PolicySegmentDiscoveryProfileArgs] = None,
                      bridge_configs: Optional[Sequence[PolicySegmentBridgeConfigArgs]] = None,
                      domain_name: Optional[str] = None,
                      ignore_tags: Optional[PolicySegmentIgnoreTagsArgs] = None,
                      advanced_config: Optional[PolicySegmentAdvancedConfigArgs] = None,
                      connectivity_path: Optional[str] = None,
                      overlay_id: Optional[float] = None,
                      metadata_proxy_paths: Optional[Sequence[str]] = None,
                      policy_segment_id: Optional[str] = None,
                      qos_profile: Optional[PolicySegmentQosProfileArgs] = None,
                      replication_mode: Optional[str] = None,
                      security_profile: Optional[PolicySegmentSecurityProfileArgs] = None,
                      subnets: Optional[Sequence[PolicySegmentSubnetArgs]] = None,
                      tags: Optional[Sequence[PolicySegmentTagArgs]] = None,
                      transport_zone_path: Optional[str] = None,
                      vlan_ids: Optional[Sequence[str]] = None)
    func NewPolicySegment(ctx *Context, name string, args PolicySegmentArgs, opts ...ResourceOption) (*PolicySegment, error)
    public PolicySegment(string name, PolicySegmentArgs args, CustomResourceOptions? opts = null)
    public PolicySegment(String name, PolicySegmentArgs args)
    public PolicySegment(String name, PolicySegmentArgs args, CustomResourceOptions options)
    
    type: nsxt:PolicySegment
    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 PolicySegmentArgs
    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 PolicySegmentArgs
    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 PolicySegmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicySegmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicySegmentArgs
    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 policySegmentResource = new Nsxt.PolicySegment("policySegmentResource", new()
    {
        DisplayName = "string",
        L2Extension = new Nsxt.Inputs.PolicySegmentL2ExtensionArgs
        {
            L2vpnPaths = new[]
            {
                "string",
            },
            TunnelId = 0,
        },
        NsxId = "string",
        Context = new Nsxt.Inputs.PolicySegmentContextArgs
        {
            ProjectId = "string",
        },
        Description = "string",
        DhcpConfigPath = "string",
        DiscoveryProfile = new Nsxt.Inputs.PolicySegmentDiscoveryProfileArgs
        {
            BindingMapPath = "string",
            IpDiscoveryProfilePath = "string",
            MacDiscoveryProfilePath = "string",
            Revision = 0,
        },
        BridgeConfigs = new[]
        {
            new Nsxt.Inputs.PolicySegmentBridgeConfigArgs
            {
                ProfilePath = "string",
                TransportZonePath = "string",
                VlanIds = new[]
                {
                    "string",
                },
                UplinkTeamingPolicy = "string",
            },
        },
        DomainName = "string",
        IgnoreTags = new Nsxt.Inputs.PolicySegmentIgnoreTagsArgs
        {
            Scopes = new[]
            {
                "string",
            },
            Detecteds = new[]
            {
                new Nsxt.Inputs.PolicySegmentIgnoreTagsDetectedArgs
                {
                    Scope = "string",
                    Tag = "string",
                },
            },
        },
        AdvancedConfig = new Nsxt.Inputs.PolicySegmentAdvancedConfigArgs
        {
            AddressPoolPath = "string",
            Connectivity = "string",
            Hybrid = false,
            LocalEgress = false,
            UplinkTeamingPolicy = "string",
            UrpfMode = "string",
        },
        ConnectivityPath = "string",
        OverlayId = 0,
        MetadataProxyPaths = new[]
        {
            "string",
        },
        PolicySegmentId = "string",
        QosProfile = new Nsxt.Inputs.PolicySegmentQosProfileArgs
        {
            QosProfilePath = "string",
            BindingMapPath = "string",
            Revision = 0,
        },
        ReplicationMode = "string",
        SecurityProfile = new Nsxt.Inputs.PolicySegmentSecurityProfileArgs
        {
            BindingMapPath = "string",
            Revision = 0,
            SecurityProfilePath = "string",
            SpoofguardProfilePath = "string",
        },
        Subnets = new[]
        {
            new Nsxt.Inputs.PolicySegmentSubnetArgs
            {
                Cidr = "string",
                DhcpRanges = new[]
                {
                    "string",
                },
                DhcpV4Config = new Nsxt.Inputs.PolicySegmentSubnetDhcpV4ConfigArgs
                {
                    DhcpGenericOptions = new[]
                    {
                        new Nsxt.Inputs.PolicySegmentSubnetDhcpV4ConfigDhcpGenericOptionArgs
                        {
                            Code = 0,
                            Values = new[]
                            {
                                "string",
                            },
                        },
                    },
                    DhcpOption121s = new[]
                    {
                        new Nsxt.Inputs.PolicySegmentSubnetDhcpV4ConfigDhcpOption121Args
                        {
                            Network = "string",
                            NextHop = "string",
                        },
                    },
                    DnsServers = new[]
                    {
                        "string",
                    },
                    LeaseTime = 0,
                    ServerAddress = "string",
                },
                DhcpV6Config = new Nsxt.Inputs.PolicySegmentSubnetDhcpV6ConfigArgs
                {
                    DnsServers = new[]
                    {
                        "string",
                    },
                    DomainNames = new[]
                    {
                        "string",
                    },
                    ExcludedRanges = new[]
                    {
                        new Nsxt.Inputs.PolicySegmentSubnetDhcpV6ConfigExcludedRangeArgs
                        {
                            End = "string",
                            Start = "string",
                        },
                    },
                    LeaseTime = 0,
                    PreferredTime = 0,
                    ServerAddress = "string",
                    SntpServers = new[]
                    {
                        "string",
                    },
                },
                Network = "string",
            },
        },
        Tags = new[]
        {
            new Nsxt.Inputs.PolicySegmentTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
        TransportZonePath = "string",
        VlanIds = new[]
        {
            "string",
        },
    });
    
    example, err := nsxt.NewPolicySegment(ctx, "policySegmentResource", &nsxt.PolicySegmentArgs{
    	DisplayName: pulumi.String("string"),
    	L2Extension: &nsxt.PolicySegmentL2ExtensionArgs{
    		L2vpnPaths: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TunnelId: pulumi.Float64(0),
    	},
    	NsxId: pulumi.String("string"),
    	Context: &nsxt.PolicySegmentContextArgs{
    		ProjectId: pulumi.String("string"),
    	},
    	Description:    pulumi.String("string"),
    	DhcpConfigPath: pulumi.String("string"),
    	DiscoveryProfile: &nsxt.PolicySegmentDiscoveryProfileArgs{
    		BindingMapPath:          pulumi.String("string"),
    		IpDiscoveryProfilePath:  pulumi.String("string"),
    		MacDiscoveryProfilePath: pulumi.String("string"),
    		Revision:                pulumi.Float64(0),
    	},
    	BridgeConfigs: nsxt.PolicySegmentBridgeConfigArray{
    		&nsxt.PolicySegmentBridgeConfigArgs{
    			ProfilePath:       pulumi.String("string"),
    			TransportZonePath: pulumi.String("string"),
    			VlanIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			UplinkTeamingPolicy: pulumi.String("string"),
    		},
    	},
    	DomainName: pulumi.String("string"),
    	IgnoreTags: &nsxt.PolicySegmentIgnoreTagsArgs{
    		Scopes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Detecteds: nsxt.PolicySegmentIgnoreTagsDetectedArray{
    			&nsxt.PolicySegmentIgnoreTagsDetectedArgs{
    				Scope: pulumi.String("string"),
    				Tag:   pulumi.String("string"),
    			},
    		},
    	},
    	AdvancedConfig: &nsxt.PolicySegmentAdvancedConfigArgs{
    		AddressPoolPath:     pulumi.String("string"),
    		Connectivity:        pulumi.String("string"),
    		Hybrid:              pulumi.Bool(false),
    		LocalEgress:         pulumi.Bool(false),
    		UplinkTeamingPolicy: pulumi.String("string"),
    		UrpfMode:            pulumi.String("string"),
    	},
    	ConnectivityPath: pulumi.String("string"),
    	OverlayId:        pulumi.Float64(0),
    	MetadataProxyPaths: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PolicySegmentId: pulumi.String("string"),
    	QosProfile: &nsxt.PolicySegmentQosProfileArgs{
    		QosProfilePath: pulumi.String("string"),
    		BindingMapPath: pulumi.String("string"),
    		Revision:       pulumi.Float64(0),
    	},
    	ReplicationMode: pulumi.String("string"),
    	SecurityProfile: &nsxt.PolicySegmentSecurityProfileTypeArgs{
    		BindingMapPath:        pulumi.String("string"),
    		Revision:              pulumi.Float64(0),
    		SecurityProfilePath:   pulumi.String("string"),
    		SpoofguardProfilePath: pulumi.String("string"),
    	},
    	Subnets: nsxt.PolicySegmentSubnetArray{
    		&nsxt.PolicySegmentSubnetArgs{
    			Cidr: pulumi.String("string"),
    			DhcpRanges: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DhcpV4Config: &nsxt.PolicySegmentSubnetDhcpV4ConfigArgs{
    				DhcpGenericOptions: nsxt.PolicySegmentSubnetDhcpV4ConfigDhcpGenericOptionArray{
    					&nsxt.PolicySegmentSubnetDhcpV4ConfigDhcpGenericOptionArgs{
    						Code: pulumi.Float64(0),
    						Values: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    				DhcpOption121s: nsxt.PolicySegmentSubnetDhcpV4ConfigDhcpOption121Array{
    					&nsxt.PolicySegmentSubnetDhcpV4ConfigDhcpOption121Args{
    						Network: pulumi.String("string"),
    						NextHop: pulumi.String("string"),
    					},
    				},
    				DnsServers: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				LeaseTime:     pulumi.Float64(0),
    				ServerAddress: pulumi.String("string"),
    			},
    			DhcpV6Config: &nsxt.PolicySegmentSubnetDhcpV6ConfigArgs{
    				DnsServers: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				DomainNames: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				ExcludedRanges: nsxt.PolicySegmentSubnetDhcpV6ConfigExcludedRangeArray{
    					&nsxt.PolicySegmentSubnetDhcpV6ConfigExcludedRangeArgs{
    						End:   pulumi.String("string"),
    						Start: pulumi.String("string"),
    					},
    				},
    				LeaseTime:     pulumi.Float64(0),
    				PreferredTime: pulumi.Float64(0),
    				ServerAddress: pulumi.String("string"),
    				SntpServers: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    			Network: pulumi.String("string"),
    		},
    	},
    	Tags: nsxt.PolicySegmentTagArray{
    		&nsxt.PolicySegmentTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    	TransportZonePath: pulumi.String("string"),
    	VlanIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var policySegmentResource = new PolicySegment("policySegmentResource", PolicySegmentArgs.builder()
        .displayName("string")
        .l2Extension(PolicySegmentL2ExtensionArgs.builder()
            .l2vpnPaths("string")
            .tunnelId(0)
            .build())
        .nsxId("string")
        .context(PolicySegmentContextArgs.builder()
            .projectId("string")
            .build())
        .description("string")
        .dhcpConfigPath("string")
        .discoveryProfile(PolicySegmentDiscoveryProfileArgs.builder()
            .bindingMapPath("string")
            .ipDiscoveryProfilePath("string")
            .macDiscoveryProfilePath("string")
            .revision(0)
            .build())
        .bridgeConfigs(PolicySegmentBridgeConfigArgs.builder()
            .profilePath("string")
            .transportZonePath("string")
            .vlanIds("string")
            .uplinkTeamingPolicy("string")
            .build())
        .domainName("string")
        .ignoreTags(PolicySegmentIgnoreTagsArgs.builder()
            .scopes("string")
            .detecteds(PolicySegmentIgnoreTagsDetectedArgs.builder()
                .scope("string")
                .tag("string")
                .build())
            .build())
        .advancedConfig(PolicySegmentAdvancedConfigArgs.builder()
            .addressPoolPath("string")
            .connectivity("string")
            .hybrid(false)
            .localEgress(false)
            .uplinkTeamingPolicy("string")
            .urpfMode("string")
            .build())
        .connectivityPath("string")
        .overlayId(0)
        .metadataProxyPaths("string")
        .policySegmentId("string")
        .qosProfile(PolicySegmentQosProfileArgs.builder()
            .qosProfilePath("string")
            .bindingMapPath("string")
            .revision(0)
            .build())
        .replicationMode("string")
        .securityProfile(PolicySegmentSecurityProfileArgs.builder()
            .bindingMapPath("string")
            .revision(0)
            .securityProfilePath("string")
            .spoofguardProfilePath("string")
            .build())
        .subnets(PolicySegmentSubnetArgs.builder()
            .cidr("string")
            .dhcpRanges("string")
            .dhcpV4Config(PolicySegmentSubnetDhcpV4ConfigArgs.builder()
                .dhcpGenericOptions(PolicySegmentSubnetDhcpV4ConfigDhcpGenericOptionArgs.builder()
                    .code(0)
                    .values("string")
                    .build())
                .dhcpOption121s(PolicySegmentSubnetDhcpV4ConfigDhcpOption121Args.builder()
                    .network("string")
                    .nextHop("string")
                    .build())
                .dnsServers("string")
                .leaseTime(0)
                .serverAddress("string")
                .build())
            .dhcpV6Config(PolicySegmentSubnetDhcpV6ConfigArgs.builder()
                .dnsServers("string")
                .domainNames("string")
                .excludedRanges(PolicySegmentSubnetDhcpV6ConfigExcludedRangeArgs.builder()
                    .end("string")
                    .start("string")
                    .build())
                .leaseTime(0)
                .preferredTime(0)
                .serverAddress("string")
                .sntpServers("string")
                .build())
            .network("string")
            .build())
        .tags(PolicySegmentTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .transportZonePath("string")
        .vlanIds("string")
        .build());
    
    policy_segment_resource = nsxt.PolicySegment("policySegmentResource",
        display_name="string",
        l2_extension={
            "l2vpn_paths": ["string"],
            "tunnel_id": 0,
        },
        nsx_id="string",
        context={
            "project_id": "string",
        },
        description="string",
        dhcp_config_path="string",
        discovery_profile={
            "binding_map_path": "string",
            "ip_discovery_profile_path": "string",
            "mac_discovery_profile_path": "string",
            "revision": 0,
        },
        bridge_configs=[{
            "profile_path": "string",
            "transport_zone_path": "string",
            "vlan_ids": ["string"],
            "uplink_teaming_policy": "string",
        }],
        domain_name="string",
        ignore_tags={
            "scopes": ["string"],
            "detecteds": [{
                "scope": "string",
                "tag": "string",
            }],
        },
        advanced_config={
            "address_pool_path": "string",
            "connectivity": "string",
            "hybrid": False,
            "local_egress": False,
            "uplink_teaming_policy": "string",
            "urpf_mode": "string",
        },
        connectivity_path="string",
        overlay_id=0,
        metadata_proxy_paths=["string"],
        policy_segment_id="string",
        qos_profile={
            "qos_profile_path": "string",
            "binding_map_path": "string",
            "revision": 0,
        },
        replication_mode="string",
        security_profile={
            "binding_map_path": "string",
            "revision": 0,
            "security_profile_path": "string",
            "spoofguard_profile_path": "string",
        },
        subnets=[{
            "cidr": "string",
            "dhcp_ranges": ["string"],
            "dhcp_v4_config": {
                "dhcp_generic_options": [{
                    "code": 0,
                    "values": ["string"],
                }],
                "dhcp_option121s": [{
                    "network": "string",
                    "next_hop": "string",
                }],
                "dns_servers": ["string"],
                "lease_time": 0,
                "server_address": "string",
            },
            "dhcp_v6_config": {
                "dns_servers": ["string"],
                "domain_names": ["string"],
                "excluded_ranges": [{
                    "end": "string",
                    "start": "string",
                }],
                "lease_time": 0,
                "preferred_time": 0,
                "server_address": "string",
                "sntp_servers": ["string"],
            },
            "network": "string",
        }],
        tags=[{
            "scope": "string",
            "tag": "string",
        }],
        transport_zone_path="string",
        vlan_ids=["string"])
    
    const policySegmentResource = new nsxt.PolicySegment("policySegmentResource", {
        displayName: "string",
        l2Extension: {
            l2vpnPaths: ["string"],
            tunnelId: 0,
        },
        nsxId: "string",
        context: {
            projectId: "string",
        },
        description: "string",
        dhcpConfigPath: "string",
        discoveryProfile: {
            bindingMapPath: "string",
            ipDiscoveryProfilePath: "string",
            macDiscoveryProfilePath: "string",
            revision: 0,
        },
        bridgeConfigs: [{
            profilePath: "string",
            transportZonePath: "string",
            vlanIds: ["string"],
            uplinkTeamingPolicy: "string",
        }],
        domainName: "string",
        ignoreTags: {
            scopes: ["string"],
            detecteds: [{
                scope: "string",
                tag: "string",
            }],
        },
        advancedConfig: {
            addressPoolPath: "string",
            connectivity: "string",
            hybrid: false,
            localEgress: false,
            uplinkTeamingPolicy: "string",
            urpfMode: "string",
        },
        connectivityPath: "string",
        overlayId: 0,
        metadataProxyPaths: ["string"],
        policySegmentId: "string",
        qosProfile: {
            qosProfilePath: "string",
            bindingMapPath: "string",
            revision: 0,
        },
        replicationMode: "string",
        securityProfile: {
            bindingMapPath: "string",
            revision: 0,
            securityProfilePath: "string",
            spoofguardProfilePath: "string",
        },
        subnets: [{
            cidr: "string",
            dhcpRanges: ["string"],
            dhcpV4Config: {
                dhcpGenericOptions: [{
                    code: 0,
                    values: ["string"],
                }],
                dhcpOption121s: [{
                    network: "string",
                    nextHop: "string",
                }],
                dnsServers: ["string"],
                leaseTime: 0,
                serverAddress: "string",
            },
            dhcpV6Config: {
                dnsServers: ["string"],
                domainNames: ["string"],
                excludedRanges: [{
                    end: "string",
                    start: "string",
                }],
                leaseTime: 0,
                preferredTime: 0,
                serverAddress: "string",
                sntpServers: ["string"],
            },
            network: "string",
        }],
        tags: [{
            scope: "string",
            tag: "string",
        }],
        transportZonePath: "string",
        vlanIds: ["string"],
    });
    
    type: nsxt:PolicySegment
    properties:
        advancedConfig:
            addressPoolPath: string
            connectivity: string
            hybrid: false
            localEgress: false
            uplinkTeamingPolicy: string
            urpfMode: string
        bridgeConfigs:
            - profilePath: string
              transportZonePath: string
              uplinkTeamingPolicy: string
              vlanIds:
                - string
        connectivityPath: string
        context:
            projectId: string
        description: string
        dhcpConfigPath: string
        discoveryProfile:
            bindingMapPath: string
            ipDiscoveryProfilePath: string
            macDiscoveryProfilePath: string
            revision: 0
        displayName: string
        domainName: string
        ignoreTags:
            detecteds:
                - scope: string
                  tag: string
            scopes:
                - string
        l2Extension:
            l2vpnPaths:
                - string
            tunnelId: 0
        metadataProxyPaths:
            - string
        nsxId: string
        overlayId: 0
        policySegmentId: string
        qosProfile:
            bindingMapPath: string
            qosProfilePath: string
            revision: 0
        replicationMode: string
        securityProfile:
            bindingMapPath: string
            revision: 0
            securityProfilePath: string
            spoofguardProfilePath: string
        subnets:
            - cidr: string
              dhcpRanges:
                - string
              dhcpV4Config:
                dhcpGenericOptions:
                    - code: 0
                      values:
                        - string
                dhcpOption121s:
                    - network: string
                      nextHop: string
                dnsServers:
                    - string
                leaseTime: 0
                serverAddress: string
              dhcpV6Config:
                dnsServers:
                    - string
                domainNames:
                    - string
                excludedRanges:
                    - end: string
                      start: string
                leaseTime: 0
                preferredTime: 0
                serverAddress: string
                sntpServers:
                    - string
              network: string
        tags:
            - scope: string
              tag: string
        transportZonePath: string
        vlanIds:
            - string
    

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

    DisplayName string
    Display name of the resource.
    AdvancedConfig PolicySegmentAdvancedConfig
    Advanced Segment configuration.
    BridgeConfigs List<PolicySegmentBridgeConfig>
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    ConnectivityPath string
    Policy path to the connecting Tier-0 or Tier-1.
    Context PolicySegmentContext
    The context which the object belongs to
    Description string
    Description of the resource.
    DhcpConfigPath string
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    DiscoveryProfile PolicySegmentDiscoveryProfile
    IP and MAC discovery profile specification for the segment.
    DomainName string
    DNS domain names.
    IgnoreTags PolicySegmentIgnoreTags
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    L2Extension PolicySegmentL2Extension
    Configuration for extending Segment through L2 VPN.
    MetadataProxyPaths List<string>
    Metadata Proxy Configuration Paths.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    OverlayId double
    Overlay connectivity ID for this Segment.
    PolicySegmentId string
    ID of the Security Policy.
    QosProfile PolicySegmentQosProfile
    QoS profile specification for the segment.
    ReplicationMode string
    Replication mode - MTEP or SOURCE
    SecurityProfile PolicySegmentSecurityProfile
    Security profile specification for the segment.
    Subnets List<PolicySegmentSubnet>
    Subnet configuration block.
    Tags List<PolicySegmentTag>
    A list of scope + tag pairs to associate with this policy.
    TransportZonePath string
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    VlanIds List<string>
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.
    DisplayName string
    Display name of the resource.
    AdvancedConfig PolicySegmentAdvancedConfigArgs
    Advanced Segment configuration.
    BridgeConfigs []PolicySegmentBridgeConfigArgs
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    ConnectivityPath string
    Policy path to the connecting Tier-0 or Tier-1.
    Context PolicySegmentContextArgs
    The context which the object belongs to
    Description string
    Description of the resource.
    DhcpConfigPath string
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    DiscoveryProfile PolicySegmentDiscoveryProfileArgs
    IP and MAC discovery profile specification for the segment.
    DomainName string
    DNS domain names.
    IgnoreTags PolicySegmentIgnoreTagsArgs
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    L2Extension PolicySegmentL2ExtensionArgs
    Configuration for extending Segment through L2 VPN.
    MetadataProxyPaths []string
    Metadata Proxy Configuration Paths.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    OverlayId float64
    Overlay connectivity ID for this Segment.
    PolicySegmentId string
    ID of the Security Policy.
    QosProfile PolicySegmentQosProfileArgs
    QoS profile specification for the segment.
    ReplicationMode string
    Replication mode - MTEP or SOURCE
    SecurityProfile PolicySegmentSecurityProfileTypeArgs
    Security profile specification for the segment.
    Subnets []PolicySegmentSubnetArgs
    Subnet configuration block.
    Tags []PolicySegmentTagArgs
    A list of scope + tag pairs to associate with this policy.
    TransportZonePath string
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    VlanIds []string
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.
    displayName String
    Display name of the resource.
    advancedConfig PolicySegmentAdvancedConfig
    Advanced Segment configuration.
    bridgeConfigs List<PolicySegmentBridgeConfig>
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    connectivityPath String
    Policy path to the connecting Tier-0 or Tier-1.
    context PolicySegmentContext
    The context which the object belongs to
    description String
    Description of the resource.
    dhcpConfigPath String
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    discoveryProfile PolicySegmentDiscoveryProfile
    IP and MAC discovery profile specification for the segment.
    domainName String
    DNS domain names.
    ignoreTags PolicySegmentIgnoreTags
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    l2Extension PolicySegmentL2Extension
    Configuration for extending Segment through L2 VPN.
    metadataProxyPaths List<String>
    Metadata Proxy Configuration Paths.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    overlayId Double
    Overlay connectivity ID for this Segment.
    policySegmentId String
    ID of the Security Policy.
    qosProfile PolicySegmentQosProfile
    QoS profile specification for the segment.
    replicationMode String
    Replication mode - MTEP or SOURCE
    securityProfile PolicySegmentSecurityProfile
    Security profile specification for the segment.
    subnets List<PolicySegmentSubnet>
    Subnet configuration block.
    tags List<PolicySegmentTag>
    A list of scope + tag pairs to associate with this policy.
    transportZonePath String
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    vlanIds List<String>
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.
    displayName string
    Display name of the resource.
    advancedConfig PolicySegmentAdvancedConfig
    Advanced Segment configuration.
    bridgeConfigs PolicySegmentBridgeConfig[]
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    connectivityPath string
    Policy path to the connecting Tier-0 or Tier-1.
    context PolicySegmentContext
    The context which the object belongs to
    description string
    Description of the resource.
    dhcpConfigPath string
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    discoveryProfile PolicySegmentDiscoveryProfile
    IP and MAC discovery profile specification for the segment.
    domainName string
    DNS domain names.
    ignoreTags PolicySegmentIgnoreTags
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    l2Extension PolicySegmentL2Extension
    Configuration for extending Segment through L2 VPN.
    metadataProxyPaths string[]
    Metadata Proxy Configuration Paths.
    nsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    overlayId number
    Overlay connectivity ID for this Segment.
    policySegmentId string
    ID of the Security Policy.
    qosProfile PolicySegmentQosProfile
    QoS profile specification for the segment.
    replicationMode string
    Replication mode - MTEP or SOURCE
    securityProfile PolicySegmentSecurityProfile
    Security profile specification for the segment.
    subnets PolicySegmentSubnet[]
    Subnet configuration block.
    tags PolicySegmentTag[]
    A list of scope + tag pairs to associate with this policy.
    transportZonePath string
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    vlanIds string[]
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.
    display_name str
    Display name of the resource.
    advanced_config PolicySegmentAdvancedConfigArgs
    Advanced Segment configuration.
    bridge_configs Sequence[PolicySegmentBridgeConfigArgs]
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    connectivity_path str
    Policy path to the connecting Tier-0 or Tier-1.
    context PolicySegmentContextArgs
    The context which the object belongs to
    description str
    Description of the resource.
    dhcp_config_path str
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    discovery_profile PolicySegmentDiscoveryProfileArgs
    IP and MAC discovery profile specification for the segment.
    domain_name str
    DNS domain names.
    ignore_tags PolicySegmentIgnoreTagsArgs
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    l2_extension PolicySegmentL2ExtensionArgs
    Configuration for extending Segment through L2 VPN.
    metadata_proxy_paths Sequence[str]
    Metadata Proxy Configuration Paths.
    nsx_id str
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    overlay_id float
    Overlay connectivity ID for this Segment.
    policy_segment_id str
    ID of the Security Policy.
    qos_profile PolicySegmentQosProfileArgs
    QoS profile specification for the segment.
    replication_mode str
    Replication mode - MTEP or SOURCE
    security_profile PolicySegmentSecurityProfileArgs
    Security profile specification for the segment.
    subnets Sequence[PolicySegmentSubnetArgs]
    Subnet configuration block.
    tags Sequence[PolicySegmentTagArgs]
    A list of scope + tag pairs to associate with this policy.
    transport_zone_path str
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    vlan_ids Sequence[str]
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.
    displayName String
    Display name of the resource.
    advancedConfig Property Map
    Advanced Segment configuration.
    bridgeConfigs List<Property Map>
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    connectivityPath String
    Policy path to the connecting Tier-0 or Tier-1.
    context Property Map
    The context which the object belongs to
    description String
    Description of the resource.
    dhcpConfigPath String
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    discoveryProfile Property Map
    IP and MAC discovery profile specification for the segment.
    domainName String
    DNS domain names.
    ignoreTags Property Map
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    l2Extension Property Map
    Configuration for extending Segment through L2 VPN.
    metadataProxyPaths List<String>
    Metadata Proxy Configuration Paths.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    overlayId Number
    Overlay connectivity ID for this Segment.
    policySegmentId String
    ID of the Security Policy.
    qosProfile Property Map
    QoS profile specification for the segment.
    replicationMode String
    Replication mode - MTEP or SOURCE
    securityProfile Property Map
    Security profile specification for the segment.
    subnets List<Property Map>
    Subnet configuration block.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this policy.
    transportZonePath String
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    vlanIds List<String>
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PolicySegment 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.

    • In the subnet:
    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.

    • In the subnet:
    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.

    • In the subnet:
    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.

    • In the subnet:
    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.

    • In the subnet:
    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.

    • In the subnet:
    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 PolicySegment Resource

    Get an existing PolicySegment 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?: PolicySegmentState, opts?: CustomResourceOptions): PolicySegment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            advanced_config: Optional[PolicySegmentAdvancedConfigArgs] = None,
            bridge_configs: Optional[Sequence[PolicySegmentBridgeConfigArgs]] = None,
            connectivity_path: Optional[str] = None,
            context: Optional[PolicySegmentContextArgs] = None,
            description: Optional[str] = None,
            dhcp_config_path: Optional[str] = None,
            discovery_profile: Optional[PolicySegmentDiscoveryProfileArgs] = None,
            display_name: Optional[str] = None,
            domain_name: Optional[str] = None,
            ignore_tags: Optional[PolicySegmentIgnoreTagsArgs] = None,
            l2_extension: Optional[PolicySegmentL2ExtensionArgs] = None,
            metadata_proxy_paths: Optional[Sequence[str]] = None,
            nsx_id: Optional[str] = None,
            overlay_id: Optional[float] = None,
            path: Optional[str] = None,
            policy_segment_id: Optional[str] = None,
            qos_profile: Optional[PolicySegmentQosProfileArgs] = None,
            replication_mode: Optional[str] = None,
            revision: Optional[float] = None,
            security_profile: Optional[PolicySegmentSecurityProfileArgs] = None,
            subnets: Optional[Sequence[PolicySegmentSubnetArgs]] = None,
            tags: Optional[Sequence[PolicySegmentTagArgs]] = None,
            transport_zone_path: Optional[str] = None,
            vlan_ids: Optional[Sequence[str]] = None) -> PolicySegment
    func GetPolicySegment(ctx *Context, name string, id IDInput, state *PolicySegmentState, opts ...ResourceOption) (*PolicySegment, error)
    public static PolicySegment Get(string name, Input<string> id, PolicySegmentState? state, CustomResourceOptions? opts = null)
    public static PolicySegment get(String name, Output<String> id, PolicySegmentState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:PolicySegment    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:
    AdvancedConfig PolicySegmentAdvancedConfig
    Advanced Segment configuration.
    BridgeConfigs List<PolicySegmentBridgeConfig>
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    ConnectivityPath string
    Policy path to the connecting Tier-0 or Tier-1.
    Context PolicySegmentContext
    The context which the object belongs to
    Description string
    Description of the resource.
    DhcpConfigPath string
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    DiscoveryProfile PolicySegmentDiscoveryProfile
    IP and MAC discovery profile specification for the segment.
    DisplayName string
    Display name of the resource.
    DomainName string
    DNS domain names.
    IgnoreTags PolicySegmentIgnoreTags
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    L2Extension PolicySegmentL2Extension
    Configuration for extending Segment through L2 VPN.
    MetadataProxyPaths List<string>
    Metadata Proxy Configuration Paths.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    OverlayId double
    Overlay connectivity ID for this Segment.
    Path string
    The NSX path of the policy resource.

    • In the subnet:
    PolicySegmentId string
    ID of the Security Policy.
    QosProfile PolicySegmentQosProfile
    QoS profile specification for the segment.
    ReplicationMode string
    Replication mode - MTEP or SOURCE
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SecurityProfile PolicySegmentSecurityProfile
    Security profile specification for the segment.
    Subnets List<PolicySegmentSubnet>
    Subnet configuration block.
    Tags List<PolicySegmentTag>
    A list of scope + tag pairs to associate with this policy.
    TransportZonePath string
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    VlanIds List<string>
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.
    AdvancedConfig PolicySegmentAdvancedConfigArgs
    Advanced Segment configuration.
    BridgeConfigs []PolicySegmentBridgeConfigArgs
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    ConnectivityPath string
    Policy path to the connecting Tier-0 or Tier-1.
    Context PolicySegmentContextArgs
    The context which the object belongs to
    Description string
    Description of the resource.
    DhcpConfigPath string
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    DiscoveryProfile PolicySegmentDiscoveryProfileArgs
    IP and MAC discovery profile specification for the segment.
    DisplayName string
    Display name of the resource.
    DomainName string
    DNS domain names.
    IgnoreTags PolicySegmentIgnoreTagsArgs
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    L2Extension PolicySegmentL2ExtensionArgs
    Configuration for extending Segment through L2 VPN.
    MetadataProxyPaths []string
    Metadata Proxy Configuration Paths.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    OverlayId float64
    Overlay connectivity ID for this Segment.
    Path string
    The NSX path of the policy resource.

    • In the subnet:
    PolicySegmentId string
    ID of the Security Policy.
    QosProfile PolicySegmentQosProfileArgs
    QoS profile specification for the segment.
    ReplicationMode string
    Replication mode - MTEP or SOURCE
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SecurityProfile PolicySegmentSecurityProfileTypeArgs
    Security profile specification for the segment.
    Subnets []PolicySegmentSubnetArgs
    Subnet configuration block.
    Tags []PolicySegmentTagArgs
    A list of scope + tag pairs to associate with this policy.
    TransportZonePath string
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    VlanIds []string
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.
    advancedConfig PolicySegmentAdvancedConfig
    Advanced Segment configuration.
    bridgeConfigs List<PolicySegmentBridgeConfig>
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    connectivityPath String
    Policy path to the connecting Tier-0 or Tier-1.
    context PolicySegmentContext
    The context which the object belongs to
    description String
    Description of the resource.
    dhcpConfigPath String
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    discoveryProfile PolicySegmentDiscoveryProfile
    IP and MAC discovery profile specification for the segment.
    displayName String
    Display name of the resource.
    domainName String
    DNS domain names.
    ignoreTags PolicySegmentIgnoreTags
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    l2Extension PolicySegmentL2Extension
    Configuration for extending Segment through L2 VPN.
    metadataProxyPaths List<String>
    Metadata Proxy Configuration Paths.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    overlayId Double
    Overlay connectivity ID for this Segment.
    path String
    The NSX path of the policy resource.

    • In the subnet:
    policySegmentId String
    ID of the Security Policy.
    qosProfile PolicySegmentQosProfile
    QoS profile specification for the segment.
    replicationMode String
    Replication mode - MTEP or SOURCE
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    securityProfile PolicySegmentSecurityProfile
    Security profile specification for the segment.
    subnets List<PolicySegmentSubnet>
    Subnet configuration block.
    tags List<PolicySegmentTag>
    A list of scope + tag pairs to associate with this policy.
    transportZonePath String
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    vlanIds List<String>
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.
    advancedConfig PolicySegmentAdvancedConfig
    Advanced Segment configuration.
    bridgeConfigs PolicySegmentBridgeConfig[]
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    connectivityPath string
    Policy path to the connecting Tier-0 or Tier-1.
    context PolicySegmentContext
    The context which the object belongs to
    description string
    Description of the resource.
    dhcpConfigPath string
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    discoveryProfile PolicySegmentDiscoveryProfile
    IP and MAC discovery profile specification for the segment.
    displayName string
    Display name of the resource.
    domainName string
    DNS domain names.
    ignoreTags PolicySegmentIgnoreTags
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    l2Extension PolicySegmentL2Extension
    Configuration for extending Segment through L2 VPN.
    metadataProxyPaths string[]
    Metadata Proxy Configuration Paths.
    nsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    overlayId number
    Overlay connectivity ID for this Segment.
    path string
    The NSX path of the policy resource.

    • In the subnet:
    policySegmentId string
    ID of the Security Policy.
    qosProfile PolicySegmentQosProfile
    QoS profile specification for the segment.
    replicationMode string
    Replication mode - MTEP or SOURCE
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    securityProfile PolicySegmentSecurityProfile
    Security profile specification for the segment.
    subnets PolicySegmentSubnet[]
    Subnet configuration block.
    tags PolicySegmentTag[]
    A list of scope + tag pairs to associate with this policy.
    transportZonePath string
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    vlanIds string[]
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.
    advanced_config PolicySegmentAdvancedConfigArgs
    Advanced Segment configuration.
    bridge_configs Sequence[PolicySegmentBridgeConfigArgs]
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    connectivity_path str
    Policy path to the connecting Tier-0 or Tier-1.
    context PolicySegmentContextArgs
    The context which the object belongs to
    description str
    Description of the resource.
    dhcp_config_path str
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    discovery_profile PolicySegmentDiscoveryProfileArgs
    IP and MAC discovery profile specification for the segment.
    display_name str
    Display name of the resource.
    domain_name str
    DNS domain names.
    ignore_tags PolicySegmentIgnoreTagsArgs
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    l2_extension PolicySegmentL2ExtensionArgs
    Configuration for extending Segment through L2 VPN.
    metadata_proxy_paths Sequence[str]
    Metadata Proxy Configuration Paths.
    nsx_id str
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    overlay_id float
    Overlay connectivity ID for this Segment.
    path str
    The NSX path of the policy resource.

    • In the subnet:
    policy_segment_id str
    ID of the Security Policy.
    qos_profile PolicySegmentQosProfileArgs
    QoS profile specification for the segment.
    replication_mode str
    Replication mode - MTEP or SOURCE
    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 PolicySegmentSecurityProfileArgs
    Security profile specification for the segment.
    subnets Sequence[PolicySegmentSubnetArgs]
    Subnet configuration block.
    tags Sequence[PolicySegmentTagArgs]
    A list of scope + tag pairs to associate with this policy.
    transport_zone_path str
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    vlan_ids Sequence[str]
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.
    advancedConfig Property Map
    Advanced Segment configuration.
    bridgeConfigs List<Property Map>
    List of edge bridge configuration for the segment. This setting is not supported on Global Manager.
    connectivityPath String
    Policy path to the connecting Tier-0 or Tier-1.
    context Property Map
    The context which the object belongs to
    description String
    Description of the resource.
    dhcpConfigPath String
    Policy path to DHCP server or relay configuration to use for subnets configured on this segment. This attribute is supported with NSX 3.0.0 onwards.
    discoveryProfile Property Map
    IP and MAC discovery profile specification for the segment.
    displayName String
    Display name of the resource.
    domainName String
    DNS domain names.
    ignoreTags Property Map
    A list of tag scopes that provider should ignore, more specifically, it should not detect drift when tags with such scope are present on NSX, and it should not overwrite them when applying its own tags. This feature is useful for external network with VCD scenario.
    l2Extension Property Map
    Configuration for extending Segment through L2 VPN.
    metadataProxyPaths List<String>
    Metadata Proxy Configuration Paths.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    overlayId Number
    Overlay connectivity ID for this Segment.
    path String
    The NSX path of the policy resource.

    • In the subnet:
    policySegmentId String
    ID of the Security Policy.
    qosProfile Property Map
    QoS profile specification for the segment.
    replicationMode String
    Replication mode - MTEP or SOURCE
    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 profile specification for the segment.
    subnets List<Property Map>
    Subnet configuration block.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this policy.
    transportZonePath String
    Policy path to the Overlay transport zone. This property is required for NSX Local Manager, and should not be specified for NSX Global Manager, where NSX will automatically assign default transport zone on each site.
    vlanIds List<String>
    List of VLAN IDs or ranges. Specifying vlan ids can be useful for overlay segments, f.e. for EVPN.

    Supporting Types

    PolicySegmentAdvancedConfig, PolicySegmentAdvancedConfigArgs

    AddressPoolPath string
    List of Policy path to IP address pools (for now only one pool is supported by NSX)
    Connectivity string
    Connectivity configuration to manually connect (ON) or disconnect (OFF).
    Hybrid bool
    Boolean flag to identify a hybrid logical switch.
    LocalEgress bool
    Boolean flag to enable local egress when used in conjunction with L2VPN.
    UplinkTeamingPolicy string
    The name of the switching uplink teaming policy for the bridge endpoint. This name corresponds to one of the switching uplink teaming policy names listed in the transport zone.
    UrpfMode string
    URPF mode to be applied to gateway downlink interface. One of STRICT, NONE.
    AddressPoolPath string
    List of Policy path to IP address pools (for now only one pool is supported by NSX)
    Connectivity string
    Connectivity configuration to manually connect (ON) or disconnect (OFF).
    Hybrid bool
    Boolean flag to identify a hybrid logical switch.
    LocalEgress bool
    Boolean flag to enable local egress when used in conjunction with L2VPN.
    UplinkTeamingPolicy string
    The name of the switching uplink teaming policy for the bridge endpoint. This name corresponds to one of the switching uplink teaming policy names listed in the transport zone.
    UrpfMode string
    URPF mode to be applied to gateway downlink interface. One of STRICT, NONE.
    addressPoolPath String
    List of Policy path to IP address pools (for now only one pool is supported by NSX)
    connectivity String
    Connectivity configuration to manually connect (ON) or disconnect (OFF).
    hybrid Boolean
    Boolean flag to identify a hybrid logical switch.
    localEgress Boolean
    Boolean flag to enable local egress when used in conjunction with L2VPN.
    uplinkTeamingPolicy String
    The name of the switching uplink teaming policy for the bridge endpoint. This name corresponds to one of the switching uplink teaming policy names listed in the transport zone.
    urpfMode String
    URPF mode to be applied to gateway downlink interface. One of STRICT, NONE.
    addressPoolPath string
    List of Policy path to IP address pools (for now only one pool is supported by NSX)
    connectivity string
    Connectivity configuration to manually connect (ON) or disconnect (OFF).
    hybrid boolean
    Boolean flag to identify a hybrid logical switch.
    localEgress boolean
    Boolean flag to enable local egress when used in conjunction with L2VPN.
    uplinkTeamingPolicy string
    The name of the switching uplink teaming policy for the bridge endpoint. This name corresponds to one of the switching uplink teaming policy names listed in the transport zone.
    urpfMode string
    URPF mode to be applied to gateway downlink interface. One of STRICT, NONE.
    address_pool_path str
    List of Policy path to IP address pools (for now only one pool is supported by NSX)
    connectivity str
    Connectivity configuration to manually connect (ON) or disconnect (OFF).
    hybrid bool
    Boolean flag to identify a hybrid logical switch.
    local_egress bool
    Boolean flag to enable local egress when used in conjunction with L2VPN.
    uplink_teaming_policy str
    The name of the switching uplink teaming policy for the bridge endpoint. This name corresponds to one of the switching uplink teaming policy names listed in the transport zone.
    urpf_mode str
    URPF mode to be applied to gateway downlink interface. One of STRICT, NONE.
    addressPoolPath String
    List of Policy path to IP address pools (for now only one pool is supported by NSX)
    connectivity String
    Connectivity configuration to manually connect (ON) or disconnect (OFF).
    hybrid Boolean
    Boolean flag to identify a hybrid logical switch.
    localEgress Boolean
    Boolean flag to enable local egress when used in conjunction with L2VPN.
    uplinkTeamingPolicy String
    The name of the switching uplink teaming policy for the bridge endpoint. This name corresponds to one of the switching uplink teaming policy names listed in the transport zone.
    urpfMode String
    URPF mode to be applied to gateway downlink interface. One of STRICT, NONE.

    PolicySegmentBridgeConfig, PolicySegmentBridgeConfigArgs

    ProfilePath string
    Path for edge bridge profile to be associated with the segment.
    TransportZonePath string
    Path for vlan transport zone for the bridge.
    VlanIds List<string>
    List of VLAN IDs or ranges.
    UplinkTeamingPolicy string
    The name of the switching uplink teaming policy for the bridge endpoint.
    ProfilePath string
    Path for edge bridge profile to be associated with the segment.
    TransportZonePath string
    Path for vlan transport zone for the bridge.
    VlanIds []string
    List of VLAN IDs or ranges.
    UplinkTeamingPolicy string
    The name of the switching uplink teaming policy for the bridge endpoint.
    profilePath String
    Path for edge bridge profile to be associated with the segment.
    transportZonePath String
    Path for vlan transport zone for the bridge.
    vlanIds List<String>
    List of VLAN IDs or ranges.
    uplinkTeamingPolicy String
    The name of the switching uplink teaming policy for the bridge endpoint.
    profilePath string
    Path for edge bridge profile to be associated with the segment.
    transportZonePath string
    Path for vlan transport zone for the bridge.
    vlanIds string[]
    List of VLAN IDs or ranges.
    uplinkTeamingPolicy string
    The name of the switching uplink teaming policy for the bridge endpoint.
    profile_path str
    Path for edge bridge profile to be associated with the segment.
    transport_zone_path str
    Path for vlan transport zone for the bridge.
    vlan_ids Sequence[str]
    List of VLAN IDs or ranges.
    uplink_teaming_policy str
    The name of the switching uplink teaming policy for the bridge endpoint.
    profilePath String
    Path for edge bridge profile to be associated with the segment.
    transportZonePath String
    Path for vlan transport zone for the bridge.
    vlanIds List<String>
    List of VLAN IDs or ranges.
    uplinkTeamingPolicy String
    The name of the switching uplink teaming policy for the bridge endpoint.

    PolicySegmentContext, PolicySegmentContextArgs

    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

    PolicySegmentDiscoveryProfile, PolicySegmentDiscoveryProfileArgs

    BindingMapPath string
    Policy path of profile binding map
    IpDiscoveryProfilePath string
    Path for IP discovery profile to be associated with the segment.
    MacDiscoveryProfilePath string
    Path for MAC discovery profile to be associated with the segment.
    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
    Path for IP discovery profile to be associated with the segment.
    MacDiscoveryProfilePath string
    Path for MAC discovery profile to be associated with the segment.
    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
    Path for IP discovery profile to be associated with the segment.
    macDiscoveryProfilePath String
    Path for MAC discovery profile to be associated with the segment.
    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
    Path for IP discovery profile to be associated with the segment.
    macDiscoveryProfilePath string
    Path for MAC discovery profile to be associated with the segment.
    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
    Path for IP discovery profile to be associated with the segment.
    mac_discovery_profile_path str
    Path for MAC discovery profile to be associated with the segment.
    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
    Path for IP discovery profile to be associated with the segment.
    macDiscoveryProfilePath String
    Path for MAC discovery profile to be associated with the segment.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.

    PolicySegmentIgnoreTags, PolicySegmentIgnoreTagsArgs

    Scopes List<string>
    List of scope values that should cause scope/tag pair to be ignored.
    Detecteds List<PolicySegmentIgnoreTagsDetected>
    Tags matching scopes to ignore
    Scopes []string
    List of scope values that should cause scope/tag pair to be ignored.
    Detecteds []PolicySegmentIgnoreTagsDetected
    Tags matching scopes to ignore
    scopes List<String>
    List of scope values that should cause scope/tag pair to be ignored.
    detecteds List<PolicySegmentIgnoreTagsDetected>
    Tags matching scopes to ignore
    scopes string[]
    List of scope values that should cause scope/tag pair to be ignored.
    detecteds PolicySegmentIgnoreTagsDetected[]
    Tags matching scopes to ignore
    scopes Sequence[str]
    List of scope values that should cause scope/tag pair to be ignored.
    detecteds Sequence[PolicySegmentIgnoreTagsDetected]
    Tags matching scopes to ignore
    scopes List<String>
    List of scope values that should cause scope/tag pair to be ignored.
    detecteds List<Property Map>
    Tags matching scopes to ignore

    PolicySegmentIgnoreTagsDetected, PolicySegmentIgnoreTagsDetectedArgs

    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.

    PolicySegmentL2Extension, PolicySegmentL2ExtensionArgs

    L2vpnPaths List<string>
    Policy paths of associated L2 VPN sessions.
    TunnelId double
    The Tunnel ID that's a int value between 1 and 4093.
    L2vpnPaths []string
    Policy paths of associated L2 VPN sessions.
    TunnelId float64
    The Tunnel ID that's a int value between 1 and 4093.
    l2vpnPaths List<String>
    Policy paths of associated L2 VPN sessions.
    tunnelId Double
    The Tunnel ID that's a int value between 1 and 4093.
    l2vpnPaths string[]
    Policy paths of associated L2 VPN sessions.
    tunnelId number
    The Tunnel ID that's a int value between 1 and 4093.
    l2vpn_paths Sequence[str]
    Policy paths of associated L2 VPN sessions.
    tunnel_id float
    The Tunnel ID that's a int value between 1 and 4093.
    l2vpnPaths List<String>
    Policy paths of associated L2 VPN sessions.
    tunnelId Number
    The Tunnel ID that's a int value between 1 and 4093.

    PolicySegmentQosProfile, PolicySegmentQosProfileArgs

    QosProfilePath string
    Path for qos profile to be associated with the segment.
    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
    Path for qos profile to be associated with the segment.
    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
    Path for qos profile to be associated with the segment.
    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
    Path for qos profile to be associated with the segment.
    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
    Path for qos profile to be associated with the segment.
    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
    Path for qos profile to be associated with the segment.
    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.

    PolicySegmentSecurityProfile, PolicySegmentSecurityProfileArgs

    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
    Path for segment security profile to be associated with the segment.
    SpoofguardProfilePath string
    Path for spoofguard profile to be associated with the segment.
    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
    Path for segment security profile to be associated with the segment.
    SpoofguardProfilePath string
    Path for spoofguard profile to be associated with the segment.
    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
    Path for segment security profile to be associated with the segment.
    spoofguardProfilePath String
    Path for spoofguard profile to be associated with the segment.
    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
    Path for segment security profile to be associated with the segment.
    spoofguardProfilePath string
    Path for spoofguard profile to be associated with the segment.
    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
    Path for segment security profile to be associated with the segment.
    spoofguard_profile_path str
    Path for spoofguard profile to be associated with the segment.
    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
    Path for segment security profile to be associated with the segment.
    spoofguardProfilePath String
    Path for spoofguard profile to be associated with the segment.

    PolicySegmentSubnet, PolicySegmentSubnetArgs

    Cidr string
    Gateway IP address CIDR. This argument can not be changed if DHCP is enabled for the subnet.
    DhcpRanges List<string>
    List of DHCP address ranges for dynamic IP allocation.
    DhcpV4Config PolicySegmentSubnetDhcpV4Config
    DHCPv4 config for IPv4 subnet. This clause is supported with NSX 3.0.0 onwards.
    DhcpV6Config PolicySegmentSubnetDhcpV6Config
    DHCPv6 config for IPv6 subnet. This clause is supported with NSX 3.0.0 onwards.
    Network string
    The network CIDR for the subnet.
    Cidr string
    Gateway IP address CIDR. This argument can not be changed if DHCP is enabled for the subnet.
    DhcpRanges []string
    List of DHCP address ranges for dynamic IP allocation.
    DhcpV4Config PolicySegmentSubnetDhcpV4Config
    DHCPv4 config for IPv4 subnet. This clause is supported with NSX 3.0.0 onwards.
    DhcpV6Config PolicySegmentSubnetDhcpV6Config
    DHCPv6 config for IPv6 subnet. This clause is supported with NSX 3.0.0 onwards.
    Network string
    The network CIDR for the subnet.
    cidr String
    Gateway IP address CIDR. This argument can not be changed if DHCP is enabled for the subnet.
    dhcpRanges List<String>
    List of DHCP address ranges for dynamic IP allocation.
    dhcpV4Config PolicySegmentSubnetDhcpV4Config
    DHCPv4 config for IPv4 subnet. This clause is supported with NSX 3.0.0 onwards.
    dhcpV6Config PolicySegmentSubnetDhcpV6Config
    DHCPv6 config for IPv6 subnet. This clause is supported with NSX 3.0.0 onwards.
    network String
    The network CIDR for the subnet.
    cidr string
    Gateway IP address CIDR. This argument can not be changed if DHCP is enabled for the subnet.
    dhcpRanges string[]
    List of DHCP address ranges for dynamic IP allocation.
    dhcpV4Config PolicySegmentSubnetDhcpV4Config
    DHCPv4 config for IPv4 subnet. This clause is supported with NSX 3.0.0 onwards.
    dhcpV6Config PolicySegmentSubnetDhcpV6Config
    DHCPv6 config for IPv6 subnet. This clause is supported with NSX 3.0.0 onwards.
    network string
    The network CIDR for the subnet.
    cidr str
    Gateway IP address CIDR. This argument can not be changed if DHCP is enabled for the subnet.
    dhcp_ranges Sequence[str]
    List of DHCP address ranges for dynamic IP allocation.
    dhcp_v4_config PolicySegmentSubnetDhcpV4Config
    DHCPv4 config for IPv4 subnet. This clause is supported with NSX 3.0.0 onwards.
    dhcp_v6_config PolicySegmentSubnetDhcpV6Config
    DHCPv6 config for IPv6 subnet. This clause is supported with NSX 3.0.0 onwards.
    network str
    The network CIDR for the subnet.
    cidr String
    Gateway IP address CIDR. This argument can not be changed if DHCP is enabled for the subnet.
    dhcpRanges List<String>
    List of DHCP address ranges for dynamic IP allocation.
    dhcpV4Config Property Map
    DHCPv4 config for IPv4 subnet. This clause is supported with NSX 3.0.0 onwards.
    dhcpV6Config Property Map
    DHCPv6 config for IPv6 subnet. This clause is supported with NSX 3.0.0 onwards.
    network String
    The network CIDR for the subnet.

    PolicySegmentSubnetDhcpV4Config, PolicySegmentSubnetDhcpV4ConfigArgs

    DhcpGenericOptions List<PolicySegmentSubnetDhcpV4ConfigDhcpGenericOption>
    Generic DHCP options.
    DhcpOption121s List<PolicySegmentSubnetDhcpV4ConfigDhcpOption121>
    DHCP classless static routes.
    DnsServers List<string>
    List of IP addresses of DNS servers for the subnet.
    LeaseTime double
    DHCP lease time in seconds.
    ServerAddress string
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.
    DhcpGenericOptions []PolicySegmentSubnetDhcpV4ConfigDhcpGenericOption
    Generic DHCP options.
    DhcpOption121s []PolicySegmentSubnetDhcpV4ConfigDhcpOption121
    DHCP classless static routes.
    DnsServers []string
    List of IP addresses of DNS servers for the subnet.
    LeaseTime float64
    DHCP lease time in seconds.
    ServerAddress string
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.
    dhcpGenericOptions List<PolicySegmentSubnetDhcpV4ConfigDhcpGenericOption>
    Generic DHCP options.
    dhcpOption121s List<PolicySegmentSubnetDhcpV4ConfigDhcpOption121>
    DHCP classless static routes.
    dnsServers List<String>
    List of IP addresses of DNS servers for the subnet.
    leaseTime Double
    DHCP lease time in seconds.
    serverAddress String
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.
    dhcpGenericOptions PolicySegmentSubnetDhcpV4ConfigDhcpGenericOption[]
    Generic DHCP options.
    dhcpOption121s PolicySegmentSubnetDhcpV4ConfigDhcpOption121[]
    DHCP classless static routes.
    dnsServers string[]
    List of IP addresses of DNS servers for the subnet.
    leaseTime number
    DHCP lease time in seconds.
    serverAddress string
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.
    dhcp_generic_options Sequence[PolicySegmentSubnetDhcpV4ConfigDhcpGenericOption]
    Generic DHCP options.
    dhcp_option121s Sequence[PolicySegmentSubnetDhcpV4ConfigDhcpOption121]
    DHCP classless static routes.
    dns_servers Sequence[str]
    List of IP addresses of DNS servers for the subnet.
    lease_time float
    DHCP lease time in seconds.
    server_address str
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.
    dhcpGenericOptions List<Property Map>
    Generic DHCP options.
    dhcpOption121s List<Property Map>
    DHCP classless static routes.
    dnsServers List<String>
    List of IP addresses of DNS servers for the subnet.
    leaseTime Number
    DHCP lease time in seconds.
    serverAddress String
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.

    PolicySegmentSubnetDhcpV4ConfigDhcpGenericOption, PolicySegmentSubnetDhcpV4ConfigDhcpGenericOptionArgs

    Code double
    DHCP option code. Valid values are from 0 to 255.
    Values List<string>
    List of DHCP option values.
    Code float64
    DHCP option code. Valid values are from 0 to 255.
    Values []string
    List of DHCP option values.
    code Double
    DHCP option code. Valid values are from 0 to 255.
    values List<String>
    List of DHCP option values.
    code number
    DHCP option code. Valid values are from 0 to 255.
    values string[]
    List of DHCP option values.
    code float
    DHCP option code. Valid values are from 0 to 255.
    values Sequence[str]
    List of DHCP option values.
    code Number
    DHCP option code. Valid values are from 0 to 255.
    values List<String>
    List of DHCP option values.

    PolicySegmentSubnetDhcpV4ConfigDhcpOption121, PolicySegmentSubnetDhcpV4ConfigDhcpOption121Args

    Network string
    Destination in cidr format.
    NextHop string
    IP address of next hop.
    Network string
    Destination in cidr format.
    NextHop string
    IP address of next hop.
    network String
    Destination in cidr format.
    nextHop String
    IP address of next hop.
    network string
    Destination in cidr format.
    nextHop string
    IP address of next hop.
    network str
    Destination in cidr format.
    next_hop str
    IP address of next hop.
    network String
    Destination in cidr format.
    nextHop String
    IP address of next hop.

    PolicySegmentSubnetDhcpV6Config, PolicySegmentSubnetDhcpV6ConfigArgs

    DnsServers List<string>
    List of IP addresses of DNS servers for the subnet.
    DomainNames List<string>
    List of domain names for this subnet.
    ExcludedRanges List<PolicySegmentSubnetDhcpV6ConfigExcludedRange>
    List of excluded address ranges to define dynamic ip allocation ranges.
    LeaseTime double
    DHCP lease time in seconds.
    PreferredTime double
    The time interval in seconds, in which the prefix is advertised as preferred.
    ServerAddress string
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.
    SntpServers List<string>
    IPv6 address of SNTP servers for the subnet.
    DnsServers []string
    List of IP addresses of DNS servers for the subnet.
    DomainNames []string
    List of domain names for this subnet.
    ExcludedRanges []PolicySegmentSubnetDhcpV6ConfigExcludedRange
    List of excluded address ranges to define dynamic ip allocation ranges.
    LeaseTime float64
    DHCP lease time in seconds.
    PreferredTime float64
    The time interval in seconds, in which the prefix is advertised as preferred.
    ServerAddress string
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.
    SntpServers []string
    IPv6 address of SNTP servers for the subnet.
    dnsServers List<String>
    List of IP addresses of DNS servers for the subnet.
    domainNames List<String>
    List of domain names for this subnet.
    excludedRanges List<PolicySegmentSubnetDhcpV6ConfigExcludedRange>
    List of excluded address ranges to define dynamic ip allocation ranges.
    leaseTime Double
    DHCP lease time in seconds.
    preferredTime Double
    The time interval in seconds, in which the prefix is advertised as preferred.
    serverAddress String
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.
    sntpServers List<String>
    IPv6 address of SNTP servers for the subnet.
    dnsServers string[]
    List of IP addresses of DNS servers for the subnet.
    domainNames string[]
    List of domain names for this subnet.
    excludedRanges PolicySegmentSubnetDhcpV6ConfigExcludedRange[]
    List of excluded address ranges to define dynamic ip allocation ranges.
    leaseTime number
    DHCP lease time in seconds.
    preferredTime number
    The time interval in seconds, in which the prefix is advertised as preferred.
    serverAddress string
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.
    sntpServers string[]
    IPv6 address of SNTP servers for the subnet.
    dns_servers Sequence[str]
    List of IP addresses of DNS servers for the subnet.
    domain_names Sequence[str]
    List of domain names for this subnet.
    excluded_ranges Sequence[PolicySegmentSubnetDhcpV6ConfigExcludedRange]
    List of excluded address ranges to define dynamic ip allocation ranges.
    lease_time float
    DHCP lease time in seconds.
    preferred_time float
    The time interval in seconds, in which the prefix is advertised as preferred.
    server_address str
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.
    sntp_servers Sequence[str]
    IPv6 address of SNTP servers for the subnet.
    dnsServers List<String>
    List of IP addresses of DNS servers for the subnet.
    domainNames List<String>
    List of domain names for this subnet.
    excludedRanges List<Property Map>
    List of excluded address ranges to define dynamic ip allocation ranges.
    leaseTime Number
    DHCP lease time in seconds.
    preferredTime Number
    The time interval in seconds, in which the prefix is advertised as preferred.
    serverAddress String
    IP address of the DHCP server in CIDR format. This attribute is required if segment has provided dhcp_config_path and it represents a DHCP server config.
    sntpServers List<String>
    IPv6 address of SNTP servers for the subnet.

    PolicySegmentSubnetDhcpV6ConfigExcludedRange, PolicySegmentSubnetDhcpV6ConfigExcludedRangeArgs

    End string
    IPv6 address that marks end of the range.
    Start string
    IPv6 address that marks beginning of the range.
    End string
    IPv6 address that marks end of the range.
    Start string
    IPv6 address that marks beginning of the range.
    end String
    IPv6 address that marks end of the range.
    start String
    IPv6 address that marks beginning of the range.
    end string
    IPv6 address that marks end of the range.
    start string
    IPv6 address that marks beginning of the range.
    end str
    IPv6 address that marks end of the range.
    start str
    IPv6 address that marks beginning of the range.
    end String
    IPv6 address that marks end of the range.
    start String
    IPv6 address that marks beginning of the range.

    PolicySegmentTag, PolicySegmentTagArgs

    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.8.1 published on Wednesday, Apr 30, 2025 by vmware