1. Packages
  2. Packages
  3. Nutanix
  4. API Docs
  5. getNetworkSecurityPoliciesV2
Viewing docs for Nutanix v0.16.0
published on Tuesday, May 26, 2026 by Piers Karsenbarg
nutanix logo
Viewing docs for Nutanix v0.16.0
published on Tuesday, May 26, 2026 by Piers Karsenbarg

    Gets a list of Network Security Policies.

    Using getNetworkSecurityPoliciesV2

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNetworkSecurityPoliciesV2(args: GetNetworkSecurityPoliciesV2Args, opts?: InvokeOptions): Promise<GetNetworkSecurityPoliciesV2Result>
    function getNetworkSecurityPoliciesV2Output(args: GetNetworkSecurityPoliciesV2OutputArgs, opts?: InvokeOptions): Output<GetNetworkSecurityPoliciesV2Result>
    def get_network_security_policies_v2(filter: Optional[str] = None,
                                         limit: Optional[int] = None,
                                         order_by: Optional[str] = None,
                                         page: Optional[int] = None,
                                         select: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetNetworkSecurityPoliciesV2Result
    def get_network_security_policies_v2_output(filter: pulumi.Input[Optional[str]] = None,
                                         limit: pulumi.Input[Optional[int]] = None,
                                         order_by: pulumi.Input[Optional[str]] = None,
                                         page: pulumi.Input[Optional[int]] = None,
                                         select: pulumi.Input[Optional[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetNetworkSecurityPoliciesV2Result]
    func GetNetworkSecurityPoliciesV2(ctx *Context, args *GetNetworkSecurityPoliciesV2Args, opts ...InvokeOption) (*GetNetworkSecurityPoliciesV2Result, error)
    func GetNetworkSecurityPoliciesV2Output(ctx *Context, args *GetNetworkSecurityPoliciesV2OutputArgs, opts ...InvokeOption) GetNetworkSecurityPoliciesV2ResultOutput

    > Note: This function is named GetNetworkSecurityPoliciesV2 in the Go SDK.

    public static class GetNetworkSecurityPoliciesV2 
    {
        public static Task<GetNetworkSecurityPoliciesV2Result> InvokeAsync(GetNetworkSecurityPoliciesV2Args args, InvokeOptions? opts = null)
        public static Output<GetNetworkSecurityPoliciesV2Result> Invoke(GetNetworkSecurityPoliciesV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkSecurityPoliciesV2Result> getNetworkSecurityPoliciesV2(GetNetworkSecurityPoliciesV2Args args, InvokeOptions options)
    public static Output<GetNetworkSecurityPoliciesV2Result> getNetworkSecurityPoliciesV2(GetNetworkSecurityPoliciesV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: nutanix:index/getNetworkSecurityPoliciesV2:getNetworkSecurityPoliciesV2
      arguments:
        # arguments dictionary
    data "nutanix_getnetworksecuritypoliciesv2" "name" {
        # arguments
    }

    The following arguments are supported:

    Filter string
    A URL query parameter that allows clients to filter a collection of resources. The filter can be applied to the following fields:

    • createdBy
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • name
    • securedGroups
    • state
    • type
    • vpcReference
    Limit int
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    OrderBy string
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. The orderby can be applied to the following fields:

    • creationTime
    • description
    • extId
    • isSystemDefined
    • lastUpdateTime
    • name
    • state
    • type
    Page int
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    Select string
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. The select can be applied to the following fields:

    • createdBy
    • creationTime
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • lastUpdateTime
    • links
    • name
    • rules
    • scope
    • securedGroups
    • state
    • tenantId
    • type
    • vpcReference
    Filter string
    A URL query parameter that allows clients to filter a collection of resources. The filter can be applied to the following fields:

    • createdBy
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • name
    • securedGroups
    • state
    • type
    • vpcReference
    Limit int
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    OrderBy string
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. The orderby can be applied to the following fields:

    • creationTime
    • description
    • extId
    • isSystemDefined
    • lastUpdateTime
    • name
    • state
    • type
    Page int
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    Select string
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. The select can be applied to the following fields:

    • createdBy
    • creationTime
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • lastUpdateTime
    • links
    • name
    • rules
    • scope
    • securedGroups
    • state
    • tenantId
    • type
    • vpcReference
    filter string
    A URL query parameter that allows clients to filter a collection of resources. The filter can be applied to the following fields:

    • createdBy
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • name
    • securedGroups
    • state
    • type
    • vpcReference
    limit number
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    order_by string
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. The orderby can be applied to the following fields:

    • creationTime
    • description
    • extId
    • isSystemDefined
    • lastUpdateTime
    • name
    • state
    • type
    page number
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    select string
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. The select can be applied to the following fields:

    • createdBy
    • creationTime
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • lastUpdateTime
    • links
    • name
    • rules
    • scope
    • securedGroups
    • state
    • tenantId
    • type
    • vpcReference
    filter String
    A URL query parameter that allows clients to filter a collection of resources. The filter can be applied to the following fields:

    • createdBy
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • name
    • securedGroups
    • state
    • type
    • vpcReference
    limit Integer
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    orderBy String
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. The orderby can be applied to the following fields:

    • creationTime
    • description
    • extId
    • isSystemDefined
    • lastUpdateTime
    • name
    • state
    • type
    page Integer
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    select String
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. The select can be applied to the following fields:

    • createdBy
    • creationTime
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • lastUpdateTime
    • links
    • name
    • rules
    • scope
    • securedGroups
    • state
    • tenantId
    • type
    • vpcReference
    filter string
    A URL query parameter that allows clients to filter a collection of resources. The filter can be applied to the following fields:

    • createdBy
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • name
    • securedGroups
    • state
    • type
    • vpcReference
    limit number
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    orderBy string
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. The orderby can be applied to the following fields:

    • creationTime
    • description
    • extId
    • isSystemDefined
    • lastUpdateTime
    • name
    • state
    • type
    page number
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    select string
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. The select can be applied to the following fields:

    • createdBy
    • creationTime
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • lastUpdateTime
    • links
    • name
    • rules
    • scope
    • securedGroups
    • state
    • tenantId
    • type
    • vpcReference
    filter str
    A URL query parameter that allows clients to filter a collection of resources. The filter can be applied to the following fields:

    • createdBy
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • name
    • securedGroups
    • state
    • type
    • vpcReference
    limit int
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    order_by str
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. The orderby can be applied to the following fields:

    • creationTime
    • description
    • extId
    • isSystemDefined
    • lastUpdateTime
    • name
    • state
    • type
    page int
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    select str
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. The select can be applied to the following fields:

    • createdBy
    • creationTime
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • lastUpdateTime
    • links
    • name
    • rules
    • scope
    • securedGroups
    • state
    • tenantId
    • type
    • vpcReference
    filter String
    A URL query parameter that allows clients to filter a collection of resources. The filter can be applied to the following fields:

    • createdBy
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • name
    • securedGroups
    • state
    • type
    • vpcReference
    limit Number
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    orderBy String
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. The orderby can be applied to the following fields:

    • creationTime
    • description
    • extId
    • isSystemDefined
    • lastUpdateTime
    • name
    • state
    • type
    page Number
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    select String
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. The select can be applied to the following fields:

    • createdBy
    • creationTime
    • description
    • extId
    • isHitlogEnabled
    • isIpv6TrafficAllowed
    • isSystemDefined
    • lastUpdateTime
    • links
    • name
    • rules
    • scope
    • securedGroups
    • state
    • tenantId
    • type
    • vpcReference

    getNetworkSecurityPoliciesV2 Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkPolicies List<PiersKarsenbarg.Nutanix.Outputs.GetNetworkSecurityPoliciesV2NetworkPolicy>
    Filter string
    Limit int
    OrderBy string
    Page int
    Select string
    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkPolicies []GetNetworkSecurityPoliciesV2NetworkPolicy
    Filter string
    Limit int
    OrderBy string
    Page int
    Select string
    id string
    The provider-assigned unique ID for this managed resource.
    network_policies list(object)
    filter string
    limit number
    order_by string
    page number
    select string
    id String
    The provider-assigned unique ID for this managed resource.
    networkPolicies List<GetNetworkSecurityPoliciesV2NetworkPolicy>
    filter String
    limit Integer
    orderBy String
    page Integer
    select String
    id string
    The provider-assigned unique ID for this managed resource.
    networkPolicies GetNetworkSecurityPoliciesV2NetworkPolicy[]
    filter string
    limit number
    orderBy string
    page number
    select string
    id str
    The provider-assigned unique ID for this managed resource.
    network_policies Sequence[GetNetworkSecurityPoliciesV2NetworkPolicy]
    filter str
    limit int
    order_by str
    page int
    select str
    id String
    The provider-assigned unique ID for this managed resource.
    networkPolicies List<Property Map>
    filter String
    limit Number
    orderBy String
    page Number
    select String

    Supporting Types

    GetNetworkSecurityPoliciesV2NetworkPolicy

    CreatedBy string
    created by.
    CreationTime string
    creation time of NSP
    Description string
    A user defined annotation for a policy.
    ExtId string
    Network security policy UUID.
    IsHitlogEnabled bool
    If Hitlog is enabled.
    IsIpv6TrafficAllowed bool
    If Ipv6 Traffic is allowed.
    IsSystemDefined bool
    Is system defined NSP
    LastUpdateTime string
    last updated time
    Links List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyLink>
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    Name string
    Name of the Flow Network Security Policy.
    Rules List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRule>
    A list of rules that form a policy. For isolation policies, use isolation rules; for application or quarantine policies, use application rules.
    Scope string
    Defines the scope of the policy. Values include "ALL_VLAN", "ALL_VPC", "VPC_LIST", and "GLOBAL".
    SecuredGroups List<string>
    Uuids of the secured groups in the NSP.
    State string
    Whether the policy is applied or monitored; can be omitted or set null to save the policy without applying or monitoring it.
    TenantId string
    A globally unique identifier that represents the tenant that owns this entity
    Type string
    Defines the type of rules that can be used in a policy.
    VpcReferences List<string>
    A list of external ids for VPCs, used when the scope of the policy is VPC_LIST.
    CreatedBy string
    created by.
    CreationTime string
    creation time of NSP
    Description string
    A user defined annotation for a policy.
    ExtId string
    Network security policy UUID.
    IsHitlogEnabled bool
    If Hitlog is enabled.
    IsIpv6TrafficAllowed bool
    If Ipv6 Traffic is allowed.
    IsSystemDefined bool
    Is system defined NSP
    LastUpdateTime string
    last updated time
    Links []GetNetworkSecurityPoliciesV2NetworkPolicyLink
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    Name string
    Name of the Flow Network Security Policy.
    Rules []GetNetworkSecurityPoliciesV2NetworkPolicyRule
    A list of rules that form a policy. For isolation policies, use isolation rules; for application or quarantine policies, use application rules.
    Scope string
    Defines the scope of the policy. Values include "ALL_VLAN", "ALL_VPC", "VPC_LIST", and "GLOBAL".
    SecuredGroups []string
    Uuids of the secured groups in the NSP.
    State string
    Whether the policy is applied or monitored; can be omitted or set null to save the policy without applying or monitoring it.
    TenantId string
    A globally unique identifier that represents the tenant that owns this entity
    Type string
    Defines the type of rules that can be used in a policy.
    VpcReferences []string
    A list of external ids for VPCs, used when the scope of the policy is VPC_LIST.
    created_by string
    created by.
    creation_time string
    creation time of NSP
    description string
    A user defined annotation for a policy.
    ext_id string
    Network security policy UUID.
    is_hitlog_enabled bool
    If Hitlog is enabled.
    is_ipv6_traffic_allowed bool
    If Ipv6 Traffic is allowed.
    is_system_defined bool
    Is system defined NSP
    last_update_time string
    last updated time
    links list(object)
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    name string
    Name of the Flow Network Security Policy.
    rules list(object)
    A list of rules that form a policy. For isolation policies, use isolation rules; for application or quarantine policies, use application rules.
    scope string
    Defines the scope of the policy. Values include "ALL_VLAN", "ALL_VPC", "VPC_LIST", and "GLOBAL".
    secured_groups list(string)
    Uuids of the secured groups in the NSP.
    state string
    Whether the policy is applied or monitored; can be omitted or set null to save the policy without applying or monitoring it.
    tenant_id string
    A globally unique identifier that represents the tenant that owns this entity
    type string
    Defines the type of rules that can be used in a policy.
    vpc_references list(string)
    A list of external ids for VPCs, used when the scope of the policy is VPC_LIST.
    createdBy String
    created by.
    creationTime String
    creation time of NSP
    description String
    A user defined annotation for a policy.
    extId String
    Network security policy UUID.
    isHitlogEnabled Boolean
    If Hitlog is enabled.
    isIpv6TrafficAllowed Boolean
    If Ipv6 Traffic is allowed.
    isSystemDefined Boolean
    Is system defined NSP
    lastUpdateTime String
    last updated time
    links List<GetNetworkSecurityPoliciesV2NetworkPolicyLink>
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    name String
    Name of the Flow Network Security Policy.
    rules List<GetNetworkSecurityPoliciesV2NetworkPolicyRule>
    A list of rules that form a policy. For isolation policies, use isolation rules; for application or quarantine policies, use application rules.
    scope String
    Defines the scope of the policy. Values include "ALL_VLAN", "ALL_VPC", "VPC_LIST", and "GLOBAL".
    securedGroups List<String>
    Uuids of the secured groups in the NSP.
    state String
    Whether the policy is applied or monitored; can be omitted or set null to save the policy without applying or monitoring it.
    tenantId String
    A globally unique identifier that represents the tenant that owns this entity
    type String
    Defines the type of rules that can be used in a policy.
    vpcReferences List<String>
    A list of external ids for VPCs, used when the scope of the policy is VPC_LIST.
    createdBy string
    created by.
    creationTime string
    creation time of NSP
    description string
    A user defined annotation for a policy.
    extId string
    Network security policy UUID.
    isHitlogEnabled boolean
    If Hitlog is enabled.
    isIpv6TrafficAllowed boolean
    If Ipv6 Traffic is allowed.
    isSystemDefined boolean
    Is system defined NSP
    lastUpdateTime string
    last updated time
    links GetNetworkSecurityPoliciesV2NetworkPolicyLink[]
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    name string
    Name of the Flow Network Security Policy.
    rules GetNetworkSecurityPoliciesV2NetworkPolicyRule[]
    A list of rules that form a policy. For isolation policies, use isolation rules; for application or quarantine policies, use application rules.
    scope string
    Defines the scope of the policy. Values include "ALL_VLAN", "ALL_VPC", "VPC_LIST", and "GLOBAL".
    securedGroups string[]
    Uuids of the secured groups in the NSP.
    state string
    Whether the policy is applied or monitored; can be omitted or set null to save the policy without applying or monitoring it.
    tenantId string
    A globally unique identifier that represents the tenant that owns this entity
    type string
    Defines the type of rules that can be used in a policy.
    vpcReferences string[]
    A list of external ids for VPCs, used when the scope of the policy is VPC_LIST.
    created_by str
    created by.
    creation_time str
    creation time of NSP
    description str
    A user defined annotation for a policy.
    ext_id str
    Network security policy UUID.
    is_hitlog_enabled bool
    If Hitlog is enabled.
    is_ipv6_traffic_allowed bool
    If Ipv6 Traffic is allowed.
    is_system_defined bool
    Is system defined NSP
    last_update_time str
    last updated time
    links Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyLink]
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    name str
    Name of the Flow Network Security Policy.
    rules Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRule]
    A list of rules that form a policy. For isolation policies, use isolation rules; for application or quarantine policies, use application rules.
    scope str
    Defines the scope of the policy. Values include "ALL_VLAN", "ALL_VPC", "VPC_LIST", and "GLOBAL".
    secured_groups Sequence[str]
    Uuids of the secured groups in the NSP.
    state str
    Whether the policy is applied or monitored; can be omitted or set null to save the policy without applying or monitoring it.
    tenant_id str
    A globally unique identifier that represents the tenant that owns this entity
    type str
    Defines the type of rules that can be used in a policy.
    vpc_references Sequence[str]
    A list of external ids for VPCs, used when the scope of the policy is VPC_LIST.
    createdBy String
    created by.
    creationTime String
    creation time of NSP
    description String
    A user defined annotation for a policy.
    extId String
    Network security policy UUID.
    isHitlogEnabled Boolean
    If Hitlog is enabled.
    isIpv6TrafficAllowed Boolean
    If Ipv6 Traffic is allowed.
    isSystemDefined Boolean
    Is system defined NSP
    lastUpdateTime String
    last updated time
    links List<Property Map>
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    name String
    Name of the Flow Network Security Policy.
    rules List<Property Map>
    A list of rules that form a policy. For isolation policies, use isolation rules; for application or quarantine policies, use application rules.
    scope String
    Defines the scope of the policy. Values include "ALL_VLAN", "ALL_VPC", "VPC_LIST", and "GLOBAL".
    securedGroups List<String>
    Uuids of the secured groups in the NSP.
    state String
    Whether the policy is applied or monitored; can be omitted or set null to save the policy without applying or monitoring it.
    tenantId String
    A globally unique identifier that represents the tenant that owns this entity
    type String
    Defines the type of rules that can be used in a policy.
    vpcReferences List<String>
    A list of external ids for VPCs, used when the scope of the policy is VPC_LIST.
    Href string
    • The URL at which the entity described by the link can be accessed.
    Rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    Href string
    • The URL at which the entity described by the link can be accessed.
    Rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    href string
    • The URL at which the entity described by the link can be accessed.
    rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    href String
    • The URL at which the entity described by the link can be accessed.
    rel String
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    href string
    • The URL at which the entity described by the link can be accessed.
    rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    href str
    • The URL at which the entity described by the link can be accessed.
    rel str
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    href String
    • The URL at which the entity described by the link can be accessed.
    rel String
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    GetNetworkSecurityPoliciesV2NetworkPolicyRule

    Description string
    A user defined annotation for a rule.
    ExtId string
    A globally unique identifier of an instance that is suitable for external consumption.
    Links List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleLink>
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    Specs List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec>
    Spec for rules.
    Type string
    The type for a rule - the value chosen here restricts which specification can be chosen.
    Description string
    A user defined annotation for a rule.
    ExtId string
    A globally unique identifier of an instance that is suitable for external consumption.
    Links []GetNetworkSecurityPoliciesV2NetworkPolicyRuleLink
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    Specs []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec
    Spec for rules.
    Type string
    The type for a rule - the value chosen here restricts which specification can be chosen.
    description string
    A user defined annotation for a rule.
    ext_id string
    A globally unique identifier of an instance that is suitable for external consumption.
    links list(object)
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    specs list(object)
    Spec for rules.
    type string
    The type for a rule - the value chosen here restricts which specification can be chosen.
    description String
    A user defined annotation for a rule.
    extId String
    A globally unique identifier of an instance that is suitable for external consumption.
    links List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleLink>
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    specs List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec>
    Spec for rules.
    type String
    The type for a rule - the value chosen here restricts which specification can be chosen.
    description string
    A user defined annotation for a rule.
    extId string
    A globally unique identifier of an instance that is suitable for external consumption.
    links GetNetworkSecurityPoliciesV2NetworkPolicyRuleLink[]
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    specs GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec[]
    Spec for rules.
    type string
    The type for a rule - the value chosen here restricts which specification can be chosen.
    description str
    A user defined annotation for a rule.
    ext_id str
    A globally unique identifier of an instance that is suitable for external consumption.
    links Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleLink]
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    specs Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec]
    Spec for rules.
    type str
    The type for a rule - the value chosen here restricts which specification can be chosen.
    description String
    A user defined annotation for a rule.
    extId String
    A globally unique identifier of an instance that is suitable for external consumption.
    links List<Property Map>
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    specs List<Property Map>
    Spec for rules.
    type String
    The type for a rule - the value chosen here restricts which specification can be chosen.
    Href string
    • The URL at which the entity described by the link can be accessed.
    Rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    Href string
    • The URL at which the entity described by the link can be accessed.
    Rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    href string
    • The URL at which the entity described by the link can be accessed.
    rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    href String
    • The URL at which the entity described by the link can be accessed.
    rel String
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    href string
    • The URL at which the entity described by the link can be accessed.
    rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    href str
    • The URL at which the entity described by the link can be accessed.
    rel str
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    href String
    • The URL at which the entity described by the link can be accessed.
    rel String
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    See detailed information in Nutanix List Security Policies v4.

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec

    application_rule_specs list(object)
    Application Rule Spec.
    intra_entity_group_rule_specs list(object)
    Intra entity group Rule Spec
    multi_env_isolation_rule_specs list(object)
    Multi Environment Isolation Rule Spec.
    two_env_isolation_rule_specs list(object)
    Two Environment Isolation Rule Spec.
    applicationRuleSpecs List<Property Map>
    Application Rule Spec.
    intraEntityGroupRuleSpecs List<Property Map>
    Intra entity group Rule Spec
    multiEnvIsolationRuleSpecs List<Property Map>
    Multi Environment Isolation Rule Spec.
    twoEnvIsolationRuleSpecs List<Property Map>
    Two Environment Isolation Rule Spec.

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpec

    DestAddressGroupReferences List<string>
    A list of address group references.
    DestAllowSpec string
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    DestCategoryAssociatedEntityType string
    Entity type for the destination category (SUBNET, VM, VPC).
    DestCategoryReferences List<string>
    List of categories that define a set of network endpoints as outbound.
    DestEntityGroupReference string
    Reference to the destination entity group.
    DestSubnets List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet>
    destination subnet value
    IcmpServices List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService>
    icmp services
    IsAllProtocolAllowed bool
    Denotes if rule allows traffic for all protocol.
    NetworkFunctionChainReference string
    A reference to the network function chain in the rule.
    NetworkFunctionReference string
    A reference to the network function in the rule.
    SecuredGroupCategoryAssociatedEntityType string
    Entity type for the secured group category (SUBNET, VM, VPC).
    SecuredGroupCategoryReferences List<string>
    A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
    SecuredGroupEntityGroupReference string
    Reference to the secured group entity group.
    ServiceGroupReferences List<string>
    A list of service group references.
    SrcAddressGroupReferences List<string>
    A list of address group references.
    SrcAllowSpec string
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    SrcCategoryAssociatedEntityType string
    Entity type for the source category (SUBNET, VM, VPC).
    SrcCategoryReferences List<string>
    List of categories that define a set of network endpoints as inbound.
    SrcEntityGroupReference string
    Reference to the source entity group.
    SrcSubnets List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet>
    source subnet value
    TcpServices List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService>
    tcp services
    UdpServices List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService>
    udp services
    DestAddressGroupReferences []string
    A list of address group references.
    DestAllowSpec string
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    DestCategoryAssociatedEntityType string
    Entity type for the destination category (SUBNET, VM, VPC).
    DestCategoryReferences []string
    List of categories that define a set of network endpoints as outbound.
    DestEntityGroupReference string
    Reference to the destination entity group.
    DestSubnets []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet
    destination subnet value
    IcmpServices []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService
    icmp services
    IsAllProtocolAllowed bool
    Denotes if rule allows traffic for all protocol.
    NetworkFunctionChainReference string
    A reference to the network function chain in the rule.
    NetworkFunctionReference string
    A reference to the network function in the rule.
    SecuredGroupCategoryAssociatedEntityType string
    Entity type for the secured group category (SUBNET, VM, VPC).
    SecuredGroupCategoryReferences []string
    A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
    SecuredGroupEntityGroupReference string
    Reference to the secured group entity group.
    ServiceGroupReferences []string
    A list of service group references.
    SrcAddressGroupReferences []string
    A list of address group references.
    SrcAllowSpec string
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    SrcCategoryAssociatedEntityType string
    Entity type for the source category (SUBNET, VM, VPC).
    SrcCategoryReferences []string
    List of categories that define a set of network endpoints as inbound.
    SrcEntityGroupReference string
    Reference to the source entity group.
    SrcSubnets []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet
    source subnet value
    TcpServices []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService
    tcp services
    UdpServices []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService
    udp services
    dest_address_group_references list(string)
    A list of address group references.
    dest_allow_spec string
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    dest_category_associated_entity_type string
    Entity type for the destination category (SUBNET, VM, VPC).
    dest_category_references list(string)
    List of categories that define a set of network endpoints as outbound.
    dest_entity_group_reference string
    Reference to the destination entity group.
    dest_subnets list(object)
    destination subnet value
    icmp_services list(object)
    icmp services
    is_all_protocol_allowed bool
    Denotes if rule allows traffic for all protocol.
    network_function_chain_reference string
    A reference to the network function chain in the rule.
    network_function_reference string
    A reference to the network function in the rule.
    secured_group_category_associated_entity_type string
    Entity type for the secured group category (SUBNET, VM, VPC).
    secured_group_category_references list(string)
    A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
    secured_group_entity_group_reference string
    Reference to the secured group entity group.
    service_group_references list(string)
    A list of service group references.
    src_address_group_references list(string)
    A list of address group references.
    src_allow_spec string
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    src_category_associated_entity_type string
    Entity type for the source category (SUBNET, VM, VPC).
    src_category_references list(string)
    List of categories that define a set of network endpoints as inbound.
    src_entity_group_reference string
    Reference to the source entity group.
    src_subnets list(object)
    source subnet value
    tcp_services list(object)
    tcp services
    udp_services list(object)
    udp services
    destAddressGroupReferences List<String>
    A list of address group references.
    destAllowSpec String
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    destCategoryAssociatedEntityType String
    Entity type for the destination category (SUBNET, VM, VPC).
    destCategoryReferences List<String>
    List of categories that define a set of network endpoints as outbound.
    destEntityGroupReference String
    Reference to the destination entity group.
    destSubnets List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet>
    destination subnet value
    icmpServices List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService>
    icmp services
    isAllProtocolAllowed Boolean
    Denotes if rule allows traffic for all protocol.
    networkFunctionChainReference String
    A reference to the network function chain in the rule.
    networkFunctionReference String
    A reference to the network function in the rule.
    securedGroupCategoryAssociatedEntityType String
    Entity type for the secured group category (SUBNET, VM, VPC).
    securedGroupCategoryReferences List<String>
    A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
    securedGroupEntityGroupReference String
    Reference to the secured group entity group.
    serviceGroupReferences List<String>
    A list of service group references.
    srcAddressGroupReferences List<String>
    A list of address group references.
    srcAllowSpec String
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    srcCategoryAssociatedEntityType String
    Entity type for the source category (SUBNET, VM, VPC).
    srcCategoryReferences List<String>
    List of categories that define a set of network endpoints as inbound.
    srcEntityGroupReference String
    Reference to the source entity group.
    srcSubnets List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet>
    source subnet value
    tcpServices List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService>
    tcp services
    udpServices List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService>
    udp services
    destAddressGroupReferences string[]
    A list of address group references.
    destAllowSpec string
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    destCategoryAssociatedEntityType string
    Entity type for the destination category (SUBNET, VM, VPC).
    destCategoryReferences string[]
    List of categories that define a set of network endpoints as outbound.
    destEntityGroupReference string
    Reference to the destination entity group.
    destSubnets GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet[]
    destination subnet value
    icmpServices GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService[]
    icmp services
    isAllProtocolAllowed boolean
    Denotes if rule allows traffic for all protocol.
    networkFunctionChainReference string
    A reference to the network function chain in the rule.
    networkFunctionReference string
    A reference to the network function in the rule.
    securedGroupCategoryAssociatedEntityType string
    Entity type for the secured group category (SUBNET, VM, VPC).
    securedGroupCategoryReferences string[]
    A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
    securedGroupEntityGroupReference string
    Reference to the secured group entity group.
    serviceGroupReferences string[]
    A list of service group references.
    srcAddressGroupReferences string[]
    A list of address group references.
    srcAllowSpec string
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    srcCategoryAssociatedEntityType string
    Entity type for the source category (SUBNET, VM, VPC).
    srcCategoryReferences string[]
    List of categories that define a set of network endpoints as inbound.
    srcEntityGroupReference string
    Reference to the source entity group.
    srcSubnets GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet[]
    source subnet value
    tcpServices GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService[]
    tcp services
    udpServices GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService[]
    udp services
    dest_address_group_references Sequence[str]
    A list of address group references.
    dest_allow_spec str
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    dest_category_associated_entity_type str
    Entity type for the destination category (SUBNET, VM, VPC).
    dest_category_references Sequence[str]
    List of categories that define a set of network endpoints as outbound.
    dest_entity_group_reference str
    Reference to the destination entity group.
    dest_subnets Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet]
    destination subnet value
    icmp_services Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService]
    icmp services
    is_all_protocol_allowed bool
    Denotes if rule allows traffic for all protocol.
    network_function_chain_reference str
    A reference to the network function chain in the rule.
    network_function_reference str
    A reference to the network function in the rule.
    secured_group_category_associated_entity_type str
    Entity type for the secured group category (SUBNET, VM, VPC).
    secured_group_category_references Sequence[str]
    A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
    secured_group_entity_group_reference str
    Reference to the secured group entity group.
    service_group_references Sequence[str]
    A list of service group references.
    src_address_group_references Sequence[str]
    A list of address group references.
    src_allow_spec str
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    src_category_associated_entity_type str
    Entity type for the source category (SUBNET, VM, VPC).
    src_category_references Sequence[str]
    List of categories that define a set of network endpoints as inbound.
    src_entity_group_reference str
    Reference to the source entity group.
    src_subnets Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet]
    source subnet value
    tcp_services Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService]
    tcp services
    udp_services Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService]
    udp services
    destAddressGroupReferences List<String>
    A list of address group references.
    destAllowSpec String
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    destCategoryAssociatedEntityType String
    Entity type for the destination category (SUBNET, VM, VPC).
    destCategoryReferences List<String>
    List of categories that define a set of network endpoints as outbound.
    destEntityGroupReference String
    Reference to the destination entity group.
    destSubnets List<Property Map>
    destination subnet value
    icmpServices List<Property Map>
    icmp services
    isAllProtocolAllowed Boolean
    Denotes if rule allows traffic for all protocol.
    networkFunctionChainReference String
    A reference to the network function chain in the rule.
    networkFunctionReference String
    A reference to the network function in the rule.
    securedGroupCategoryAssociatedEntityType String
    Entity type for the secured group category (SUBNET, VM, VPC).
    securedGroupCategoryReferences List<String>
    A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
    securedGroupEntityGroupReference String
    Reference to the secured group entity group.
    serviceGroupReferences List<String>
    A list of service group references.
    srcAddressGroupReferences List<String>
    A list of address group references.
    srcAllowSpec String
    A specification to how allow mode traffic should be applied, either ALL or NONE.
    srcCategoryAssociatedEntityType String
    Entity type for the source category (SUBNET, VM, VPC).
    srcCategoryReferences List<String>
    List of categories that define a set of network endpoints as inbound.
    srcEntityGroupReference String
    Reference to the source entity group.
    srcSubnets List<Property Map>
    source subnet value
    tcpServices List<Property Map>
    tcp services
    udpServices List<Property Map>
    udp services

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet

    prefix_length number
    value string
    prefixLength Integer
    value String
    prefixLength number
    value string
    prefixLength Number
    value String

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService

    Code int
    Icmp service Code. Ignore this field if Code has to be ANY.
    IsAllAllowed bool
    Set this field to true if both Type and Code is ANY.
    Type int
    Icmp service Type. Ignore this field if Type has to be ANY.
    Code int
    Icmp service Code. Ignore this field if Code has to be ANY.
    IsAllAllowed bool
    Set this field to true if both Type and Code is ANY.
    Type int
    Icmp service Type. Ignore this field if Type has to be ANY.
    code number
    Icmp service Code. Ignore this field if Code has to be ANY.
    is_all_allowed bool
    Set this field to true if both Type and Code is ANY.
    type number
    Icmp service Type. Ignore this field if Type has to be ANY.
    code Integer
    Icmp service Code. Ignore this field if Code has to be ANY.
    isAllAllowed Boolean
    Set this field to true if both Type and Code is ANY.
    type Integer
    Icmp service Type. Ignore this field if Type has to be ANY.
    code number
    Icmp service Code. Ignore this field if Code has to be ANY.
    isAllAllowed boolean
    Set this field to true if both Type and Code is ANY.
    type number
    Icmp service Type. Ignore this field if Type has to be ANY.
    code int
    Icmp service Code. Ignore this field if Code has to be ANY.
    is_all_allowed bool
    Set this field to true if both Type and Code is ANY.
    type int
    Icmp service Type. Ignore this field if Type has to be ANY.
    code Number
    Icmp service Code. Ignore this field if Code has to be ANY.
    isAllAllowed Boolean
    Set this field to true if both Type and Code is ANY.
    type Number
    Icmp service Type. Ignore this field if Type has to be ANY.

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet

    prefix_length number
    value string
    prefixLength Integer
    value String
    prefixLength number
    value string
    prefixLength Number
    value String

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService

    EndPort int
    end port
    StartPort int
    start port
    EndPort int
    end port
    StartPort int
    start port
    end_port number
    end port
    start_port number
    start port
    endPort Integer
    end port
    startPort Integer
    start port
    endPort number
    end port
    startPort number
    start port
    end_port int
    end port
    start_port int
    start port
    endPort Number
    end port
    startPort Number
    start port

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService

    EndPort int
    end port
    StartPort int
    start port
    EndPort int
    end port
    StartPort int
    start port
    end_port number
    end port
    start_port number
    start port
    endPort Integer
    end port
    startPort Integer
    start port
    endPort number
    end port
    startPort number
    start port
    end_port int
    end port
    start_port int
    start port
    endPort Number
    end port
    startPort Number
    start port

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpec

    IcmpServices List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecIcmpService>
    ICMP type/code for the rule.
    SecuredGroupAction string
    Whether traffic between intra secured group entities should be allowed or denied.
    SecuredGroupCategoryAssociatedEntityType string
    Entity type for the secured group category (SUBNET, VM, VPC).
    SecuredGroupCategoryReferences List<string>
    A specification to whether traffic between intra secured group entities should be allowed or denied.
    SecuredGroupEntityGroupReference string
    Reference to the secured group entity group.
    SecuredGroupServiceReferences List<string>
    List of service group references for the secured group.
    TcpServices List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecTcpService>
    TCP port ranges for the rule.
    UdpServices List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecUdpService>
    UDP port ranges for the rule.
    IcmpServices []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecIcmpService
    ICMP type/code for the rule.
    SecuredGroupAction string
    Whether traffic between intra secured group entities should be allowed or denied.
    SecuredGroupCategoryAssociatedEntityType string
    Entity type for the secured group category (SUBNET, VM, VPC).
    SecuredGroupCategoryReferences []string
    A specification to whether traffic between intra secured group entities should be allowed or denied.
    SecuredGroupEntityGroupReference string
    Reference to the secured group entity group.
    SecuredGroupServiceReferences []string
    List of service group references for the secured group.
    TcpServices []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecTcpService
    TCP port ranges for the rule.
    UdpServices []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecUdpService
    UDP port ranges for the rule.
    icmp_services list(object)
    ICMP type/code for the rule.
    secured_group_action string
    Whether traffic between intra secured group entities should be allowed or denied.
    secured_group_category_associated_entity_type string
    Entity type for the secured group category (SUBNET, VM, VPC).
    secured_group_category_references list(string)
    A specification to whether traffic between intra secured group entities should be allowed or denied.
    secured_group_entity_group_reference string
    Reference to the secured group entity group.
    secured_group_service_references list(string)
    List of service group references for the secured group.
    tcp_services list(object)
    TCP port ranges for the rule.
    udp_services list(object)
    UDP port ranges for the rule.
    icmpServices List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecIcmpService>
    ICMP type/code for the rule.
    securedGroupAction String
    Whether traffic between intra secured group entities should be allowed or denied.
    securedGroupCategoryAssociatedEntityType String
    Entity type for the secured group category (SUBNET, VM, VPC).
    securedGroupCategoryReferences List<String>
    A specification to whether traffic between intra secured group entities should be allowed or denied.
    securedGroupEntityGroupReference String
    Reference to the secured group entity group.
    securedGroupServiceReferences List<String>
    List of service group references for the secured group.
    tcpServices List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecTcpService>
    TCP port ranges for the rule.
    udpServices List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecUdpService>
    UDP port ranges for the rule.
    icmpServices GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecIcmpService[]
    ICMP type/code for the rule.
    securedGroupAction string
    Whether traffic between intra secured group entities should be allowed or denied.
    securedGroupCategoryAssociatedEntityType string
    Entity type for the secured group category (SUBNET, VM, VPC).
    securedGroupCategoryReferences string[]
    A specification to whether traffic between intra secured group entities should be allowed or denied.
    securedGroupEntityGroupReference string
    Reference to the secured group entity group.
    securedGroupServiceReferences string[]
    List of service group references for the secured group.
    tcpServices GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecTcpService[]
    TCP port ranges for the rule.
    udpServices GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecUdpService[]
    UDP port ranges for the rule.
    icmp_services Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecIcmpService]
    ICMP type/code for the rule.
    secured_group_action str
    Whether traffic between intra secured group entities should be allowed or denied.
    secured_group_category_associated_entity_type str
    Entity type for the secured group category (SUBNET, VM, VPC).
    secured_group_category_references Sequence[str]
    A specification to whether traffic between intra secured group entities should be allowed or denied.
    secured_group_entity_group_reference str
    Reference to the secured group entity group.
    secured_group_service_references Sequence[str]
    List of service group references for the secured group.
    tcp_services Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecTcpService]
    TCP port ranges for the rule.
    udp_services Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecUdpService]
    UDP port ranges for the rule.
    icmpServices List<Property Map>
    ICMP type/code for the rule.
    securedGroupAction String
    Whether traffic between intra secured group entities should be allowed or denied.
    securedGroupCategoryAssociatedEntityType String
    Entity type for the secured group category (SUBNET, VM, VPC).
    securedGroupCategoryReferences List<String>
    A specification to whether traffic between intra secured group entities should be allowed or denied.
    securedGroupEntityGroupReference String
    Reference to the secured group entity group.
    securedGroupServiceReferences List<String>
    List of service group references for the secured group.
    tcpServices List<Property Map>
    TCP port ranges for the rule.
    udpServices List<Property Map>
    UDP port ranges for the rule.

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecIcmpService

    Code int
    Icmp service Code. Ignore this field if Code has to be ANY.
    IsAllAllowed bool
    Set this field to true if both Type and Code is ANY.
    Type int
    Icmp service Type. Ignore this field if Type has to be ANY.
    Code int
    Icmp service Code. Ignore this field if Code has to be ANY.
    IsAllAllowed bool
    Set this field to true if both Type and Code is ANY.
    Type int
    Icmp service Type. Ignore this field if Type has to be ANY.
    code number
    Icmp service Code. Ignore this field if Code has to be ANY.
    is_all_allowed bool
    Set this field to true if both Type and Code is ANY.
    type number
    Icmp service Type. Ignore this field if Type has to be ANY.
    code Integer
    Icmp service Code. Ignore this field if Code has to be ANY.
    isAllAllowed Boolean
    Set this field to true if both Type and Code is ANY.
    type Integer
    Icmp service Type. Ignore this field if Type has to be ANY.
    code number
    Icmp service Code. Ignore this field if Code has to be ANY.
    isAllAllowed boolean
    Set this field to true if both Type and Code is ANY.
    type number
    Icmp service Type. Ignore this field if Type has to be ANY.
    code int
    Icmp service Code. Ignore this field if Code has to be ANY.
    is_all_allowed bool
    Set this field to true if both Type and Code is ANY.
    type int
    Icmp service Type. Ignore this field if Type has to be ANY.
    code Number
    Icmp service Code. Ignore this field if Code has to be ANY.
    isAllAllowed Boolean
    Set this field to true if both Type and Code is ANY.
    type Number
    Icmp service Type. Ignore this field if Type has to be ANY.

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecTcpService

    EndPort int
    end port
    StartPort int
    start port
    EndPort int
    end port
    StartPort int
    start port
    end_port number
    end port
    start_port number
    start port
    endPort Integer
    end port
    startPort Integer
    start port
    endPort number
    end port
    startPort number
    start port
    end_port int
    end port
    start_port int
    start port
    endPort Number
    end port
    startPort Number
    start port

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpecUdpService

    EndPort int
    end port
    StartPort int
    start port
    EndPort int
    end port
    StartPort int
    start port
    end_port number
    end port
    start_port number
    start port
    endPort Integer
    end port
    startPort Integer
    start port
    endPort number
    end port
    startPort number
    start port
    end_port int
    end port
    start_port int
    start port
    endPort Number
    end port
    startPort Number
    start port

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpec

    specs list(object)
    Multi Environment Isolation Rule Spec.
    specs List<Property Map>
    Multi Environment Isolation Rule Spec.

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpec

    all_to_all_isolation_groups list(object)
    all to all isolation group

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroup

    isolation_groups list(object)
    Denotes the list of secured groups that will be used in All to All mutual isolation.
    isolationGroups List<Property Map>
    Denotes the list of secured groups that will be used in All to All mutual isolation.

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroupIsolationGroup

    GroupCategoryAssociatedEntityType string
    Entity type for the group category (SUBNET, VM, VPC).
    GroupCategoryReferences List<string>
    External identifiers of categories belonging to the isolation group.
    GroupEntityGroupReference string
    Reference to the entity group for the isolation group.
    GroupCategoryAssociatedEntityType string
    Entity type for the group category (SUBNET, VM, VPC).
    GroupCategoryReferences []string
    External identifiers of categories belonging to the isolation group.
    GroupEntityGroupReference string
    Reference to the entity group for the isolation group.
    group_category_associated_entity_type string
    Entity type for the group category (SUBNET, VM, VPC).
    group_category_references list(string)
    External identifiers of categories belonging to the isolation group.
    group_entity_group_reference string
    Reference to the entity group for the isolation group.
    groupCategoryAssociatedEntityType String
    Entity type for the group category (SUBNET, VM, VPC).
    groupCategoryReferences List<String>
    External identifiers of categories belonging to the isolation group.
    groupEntityGroupReference String
    Reference to the entity group for the isolation group.
    groupCategoryAssociatedEntityType string
    Entity type for the group category (SUBNET, VM, VPC).
    groupCategoryReferences string[]
    External identifiers of categories belonging to the isolation group.
    groupEntityGroupReference string
    Reference to the entity group for the isolation group.
    group_category_associated_entity_type str
    Entity type for the group category (SUBNET, VM, VPC).
    group_category_references Sequence[str]
    External identifiers of categories belonging to the isolation group.
    group_entity_group_reference str
    Reference to the entity group for the isolation group.
    groupCategoryAssociatedEntityType String
    Entity type for the group category (SUBNET, VM, VPC).
    groupCategoryReferences List<String>
    External identifiers of categories belonging to the isolation group.
    groupEntityGroupReference String
    Reference to the entity group for the isolation group.

    GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecTwoEnvIsolationRuleSpec

    FirstIsolationGroups List<string>
    Denotes the first group of category uuids that will be used in an isolation policy.
    SecondIsolationGroups List<string>
    Denotes the second group of category uuids that will be used in an isolation policy.
    FirstIsolationGroups []string
    Denotes the first group of category uuids that will be used in an isolation policy.
    SecondIsolationGroups []string
    Denotes the second group of category uuids that will be used in an isolation policy.
    first_isolation_groups list(string)
    Denotes the first group of category uuids that will be used in an isolation policy.
    second_isolation_groups list(string)
    Denotes the second group of category uuids that will be used in an isolation policy.
    firstIsolationGroups List<String>
    Denotes the first group of category uuids that will be used in an isolation policy.
    secondIsolationGroups List<String>
    Denotes the second group of category uuids that will be used in an isolation policy.
    firstIsolationGroups string[]
    Denotes the first group of category uuids that will be used in an isolation policy.
    secondIsolationGroups string[]
    Denotes the second group of category uuids that will be used in an isolation policy.
    first_isolation_groups Sequence[str]
    Denotes the first group of category uuids that will be used in an isolation policy.
    second_isolation_groups Sequence[str]
    Denotes the second group of category uuids that will be used in an isolation policy.
    firstIsolationGroups List<String>
    Denotes the first group of category uuids that will be used in an isolation policy.
    secondIsolationGroups List<String>
    Denotes the second group of category uuids that will be used in an isolation policy.

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Viewing docs for Nutanix v0.16.0
    published on Tuesday, May 26, 2026 by Piers Karsenbarg

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial