nsxt.PolicyProject
Explore with Pulumi AI
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:
- Display
Name string - Display name of the resource.
- Activate
Default boolDfw Rules - 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 PolicyProfile Project Default Security Profile - Default security profile properties for project.
- Description string
- Description of the resource.
- External
Ipv4Blocks 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.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Project stringId - ID of the resource.
- Short
Id string - Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
- Site
Infos List<PolicyProject Site Info> - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- List<Policy
Project Tag> - A list of scope + tag pairs to associate with this resource.
- Tgw
External List<string>Connections - 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.
- Tier0Gateway
Paths 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.
- Vc
Folder bool - Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to
true
.
- Display
Name string - Display name of the resource.
- Activate
Default boolDfw Rules - 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 PolicyProfile Project Default Security Profile Args - Default security profile properties for project.
- Description string
- Description of the resource.
- External
Ipv4Blocks []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.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Project stringId - ID of the resource.
- Short
Id string - Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
- Site
Infos []PolicyProject Site Info Args - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- []Policy
Project Tag Args - A list of scope + tag pairs to associate with this resource.
- Tgw
External []stringConnections - 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.
- Tier0Gateway
Paths []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.
- Vc
Folder bool - Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to
true
.
- display
Name String - Display name of the resource.
- activate
Default BooleanDfw Rules - 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 PolicyProfile Project Default Security Profile - Default security profile properties for project.
- description String
- Description of the resource.
- external
Ipv4Blocks 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.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Project StringId - ID of the resource.
- short
Id String - Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
- site
Infos List<PolicyProject Site Info> - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- List<Policy
Project Tag> - A list of scope + tag pairs to associate with this resource.
- tgw
External List<String>Connections - 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.
- tier0Gateway
Paths 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.
- vc
Folder Boolean - Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to
true
.
- display
Name string - Display name of the resource.
- activate
Default booleanDfw Rules - 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 PolicyProfile Project Default Security Profile - Default security profile properties for project.
- description string
- Description of the resource.
- external
Ipv4Blocks 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.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Project stringId - ID of the resource.
- short
Id string - Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
- site
Infos PolicyProject Site Info[] - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- Policy
Project Tag[] - A list of scope + tag pairs to associate with this resource.
- tgw
External string[]Connections - 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.
- tier0Gateway
Paths 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.
- vc
Folder 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_ booldfw_ rules - 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_ Policyprofile Project Default Security Profile Args - Default security profile properties for project.
- description str
- Description of the resource.
- external_
ipv4_ Sequence[str]blocks - 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_ strid - 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[PolicyProject Site Info Args] - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- Sequence[Policy
Project Tag Args] - A list of scope + tag pairs to associate with this resource.
- tgw_
external_ Sequence[str]connections - 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_ Sequence[str]paths - 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
.
- display
Name String - Display name of the resource.
- activate
Default BooleanDfw Rules - 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 Property MapProfile - Default security profile properties for project.
- description String
- Description of the resource.
- external
Ipv4Blocks 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.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Project StringId - ID of the resource.
- short
Id String - Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
- site
Infos List<Property Map> - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- tgw
External List<String>Connections - 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.
- tier0Gateway
Paths 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.
- vc
Folder 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:
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.
- Activate
Default boolDfw Rules - 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 PolicyProfile Project Default Security Profile - Default security profile properties for project.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- External
Ipv4Blocks 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.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Project stringId - 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.
- Short
Id string - Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
- Site
Infos List<PolicyProject Site Info> - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- List<Policy
Project Tag> - A list of scope + tag pairs to associate with this resource.
- Tgw
External List<string>Connections - 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.
- Tier0Gateway
Paths 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.
- Vc
Folder bool - Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to
true
.
- Activate
Default boolDfw Rules - 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 PolicyProfile Project Default Security Profile Args - Default security profile properties for project.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- External
Ipv4Blocks []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.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Project stringId - 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.
- Short
Id string - Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
- Site
Infos []PolicyProject Site Info Args - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- []Policy
Project Tag Args - A list of scope + tag pairs to associate with this resource.
- Tgw
External []stringConnections - 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.
- Tier0Gateway
Paths []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.
- Vc
Folder bool - Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to
true
.
- activate
Default BooleanDfw Rules - 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 PolicyProfile Project Default Security Profile - Default security profile properties for project.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- external
Ipv4Blocks 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.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Project StringId - 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.
- short
Id String - Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
- site
Infos List<PolicyProject Site Info> - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- List<Policy
Project Tag> - A list of scope + tag pairs to associate with this resource.
- tgw
External List<String>Connections - 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.
- tier0Gateway
Paths 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.
- vc
Folder Boolean - Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to
true
.
- activate
Default booleanDfw Rules - 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 PolicyProfile Project Default Security Profile - Default security profile properties for project.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- external
Ipv4Blocks 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.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path string
- The NSX path of the policy resource.
- policy
Project stringId - 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.
- short
Id string - Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
- site
Infos PolicyProject Site Info[] - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- Policy
Project Tag[] - A list of scope + tag pairs to associate with this resource.
- tgw
External string[]Connections - 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.
- tier0Gateway
Paths 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.
- vc
Folder boolean - Flag to specify whether the DVPGs created for project segments are grouped under a folder on the VC. Defaults to
true
.
- activate_
default_ booldfw_ rules - 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_ Policyprofile Project Default Security Profile Args - Default security profile properties for project.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- external_
ipv4_ Sequence[str]blocks - 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_ strid - 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[PolicyProject Site Info Args] - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- Sequence[Policy
Project Tag Args] - A list of scope + tag pairs to associate with this resource.
- tgw_
external_ Sequence[str]connections - 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_ Sequence[str]paths - 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
.
- activate
Default BooleanDfw Rules - 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 Property MapProfile - Default security profile properties for project.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- external
Ipv4Blocks 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.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Project StringId - 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.
- short
Id String - Defaults to id if id is less than equal to 8 characters or defaults to random generated id if not set.
- site
Infos List<Property Map> - Information related to sites applicable for given Project. For on-prem deployment, only 1 is allowed.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- tgw
External List<String>Connections - 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.
- tier0Gateway
Paths 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.
- vc
Folder 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
- North
South PolicyFirewall Project Default Security Profile North South Firewall - North South firewall configuration.
- North
South PolicyFirewall Project Default Security Profile North South Firewall - North South firewall configuration.
- north
South PolicyFirewall Project Default Security Profile North South Firewall - North South firewall configuration.
- north
South PolicyFirewall Project Default Security Profile North South Firewall - North South firewall configuration.
- north_
south_ Policyfirewall Project Default Security Profile North South Firewall - North South firewall configuration.
- north
South Property MapFirewall - 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
- Edge
Cluster List<string>Paths - The edge cluster on which the networking elements for the Org will be created.
- Site
Path 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 []stringPaths - The edge cluster on which the networking elements for the Org will be created.
- Site
Path 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 List<String>Paths - The edge cluster on which the networking elements for the Org will be created.
- site
Path 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 string[]Paths - The edge cluster on which the networking elements for the Org will be created.
- site
Path 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_ Sequence[str]paths - 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'.
- edge
Cluster List<String>Paths - The edge cluster on which the networking elements for the Org will be created.
- site
Path 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
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.