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

nsxt.PolicyProject

Explore with Pulumi AI

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

    Create PolicyProject Resource

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

    Constructor syntax

    new PolicyProject(name: string, args: PolicyProjectArgs, opts?: CustomResourceOptions);
    @overload
    def PolicyProject(resource_name: str,
                      args: PolicyProjectArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicyProject(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      display_name: Optional[str] = None,
                      policy_project_id: Optional[str] = None,
                      description: Optional[str] = None,
                      default_security_profile: Optional[PolicyProjectDefaultSecurityProfileArgs] = None,
                      external_ipv4_blocks: Optional[Sequence[str]] = None,
                      nsx_id: Optional[str] = None,
                      activate_default_dfw_rules: Optional[bool] = None,
                      short_id: Optional[str] = None,
                      site_infos: Optional[Sequence[PolicyProjectSiteInfoArgs]] = None,
                      tags: Optional[Sequence[PolicyProjectTagArgs]] = None,
                      tgw_external_connections: Optional[Sequence[str]] = None,
                      tier0_gateway_paths: Optional[Sequence[str]] = None,
                      vc_folder: Optional[bool] = None)
    func NewPolicyProject(ctx *Context, name string, args PolicyProjectArgs, opts ...ResourceOption) (*PolicyProject, error)
    public PolicyProject(string name, PolicyProjectArgs args, CustomResourceOptions? opts = null)
    public PolicyProject(String name, PolicyProjectArgs args)
    public PolicyProject(String name, PolicyProjectArgs args, CustomResourceOptions options)
    
    type: nsxt:PolicyProject
    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 PolicyProjectArgs
    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 PolicyProjectArgs
    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 PolicyProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyProjectArgs
    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 policyProjectResource = new Nsxt.PolicyProject("policyProjectResource", new()
    {
        DisplayName = "string",
        PolicyProjectId = "string",
        Description = "string",
        DefaultSecurityProfile = new Nsxt.Inputs.PolicyProjectDefaultSecurityProfileArgs
        {
            NorthSouthFirewall = new Nsxt.Inputs.PolicyProjectDefaultSecurityProfileNorthSouthFirewallArgs
            {
                Enabled = false,
            },
        },
        ExternalIpv4Blocks = new[]
        {
            "string",
        },
        NsxId = "string",
        ActivateDefaultDfwRules = false,
        ShortId = "string",
        SiteInfos = new[]
        {
            new Nsxt.Inputs.PolicyProjectSiteInfoArgs
            {
                EdgeClusterPaths = new[]
                {
                    "string",
                },
                SitePath = "string",
            },
        },
        Tags = new[]
        {
            new Nsxt.Inputs.PolicyProjectTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
        TgwExternalConnections = new[]
        {
            "string",
        },
        Tier0GatewayPaths = new[]
        {
            "string",
        },
        VcFolder = false,
    });
    
    example, err := nsxt.NewPolicyProject(ctx, "policyProjectResource", &nsxt.PolicyProjectArgs{
    	DisplayName:     pulumi.String("string"),
    	PolicyProjectId: pulumi.String("string"),
    	Description:     pulumi.String("string"),
    	DefaultSecurityProfile: &nsxt.PolicyProjectDefaultSecurityProfileArgs{
    		NorthSouthFirewall: &nsxt.PolicyProjectDefaultSecurityProfileNorthSouthFirewallArgs{
    			Enabled: pulumi.Bool(false),
    		},
    	},
    	ExternalIpv4Blocks: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	NsxId:                   pulumi.String("string"),
    	ActivateDefaultDfwRules: pulumi.Bool(false),
    	ShortId:                 pulumi.String("string"),
    	SiteInfos: nsxt.PolicyProjectSiteInfoArray{
    		&nsxt.PolicyProjectSiteInfoArgs{
    			EdgeClusterPaths: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SitePath: pulumi.String("string"),
    		},
    	},
    	Tags: nsxt.PolicyProjectTagArray{
    		&nsxt.PolicyProjectTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    	TgwExternalConnections: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tier0GatewayPaths: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	VcFolder: pulumi.Bool(false),
    })
    
    var policyProjectResource = new PolicyProject("policyProjectResource", PolicyProjectArgs.builder()
        .displayName("string")
        .policyProjectId("string")
        .description("string")
        .defaultSecurityProfile(PolicyProjectDefaultSecurityProfileArgs.builder()
            .northSouthFirewall(PolicyProjectDefaultSecurityProfileNorthSouthFirewallArgs.builder()
                .enabled(false)
                .build())
            .build())
        .externalIpv4Blocks("string")
        .nsxId("string")
        .activateDefaultDfwRules(false)
        .shortId("string")
        .siteInfos(PolicyProjectSiteInfoArgs.builder()
            .edgeClusterPaths("string")
            .sitePath("string")
            .build())
        .tags(PolicyProjectTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .tgwExternalConnections("string")
        .tier0GatewayPaths("string")
        .vcFolder(false)
        .build());
    
    policy_project_resource = nsxt.PolicyProject("policyProjectResource",
        display_name="string",
        policy_project_id="string",
        description="string",
        default_security_profile={
            "north_south_firewall": {
                "enabled": False,
            },
        },
        external_ipv4_blocks=["string"],
        nsx_id="string",
        activate_default_dfw_rules=False,
        short_id="string",
        site_infos=[{
            "edge_cluster_paths": ["string"],
            "site_path": "string",
        }],
        tags=[{
            "scope": "string",
            "tag": "string",
        }],
        tgw_external_connections=["string"],
        tier0_gateway_paths=["string"],
        vc_folder=False)
    
    const policyProjectResource = new nsxt.PolicyProject("policyProjectResource", {
        displayName: "string",
        policyProjectId: "string",
        description: "string",
        defaultSecurityProfile: {
            northSouthFirewall: {
                enabled: false,
            },
        },
        externalIpv4Blocks: ["string"],
        nsxId: "string",
        activateDefaultDfwRules: false,
        shortId: "string",
        siteInfos: [{
            edgeClusterPaths: ["string"],
            sitePath: "string",
        }],
        tags: [{
            scope: "string",
            tag: "string",
        }],
        tgwExternalConnections: ["string"],
        tier0GatewayPaths: ["string"],
        vcFolder: false,
    });
    
    type: nsxt:PolicyProject
    properties:
        activateDefaultDfwRules: false
        defaultSecurityProfile:
            northSouthFirewall:
                enabled: false
        description: string
        displayName: string
        externalIpv4Blocks:
            - string
        nsxId: string
        policyProjectId: string
        shortId: string
        siteInfos:
            - edgeClusterPaths:
                - string
              sitePath: string
        tags:
            - scope: string
              tag: string
        tgwExternalConnections:
            - string
        tier0GatewayPaths:
            - string
        vcFolder: false
    

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

    DisplayName string
    Display name of the resource.
    ActivateDefaultDfwRules bool
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    DefaultSecurityProfile PolicyProjectDefaultSecurityProfile
    Default security profile properties for project.
    Description string
    Description of the resource.
    ExternalIpv4Blocks List<string>
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicyProjectId string
    ID of the resource.
    ShortId string
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    SiteInfos List<PolicyProjectSiteInfo>
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    Tags List<PolicyProjectTag>
    A list of scope + tag pairs to associate with this resource.
    TgwExternalConnections List<string>
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    Tier0GatewayPaths List<string>
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    VcFolder bool
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.
    DisplayName string
    Display name of the resource.
    ActivateDefaultDfwRules bool
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    DefaultSecurityProfile PolicyProjectDefaultSecurityProfileArgs
    Default security profile properties for project.
    Description string
    Description of the resource.
    ExternalIpv4Blocks []string
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicyProjectId string
    ID of the resource.
    ShortId string
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    SiteInfos []PolicyProjectSiteInfoArgs
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    Tags []PolicyProjectTagArgs
    A list of scope + tag pairs to associate with this resource.
    TgwExternalConnections []string
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    Tier0GatewayPaths []string
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    VcFolder bool
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.
    displayName String
    Display name of the resource.
    activateDefaultDfwRules Boolean
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    defaultSecurityProfile PolicyProjectDefaultSecurityProfile
    Default security profile properties for project.
    description String
    Description of the resource.
    externalIpv4Blocks List<String>
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyProjectId String
    ID of the resource.
    shortId String
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    siteInfos List<PolicyProjectSiteInfo>
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    tags List<PolicyProjectTag>
    A list of scope + tag pairs to associate with this resource.
    tgwExternalConnections List<String>
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    tier0GatewayPaths List<String>
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    vcFolder Boolean
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.
    displayName string
    Display name of the resource.
    activateDefaultDfwRules boolean
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    defaultSecurityProfile PolicyProjectDefaultSecurityProfile
    Default security profile properties for project.
    description string
    Description of the resource.
    externalIpv4Blocks string[]
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    nsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyProjectId string
    ID of the resource.
    shortId string
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    siteInfos PolicyProjectSiteInfo[]
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    tags PolicyProjectTag[]
    A list of scope + tag pairs to associate with this resource.
    tgwExternalConnections string[]
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    tier0GatewayPaths string[]
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    vcFolder boolean
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.
    display_name str
    Display name of the resource.
    activate_default_dfw_rules bool
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    default_security_profile PolicyProjectDefaultSecurityProfileArgs
    Default security profile properties for project.
    description str
    Description of the resource.
    external_ipv4_blocks Sequence[str]
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    nsx_id str
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policy_project_id str
    ID of the resource.
    short_id str
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    site_infos Sequence[PolicyProjectSiteInfoArgs]
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    tags Sequence[PolicyProjectTagArgs]
    A list of scope + tag pairs to associate with this resource.
    tgw_external_connections Sequence[str]
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    tier0_gateway_paths Sequence[str]
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    vc_folder bool
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.
    displayName String
    Display name of the resource.
    activateDefaultDfwRules Boolean
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    defaultSecurityProfile Property Map
    Default security profile properties for project.
    description String
    Description of the resource.
    externalIpv4Blocks List<String>
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyProjectId String
    ID of the resource.
    shortId String
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    siteInfos List<Property Map>
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this resource.
    tgwExternalConnections List<String>
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    tier0GatewayPaths List<String>
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    vcFolder Boolean
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.

    Outputs

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

    Get an existing PolicyProject 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?: PolicyProjectState, opts?: CustomResourceOptions): PolicyProject
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            activate_default_dfw_rules: Optional[bool] = None,
            default_security_profile: Optional[PolicyProjectDefaultSecurityProfileArgs] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            external_ipv4_blocks: Optional[Sequence[str]] = None,
            nsx_id: Optional[str] = None,
            path: Optional[str] = None,
            policy_project_id: Optional[str] = None,
            revision: Optional[float] = None,
            short_id: Optional[str] = None,
            site_infos: Optional[Sequence[PolicyProjectSiteInfoArgs]] = None,
            tags: Optional[Sequence[PolicyProjectTagArgs]] = None,
            tgw_external_connections: Optional[Sequence[str]] = None,
            tier0_gateway_paths: Optional[Sequence[str]] = None,
            vc_folder: Optional[bool] = None) -> PolicyProject
    func GetPolicyProject(ctx *Context, name string, id IDInput, state *PolicyProjectState, opts ...ResourceOption) (*PolicyProject, error)
    public static PolicyProject Get(string name, Input<string> id, PolicyProjectState? state, CustomResourceOptions? opts = null)
    public static PolicyProject get(String name, Output<String> id, PolicyProjectState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:PolicyProject    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:
    ActivateDefaultDfwRules bool
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    DefaultSecurityProfile PolicyProjectDefaultSecurityProfile
    Default security profile properties for project.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    ExternalIpv4Blocks List<string>
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    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.
    PolicyProjectId string
    ID of the resource.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    ShortId string
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    SiteInfos List<PolicyProjectSiteInfo>
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    Tags List<PolicyProjectTag>
    A list of scope + tag pairs to associate with this resource.
    TgwExternalConnections List<string>
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    Tier0GatewayPaths List<string>
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    VcFolder bool
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.
    ActivateDefaultDfwRules bool
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    DefaultSecurityProfile PolicyProjectDefaultSecurityProfileArgs
    Default security profile properties for project.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    ExternalIpv4Blocks []string
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    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.
    PolicyProjectId string
    ID of the resource.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    ShortId string
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    SiteInfos []PolicyProjectSiteInfoArgs
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    Tags []PolicyProjectTagArgs
    A list of scope + tag pairs to associate with this resource.
    TgwExternalConnections []string
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    Tier0GatewayPaths []string
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    VcFolder bool
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.
    activateDefaultDfwRules Boolean
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    defaultSecurityProfile PolicyProjectDefaultSecurityProfile
    Default security profile properties for project.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    externalIpv4Blocks List<String>
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    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.
    policyProjectId String
    ID of the resource.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    shortId String
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    siteInfos List<PolicyProjectSiteInfo>
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    tags List<PolicyProjectTag>
    A list of scope + tag pairs to associate with this resource.
    tgwExternalConnections List<String>
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    tier0GatewayPaths List<String>
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    vcFolder Boolean
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.
    activateDefaultDfwRules boolean
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    defaultSecurityProfile PolicyProjectDefaultSecurityProfile
    Default security profile properties for project.
    description string
    Description of the resource.
    displayName string
    Display name of the resource.
    externalIpv4Blocks string[]
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    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.
    policyProjectId string
    ID of the resource.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    shortId string
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    siteInfos PolicyProjectSiteInfo[]
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    tags PolicyProjectTag[]
    A list of scope + tag pairs to associate with this resource.
    tgwExternalConnections string[]
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    tier0GatewayPaths string[]
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    vcFolder boolean
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.
    activate_default_dfw_rules bool
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    default_security_profile PolicyProjectDefaultSecurityProfileArgs
    Default security profile properties for project.
    description str
    Description of the resource.
    display_name str
    Display name of the resource.
    external_ipv4_blocks Sequence[str]
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    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_project_id str
    ID of the resource.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    short_id str
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    site_infos Sequence[PolicyProjectSiteInfoArgs]
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    tags Sequence[PolicyProjectTagArgs]
    A list of scope + tag pairs to associate with this resource.
    tgw_external_connections Sequence[str]
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    tier0_gateway_paths Sequence[str]
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    vc_folder bool
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.
    activateDefaultDfwRules Boolean
    By default, Project is created with default distributed firewall rules, this boolean flag allows to deactivate those default rules. If not set, the default rules are enabled. Available since NSX 4.2.0.
    defaultSecurityProfile Property Map
    Default security profile properties for project.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    externalIpv4Blocks List<String>
    IP blocks used for allocating CIDR blocks for public subnets. These can be consumed by all the VPCs under this project. Available since NSX 4.1.1.
    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.
    policyProjectId String
    ID of the resource.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    shortId String
    Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
    siteInfos List<Property Map>
    Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this resource.
    tgwExternalConnections List<String>
    Transit gateway connection objects available to the project. Gateway connection and distributed VLAN connection object path will be allowed. Available since NSX 9.0.0.
    tier0GatewayPaths List<String>
    The tier 0 has to be pre-created before Project is created. The tier 0 typically provides connectivity to external world. List of sites for Project has to be subset of sites where the tier 0 spans.
    vcFolder Boolean
    Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to true.

    Supporting Types

    PolicyProjectDefaultSecurityProfile, PolicyProjectDefaultSecurityProfileArgs

    northSouthFirewall Property Map
    North South firewall configuration.

    PolicyProjectDefaultSecurityProfileNorthSouthFirewall, PolicyProjectDefaultSecurityProfileNorthSouthFirewallArgs

    Enabled bool
    This flag indicates whether north-south firewall (Gateway Firewall) is enabled. If set to false, then gateway firewall policies will not be enforced on the VPCs associated with this configuration.
    Enabled bool
    This flag indicates whether north-south firewall (Gateway Firewall) is enabled. If set to false, then gateway firewall policies will not be enforced on the VPCs associated with this configuration.
    enabled Boolean
    This flag indicates whether north-south firewall (Gateway Firewall) is enabled. If set to false, then gateway firewall policies will not be enforced on the VPCs associated with this configuration.
    enabled boolean
    This flag indicates whether north-south firewall (Gateway Firewall) is enabled. If set to false, then gateway firewall policies will not be enforced on the VPCs associated with this configuration.
    enabled bool
    This flag indicates whether north-south firewall (Gateway Firewall) is enabled. If set to false, then gateway firewall policies will not be enforced on the VPCs associated with this configuration.
    enabled Boolean
    This flag indicates whether north-south firewall (Gateway Firewall) is enabled. If set to false, then gateway firewall policies will not be enforced on the VPCs associated with this configuration.

    PolicyProjectSiteInfo, PolicyProjectSiteInfoArgs

    EdgeClusterPaths List<string>
    The edge cluster on which the networking elements for the Org will be created.
    SitePath string
    This represents the path of the site which is managed by Global Manager. For the local manager, if set, this needs to point to 'default'.
    EdgeClusterPaths []string
    The edge cluster on which the networking elements for the Org will be created.
    SitePath string
    This represents the path of the site which is managed by Global Manager. For the local manager, if set, this needs to point to 'default'.
    edgeClusterPaths List<String>
    The edge cluster on which the networking elements for the Org will be created.
    sitePath String
    This represents the path of the site which is managed by Global Manager. For the local manager, if set, this needs to point to 'default'.
    edgeClusterPaths string[]
    The edge cluster on which the networking elements for the Org will be created.
    sitePath string
    This represents the path of the site which is managed by Global Manager. For the local manager, if set, this needs to point to 'default'.
    edge_cluster_paths Sequence[str]
    The edge cluster on which the networking elements for the Org will be created.
    site_path str
    This represents the path of the site which is managed by Global Manager. For the local manager, if set, this needs to point to 'default'.
    edgeClusterPaths List<String>
    The edge cluster on which the networking elements for the Org will be created.
    sitePath String
    This represents the path of the site which is managed by Global Manager. For the local manager, if set, this needs to point to 'default'.

    PolicyProjectTag, PolicyProjectTagArgs

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

    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