1. Packages
  2. Packages
  3. Nsxt Provider
  4. API Docs
  5. PolicyClusterSecurityConfig
Viewing docs for nsxt 3.12.0
published on Monday, May 18, 2026 by vmware
Viewing docs for nsxt 3.12.0
published on Monday, May 18, 2026 by vmware

    Create PolicyClusterSecurityConfig Resource

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

    Constructor syntax

    new PolicyClusterSecurityConfig(name: string, args: PolicyClusterSecurityConfigArgs, opts?: CustomResourceOptions);
    @overload
    def PolicyClusterSecurityConfig(resource_name: str,
                                    args: PolicyClusterSecurityConfigArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicyClusterSecurityConfig(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    cluster_id: Optional[str] = None,
                                    dfw_enabled: Optional[bool] = None,
                                    policy_cluster_security_config_id: Optional[str] = None)
    func NewPolicyClusterSecurityConfig(ctx *Context, name string, args PolicyClusterSecurityConfigArgs, opts ...ResourceOption) (*PolicyClusterSecurityConfig, error)
    public PolicyClusterSecurityConfig(string name, PolicyClusterSecurityConfigArgs args, CustomResourceOptions? opts = null)
    public PolicyClusterSecurityConfig(String name, PolicyClusterSecurityConfigArgs args)
    public PolicyClusterSecurityConfig(String name, PolicyClusterSecurityConfigArgs args, CustomResourceOptions options)
    
    type: nsxt:PolicyClusterSecurityConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "nsxt_policyclustersecurityconfig" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PolicyClusterSecurityConfigArgs
    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 PolicyClusterSecurityConfigArgs
    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 PolicyClusterSecurityConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyClusterSecurityConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyClusterSecurityConfigArgs
    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 policyClusterSecurityConfigResource = new Nsxt.PolicyClusterSecurityConfig("policyClusterSecurityConfigResource", new()
    {
        ClusterId = "string",
        DfwEnabled = false,
        PolicyClusterSecurityConfigId = "string",
    });
    
    example, err := nsxt.NewPolicyClusterSecurityConfig(ctx, "policyClusterSecurityConfigResource", &nsxt.PolicyClusterSecurityConfigArgs{
    	ClusterId:                     pulumi.String("string"),
    	DfwEnabled:                    pulumi.Bool(false),
    	PolicyClusterSecurityConfigId: pulumi.String("string"),
    })
    
    resource "nsxt_policyclustersecurityconfig" "policyClusterSecurityConfigResource" {
      cluster_id                        = "string"
      dfw_enabled                       = false
      policy_cluster_security_config_id = "string"
    }
    
    var policyClusterSecurityConfigResource = new PolicyClusterSecurityConfig("policyClusterSecurityConfigResource", PolicyClusterSecurityConfigArgs.builder()
        .clusterId("string")
        .dfwEnabled(false)
        .policyClusterSecurityConfigId("string")
        .build());
    
    policy_cluster_security_config_resource = nsxt.PolicyClusterSecurityConfig("policyClusterSecurityConfigResource",
        cluster_id="string",
        dfw_enabled=False,
        policy_cluster_security_config_id="string")
    
    const policyClusterSecurityConfigResource = new nsxt.PolicyClusterSecurityConfig("policyClusterSecurityConfigResource", {
        clusterId: "string",
        dfwEnabled: false,
        policyClusterSecurityConfigId: "string",
    });
    
    type: nsxt:PolicyClusterSecurityConfig
    properties:
        clusterId: string
        dfwEnabled: false
        policyClusterSecurityConfigId: string
    

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

    ClusterId string
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    DfwEnabled bool
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    PolicyClusterSecurityConfigId string
    The cluster ID.
    ClusterId string
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    DfwEnabled bool
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    PolicyClusterSecurityConfigId string
    The cluster ID.
    cluster_id string
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    dfw_enabled bool
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    policy_cluster_security_config_id string
    The cluster ID.
    clusterId String
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    dfwEnabled Boolean
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    policyClusterSecurityConfigId String
    The cluster ID.
    clusterId string
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    dfwEnabled boolean
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    policyClusterSecurityConfigId string
    The cluster ID.
    cluster_id str
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    dfw_enabled bool
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    policy_cluster_security_config_id str
    The cluster ID.
    clusterId String
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    dfwEnabled Boolean
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    policyClusterSecurityConfigId String
    The cluster ID.

    Outputs

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

    Description string
    The description of the cluster security configuration.
    DisplayName string
    The display name of the cluster security configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    Path string
    The NSX path of the cluster security configuration.
    Revision double
    The revision number of the cluster security configuration.
    Description string
    The description of the cluster security configuration.
    DisplayName string
    The display name of the cluster security configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    Path string
    The NSX path of the cluster security configuration.
    Revision float64
    The revision number of the cluster security configuration.
    description string
    The description of the cluster security configuration.
    display_name string
    The display name of the cluster security configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    path string
    The NSX path of the cluster security configuration.
    revision number
    The revision number of the cluster security configuration.
    description String
    The description of the cluster security configuration.
    displayName String
    The display name of the cluster security configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    path String
    The NSX path of the cluster security configuration.
    revision Double
    The revision number of the cluster security configuration.
    description string
    The description of the cluster security configuration.
    displayName string
    The display name of the cluster security configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    path string
    The NSX path of the cluster security configuration.
    revision number
    The revision number of the cluster security configuration.
    description str
    The description of the cluster security configuration.
    display_name str
    The display name of the cluster security configuration.
    id str
    The provider-assigned unique ID for this managed resource.
    path str
    The NSX path of the cluster security configuration.
    revision float
    The revision number of the cluster security configuration.
    description String
    The description of the cluster security configuration.
    displayName String
    The display name of the cluster security configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    path String
    The NSX path of the cluster security configuration.
    revision Number
    The revision number of the cluster security configuration.

    Look up Existing PolicyClusterSecurityConfig Resource

    Get an existing PolicyClusterSecurityConfig 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?: PolicyClusterSecurityConfigState, opts?: CustomResourceOptions): PolicyClusterSecurityConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            description: Optional[str] = None,
            dfw_enabled: Optional[bool] = None,
            display_name: Optional[str] = None,
            path: Optional[str] = None,
            policy_cluster_security_config_id: Optional[str] = None,
            revision: Optional[float] = None) -> PolicyClusterSecurityConfig
    func GetPolicyClusterSecurityConfig(ctx *Context, name string, id IDInput, state *PolicyClusterSecurityConfigState, opts ...ResourceOption) (*PolicyClusterSecurityConfig, error)
    public static PolicyClusterSecurityConfig Get(string name, Input<string> id, PolicyClusterSecurityConfigState? state, CustomResourceOptions? opts = null)
    public static PolicyClusterSecurityConfig get(String name, Output<String> id, PolicyClusterSecurityConfigState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:PolicyClusterSecurityConfig    get:      id: ${id}
    import {
      to = nsxt_policyclustersecurityconfig.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.
    The following state arguments are supported:
    ClusterId string
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    Description string
    The description of the cluster security configuration.
    DfwEnabled bool
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    DisplayName string
    The display name of the cluster security configuration.
    Path string
    The NSX path of the cluster security configuration.
    PolicyClusterSecurityConfigId string
    The cluster ID.
    Revision double
    The revision number of the cluster security configuration.
    ClusterId string
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    Description string
    The description of the cluster security configuration.
    DfwEnabled bool
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    DisplayName string
    The display name of the cluster security configuration.
    Path string
    The NSX path of the cluster security configuration.
    PolicyClusterSecurityConfigId string
    The cluster ID.
    Revision float64
    The revision number of the cluster security configuration.
    cluster_id string
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    description string
    The description of the cluster security configuration.
    dfw_enabled bool
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    display_name string
    The display name of the cluster security configuration.
    path string
    The NSX path of the cluster security configuration.
    policy_cluster_security_config_id string
    The cluster ID.
    revision number
    The revision number of the cluster security configuration.
    clusterId String
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    description String
    The description of the cluster security configuration.
    dfwEnabled Boolean
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    displayName String
    The display name of the cluster security configuration.
    path String
    The NSX path of the cluster security configuration.
    policyClusterSecurityConfigId String
    The cluster ID.
    revision Double
    The revision number of the cluster security configuration.
    clusterId string
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    description string
    The description of the cluster security configuration.
    dfwEnabled boolean
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    displayName string
    The display name of the cluster security configuration.
    path string
    The NSX path of the cluster security configuration.
    policyClusterSecurityConfigId string
    The cluster ID.
    revision number
    The revision number of the cluster security configuration.
    cluster_id str
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    description str
    The description of the cluster security configuration.
    dfw_enabled bool
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    display_name str
    The display name of the cluster security configuration.
    path str
    The NSX path of the cluster security configuration.
    policy_cluster_security_config_id str
    The cluster ID.
    revision float
    The revision number of the cluster security configuration.
    clusterId String
    The cluster external ID (e.g., "uuid:domain-c20"). This is typically obtained from the nsxt.getComputeCollection data source's id attribute. Changing this forces a new resource to be created.
    description String
    The description of the cluster security configuration.
    dfwEnabled Boolean
    Enable or disable Distributed Firewall (DFW) on the cluster. DFW must be enabled before IDPS can be configured. Defaults to the current state if not specified.
    displayName String
    The display name of the cluster security configuration.
    path String
    The NSX path of the cluster security configuration.
    policyClusterSecurityConfigId String
    The cluster ID.
    revision Number
    The revision number of the cluster security configuration.

    Package Details

    Repository
    nsxt vmware/terraform-provider-nsxt
    License
    Notes
    This Pulumi package is based on the nsxt Terraform Provider.
    Viewing docs for nsxt 3.12.0
    published on Monday, May 18, 2026 by vmware

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial