Viewing docs for Nutanix v0.20.0
published on Tuesday, Nov 17, 2026 by Piers Karsenbarg
published on Tuesday, Nov 17, 2026 by Piers Karsenbarg
NutanixViewing docs for Nutanix v0.20.0
published on Tuesday, Nov 17, 2026 by Piers Karsenbarg
published on Tuesday, Nov 17, 2026 by Piers Karsenbarg
Get a Network Security Policy by ExtID
Using getNetworkSecurityPolicyV2
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 getNetworkSecurityPolicyV2(args: GetNetworkSecurityPolicyV2Args, opts?: InvokeOptions): Promise<GetNetworkSecurityPolicyV2Result>
function getNetworkSecurityPolicyV2Output(args: GetNetworkSecurityPolicyV2OutputArgs, opts?: InvokeOutputOptions): Output<GetNetworkSecurityPolicyV2Result>def get_network_security_policy_v2(ext_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkSecurityPolicyV2Result
def get_network_security_policy_v2_output(ext_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetNetworkSecurityPolicyV2Result]func LookupNetworkSecurityPolicyV2(ctx *Context, args *LookupNetworkSecurityPolicyV2Args, opts ...InvokeOption) (*LookupNetworkSecurityPolicyV2Result, error)
func LookupNetworkSecurityPolicyV2Output(ctx *Context, args *LookupNetworkSecurityPolicyV2OutputArgs, opts ...InvokeOption) LookupNetworkSecurityPolicyV2ResultOutput> Note: This function is named LookupNetworkSecurityPolicyV2 in the Go SDK.
public static class GetNetworkSecurityPolicyV2
{
public static Task<GetNetworkSecurityPolicyV2Result> InvokeAsync(GetNetworkSecurityPolicyV2Args args, InvokeOptions? opts = null)
public static Output<GetNetworkSecurityPolicyV2Result> Invoke(GetNetworkSecurityPolicyV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkSecurityPolicyV2Result> Invoke(GetNetworkSecurityPolicyV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetNetworkSecurityPolicyV2Result> getNetworkSecurityPolicyV2(GetNetworkSecurityPolicyV2Args args, InvokeOptions options)
public static Output<GetNetworkSecurityPolicyV2Result> getNetworkSecurityPolicyV2(GetNetworkSecurityPolicyV2Args args, InvokeOptions options)
public static Output<GetNetworkSecurityPolicyV2Result> getNetworkSecurityPolicyV2(GetNetworkSecurityPolicyV2Args args, InvokeOutputOptions options)
fn::invoke:
function: nutanix:index/getNetworkSecurityPolicyV2:getNetworkSecurityPolicyV2
arguments:
# arguments dictionarydata "nutanix_get_network_security_policy_v2" "name" {
# arguments
}The following arguments are supported:
- Ext
Id string - Network security policy UUID.
- Ext
Id string - Network security policy UUID.
- ext_
id string - Network security policy UUID.
- ext
Id String - Network security policy UUID.
- ext
Id string - Network security policy UUID.
- ext_
id str - Network security policy UUID.
- ext
Id String - Network security policy UUID.
getNetworkSecurityPolicyV2 Result
The following output properties are available:
- Created
By string - created by.
- Creation
Time string - creation time of NSP
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Hitlog boolEnabled - If Hitlog is enabled.
- Is
Ipv6Traffic boolAllowed - If Ipv6 Traffic is allowed.
- bool
- Whether the network security policy is shared with all projects.
- Is
System boolDefined - Is system defined NSP
- Last
Update stringTime - last updated time
- Links
List<Piers
Karsenbarg. Nutanix. Outputs. Get Network Security Policy V2Link> - 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
- A user-defined name for the rule.
- Project
Ext stringId - Project external ID associated with the network security policy.
- Rules
List<Piers
Karsenbarg. Nutanix. Outputs. Get Network Security Policy V2Rule> - 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
- Icmp service Type. Ignore this field if Type has to be ANY.
- Vpc
References List<string> - A list of external ids for VPCs, used only when the scope of policy is a list of VPCs.
- Created
By string - created by.
- Creation
Time string - creation time of NSP
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Hitlog boolEnabled - If Hitlog is enabled.
- Is
Ipv6Traffic boolAllowed - If Ipv6 Traffic is allowed.
- bool
- Whether the network security policy is shared with all projects.
- Is
System boolDefined - Is system defined NSP
- Last
Update stringTime - last updated time
- Links
[]Get
Network Security Policy V2Link - 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
- A user-defined name for the rule.
- Project
Ext stringId - Project external ID associated with the network security policy.
- Rules
[]Get
Network Security Policy V2Rule - 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 []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
- Icmp service Type. Ignore this field if Type has to be ANY.
- Vpc
References []string - A list of external ids for VPCs, used only when the scope of policy is a list of VPCs.
- created_
by string - created by.
- creation_
time string - creation time of NSP
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- is_
hitlog_ boolenabled - If Hitlog is enabled.
- is_
ipv6_ booltraffic_ allowed - If Ipv6 Traffic is allowed.
- bool
- Whether the network security policy is shared with all projects.
- is_
system_ booldefined - Is system defined NSP
- last_
update_ stringtime - 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
- A user-defined name for the rule.
- project_
ext_ stringid - Project external ID associated with the 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
- Icmp service Type. Ignore this field if Type has to be ANY.
- vpc_
references list(string) - A list of external ids for VPCs, used only when the scope of policy is a list of VPCs.
- created
By String - created by.
- creation
Time String - creation time of NSP
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Hitlog BooleanEnabled - If Hitlog is enabled.
- is
Ipv6Traffic BooleanAllowed - If Ipv6 Traffic is allowed.
- Boolean
- Whether the network security policy is shared with all projects.
- is
System BooleanDefined - Is system defined NSP
- last
Update StringTime - last updated time
- links
List<Get
Network Security Policy V2Link> - 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
- A user-defined name for the rule.
- project
Ext StringId - Project external ID associated with the network security policy.
- rules
List<Get
Network Security Policy V2Rule> - 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
- Icmp service Type. Ignore this field if Type has to be ANY.
- vpc
References List<String> - A list of external ids for VPCs, used only when the scope of policy is a list of VPCs.
- created
By string - created by.
- creation
Time string - creation time of NSP
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Hitlog booleanEnabled - If Hitlog is enabled.
- is
Ipv6Traffic booleanAllowed - If Ipv6 Traffic is allowed.
- boolean
- Whether the network security policy is shared with all projects.
- is
System booleanDefined - Is system defined NSP
- last
Update stringTime - last updated time
- links
Get
Network Security Policy V2Link[] - 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
- A user-defined name for the rule.
- project
Ext stringId - Project external ID associated with the network security policy.
- rules
Get
Network Security Policy V2Rule[] - 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 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
- Icmp service Type. Ignore this field if Type has to be ANY.
- vpc
References string[] - A list of external ids for VPCs, used only when the scope of policy is a list of VPCs.
- created_
by str - created by.
- creation_
time str - creation time of NSP
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
hitlog_ boolenabled - If Hitlog is enabled.
- is_
ipv6_ booltraffic_ allowed - If Ipv6 Traffic is allowed.
- bool
- Whether the network security policy is shared with all projects.
- is_
system_ booldefined - Is system defined NSP
- last_
update_ strtime - last updated time
- links
Sequence[Get
Network Security Policy V2Link] - 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
- A user-defined name for the rule.
- project_
ext_ strid - Project external ID associated with the network security policy.
- rules
Sequence[Get
Network Security Policy V2Rule] - 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
- Icmp service Type. Ignore this field if Type has to be ANY.
- vpc_
references Sequence[str] - A list of external ids for VPCs, used only when the scope of policy is a list of VPCs.
- created
By String - created by.
- creation
Time String - creation time of NSP
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Hitlog BooleanEnabled - If Hitlog is enabled.
- is
Ipv6Traffic BooleanAllowed - If Ipv6 Traffic is allowed.
- Boolean
- Whether the network security policy is shared with all projects.
- is
System BooleanDefined - Is system defined NSP
- last
Update StringTime - 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
- A user-defined name for the rule.
- project
Ext StringId - Project external ID associated with the 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".
- 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
- Icmp service Type. Ignore this field if Type has to be ANY.
- vpc
References List<String> - A list of external ids for VPCs, used only when the scope of policy is a list of VPCs.
Supporting Types
GetNetworkSecurityPolicyV2Link
GetNetworkSecurityPolicyV2Rule
- Description string
- A user defined annotation for a rule.
- Ext
Id string - Network security policy UUID.
- Is
Logging boolEnabled - Whether hit log is enabled for the rule.
- Links
List<Piers
Karsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Link> - 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
- A user-defined name for the rule.
- Specs
List<Piers
Karsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec> - Multi Environment Isolation Rule Spec.
- Type string
- Icmp service Type. Ignore this field if Type has to be ANY.
- Description string
- A user defined annotation for a rule.
- Ext
Id string - Network security policy UUID.
- Is
Logging boolEnabled - Whether hit log is enabled for the rule.
- Links
[]Get
Network Security Policy V2Rule Link - 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
- A user-defined name for the rule.
- Specs
[]Get
Network Security Policy V2Rule Spec - Multi Environment Isolation Rule Spec.
- Type string
- Icmp service Type. Ignore this field if Type has to be ANY.
- description string
- A user defined annotation for a rule.
- ext_
id string - Network security policy UUID.
- is_
logging_ boolenabled - Whether hit log is enabled for the rule.
- 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
- A user-defined name for the rule.
- specs list(object)
- Multi Environment Isolation Rule Spec.
- type string
- Icmp service Type. Ignore this field if Type has to be ANY.
- description String
- A user defined annotation for a rule.
- ext
Id String - Network security policy UUID.
- is
Logging BooleanEnabled - Whether hit log is enabled for the rule.
- links
List<Get
Network Security Policy V2Rule Link> - 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
- A user-defined name for the rule.
- specs
List<Get
Network Security Policy V2Rule Spec> - Multi Environment Isolation Rule Spec.
- type String
- Icmp service Type. Ignore this field if Type has to be ANY.
- description string
- A user defined annotation for a rule.
- ext
Id string - Network security policy UUID.
- is
Logging booleanEnabled - Whether hit log is enabled for the rule.
- links
Get
Network Security Policy V2Rule Link[] - 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
- A user-defined name for the rule.
- specs
Get
Network Security Policy V2Rule Spec[] - Multi Environment Isolation Rule Spec.
- type string
- Icmp service Type. Ignore this field if Type has to be ANY.
- description str
- A user defined annotation for a rule.
- ext_
id str - Network security policy UUID.
- is_
logging_ boolenabled - Whether hit log is enabled for the rule.
- links
Sequence[Get
Network Security Policy V2Rule Link] - 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
- A user-defined name for the rule.
- specs
Sequence[Get
Network Security Policy V2Rule Spec] - Multi Environment Isolation Rule Spec.
- type str
- Icmp service Type. Ignore this field if Type has to be ANY.
- description String
- A user defined annotation for a rule.
- ext
Id String - Network security policy UUID.
- is
Logging BooleanEnabled - Whether hit log is enabled for the rule.
- 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
- A user-defined name for the rule.
- specs List<Property Map>
- Multi Environment Isolation Rule Spec.
- type String
- Icmp service Type. Ignore this field if Type has to be ANY.
GetNetworkSecurityPolicyV2RuleLink
GetNetworkSecurityPolicyV2RuleSpec
- Application
Rule List<PiersSpecs Karsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Application Rule Spec> - Application Rule Spec.
- Flex
Rule List<PiersSpecs Karsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Flex Rule Spec> - Flex Rule Spec.
- Intra
Entity List<PiersGroup Rule Specs Karsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Intra Entity Group Rule Spec> - Intra entity group Rule Spec
- Multi
Env List<PiersIsolation Rule Specs Karsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Multi Env Isolation Rule Spec> - Multi Environment Isolation Rule Spec.
- Two
Env List<PiersIsolation Rule Specs Karsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Two Env Isolation Rule Spec> - Two Environment Isolation Rule Spec.
- Application
Rule []GetSpecs Network Security Policy V2Rule Spec Application Rule Spec - Application Rule Spec.
- Flex
Rule []GetSpecs Network Security Policy V2Rule Spec Flex Rule Spec - Flex Rule Spec.
- Intra
Entity []GetGroup Rule Specs Network Security Policy V2Rule Spec Intra Entity Group Rule Spec - Intra entity group Rule Spec
- Multi
Env []GetIsolation Rule Specs Network Security Policy V2Rule Spec Multi Env Isolation Rule Spec - Multi Environment Isolation Rule Spec.
- Two
Env []GetIsolation Rule Specs Network Security Policy V2Rule Spec Two Env Isolation Rule Spec - Two Environment Isolation Rule Spec.
- application_
rule_ list(object)specs - Application Rule Spec.
- flex_
rule_ list(object)specs - Flex Rule Spec.
- intra_
entity_ list(object)group_ rule_ specs - Intra entity group Rule Spec
- multi_
env_ list(object)isolation_ rule_ specs - Multi Environment Isolation Rule Spec.
- two_
env_ list(object)isolation_ rule_ specs - Two Environment Isolation Rule Spec.
- application
Rule List<GetSpecs Network Security Policy V2Rule Spec Application Rule Spec> - Application Rule Spec.
- flex
Rule List<GetSpecs Network Security Policy V2Rule Spec Flex Rule Spec> - Flex Rule Spec.
- intra
Entity List<GetGroup Rule Specs Network Security Policy V2Rule Spec Intra Entity Group Rule Spec> - Intra entity group Rule Spec
- multi
Env List<GetIsolation Rule Specs Network Security Policy V2Rule Spec Multi Env Isolation Rule Spec> - Multi Environment Isolation Rule Spec.
- two
Env List<GetIsolation Rule Specs Network Security Policy V2Rule Spec Two Env Isolation Rule Spec> - Two Environment Isolation Rule Spec.
- application
Rule GetSpecs Network Security Policy V2Rule Spec Application Rule Spec[] - Application Rule Spec.
- flex
Rule GetSpecs Network Security Policy V2Rule Spec Flex Rule Spec[] - Flex Rule Spec.
- intra
Entity GetGroup Rule Specs Network Security Policy V2Rule Spec Intra Entity Group Rule Spec[] - Intra entity group Rule Spec
- multi
Env GetIsolation Rule Specs Network Security Policy V2Rule Spec Multi Env Isolation Rule Spec[] - Multi Environment Isolation Rule Spec.
- two
Env GetIsolation Rule Specs Network Security Policy V2Rule Spec Two Env Isolation Rule Spec[] - Two Environment Isolation Rule Spec.
- application_
rule_ Sequence[Getspecs Network Security Policy V2Rule Spec Application Rule Spec] - Application Rule Spec.
- flex_
rule_ Sequence[Getspecs Network Security Policy V2Rule Spec Flex Rule Spec] - Flex Rule Spec.
- intra_
entity_ Sequence[Getgroup_ rule_ specs Network Security Policy V2Rule Spec Intra Entity Group Rule Spec] - Intra entity group Rule Spec
- multi_
env_ Sequence[Getisolation_ rule_ specs Network Security Policy V2Rule Spec Multi Env Isolation Rule Spec] - Multi Environment Isolation Rule Spec.
- two_
env_ Sequence[Getisolation_ rule_ specs Network Security Policy V2Rule Spec Two Env Isolation Rule Spec] - Two Environment Isolation Rule Spec.
- application
Rule List<Property Map>Specs - Application Rule Spec.
- flex
Rule List<Property Map>Specs - Flex Rule Spec.
- intra
Entity List<Property Map>Group Rule Specs - Intra entity group Rule Spec
- multi
Env List<Property Map>Isolation Rule Specs - Multi Environment Isolation Rule Spec.
- two
Env List<Property Map>Isolation Rule Specs - Two Environment Isolation Rule Spec.
GetNetworkSecurityPolicyV2RuleSpecApplicationRuleSpec
- Dest
Address List<string>Group References - A list of address group references.
- Dest
Allow stringSpec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- Dest
Category stringAssociated Entity Type - Entity type for the destination category (SUBNET, VM, VPC).
- Dest
Category List<string>References - List of categories that define a set of network endpoints as outbound.
- Dest
Entity stringGroup Reference - Reference to the destination entity group.
- Dest
Subnets List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Application Rule Spec Dest Subnet> - Destination subnet (value, prefix_length).
- Icmp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Application Rule Spec Icmp Service> - ICMP type/code specs.
- Is
All boolProtocol Allowed - Whether traffic is allowed for all protocols.
- Network
Function stringChain Reference - A reference to the network function chain in the rule.
- Network
Function stringReference - A reference to the network function.
- Secured
Group stringCategory Associated Entity Type - Entity type for the secured group category (SUBNET, VM, VPC).
- Secured
Group List<string>Category References - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - Secured
Group stringEntity Group Reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - Service
Group List<string>References - A list of service group references.
- Src
Address List<string>Group References - A list of address group references.
- Src
Allow stringSpec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- Src
Category stringAssociated Entity Type - Entity type for the source category (SUBNET, VM, VPC).
- Src
Category List<string>References - List of categories that define a set of network endpoints as inbound.
- Src
Entity stringGroup Reference - Reference to the source entity group.
- Src
Subnets List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Application Rule Spec Src Subnet> - Source subnet (value, prefix_length).
- Tcp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Application Rule Spec Tcp Service> - TCP port ranges (start_port, end_port).
- Udp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Application Rule Spec Udp Service> - UDP port ranges (start_port, end_port).
- Dest
Address []stringGroup References - A list of address group references.
- Dest
Allow stringSpec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- Dest
Category stringAssociated Entity Type - Entity type for the destination category (SUBNET, VM, VPC).
- Dest
Category []stringReferences - List of categories that define a set of network endpoints as outbound.
- Dest
Entity stringGroup Reference - Reference to the destination entity group.
- Dest
Subnets []GetNetwork Security Policy V2Rule Spec Application Rule Spec Dest Subnet - Destination subnet (value, prefix_length).
- Icmp
Services []GetNetwork Security Policy V2Rule Spec Application Rule Spec Icmp Service - ICMP type/code specs.
- Is
All boolProtocol Allowed - Whether traffic is allowed for all protocols.
- Network
Function stringChain Reference - A reference to the network function chain in the rule.
- Network
Function stringReference - A reference to the network function.
- Secured
Group stringCategory Associated Entity Type - Entity type for the secured group category (SUBNET, VM, VPC).
- Secured
Group []stringCategory References - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - Secured
Group stringEntity Group Reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - Service
Group []stringReferences - A list of service group references.
- Src
Address []stringGroup References - A list of address group references.
- Src
Allow stringSpec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- Src
Category stringAssociated Entity Type - Entity type for the source category (SUBNET, VM, VPC).
- Src
Category []stringReferences - List of categories that define a set of network endpoints as inbound.
- Src
Entity stringGroup Reference - Reference to the source entity group.
- Src
Subnets []GetNetwork Security Policy V2Rule Spec Application Rule Spec Src Subnet - Source subnet (value, prefix_length).
- Tcp
Services []GetNetwork Security Policy V2Rule Spec Application Rule Spec Tcp Service - TCP port ranges (start_port, end_port).
- Udp
Services []GetNetwork Security Policy V2Rule Spec Application Rule Spec Udp Service - UDP port ranges (start_port, end_port).
- dest_
address_ list(string)group_ references - A list of address group references.
- dest_
allow_ stringspec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- dest_
category_ stringassociated_ entity_ type - Entity type for the destination category (SUBNET, VM, VPC).
- dest_
category_ list(string)references - List of categories that define a set of network endpoints as outbound.
- dest_
entity_ stringgroup_ reference - Reference to the destination entity group.
- dest_
subnets list(object) - Destination subnet (value, prefix_length).
- icmp_
services list(object) - ICMP type/code specs.
- is_
all_ boolprotocol_ allowed - Whether traffic is allowed for all protocols.
- network_
function_ stringchain_ reference - A reference to the network function chain in the rule.
- network_
function_ stringreference - A reference to the network function.
- secured_
group_ stringcategory_ associated_ entity_ type - Entity type for the secured group category (SUBNET, VM, VPC).
- secured_
group_ list(string)category_ references - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - secured_
group_ stringentity_ group_ reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - service_
group_ list(string)references - A list of service group references.
- src_
address_ list(string)group_ references - A list of address group references.
- src_
allow_ stringspec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- src_
category_ stringassociated_ entity_ type - Entity type for the source category (SUBNET, VM, VPC).
- src_
category_ list(string)references - List of categories that define a set of network endpoints as inbound.
- src_
entity_ stringgroup_ reference - Reference to the source entity group.
- src_
subnets list(object) - Source subnet (value, prefix_length).
- tcp_
services list(object) - TCP port ranges (start_port, end_port).
- udp_
services list(object) - UDP port ranges (start_port, end_port).
- dest
Address List<String>Group References - A list of address group references.
- dest
Allow StringSpec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- dest
Category StringAssociated Entity Type - Entity type for the destination category (SUBNET, VM, VPC).
- dest
Category List<String>References - List of categories that define a set of network endpoints as outbound.
- dest
Entity StringGroup Reference - Reference to the destination entity group.
- dest
Subnets List<GetNetwork Security Policy V2Rule Spec Application Rule Spec Dest Subnet> - Destination subnet (value, prefix_length).
- icmp
Services List<GetNetwork Security Policy V2Rule Spec Application Rule Spec Icmp Service> - ICMP type/code specs.
- is
All BooleanProtocol Allowed - Whether traffic is allowed for all protocols.
- network
Function StringChain Reference - A reference to the network function chain in the rule.
- network
Function StringReference - A reference to the network function.
- secured
Group StringCategory Associated Entity Type - Entity type for the secured group category (SUBNET, VM, VPC).
- secured
Group List<String>Category References - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - secured
Group StringEntity Group Reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - service
Group List<String>References - A list of service group references.
- src
Address List<String>Group References - A list of address group references.
- src
Allow StringSpec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- src
Category StringAssociated Entity Type - Entity type for the source category (SUBNET, VM, VPC).
- src
Category List<String>References - List of categories that define a set of network endpoints as inbound.
- src
Entity StringGroup Reference - Reference to the source entity group.
- src
Subnets List<GetNetwork Security Policy V2Rule Spec Application Rule Spec Src Subnet> - Source subnet (value, prefix_length).
- tcp
Services List<GetNetwork Security Policy V2Rule Spec Application Rule Spec Tcp Service> - TCP port ranges (start_port, end_port).
- udp
Services List<GetNetwork Security Policy V2Rule Spec Application Rule Spec Udp Service> - UDP port ranges (start_port, end_port).
- dest
Address string[]Group References - A list of address group references.
- dest
Allow stringSpec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- dest
Category stringAssociated Entity Type - Entity type for the destination category (SUBNET, VM, VPC).
- dest
Category string[]References - List of categories that define a set of network endpoints as outbound.
- dest
Entity stringGroup Reference - Reference to the destination entity group.
- dest
Subnets GetNetwork Security Policy V2Rule Spec Application Rule Spec Dest Subnet[] - Destination subnet (value, prefix_length).
- icmp
Services GetNetwork Security Policy V2Rule Spec Application Rule Spec Icmp Service[] - ICMP type/code specs.
- is
All booleanProtocol Allowed - Whether traffic is allowed for all protocols.
- network
Function stringChain Reference - A reference to the network function chain in the rule.
- network
Function stringReference - A reference to the network function.
- secured
Group stringCategory Associated Entity Type - Entity type for the secured group category (SUBNET, VM, VPC).
- secured
Group string[]Category References - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - secured
Group stringEntity Group Reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - service
Group string[]References - A list of service group references.
- src
Address string[]Group References - A list of address group references.
- src
Allow stringSpec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- src
Category stringAssociated Entity Type - Entity type for the source category (SUBNET, VM, VPC).
- src
Category string[]References - List of categories that define a set of network endpoints as inbound.
- src
Entity stringGroup Reference - Reference to the source entity group.
- src
Subnets GetNetwork Security Policy V2Rule Spec Application Rule Spec Src Subnet[] - Source subnet (value, prefix_length).
- tcp
Services GetNetwork Security Policy V2Rule Spec Application Rule Spec Tcp Service[] - TCP port ranges (start_port, end_port).
- udp
Services GetNetwork Security Policy V2Rule Spec Application Rule Spec Udp Service[] - UDP port ranges (start_port, end_port).
- dest_
address_ Sequence[str]group_ references - A list of address group references.
- dest_
allow_ strspec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- dest_
category_ strassociated_ entity_ type - Entity type for the destination category (SUBNET, VM, VPC).
- dest_
category_ Sequence[str]references - List of categories that define a set of network endpoints as outbound.
- dest_
entity_ strgroup_ reference - Reference to the destination entity group.
- dest_
subnets Sequence[GetNetwork Security Policy V2Rule Spec Application Rule Spec Dest Subnet] - Destination subnet (value, prefix_length).
- icmp_
services Sequence[GetNetwork Security Policy V2Rule Spec Application Rule Spec Icmp Service] - ICMP type/code specs.
- is_
all_ boolprotocol_ allowed - Whether traffic is allowed for all protocols.
- network_
function_ strchain_ reference - A reference to the network function chain in the rule.
- network_
function_ strreference - A reference to the network function.
- secured_
group_ strcategory_ associated_ entity_ type - Entity type for the secured group category (SUBNET, VM, VPC).
- secured_
group_ Sequence[str]category_ references - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - secured_
group_ strentity_ group_ reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - service_
group_ Sequence[str]references - A list of service group references.
- src_
address_ Sequence[str]group_ references - A list of address group references.
- src_
allow_ strspec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- src_
category_ strassociated_ entity_ type - Entity type for the source category (SUBNET, VM, VPC).
- src_
category_ Sequence[str]references - List of categories that define a set of network endpoints as inbound.
- src_
entity_ strgroup_ reference - Reference to the source entity group.
- src_
subnets Sequence[GetNetwork Security Policy V2Rule Spec Application Rule Spec Src Subnet] - Source subnet (value, prefix_length).
- tcp_
services Sequence[GetNetwork Security Policy V2Rule Spec Application Rule Spec Tcp Service] - TCP port ranges (start_port, end_port).
- udp_
services Sequence[GetNetwork Security Policy V2Rule Spec Application Rule Spec Udp Service] - UDP port ranges (start_port, end_port).
- dest
Address List<String>Group References - A list of address group references.
- dest
Allow StringSpec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- dest
Category StringAssociated Entity Type - Entity type for the destination category (SUBNET, VM, VPC).
- dest
Category List<String>References - List of categories that define a set of network endpoints as outbound.
- dest
Entity StringGroup Reference - Reference to the destination entity group.
- dest
Subnets List<Property Map> - Destination subnet (value, prefix_length).
- icmp
Services List<Property Map> - ICMP type/code specs.
- is
All BooleanProtocol Allowed - Whether traffic is allowed for all protocols.
- network
Function StringChain Reference - A reference to the network function chain in the rule.
- network
Function StringReference - A reference to the network function.
- secured
Group StringCategory Associated Entity Type - Entity type for the secured group category (SUBNET, VM, VPC).
- secured
Group List<String>Category References - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - secured
Group StringEntity Group Reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - service
Group List<String>References - A list of service group references.
- src
Address List<String>Group References - A list of address group references.
- src
Allow StringSpec - A specification to how allow mode traffic should be applied, either ALL or NONE.
- src
Category StringAssociated Entity Type - Entity type for the source category (SUBNET, VM, VPC).
- src
Category List<String>References - List of categories that define a set of network endpoints as inbound.
- src
Entity StringGroup Reference - Reference to the source entity group.
- src
Subnets List<Property Map> - Source subnet (value, prefix_length).
- tcp
Services List<Property Map> - TCP port ranges (start_port, end_port).
- udp
Services List<Property Map> - UDP port ranges (start_port, end_port).
GetNetworkSecurityPolicyV2RuleSpecApplicationRuleSpecDestSubnet
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
GetNetworkSecurityPolicyV2RuleSpecApplicationRuleSpecIcmpService
- Code int
- Icmp service Code. Ignore this field if Code has to be ANY.
- Is
All boolAllowed - 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.
- Is
All boolAllowed - 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_ boolallowed - 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.
- is
All BooleanAllowed - 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.
- is
All booleanAllowed - 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_ boolallowed - 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 BooleanAllowed - 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.
GetNetworkSecurityPolicyV2RuleSpecApplicationRuleSpecSrcSubnet
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
GetNetworkSecurityPolicyV2RuleSpecApplicationRuleSpecTcpService
- end_
port number - end port
- start_
port number - start port
- end_
port int - end port
- start_
port int - start port
GetNetworkSecurityPolicyV2RuleSpecApplicationRuleSpecUdpService
- end_
port number - end port
- start_
port number - start port
- end_
port int - end port
- start_
port int - start port
GetNetworkSecurityPolicyV2RuleSpecFlexRuleSpec
- Action string
- Action for the flex rule (ALLOW, DENY, REJECT).
- Applied
To List<string>Entity Group References - Entity group references to which the flex rule is applied.
- Dest
Entity List<string>Group References - Destination entity group references.
- Dest
Subnets List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Flex Rule Spec Dest Subnet> - Destination subnet (value, prefix_length).
- Direction string
- Direction of traffic (IN, OUT, IN_OUT).
- Icmp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Flex Rule Spec Icmp Service> - ICMP type/code specs.
- Icmpv6Services
List<Piers
Karsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Flex Rule Spec Icmpv6Service> - ICMPv6 type/code specs.
- Ip
Version string - IP version scope (IPV4, IPV6, IPV4_IPV6).
- Is
All boolProtocol Allowed - Whether traffic is allowed for all protocols.
- Is
System boolRule - Whether the flex rule is system-defined.
- Network
Function stringReference - A reference to the network function.
- Priority int
- Priority for the flex rule.
- Service
Group List<string>References - A list of service group references.
- Should
Allow boolAny Dst - Whether the rule allows all destinations.
- Should
Allow boolAny Src - Whether the rule allows all sources.
- Src
Entity List<string>Group References - Source entity group references.
- Src
Subnets List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Flex Rule Spec Src Subnet> - Source subnet (value, prefix_length).
- Tcp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Flex Rule Spec Tcp Service> - TCP port ranges (start_port, end_port).
- Udp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Flex Rule Spec Udp Service> - UDP port ranges (start_port, end_port).
- Action string
- Action for the flex rule (ALLOW, DENY, REJECT).
- Applied
To []stringEntity Group References - Entity group references to which the flex rule is applied.
- Dest
Entity []stringGroup References - Destination entity group references.
- Dest
Subnets []GetNetwork Security Policy V2Rule Spec Flex Rule Spec Dest Subnet - Destination subnet (value, prefix_length).
- Direction string
- Direction of traffic (IN, OUT, IN_OUT).
- Icmp
Services []GetNetwork Security Policy V2Rule Spec Flex Rule Spec Icmp Service - ICMP type/code specs.
- Icmpv6Services
[]Get
Network Security Policy V2Rule Spec Flex Rule Spec Icmpv6Service - ICMPv6 type/code specs.
- Ip
Version string - IP version scope (IPV4, IPV6, IPV4_IPV6).
- Is
All boolProtocol Allowed - Whether traffic is allowed for all protocols.
- Is
System boolRule - Whether the flex rule is system-defined.
- Network
Function stringReference - A reference to the network function.
- Priority int
- Priority for the flex rule.
- Service
Group []stringReferences - A list of service group references.
- Should
Allow boolAny Dst - Whether the rule allows all destinations.
- Should
Allow boolAny Src - Whether the rule allows all sources.
- Src
Entity []stringGroup References - Source entity group references.
- Src
Subnets []GetNetwork Security Policy V2Rule Spec Flex Rule Spec Src Subnet - Source subnet (value, prefix_length).
- Tcp
Services []GetNetwork Security Policy V2Rule Spec Flex Rule Spec Tcp Service - TCP port ranges (start_port, end_port).
- Udp
Services []GetNetwork Security Policy V2Rule Spec Flex Rule Spec Udp Service - UDP port ranges (start_port, end_port).
- action string
- Action for the flex rule (ALLOW, DENY, REJECT).
- applied_
to_ list(string)entity_ group_ references - Entity group references to which the flex rule is applied.
- dest_
entity_ list(string)group_ references - Destination entity group references.
- dest_
subnets list(object) - Destination subnet (value, prefix_length).
- direction string
- Direction of traffic (IN, OUT, IN_OUT).
- icmp_
services list(object) - ICMP type/code specs.
- icmpv6_
services list(object) - ICMPv6 type/code specs.
- ip_
version string - IP version scope (IPV4, IPV6, IPV4_IPV6).
- is_
all_ boolprotocol_ allowed - Whether traffic is allowed for all protocols.
- is_
system_ boolrule - Whether the flex rule is system-defined.
- network_
function_ stringreference - A reference to the network function.
- priority number
- Priority for the flex rule.
- service_
group_ list(string)references - A list of service group references.
- should_
allow_ boolany_ dst - Whether the rule allows all destinations.
- should_
allow_ boolany_ src - Whether the rule allows all sources.
- src_
entity_ list(string)group_ references - Source entity group references.
- src_
subnets list(object) - Source subnet (value, prefix_length).
- tcp_
services list(object) - TCP port ranges (start_port, end_port).
- udp_
services list(object) - UDP port ranges (start_port, end_port).
- action String
- Action for the flex rule (ALLOW, DENY, REJECT).
- applied
To List<String>Entity Group References - Entity group references to which the flex rule is applied.
- dest
Entity List<String>Group References - Destination entity group references.
- dest
Subnets List<GetNetwork Security Policy V2Rule Spec Flex Rule Spec Dest Subnet> - Destination subnet (value, prefix_length).
- direction String
- Direction of traffic (IN, OUT, IN_OUT).
- icmp
Services List<GetNetwork Security Policy V2Rule Spec Flex Rule Spec Icmp Service> - ICMP type/code specs.
- icmpv6Services
List<Get
Network Security Policy V2Rule Spec Flex Rule Spec Icmpv6Service> - ICMPv6 type/code specs.
- ip
Version String - IP version scope (IPV4, IPV6, IPV4_IPV6).
- is
All BooleanProtocol Allowed - Whether traffic is allowed for all protocols.
- is
System BooleanRule - Whether the flex rule is system-defined.
- network
Function StringReference - A reference to the network function.
- priority Integer
- Priority for the flex rule.
- service
Group List<String>References - A list of service group references.
- should
Allow BooleanAny Dst - Whether the rule allows all destinations.
- should
Allow BooleanAny Src - Whether the rule allows all sources.
- src
Entity List<String>Group References - Source entity group references.
- src
Subnets List<GetNetwork Security Policy V2Rule Spec Flex Rule Spec Src Subnet> - Source subnet (value, prefix_length).
- tcp
Services List<GetNetwork Security Policy V2Rule Spec Flex Rule Spec Tcp Service> - TCP port ranges (start_port, end_port).
- udp
Services List<GetNetwork Security Policy V2Rule Spec Flex Rule Spec Udp Service> - UDP port ranges (start_port, end_port).
- action string
- Action for the flex rule (ALLOW, DENY, REJECT).
- applied
To string[]Entity Group References - Entity group references to which the flex rule is applied.
- dest
Entity string[]Group References - Destination entity group references.
- dest
Subnets GetNetwork Security Policy V2Rule Spec Flex Rule Spec Dest Subnet[] - Destination subnet (value, prefix_length).
- direction string
- Direction of traffic (IN, OUT, IN_OUT).
- icmp
Services GetNetwork Security Policy V2Rule Spec Flex Rule Spec Icmp Service[] - ICMP type/code specs.
- icmpv6Services
Get
Network Security Policy V2Rule Spec Flex Rule Spec Icmpv6Service[] - ICMPv6 type/code specs.
- ip
Version string - IP version scope (IPV4, IPV6, IPV4_IPV6).
- is
All booleanProtocol Allowed - Whether traffic is allowed for all protocols.
- is
System booleanRule - Whether the flex rule is system-defined.
- network
Function stringReference - A reference to the network function.
- priority number
- Priority for the flex rule.
- service
Group string[]References - A list of service group references.
- should
Allow booleanAny Dst - Whether the rule allows all destinations.
- should
Allow booleanAny Src - Whether the rule allows all sources.
- src
Entity string[]Group References - Source entity group references.
- src
Subnets GetNetwork Security Policy V2Rule Spec Flex Rule Spec Src Subnet[] - Source subnet (value, prefix_length).
- tcp
Services GetNetwork Security Policy V2Rule Spec Flex Rule Spec Tcp Service[] - TCP port ranges (start_port, end_port).
- udp
Services GetNetwork Security Policy V2Rule Spec Flex Rule Spec Udp Service[] - UDP port ranges (start_port, end_port).
- action str
- Action for the flex rule (ALLOW, DENY, REJECT).
- applied_
to_ Sequence[str]entity_ group_ references - Entity group references to which the flex rule is applied.
- dest_
entity_ Sequence[str]group_ references - Destination entity group references.
- dest_
subnets Sequence[GetNetwork Security Policy V2Rule Spec Flex Rule Spec Dest Subnet] - Destination subnet (value, prefix_length).
- direction str
- Direction of traffic (IN, OUT, IN_OUT).
- icmp_
services Sequence[GetNetwork Security Policy V2Rule Spec Flex Rule Spec Icmp Service] - ICMP type/code specs.
- icmpv6_
services Sequence[GetNetwork Security Policy V2Rule Spec Flex Rule Spec Icmpv6Service] - ICMPv6 type/code specs.
- ip_
version str - IP version scope (IPV4, IPV6, IPV4_IPV6).
- is_
all_ boolprotocol_ allowed - Whether traffic is allowed for all protocols.
- is_
system_ boolrule - Whether the flex rule is system-defined.
- network_
function_ strreference - A reference to the network function.
- priority int
- Priority for the flex rule.
- service_
group_ Sequence[str]references - A list of service group references.
- should_
allow_ boolany_ dst - Whether the rule allows all destinations.
- should_
allow_ boolany_ src - Whether the rule allows all sources.
- src_
entity_ Sequence[str]group_ references - Source entity group references.
- src_
subnets Sequence[GetNetwork Security Policy V2Rule Spec Flex Rule Spec Src Subnet] - Source subnet (value, prefix_length).
- tcp_
services Sequence[GetNetwork Security Policy V2Rule Spec Flex Rule Spec Tcp Service] - TCP port ranges (start_port, end_port).
- udp_
services Sequence[GetNetwork Security Policy V2Rule Spec Flex Rule Spec Udp Service] - UDP port ranges (start_port, end_port).
- action String
- Action for the flex rule (ALLOW, DENY, REJECT).
- applied
To List<String>Entity Group References - Entity group references to which the flex rule is applied.
- dest
Entity List<String>Group References - Destination entity group references.
- dest
Subnets List<Property Map> - Destination subnet (value, prefix_length).
- direction String
- Direction of traffic (IN, OUT, IN_OUT).
- icmp
Services List<Property Map> - ICMP type/code specs.
- icmpv6Services List<Property Map>
- ICMPv6 type/code specs.
- ip
Version String - IP version scope (IPV4, IPV6, IPV4_IPV6).
- is
All BooleanProtocol Allowed - Whether traffic is allowed for all protocols.
- is
System BooleanRule - Whether the flex rule is system-defined.
- network
Function StringReference - A reference to the network function.
- priority Number
- Priority for the flex rule.
- service
Group List<String>References - A list of service group references.
- should
Allow BooleanAny Dst - Whether the rule allows all destinations.
- should
Allow BooleanAny Src - Whether the rule allows all sources.
- src
Entity List<String>Group References - Source entity group references.
- src
Subnets List<Property Map> - Source subnet (value, prefix_length).
- tcp
Services List<Property Map> - TCP port ranges (start_port, end_port).
- udp
Services List<Property Map> - UDP port ranges (start_port, end_port).
GetNetworkSecurityPolicyV2RuleSpecFlexRuleSpecDestSubnet
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
GetNetworkSecurityPolicyV2RuleSpecFlexRuleSpecIcmpService
- Code int
- Icmp service Code. Ignore this field if Code has to be ANY.
- Is
All boolAllowed - 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.
- Is
All boolAllowed - 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_ boolallowed - 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.
- is
All BooleanAllowed - 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.
- is
All booleanAllowed - 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_ boolallowed - 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 BooleanAllowed - 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.
GetNetworkSecurityPolicyV2RuleSpecFlexRuleSpecIcmpv6Service
- Code int
- Icmp service Code. Ignore this field if Code has to be ANY.
- Is
All boolAllowed - 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.
- Is
All boolAllowed - 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_ boolallowed - 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.
- is
All BooleanAllowed - 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.
- is
All booleanAllowed - 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_ boolallowed - 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 BooleanAllowed - 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.
GetNetworkSecurityPolicyV2RuleSpecFlexRuleSpecSrcSubnet
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
GetNetworkSecurityPolicyV2RuleSpecFlexRuleSpecTcpService
- end_
port number - end port
- start_
port number - start port
- end_
port int - end port
- start_
port int - start port
GetNetworkSecurityPolicyV2RuleSpecFlexRuleSpecUdpService
- end_
port number - end port
- start_
port number - start port
- end_
port int - end port
- start_
port int - start port
GetNetworkSecurityPolicyV2RuleSpecIntraEntityGroupRuleSpec
- Icmp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Intra Entity Group Rule Spec Icmp Service> - ICMP type/code specs.
- Secured
Group stringAction - List of secured group action.
- Secured
Group stringCategory Associated Entity Type - Entity type for the secured group category (SUBNET, VM, VPC).
- Secured
Group List<string>Category References - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - Secured
Group stringEntity Group Reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - Secured
Group List<string>Service References - List of service group references for the secured group.
- Tcp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Intra Entity Group Rule Spec Tcp Service> - TCP port ranges (start_port, end_port).
- Udp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Intra Entity Group Rule Spec Udp Service> - UDP port ranges (start_port, end_port).
- Icmp
Services []GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Icmp Service - ICMP type/code specs.
- Secured
Group stringAction - List of secured group action.
- Secured
Group stringCategory Associated Entity Type - Entity type for the secured group category (SUBNET, VM, VPC).
- Secured
Group []stringCategory References - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - Secured
Group stringEntity Group Reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - Secured
Group []stringService References - List of service group references for the secured group.
- Tcp
Services []GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Tcp Service - TCP port ranges (start_port, end_port).
- Udp
Services []GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Udp Service - UDP port ranges (start_port, end_port).
- icmp_
services list(object) - ICMP type/code specs.
- secured_
group_ stringaction - List of secured group action.
- secured_
group_ stringcategory_ associated_ entity_ type - Entity type for the secured group category (SUBNET, VM, VPC).
- secured_
group_ list(string)category_ references - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - secured_
group_ stringentity_ group_ reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - secured_
group_ list(string)service_ references - List of service group references for the secured group.
- tcp_
services list(object) - TCP port ranges (start_port, end_port).
- udp_
services list(object) - UDP port ranges (start_port, end_port).
- icmp
Services List<GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Icmp Service> - ICMP type/code specs.
- secured
Group StringAction - List of secured group action.
- secured
Group StringCategory Associated Entity Type - Entity type for the secured group category (SUBNET, VM, VPC).
- secured
Group List<String>Category References - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - secured
Group StringEntity Group Reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - secured
Group List<String>Service References - List of service group references for the secured group.
- tcp
Services List<GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Tcp Service> - TCP port ranges (start_port, end_port).
- udp
Services List<GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Udp Service> - UDP port ranges (start_port, end_port).
- icmp
Services GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Icmp Service[] - ICMP type/code specs.
- secured
Group stringAction - List of secured group action.
- secured
Group stringCategory Associated Entity Type - Entity type for the secured group category (SUBNET, VM, VPC).
- secured
Group string[]Category References - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - secured
Group stringEntity Group Reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - secured
Group string[]Service References - List of service group references for the secured group.
- tcp
Services GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Tcp Service[] - TCP port ranges (start_port, end_port).
- udp
Services GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Udp Service[] - UDP port ranges (start_port, end_port).
- icmp_
services Sequence[GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Icmp Service] - ICMP type/code specs.
- secured_
group_ straction - List of secured group action.
- secured_
group_ strcategory_ associated_ entity_ type - Entity type for the secured group category (SUBNET, VM, VPC).
- secured_
group_ Sequence[str]category_ references - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - secured_
group_ strentity_ group_ reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - secured_
group_ Sequence[str]service_ references - List of service group references for the secured group.
- tcp_
services Sequence[GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Tcp Service] - TCP port ranges (start_port, end_port).
- udp_
services Sequence[GetNetwork Security Policy V2Rule Spec Intra Entity Group Rule Spec Udp Service] - UDP port ranges (start_port, end_port).
- icmp
Services List<Property Map> - ICMP type/code specs.
- secured
Group StringAction - List of secured group action.
- secured
Group StringCategory Associated Entity Type - Entity type for the secured group category (SUBNET, VM, VPC).
- secured
Group List<String>Category References - List of category references for the secured group. The rule contains either this field or
securedGroupEntityGroupReference, not both. - secured
Group StringEntity Group Reference - Reference to the secured group entity group. The rule contains either this field or
securedGroupCategoryReferences, not both. - secured
Group List<String>Service References - List of service group references for the secured group.
- tcp
Services List<Property Map> - TCP port ranges (start_port, end_port).
- udp
Services List<Property Map> - UDP port ranges (start_port, end_port).
GetNetworkSecurityPolicyV2RuleSpecIntraEntityGroupRuleSpecIcmpService
- Code int
- Icmp service Code. Ignore this field if Code has to be ANY.
- Is
All boolAllowed - 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.
- Is
All boolAllowed - 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_ boolallowed - 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.
- is
All BooleanAllowed - 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.
- is
All booleanAllowed - 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_ boolallowed - 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 BooleanAllowed - 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.
GetNetworkSecurityPolicyV2RuleSpecIntraEntityGroupRuleSpecTcpService
- end_
port number - end port
- start_
port number - start port
- end_
port int - end port
- start_
port int - start port
GetNetworkSecurityPolicyV2RuleSpecIntraEntityGroupRuleSpecUdpService
- end_
port number - end port
- start_
port number - start port
- end_
port int - end port
- start_
port int - start port
GetNetworkSecurityPolicyV2RuleSpecMultiEnvIsolationRuleSpec
- Specs
List<Piers
Karsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Multi Env Isolation Rule Spec Spec> - Multi Environment Isolation Rule Spec.
- Specs
[]Get
Network Security Policy V2Rule Spec Multi Env Isolation Rule Spec Spec - Multi Environment Isolation Rule Spec.
- specs list(object)
- Multi Environment Isolation Rule Spec.
- specs
List<Get
Network Security Policy V2Rule Spec Multi Env Isolation Rule Spec Spec> - Multi Environment Isolation Rule Spec.
- specs
Get
Network Security Policy V2Rule Spec Multi Env Isolation Rule Spec Spec[] - Multi Environment Isolation Rule Spec.
- specs
Sequence[Get
Network Security Policy V2Rule Spec Multi Env Isolation Rule Spec Spec] - Multi Environment Isolation Rule Spec.
- specs List<Property Map>
- Multi Environment Isolation Rule Spec.
GetNetworkSecurityPolicyV2RuleSpecMultiEnvIsolationRuleSpecSpec
- all_
to_ list(object)all_ isolation_ groups - all to all isolation group
- all
To List<Property Map>All Isolation Groups - all to all isolation group
GetNetworkSecurityPolicyV2RuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroup
- Isolation
Groups List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Multi Env Isolation Rule Spec Spec All To All Isolation Group Isolation Group> - Denotes the list of secured groups that will be used in All to All mutual isolation.
- Isolation
Groups []GetNetwork Security Policy V2Rule Spec Multi Env Isolation Rule Spec Spec All To All Isolation Group Isolation Group - Denotes the list of secured groups that will be used in All to All mutual isolation.
- isolation_
groups list(object) - Denotes the list of secured groups that will be used in All to All mutual isolation.
- isolation
Groups List<GetNetwork Security Policy V2Rule Spec Multi Env Isolation Rule Spec Spec All To All Isolation Group Isolation Group> - Denotes the list of secured groups that will be used in All to All mutual isolation.
- isolation
Groups GetNetwork Security Policy V2Rule Spec Multi Env Isolation Rule Spec Spec All To All Isolation Group Isolation Group[] - Denotes the list of secured groups that will be used in All to All mutual isolation.
- isolation_
groups Sequence[GetNetwork Security Policy V2Rule Spec Multi Env Isolation Rule Spec Spec All To All Isolation Group Isolation Group] - Denotes the list of secured groups that will be used in All to All mutual isolation.
- isolation
Groups List<Property Map> - Denotes the list of secured groups that will be used in All to All mutual isolation.
GetNetworkSecurityPolicyV2RuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroupIsolationGroup
- Group
Category stringAssociated Entity Type - Entity type for the group category (SUBNET, VM, VPC).
- Group
Category List<string>References - External identifiers of categories belonging to the isolation group.
- Group
Entity stringGroup Reference - Reference to the entity group for the isolation group.
- Group
Category stringAssociated Entity Type - Entity type for the group category (SUBNET, VM, VPC).
- Group
Category []stringReferences - External identifiers of categories belonging to the isolation group.
- Group
Entity stringGroup Reference - Reference to the entity group for the isolation group.
- group_
category_ stringassociated_ entity_ type - Entity type for the group category (SUBNET, VM, VPC).
- group_
category_ list(string)references - External identifiers of categories belonging to the isolation group.
- group_
entity_ stringgroup_ reference - Reference to the entity group for the isolation group.
- group
Category StringAssociated Entity Type - Entity type for the group category (SUBNET, VM, VPC).
- group
Category List<String>References - External identifiers of categories belonging to the isolation group.
- group
Entity StringGroup Reference - Reference to the entity group for the isolation group.
- group
Category stringAssociated Entity Type - Entity type for the group category (SUBNET, VM, VPC).
- group
Category string[]References - External identifiers of categories belonging to the isolation group.
- group
Entity stringGroup Reference - Reference to the entity group for the isolation group.
- group_
category_ strassociated_ entity_ type - Entity type for the group category (SUBNET, VM, VPC).
- group_
category_ Sequence[str]references - External identifiers of categories belonging to the isolation group.
- group_
entity_ strgroup_ reference - Reference to the entity group for the isolation group.
- group
Category StringAssociated Entity Type - Entity type for the group category (SUBNET, VM, VPC).
- group
Category List<String>References - External identifiers of categories belonging to the isolation group.
- group
Entity StringGroup Reference - Reference to the entity group for the isolation group.
GetNetworkSecurityPolicyV2RuleSpecTwoEnvIsolationRuleSpec
- First
Isolation List<string>Groups - Denotes the first group of category uuids that will be used in an isolation policy.
- Second
Isolation List<string>Groups - Denotes the second group of category uuids that will be used in an isolation policy.
- First
Isolation []stringGroups - Denotes the first group of category uuids that will be used in an isolation policy.
- Second
Isolation []stringGroups - Denotes the second group of category uuids that will be used in an isolation policy.
- first_
isolation_ list(string)groups - Denotes the first group of category uuids that will be used in an isolation policy.
- second_
isolation_ list(string)groups - Denotes the second group of category uuids that will be used in an isolation policy.
- first
Isolation List<String>Groups - Denotes the first group of category uuids that will be used in an isolation policy.
- second
Isolation List<String>Groups - Denotes the second group of category uuids that will be used in an isolation policy.
- first
Isolation string[]Groups - Denotes the first group of category uuids that will be used in an isolation policy.
- second
Isolation string[]Groups - Denotes the second group of category uuids that will be used in an isolation policy.
- first_
isolation_ Sequence[str]groups - Denotes the first group of category uuids that will be used in an isolation policy.
- second_
isolation_ Sequence[str]groups - Denotes the second group of category uuids that will be used in an isolation policy.
- first
Isolation List<String>Groups - Denotes the first group of category uuids that will be used in an isolation policy.
- second
Isolation List<String>Groups - 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
nutanixTerraform Provider.
NutanixViewing docs for Nutanix v0.20.0
published on Tuesday, Nov 17, 2026 by Piers Karsenbarg
published on Tuesday, Nov 17, 2026 by Piers Karsenbarg