Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg
nutanix.getNetworkSecurityPolicyV2
Explore with Pulumi AI
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?: InvokeOptions): 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: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = 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 CompletableFuture<GetNetworkSecurityPolicyV2Result> getNetworkSecurityPolicyV2(GetNetworkSecurityPolicyV2Args args, InvokeOptions options)
public static Output<GetNetworkSecurityPolicyV2Result> getNetworkSecurityPolicyV2(GetNetworkSecurityPolicyV2Args args, InvokeOptions options)
fn::invoke:
  function: nutanix:index/getNetworkSecurityPolicyV2:getNetworkSecurityPolicyV2
  arguments:
    # arguments dictionaryThe 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 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.
 - 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
 - Name of the Flow 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. Currently, only ALL_VLAN and VPC_LIST are supported. If scope is not provided, the default is set based on whether vpcReferences field is provided or not.
 - 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.
 - 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
 - Name of the Flow 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. Currently, only ALL_VLAN and VPC_LIST are supported. If scope is not provided, the default is set based on whether vpcReferences field is provided or not.
 - 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 BooleanEnabled  - If Hitlog is enabled.
 - is
Ipv6Traffic BooleanAllowed  - If Ipv6 Traffic is allowed.
 - 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
 - Name of the Flow 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. Currently, only ALL_VLAN and VPC_LIST are supported. If scope is not provided, the default is set based on whether vpcReferences field is provided or not.
 - 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.
 - 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
 - Name of the Flow 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. Currently, only ALL_VLAN and VPC_LIST are supported. If scope is not provided, the default is set based on whether vpcReferences field is provided or not.
 - 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.
 - 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
 - Name of the Flow 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. Currently, only ALL_VLAN and VPC_LIST are supported. If scope is not provided, the default is set based on whether vpcReferences field is provided or not.
 - 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.
 - 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
 - Name of the Flow Network Security Policy.
 - rules List<Property Map>
 - A list of rules that form a policy. For isolation policies, use isolation rules; for application or quarantine policies, use application rules.
 - scope String
 - Defines the scope of the policy. Currently, only ALL_VLAN and VPC_LIST are supported. If scope is not provided, the default is set based on whether vpcReferences field is provided or not.
 - 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.
 - 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.
 - 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.
 - 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.
 - 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.
 - 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.
 - 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.
 - 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.
 - 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.
 - 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.
 - 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.
 - links List<Property Map>
 - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
 - specs List<Property Map>
 - 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.
 - 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.
 - 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<GetSpecs Network Security Policy V2Rule Spec Application Rule Spec>  - Application 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.
 - 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.
 - 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.
 - 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 List<string>References  - List of categories that define a set of network endpoints as outbound.
 - Dest
Subnets List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Application Rule Spec Dest Subnet>  - destination subnet value
 - Icmp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Application Rule Spec Icmp Service>  - icmp services
 - Is
All boolProtocol Allowed  - Denotes if rule allows traffic for all protocol.
 - Network
Function stringChain Reference  - A reference to the network function chain in the rule.
 - Secured
Group List<string>Category References  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 - 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 List<string>References  - List of categories that define a set of network endpoints as inbound.
 - Src
Subnets List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Application Rule Spec Src Subnet>  - source subnet value
 - Tcp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Application Rule Spec Tcp Service>  - tcp services
 - Udp
Services List<PiersKarsenbarg. Nutanix. Inputs. Get Network Security Policy V2Rule Spec Application Rule Spec Udp Service>  - udp services
 
- 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 []stringReferences  - List of categories that define a set of network endpoints as outbound.
 - Dest
Subnets []GetNetwork Security Policy V2Rule Spec Application Rule Spec Dest Subnet  - destination subnet value
 - Icmp
Services []GetNetwork Security Policy V2Rule Spec Application Rule Spec Icmp Service  - icmp services
 - Is
All boolProtocol Allowed  - Denotes if rule allows traffic for all protocol.
 - Network
Function stringChain Reference  - A reference to the network function chain in the rule.
 - Secured
Group []stringCategory References  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 - 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 []stringReferences  - List of categories that define a set of network endpoints as inbound.
 - Src
Subnets []GetNetwork Security Policy V2Rule Spec Application Rule Spec Src Subnet  - source subnet value
 - Tcp
Services []GetNetwork Security Policy V2Rule Spec Application Rule Spec Tcp Service  - tcp services
 - Udp
Services []GetNetwork Security Policy V2Rule Spec Application Rule Spec Udp Service  - udp services
 
- 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 List<String>References  - List of categories that define a set of network endpoints as outbound.
 - dest
Subnets List<GetNetwork Security Policy V2Rule Spec Application Rule Spec Dest Subnet>  - destination subnet value
 - icmp
Services List<GetNetwork Security Policy V2Rule Spec Application Rule Spec Icmp Service>  - icmp services
 - is
All BooleanProtocol Allowed  - Denotes if rule allows traffic for all protocol.
 - network
Function StringChain Reference  - A reference to the network function chain in the rule.
 - secured
Group List<String>Category References  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 - 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 List<String>References  - List of categories that define a set of network endpoints as inbound.
 - src
Subnets List<GetNetwork Security Policy V2Rule Spec Application Rule Spec Src Subnet>  - source subnet value
 - tcp
Services List<GetNetwork Security Policy V2Rule Spec Application Rule Spec Tcp Service>  - tcp services
 - udp
Services List<GetNetwork Security Policy V2Rule Spec Application Rule Spec Udp Service>  - udp services
 
- 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 string[]References  - List of categories that define a set of network endpoints as outbound.
 - dest
Subnets GetNetwork Security Policy V2Rule Spec Application Rule Spec Dest Subnet[]  - destination subnet value
 - icmp
Services GetNetwork Security Policy V2Rule Spec Application Rule Spec Icmp Service[]  - icmp services
 - is
All booleanProtocol Allowed  - Denotes if rule allows traffic for all protocol.
 - network
Function stringChain Reference  - A reference to the network function chain in the rule.
 - secured
Group string[]Category References  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 - 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 string[]References  - List of categories that define a set of network endpoints as inbound.
 - src
Subnets GetNetwork Security Policy V2Rule Spec Application Rule Spec Src Subnet[]  - source subnet value
 - tcp
Services GetNetwork Security Policy V2Rule Spec Application Rule Spec Tcp Service[]  - tcp services
 - udp
Services GetNetwork Security Policy V2Rule Spec Application Rule Spec Udp Service[]  - udp services
 
- 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_ Sequence[str]references  - List of categories that define a set of network endpoints as outbound.
 - dest_
subnets Sequence[GetNetwork Security Policy V2Rule Spec Application Rule Spec Dest Subnet]  - destination subnet value
 - icmp_
services Sequence[GetNetwork Security Policy V2Rule Spec Application Rule Spec Icmp Service]  - icmp services
 - is_
all_ boolprotocol_ allowed  - Denotes if rule allows traffic for all protocol.
 - network_
function_ strchain_ reference  - A reference to the network function chain in the rule.
 - secured_
group_ Sequence[str]category_ references  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 - 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_ Sequence[str]references  - List of categories that define a set of network endpoints as inbound.
 - src_
subnets Sequence[GetNetwork Security Policy V2Rule Spec Application Rule Spec Src Subnet]  - source subnet value
 - tcp_
services Sequence[GetNetwork Security Policy V2Rule Spec Application Rule Spec Tcp Service]  - tcp services
 - udp_
services Sequence[GetNetwork Security Policy V2Rule Spec Application Rule Spec Udp Service]  - udp services
 
- 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 List<String>References  - List of categories that define a set of network endpoints as outbound.
 - dest
Subnets List<Property Map> - destination subnet value
 - icmp
Services List<Property Map> - icmp services
 - is
All BooleanProtocol Allowed  - Denotes if rule allows traffic for all protocol.
 - network
Function StringChain Reference  - A reference to the network function chain in the rule.
 - secured
Group List<String>Category References  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 - 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 List<String>References  - List of categories that define a set of network endpoints as inbound.
 - src
Subnets List<Property Map> - source subnet value
 - tcp
Services List<Property Map> - tcp services
 - udp
Services List<Property Map> - udp services
 
GetNetworkSecurityPolicyV2RuleSpecApplicationRuleSpecDestSubnet          
- Prefix
Length int - Value string
 
- Prefix
Length int - 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 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 Integer - value String
 
- prefix
Length number - value string
 
- prefix_
length int - value str
 
- prefix
Length Number - value String
 
GetNetworkSecurityPolicyV2RuleSpecApplicationRuleSpecTcpService          
- end_
port int - end port
 - start_
port int - start port
 
GetNetworkSecurityPolicyV2RuleSpecApplicationRuleSpecUdpService          
- end_
port int - end port
 - start_
port int - start port
 
GetNetworkSecurityPolicyV2RuleSpecIntraEntityGroupRuleSpec          
- Secured
Group stringAction  - List of secured group action.
 - Secured
Group List<string>Category References  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 
- Secured
Group stringAction  - List of secured group action.
 - Secured
Group []stringCategory References  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 
- secured
Group StringAction  - List of secured group action.
 - secured
Group List<String>Category References  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 
- secured
Group stringAction  - List of secured group action.
 - secured
Group string[]Category References  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 
- secured_
group_ straction  - List of secured group action.
 - secured_
group_ Sequence[str]category_ references  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 
- secured
Group StringAction  - List of secured group action.
 - secured
Group List<String>Category References  - A specification to whether traffic between intra secured group entities should be allowed or denied.
 
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<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<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<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 List<string>References  - External identifiers of categories belonging to the isolation group.
 
- Group
Category []stringReferences  - External identifiers of categories belonging to the isolation group.
 
- group
Category List<String>References  - External identifiers of categories belonging to the isolation group.
 
- group
Category string[]References  - External identifiers of categories belonging to the isolation group.
 
- group_
category_ Sequence[str]references  - External identifiers of categories belonging to the isolation group.
 
- group
Category List<String>References  - External identifiers of categories belonging to 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 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.