1. Packages
  2. Packages
  3. Nutanix
  4. API Docs
  5. getNetworkSecurityPolicyRulesV2
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 the list of Network Security Policy rules for a given policy ExtID.

    Using getNetworkSecurityPolicyRulesV2

    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 getNetworkSecurityPolicyRulesV2(args: GetNetworkSecurityPolicyRulesV2Args, opts?: InvokeOptions): Promise<GetNetworkSecurityPolicyRulesV2Result>
    function getNetworkSecurityPolicyRulesV2Output(args: GetNetworkSecurityPolicyRulesV2OutputArgs, opts?: InvokeOptions): Output<GetNetworkSecurityPolicyRulesV2Result>
    def get_network_security_policy_rules_v2(filter: Optional[str] = None,
                                             limit: Optional[int] = None,
                                             order_by: Optional[str] = None,
                                             page: Optional[int] = None,
                                             policy_ext_id: Optional[str] = None,
                                             select: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetNetworkSecurityPolicyRulesV2Result
    def get_network_security_policy_rules_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,
                                             policy_ext_id: pulumi.Input[Optional[str]] = None,
                                             select: pulumi.Input[Optional[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetNetworkSecurityPolicyRulesV2Result]
    func GetNetworkSecurityPolicyRulesV2(ctx *Context, args *GetNetworkSecurityPolicyRulesV2Args, opts ...InvokeOption) (*GetNetworkSecurityPolicyRulesV2Result, error)
    func GetNetworkSecurityPolicyRulesV2Output(ctx *Context, args *GetNetworkSecurityPolicyRulesV2OutputArgs, opts ...InvokeOption) GetNetworkSecurityPolicyRulesV2ResultOutput

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

    public static class GetNetworkSecurityPolicyRulesV2 
    {
        public static Task<GetNetworkSecurityPolicyRulesV2Result> InvokeAsync(GetNetworkSecurityPolicyRulesV2Args args, InvokeOptions? opts = null)
        public static Output<GetNetworkSecurityPolicyRulesV2Result> Invoke(GetNetworkSecurityPolicyRulesV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkSecurityPolicyRulesV2Result> getNetworkSecurityPolicyRulesV2(GetNetworkSecurityPolicyRulesV2Args args, InvokeOptions options)
    public static Output<GetNetworkSecurityPolicyRulesV2Result> getNetworkSecurityPolicyRulesV2(GetNetworkSecurityPolicyRulesV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: nutanix:index/getNetworkSecurityPolicyRulesV2:getNetworkSecurityPolicyRulesV2
      arguments:
        # arguments dictionary
    data "nutanix_getnetworksecuritypolicyrulesv2" "name" {
        # arguments
    }

    The following arguments are supported:

    PolicyExtId string
    ExtId of the network security policy to list rules for.
    Filter string
    Filter expression for the list. The filter can be applied to the following fields:
    Limit int
    Maximum number of rules to return (1–100). Default is 50 if not set.
    OrderBy string
    Order by clause. The orderBy can be applied to the following fields:
    Page int
    Page number for pagination (0-based).
    Select string
    Comma-separated list of fields to return. The select can be applied to the following fields:
    PolicyExtId string
    ExtId of the network security policy to list rules for.
    Filter string
    Filter expression for the list. The filter can be applied to the following fields:
    Limit int
    Maximum number of rules to return (1–100). Default is 50 if not set.
    OrderBy string
    Order by clause. The orderBy can be applied to the following fields:
    Page int
    Page number for pagination (0-based).
    Select string
    Comma-separated list of fields to return. The select can be applied to the following fields:
    policy_ext_id string
    ExtId of the network security policy to list rules for.
    filter string
    Filter expression for the list. The filter can be applied to the following fields:
    limit number
    Maximum number of rules to return (1–100). Default is 50 if not set.
    order_by string
    Order by clause. The orderBy can be applied to the following fields:
    page number
    Page number for pagination (0-based).
    select string
    Comma-separated list of fields to return. The select can be applied to the following fields:
    policyExtId String
    ExtId of the network security policy to list rules for.
    filter String
    Filter expression for the list. The filter can be applied to the following fields:
    limit Integer
    Maximum number of rules to return (1–100). Default is 50 if not set.
    orderBy String
    Order by clause. The orderBy can be applied to the following fields:
    page Integer
    Page number for pagination (0-based).
    select String
    Comma-separated list of fields to return. The select can be applied to the following fields:
    policyExtId string
    ExtId of the network security policy to list rules for.
    filter string
    Filter expression for the list. The filter can be applied to the following fields:
    limit number
    Maximum number of rules to return (1–100). Default is 50 if not set.
    orderBy string
    Order by clause. The orderBy can be applied to the following fields:
    page number
    Page number for pagination (0-based).
    select string
    Comma-separated list of fields to return. The select can be applied to the following fields:
    policy_ext_id str
    ExtId of the network security policy to list rules for.
    filter str
    Filter expression for the list. The filter can be applied to the following fields:
    limit int
    Maximum number of rules to return (1–100). Default is 50 if not set.
    order_by str
    Order by clause. The orderBy can be applied to the following fields:
    page int
    Page number for pagination (0-based).
    select str
    Comma-separated list of fields to return. The select can be applied to the following fields:
    policyExtId String
    ExtId of the network security policy to list rules for.
    filter String
    Filter expression for the list. The filter can be applied to the following fields:
    limit Number
    Maximum number of rules to return (1–100). Default is 50 if not set.
    orderBy String
    Order by clause. The orderBy can be applied to the following fields:
    page Number
    Page number for pagination (0-based).
    select String
    Comma-separated list of fields to return. The select can be applied to the following fields:

    getNetworkSecurityPolicyRulesV2 Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkSecurityPolicyRules List<PiersKarsenbarg.Nutanix.Outputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRule>
    List of network security policy rules.
    PolicyExtId string
    Filter string
    Limit int
    OrderBy string
    Page int
    Select string
    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkSecurityPolicyRules []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRule
    List of network security policy rules.
    PolicyExtId string
    Filter string
    Limit int
    OrderBy string
    Page int
    Select string
    id string
    The provider-assigned unique ID for this managed resource.
    network_security_policy_rules list(object)
    List of network security policy rules.
    policy_ext_id string
    filter string
    limit number
    order_by string
    page number
    select string
    id String
    The provider-assigned unique ID for this managed resource.
    networkSecurityPolicyRules List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRule>
    List of network security policy rules.
    policyExtId String
    filter String
    limit Integer
    orderBy String
    page Integer
    select String
    id string
    The provider-assigned unique ID for this managed resource.
    networkSecurityPolicyRules GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRule[]
    List of network security policy rules.
    policyExtId string
    filter string
    limit number
    orderBy string
    page number
    select string
    id str
    The provider-assigned unique ID for this managed resource.
    network_security_policy_rules Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRule]
    List of network security policy rules.
    policy_ext_id str
    filter str
    limit int
    order_by str
    page int
    select str
    id String
    The provider-assigned unique ID for this managed resource.
    networkSecurityPolicyRules List<Property Map>
    List of network security policy rules.
    policyExtId String
    filter String
    limit Number
    orderBy String
    page Number
    select String

    Supporting Types

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRule

    Description string
    User-defined description for the rule.
    ExtId string
    Globally unique identifier of the rule.
    Links List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleLink>
    HATEOAS-style links (e.g. href, rel).
    Specs List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpec>
    Rule specification (one of the following blocks).
    TenantId string
    Tenant that owns the rule.
    Type string
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    Description string
    User-defined description for the rule.
    ExtId string
    Globally unique identifier of the rule.
    Links []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleLink
    HATEOAS-style links (e.g. href, rel).
    Specs []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpec
    Rule specification (one of the following blocks).
    TenantId string
    Tenant that owns the rule.
    Type string
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    description string
    User-defined description for the rule.
    ext_id string
    Globally unique identifier of the rule.
    links list(object)
    HATEOAS-style links (e.g. href, rel).
    specs list(object)
    Rule specification (one of the following blocks).
    tenant_id string
    Tenant that owns the rule.
    type string
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    description String
    User-defined description for the rule.
    extId String
    Globally unique identifier of the rule.
    links List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleLink>
    HATEOAS-style links (e.g. href, rel).
    specs List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpec>
    Rule specification (one of the following blocks).
    tenantId String
    Tenant that owns the rule.
    type String
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    description string
    User-defined description for the rule.
    extId string
    Globally unique identifier of the rule.
    links GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleLink[]
    HATEOAS-style links (e.g. href, rel).
    specs GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpec[]
    Rule specification (one of the following blocks).
    tenantId string
    Tenant that owns the rule.
    type string
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    description str
    User-defined description for the rule.
    ext_id str
    Globally unique identifier of the rule.
    links Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleLink]
    HATEOAS-style links (e.g. href, rel).
    specs Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpec]
    Rule specification (one of the following blocks).
    tenant_id str
    Tenant that owns the rule.
    type str
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    description String
    User-defined description for the rule.
    extId String
    Globally unique identifier of the rule.
    links List<Property Map>
    HATEOAS-style links (e.g. href, rel).
    specs List<Property Map>
    Rule specification (one of the following blocks).
    tenantId String
    Tenant that owns the rule.
    type String
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    Href string
    Rel string
    Href string
    Rel string
    href string
    rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpec

    ApplicationRuleSpecs List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpec>
    Application rule (secured groups, src/dest allow, categories, subnets, address/service groups, TCP/UDP/ICMP services, etc.).
    IntraEntityGroupRuleSpecs List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecIntraEntityGroupRuleSpec>
    Intra-entity group rule (securedGroupAction, securedGroupCategoryReferences).
    MultiEnvIsolationRuleSpecs List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecMultiEnvIsolationRuleSpec>
    Multi-environment isolation rule (specallToAllIsolationGroupisolationGroup with groupCategoryReferences).
    TwoEnvIsolationRuleSpecs List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecTwoEnvIsolationRuleSpec>
    Two-environment isolation rule (firstIsolationGroup, secondIsolationGroup).
    ApplicationRuleSpecs []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpec
    Application rule (secured groups, src/dest allow, categories, subnets, address/service groups, TCP/UDP/ICMP services, etc.).
    IntraEntityGroupRuleSpecs []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecIntraEntityGroupRuleSpec
    Intra-entity group rule (securedGroupAction, securedGroupCategoryReferences).
    MultiEnvIsolationRuleSpecs []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecMultiEnvIsolationRuleSpec
    Multi-environment isolation rule (specallToAllIsolationGroupisolationGroup with groupCategoryReferences).
    TwoEnvIsolationRuleSpecs []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecTwoEnvIsolationRuleSpec
    Two-environment isolation rule (firstIsolationGroup, secondIsolationGroup).
    application_rule_specs list(object)
    Application rule (secured groups, src/dest allow, categories, subnets, address/service groups, TCP/UDP/ICMP services, etc.).
    intra_entity_group_rule_specs list(object)
    Intra-entity group rule (securedGroupAction, securedGroupCategoryReferences).
    multi_env_isolation_rule_specs list(object)
    Multi-environment isolation rule (specallToAllIsolationGroupisolationGroup with groupCategoryReferences).
    two_env_isolation_rule_specs list(object)
    Two-environment isolation rule (firstIsolationGroup, secondIsolationGroup).
    applicationRuleSpecs List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpec>
    Application rule (secured groups, src/dest allow, categories, subnets, address/service groups, TCP/UDP/ICMP services, etc.).
    intraEntityGroupRuleSpecs List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecIntraEntityGroupRuleSpec>
    Intra-entity group rule (securedGroupAction, securedGroupCategoryReferences).
    multiEnvIsolationRuleSpecs List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecMultiEnvIsolationRuleSpec>
    Multi-environment isolation rule (specallToAllIsolationGroupisolationGroup with groupCategoryReferences).
    twoEnvIsolationRuleSpecs List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecTwoEnvIsolationRuleSpec>
    Two-environment isolation rule (firstIsolationGroup, secondIsolationGroup).
    applicationRuleSpecs GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpec[]
    Application rule (secured groups, src/dest allow, categories, subnets, address/service groups, TCP/UDP/ICMP services, etc.).
    intraEntityGroupRuleSpecs GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecIntraEntityGroupRuleSpec[]
    Intra-entity group rule (securedGroupAction, securedGroupCategoryReferences).
    multiEnvIsolationRuleSpecs GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecMultiEnvIsolationRuleSpec[]
    Multi-environment isolation rule (specallToAllIsolationGroupisolationGroup with groupCategoryReferences).
    twoEnvIsolationRuleSpecs GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecTwoEnvIsolationRuleSpec[]
    Two-environment isolation rule (firstIsolationGroup, secondIsolationGroup).
    application_rule_specs Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpec]
    Application rule (secured groups, src/dest allow, categories, subnets, address/service groups, TCP/UDP/ICMP services, etc.).
    intra_entity_group_rule_specs Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecIntraEntityGroupRuleSpec]
    Intra-entity group rule (securedGroupAction, securedGroupCategoryReferences).
    multi_env_isolation_rule_specs Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecMultiEnvIsolationRuleSpec]
    Multi-environment isolation rule (specallToAllIsolationGroupisolationGroup with groupCategoryReferences).
    two_env_isolation_rule_specs Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecTwoEnvIsolationRuleSpec]
    Two-environment isolation rule (firstIsolationGroup, secondIsolationGroup).
    applicationRuleSpecs List<Property Map>
    Application rule (secured groups, src/dest allow, categories, subnets, address/service groups, TCP/UDP/ICMP services, etc.).
    intraEntityGroupRuleSpecs List<Property Map>
    Intra-entity group rule (securedGroupAction, securedGroupCategoryReferences).
    multiEnvIsolationRuleSpecs List<Property Map>
    Multi-environment isolation rule (specallToAllIsolationGroupisolationGroup with groupCategoryReferences).
    twoEnvIsolationRuleSpecs List<Property Map>
    Two-environment isolation rule (firstIsolationGroup, secondIsolationGroup).

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpec

    DestAddressGroupReferences List<string>
    DestAllowSpec string
    DestCategoryReferences List<string>
    DestSubnets List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecDestSubnet>
    IcmpServices List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecIcmpService>
    IsAllProtocolAllowed bool
    NetworkFunctionChainReference string
    SecuredGroupCategoryReferences List<string>
    ServiceGroupReferences List<string>
    SrcAddressGroupReferences List<string>
    SrcAllowSpec string
    SrcCategoryReferences List<string>
    SrcSubnets List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecSrcSubnet>
    TcpServices List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecTcpService>
    UdpServices List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecUdpService>
    DestAddressGroupReferences []string
    DestAllowSpec string
    DestCategoryReferences []string
    DestSubnets []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecDestSubnet
    IcmpServices []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecIcmpService
    IsAllProtocolAllowed bool
    NetworkFunctionChainReference string
    SecuredGroupCategoryReferences []string
    ServiceGroupReferences []string
    SrcAddressGroupReferences []string
    SrcAllowSpec string
    SrcCategoryReferences []string
    SrcSubnets []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecSrcSubnet
    TcpServices []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecTcpService
    UdpServices []GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecUdpService
    destAddressGroupReferences List<String>
    destAllowSpec String
    destCategoryReferences List<String>
    destSubnets List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecDestSubnet>
    icmpServices List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecIcmpService>
    isAllProtocolAllowed Boolean
    networkFunctionChainReference String
    securedGroupCategoryReferences List<String>
    serviceGroupReferences List<String>
    srcAddressGroupReferences List<String>
    srcAllowSpec String
    srcCategoryReferences List<String>
    srcSubnets List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecSrcSubnet>
    tcpServices List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecTcpService>
    udpServices List<GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecUdpService>
    destAddressGroupReferences string[]
    destAllowSpec string
    destCategoryReferences string[]
    destSubnets GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecDestSubnet[]
    icmpServices GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecIcmpService[]
    isAllProtocolAllowed boolean
    networkFunctionChainReference string
    securedGroupCategoryReferences string[]
    serviceGroupReferences string[]
    srcAddressGroupReferences string[]
    srcAllowSpec string
    srcCategoryReferences string[]
    srcSubnets GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecSrcSubnet[]
    tcpServices GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecTcpService[]
    udpServices GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecUdpService[]
    dest_address_group_references Sequence[str]
    dest_allow_spec str
    dest_category_references Sequence[str]
    dest_subnets Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecDestSubnet]
    icmp_services Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecIcmpService]
    is_all_protocol_allowed bool
    network_function_chain_reference str
    secured_group_category_references Sequence[str]
    service_group_references Sequence[str]
    src_address_group_references Sequence[str]
    src_allow_spec str
    src_category_references Sequence[str]
    src_subnets Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecSrcSubnet]
    tcp_services Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecTcpService]
    udp_services Sequence[GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecUdpService]

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecDestSubnet

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

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecIcmpService

    Code int
    IsAllAllowed bool
    Type int
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    Code int
    IsAllAllowed bool
    Type int
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    code number
    is_all_allowed bool
    type number
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    code Integer
    isAllAllowed Boolean
    type Integer
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    code number
    isAllAllowed boolean
    type number
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    code int
    is_all_allowed bool
    type int
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).
    code Number
    isAllAllowed Boolean
    type Number
    Rule type (e.g. TWO_ENV_ISOLATION, APPLICATION, INTRA_GROUP, MULTI_ENV_ISOLATION).

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecSrcSubnet

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

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecTcpService

    end_port number
    start_port number
    endPort Integer
    startPort Integer
    endPort number
    startPort number
    endPort Number
    startPort Number

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecApplicationRuleSpecUdpService

    end_port number
    start_port number
    endPort Integer
    startPort Integer
    endPort number
    startPort number
    endPort Number
    startPort Number

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecIntraEntityGroupRuleSpec

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecMultiEnvIsolationRuleSpec

    specs list(object)
    Rule specification (one of the following blocks).
    specs List<Property Map>
    Rule specification (one of the following blocks).

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecMultiEnvIsolationRuleSpecSpec

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroup

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroupIsolationGroup

    GetNetworkSecurityPolicyRulesV2NetworkSecurityPolicyRuleSpecTwoEnvIsolationRuleSpec

    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