published on Monday, May 18, 2026 by vmware
published on Monday, May 18, 2026 by vmware
Create PolicyIdpsClusterConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyIdpsClusterConfig(name: string, args: PolicyIdpsClusterConfigArgs, opts?: CustomResourceOptions);@overload
def PolicyIdpsClusterConfig(resource_name: str,
args: PolicyIdpsClusterConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyIdpsClusterConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster: Optional[PolicyIdpsClusterConfigClusterArgs] = None,
display_name: Optional[str] = None,
ids_enabled: Optional[bool] = None,
context: Optional[PolicyIdpsClusterConfigContextArgs] = None,
description: Optional[str] = None,
nsx_id: Optional[str] = None,
policy_idps_cluster_config_id: Optional[str] = None,
tags: Optional[Sequence[PolicyIdpsClusterConfigTagArgs]] = None)func NewPolicyIdpsClusterConfig(ctx *Context, name string, args PolicyIdpsClusterConfigArgs, opts ...ResourceOption) (*PolicyIdpsClusterConfig, error)public PolicyIdpsClusterConfig(string name, PolicyIdpsClusterConfigArgs args, CustomResourceOptions? opts = null)
public PolicyIdpsClusterConfig(String name, PolicyIdpsClusterConfigArgs args)
public PolicyIdpsClusterConfig(String name, PolicyIdpsClusterConfigArgs args, CustomResourceOptions options)
type: nsxt:PolicyIdpsClusterConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "nsxt_policyidpsclusterconfig" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PolicyIdpsClusterConfigArgs
- 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 PolicyIdpsClusterConfigArgs
- 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 PolicyIdpsClusterConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyIdpsClusterConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyIdpsClusterConfigArgs
- 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 policyIdpsClusterConfigResource = new Nsxt.PolicyIdpsClusterConfig("policyIdpsClusterConfigResource", new()
{
Cluster = new Nsxt.Inputs.PolicyIdpsClusterConfigClusterArgs
{
TargetId = "string",
TargetType = "string",
},
DisplayName = "string",
IdsEnabled = false,
Context = new Nsxt.Inputs.PolicyIdpsClusterConfigContextArgs
{
ProjectId = "string",
},
Description = "string",
NsxId = "string",
PolicyIdpsClusterConfigId = "string",
Tags = new[]
{
new Nsxt.Inputs.PolicyIdpsClusterConfigTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyIdpsClusterConfig(ctx, "policyIdpsClusterConfigResource", &nsxt.PolicyIdpsClusterConfigArgs{
Cluster: &nsxt.PolicyIdpsClusterConfigClusterArgs{
TargetId: pulumi.String("string"),
TargetType: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
IdsEnabled: pulumi.Bool(false),
Context: &nsxt.PolicyIdpsClusterConfigContextArgs{
ProjectId: pulumi.String("string"),
},
Description: pulumi.String("string"),
NsxId: pulumi.String("string"),
PolicyIdpsClusterConfigId: pulumi.String("string"),
Tags: nsxt.PolicyIdpsClusterConfigTagArray{
&nsxt.PolicyIdpsClusterConfigTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
resource "nsxt_policyidpsclusterconfig" "policyIdpsClusterConfigResource" {
cluster = {
target_id = "string"
target_type = "string"
}
display_name = "string"
ids_enabled = false
context = {
project_id = "string"
}
description = "string"
nsx_id = "string"
policy_idps_cluster_config_id = "string"
tags {
scope = "string"
tag = "string"
}
}
var policyIdpsClusterConfigResource = new PolicyIdpsClusterConfig("policyIdpsClusterConfigResource", PolicyIdpsClusterConfigArgs.builder()
.cluster(PolicyIdpsClusterConfigClusterArgs.builder()
.targetId("string")
.targetType("string")
.build())
.displayName("string")
.idsEnabled(false)
.context(PolicyIdpsClusterConfigContextArgs.builder()
.projectId("string")
.build())
.description("string")
.nsxId("string")
.policyIdpsClusterConfigId("string")
.tags(PolicyIdpsClusterConfigTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_idps_cluster_config_resource = nsxt.PolicyIdpsClusterConfig("policyIdpsClusterConfigResource",
cluster={
"target_id": "string",
"target_type": "string",
},
display_name="string",
ids_enabled=False,
context={
"project_id": "string",
},
description="string",
nsx_id="string",
policy_idps_cluster_config_id="string",
tags=[{
"scope": "string",
"tag": "string",
}])
const policyIdpsClusterConfigResource = new nsxt.PolicyIdpsClusterConfig("policyIdpsClusterConfigResource", {
cluster: {
targetId: "string",
targetType: "string",
},
displayName: "string",
idsEnabled: false,
context: {
projectId: "string",
},
description: "string",
nsxId: "string",
policyIdpsClusterConfigId: "string",
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyIdpsClusterConfig
properties:
cluster:
targetId: string
targetType: string
context:
projectId: string
description: string
displayName: string
idsEnabled: false
nsxId: string
policyIdpsClusterConfigId: string
tags:
- scope: string
tag: string
PolicyIdpsClusterConfig 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 PolicyIdpsClusterConfig resource accepts the following input properties:
- Cluster
Policy
Idps Cluster Config Cluster - Cluster reference configuration. Exactly one cluster block is required.
- Display
Name string - Display name of the resource.
- Ids
Enabled bool - Enable or disable IDS for the cluster (TF-IDPS-001).
- Context
Policy
Idps Cluster Config Context - Resource context
- Description string
- Description of the resource.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Idps stringCluster Config Id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. -
List<Policy
Idps Cluster Config Tag> - A list of scope + tag pairs to associate with this resource.
- Cluster
Policy
Idps Cluster Config Cluster Args - Cluster reference configuration. Exactly one cluster block is required.
- Display
Name string - Display name of the resource.
- Ids
Enabled bool - Enable or disable IDS for the cluster (TF-IDPS-001).
- Context
Policy
Idps Cluster Config Context Args - Resource context
- Description string
- Description of the resource.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Idps stringCluster Config Id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. -
[]Policy
Idps Cluster Config Tag Args - A list of scope + tag pairs to associate with this resource.
- cluster object
- Cluster reference configuration. Exactly one cluster block is required.
- display_
name string - Display name of the resource.
- ids_
enabled bool - Enable or disable IDS for the cluster (TF-IDPS-001).
- context object
- Resource context
- description string
- Description of the resource.
- nsx_
id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy_
idps_ stringcluster_ config_ id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. - list(object)
- A list of scope + tag pairs to associate with this resource.
- cluster
Policy
Idps Cluster Config Cluster - Cluster reference configuration. Exactly one cluster block is required.
- display
Name String - Display name of the resource.
- ids
Enabled Boolean - Enable or disable IDS for the cluster (TF-IDPS-001).
- context
Policy
Idps Cluster Config Context - Resource context
- description String
- Description of the resource.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Idps StringCluster Config Id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. -
List<Policy
Idps Cluster Config Tag> - A list of scope + tag pairs to associate with this resource.
- cluster
Policy
Idps Cluster Config Cluster - Cluster reference configuration. Exactly one cluster block is required.
- display
Name string - Display name of the resource.
- ids
Enabled boolean - Enable or disable IDS for the cluster (TF-IDPS-001).
- context
Policy
Idps Cluster Config Context - Resource context
- description string
- Description of the resource.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Idps stringCluster Config Id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. -
Policy
Idps Cluster Config Tag[] - A list of scope + tag pairs to associate with this resource.
- cluster
Policy
Idps Cluster Config Cluster Args - Cluster reference configuration. Exactly one cluster block is required.
- display_
name str - Display name of the resource.
- ids_
enabled bool - Enable or disable IDS for the cluster (TF-IDPS-001).
- context
Policy
Idps Cluster Config Context Args - Resource context
- description str
- Description of the resource.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy_
idps_ strcluster_ config_ id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. -
Sequence[Policy
Idps Cluster Config Tag Args] - A list of scope + tag pairs to associate with this resource.
- cluster Property Map
- Cluster reference configuration. Exactly one cluster block is required.
- display
Name String - Display name of the resource.
- ids
Enabled Boolean - Enable or disable IDS for the cluster (TF-IDPS-001).
- context Property Map
- Resource context
- description String
- Description of the resource.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Idps StringCluster Config Id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. - List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyIdpsClusterConfig resource produces the following output properties:
Look up Existing PolicyIdpsClusterConfig Resource
Get an existing PolicyIdpsClusterConfig 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?: PolicyIdpsClusterConfigState, opts?: CustomResourceOptions): PolicyIdpsClusterConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster: Optional[PolicyIdpsClusterConfigClusterArgs] = None,
context: Optional[PolicyIdpsClusterConfigContextArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
ids_enabled: Optional[bool] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_idps_cluster_config_id: Optional[str] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[PolicyIdpsClusterConfigTagArgs]] = None) -> PolicyIdpsClusterConfigfunc GetPolicyIdpsClusterConfig(ctx *Context, name string, id IDInput, state *PolicyIdpsClusterConfigState, opts ...ResourceOption) (*PolicyIdpsClusterConfig, error)public static PolicyIdpsClusterConfig Get(string name, Input<string> id, PolicyIdpsClusterConfigState? state, CustomResourceOptions? opts = null)public static PolicyIdpsClusterConfig get(String name, Output<String> id, PolicyIdpsClusterConfigState state, CustomResourceOptions options)resources: _: type: nsxt:PolicyIdpsClusterConfig get: id: ${id}import {
to = nsxt_policyidpsclusterconfig.example
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.
- Cluster
Policy
Idps Cluster Config Cluster - Cluster reference configuration. Exactly one cluster block is required.
- Context
Policy
Idps Cluster Config Context - Resource context
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Ids
Enabled bool - Enable or disable IDS for the cluster (TF-IDPS-001).
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX policy path of the resource.
- Policy
Idps stringCluster Config Id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. - Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
-
List<Policy
Idps Cluster Config Tag> - A list of scope + tag pairs to associate with this resource.
- Cluster
Policy
Idps Cluster Config Cluster Args - Cluster reference configuration. Exactly one cluster block is required.
- Context
Policy
Idps Cluster Config Context Args - Resource context
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Ids
Enabled bool - Enable or disable IDS for the cluster (TF-IDPS-001).
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX policy path of the resource.
- Policy
Idps stringCluster Config Id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. - Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
-
[]Policy
Idps Cluster Config Tag Args - A list of scope + tag pairs to associate with this resource.
- cluster object
- Cluster reference configuration. Exactly one cluster block is required.
- context object
- Resource context
- description string
- Description of the resource.
- display_
name string - Display name of the resource.
- ids_
enabled bool - Enable or disable IDS for the cluster (TF-IDPS-001).
- nsx_
id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path string
- The NSX policy path of the resource.
- policy_
idps_ stringcluster_ config_ id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. - revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- list(object)
- A list of scope + tag pairs to associate with this resource.
- cluster
Policy
Idps Cluster Config Cluster - Cluster reference configuration. Exactly one cluster block is required.
- context
Policy
Idps Cluster Config Context - Resource context
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- ids
Enabled Boolean - Enable or disable IDS for the cluster (TF-IDPS-001).
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX policy path of the resource.
- policy
Idps StringCluster Config Id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. - revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
-
List<Policy
Idps Cluster Config Tag> - A list of scope + tag pairs to associate with this resource.
- cluster
Policy
Idps Cluster Config Cluster - Cluster reference configuration. Exactly one cluster block is required.
- context
Policy
Idps Cluster Config Context - Resource context
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- ids
Enabled boolean - Enable or disable IDS for the cluster (TF-IDPS-001).
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path string
- The NSX policy path of the resource.
- policy
Idps stringCluster Config Id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. - revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
-
Policy
Idps Cluster Config Tag[] - A list of scope + tag pairs to associate with this resource.
- cluster
Policy
Idps Cluster Config Cluster Args - Cluster reference configuration. Exactly one cluster block is required.
- context
Policy
Idps Cluster Config Context Args - Resource context
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- ids_
enabled bool - Enable or disable IDS for the cluster (TF-IDPS-001).
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path str
- The NSX policy path of the resource.
- policy_
idps_ strcluster_ config_ id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. - revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
-
Sequence[Policy
Idps Cluster Config Tag Args] - A list of scope + tag pairs to associate with this resource.
- cluster Property Map
- Cluster reference configuration. Exactly one cluster block is required.
- context Property Map
- Resource context
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- ids
Enabled Boolean - Enable or disable IDS for the cluster (TF-IDPS-001).
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX policy path of the resource.
- policy
Idps StringCluster Config Id - ID of the IDPS cluster configuration. This will be the same as the cluster
target_id. - revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyIdpsClusterConfigCluster, PolicyIdpsClusterConfigClusterArgs
- Target
Id string - Cluster target ID (e.g., domain-c123). This cannot be changed after creation.
- Target
Type string - Target type (e.g., VC_Cluster). This cannot be changed after creation.
- Target
Id string - Cluster target ID (e.g., domain-c123). This cannot be changed after creation.
- Target
Type string - Target type (e.g., VC_Cluster). This cannot be changed after creation.
- target_
id string - Cluster target ID (e.g., domain-c123). This cannot be changed after creation.
- target_
type string - Target type (e.g., VC_Cluster). This cannot be changed after creation.
- target
Id String - Cluster target ID (e.g., domain-c123). This cannot be changed after creation.
- target
Type String - Target type (e.g., VC_Cluster). This cannot be changed after creation.
- target
Id string - Cluster target ID (e.g., domain-c123). This cannot be changed after creation.
- target
Type string - Target type (e.g., VC_Cluster). This cannot be changed after creation.
- target_
id str - Cluster target ID (e.g., domain-c123). This cannot be changed after creation.
- target_
type str - Target type (e.g., VC_Cluster). This cannot be changed after creation.
- target
Id String - Cluster target ID (e.g., domain-c123). This cannot be changed after creation.
- target
Type String - Target type (e.g., VC_Cluster). This cannot be changed after creation.
PolicyIdpsClusterConfigContext, PolicyIdpsClusterConfigContextArgs
- Project
Id string - Id of the project which the resource belongs to.
- Project
Id string - Id of the project which the resource belongs to.
- project_
id string - Id of the project which the resource belongs to.
- project
Id String - Id of the project which the resource belongs to.
- project
Id string - Id of the project which the resource belongs to.
- project_
id str - Id of the project which the resource belongs to.
- project
Id String - Id of the project which the resource belongs to.
PolicyIdpsClusterConfigTag, PolicyIdpsClusterConfigTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxtTerraform Provider.
published on Monday, May 18, 2026 by vmware