1. Packages
  2. Nutanix
  3. API Docs
  4. getNetworkSecurityPoliciesV2
Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg

nutanix.getNetworkSecurityPoliciesV2

Explore with Pulumi AI

Gets a list of Network Security Policies.

Using getNetworkSecurityPoliciesV2

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

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

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

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

The following arguments are supported:

Filter string
A URL query parameter that allows clients to filter a collection of resources.
Limit int
A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
OrderBy string
A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
Page int
A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
Select string
A URL query parameter that allows clients to request a specific set of properties for each entity or complex type.
Filter string
A URL query parameter that allows clients to filter a collection of resources.
Limit int
A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
OrderBy string
A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
Page int
A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
Select string
A URL query parameter that allows clients to request a specific set of properties for each entity or complex type.
filter String
A URL query parameter that allows clients to filter a collection of resources.
limit Integer
A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
orderBy String
A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
page Integer
A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
select String
A URL query parameter that allows clients to request a specific set of properties for each entity or complex type.
filter string
A URL query parameter that allows clients to filter a collection of resources.
limit number
A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
orderBy string
A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
page number
A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
select string
A URL query parameter that allows clients to request a specific set of properties for each entity or complex type.
filter str
A URL query parameter that allows clients to filter a collection of resources.
limit int
A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
order_by str
A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
page int
A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
select str
A URL query parameter that allows clients to request a specific set of properties for each entity or complex type.
filter String
A URL query parameter that allows clients to filter a collection of resources.
limit Number
A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
orderBy String
A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
page Number
A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
select String
A URL query parameter that allows clients to request a specific set of properties for each entity or complex type.

getNetworkSecurityPoliciesV2 Result

The following output properties are available:

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

Supporting Types

GetNetworkSecurityPoliciesV2NetworkPolicy

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

GetNetworkSecurityPoliciesV2NetworkPolicyRule

Description This property is required. string
A user defined annotation for a rule.
ExtId This property is required. string
A globally unique identifier of an instance that is suitable for external consumption.
Links This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleLink>
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
Specs This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec>
Spec for rules.
Type This property is required. string
The type for a rule - the value chosen here restricts which specification can be chosen.
Description This property is required. string
A user defined annotation for a rule.
ExtId This property is required. string
A globally unique identifier of an instance that is suitable for external consumption.
Links This property is required. []GetNetworkSecurityPoliciesV2NetworkPolicyRuleLink
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
Specs This property is required. []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec
Spec for rules.
Type This property is required. string
The type for a rule - the value chosen here restricts which specification can be chosen.
description This property is required. String
A user defined annotation for a rule.
extId This property is required. String
A globally unique identifier of an instance that is suitable for external consumption.
links This property is required. List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleLink>
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
specs This property is required. List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec>
Spec for rules.
type This property is required. String
The type for a rule - the value chosen here restricts which specification can be chosen.
description This property is required. string
A user defined annotation for a rule.
extId This property is required. string
A globally unique identifier of an instance that is suitable for external consumption.
links This property is required. GetNetworkSecurityPoliciesV2NetworkPolicyRuleLink[]
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
specs This property is required. GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec[]
Spec for rules.
type This property is required. string
The type for a rule - the value chosen here restricts which specification can be chosen.
description This property is required. str
A user defined annotation for a rule.
ext_id This property is required. str
A globally unique identifier of an instance that is suitable for external consumption.
links This property is required. Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleLink]
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
specs This property is required. Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec]
Spec for rules.
type This property is required. str
The type for a rule - the value chosen here restricts which specification can be chosen.
description This property is required. String
A user defined annotation for a rule.
extId This property is required. String
A globally unique identifier of an instance that is suitable for external consumption.
links This property is required. 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 This property is required. List<Property Map>
Spec for rules.
type This property is required. String
The type for a rule - the value chosen here restricts which specification can be chosen.
Href This property is required. string
Rel This property is required. string
Href This property is required. string
Rel This property is required. string
href This property is required. String
rel This property is required. String
href This property is required. string
rel This property is required. string
href This property is required. str
rel This property is required. str
href This property is required. String
rel This property is required. String

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpec

applicationRuleSpecs This property is required. List<Property Map>
Application Rule Spec.
intraEntityGroupRuleSpecs This property is required. List<Property Map>
Intra entity group Rule Spec
multiEnvIsolationRuleSpecs This property is required. List<Property Map>
Multi Environment Isolation Rule Spec.
twoEnvIsolationRuleSpecs This property is required. List<Property Map>
Two Environment Isolation Rule Spec.

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpec

DestAddressGroupReferences This property is required. List<string>
A list of address group references.
DestAllowSpec This property is required. string
A specification to how allow mode traffic should be applied, either ALL or NONE.
DestCategoryReferences This property is required. List<string>
List of categories that define a set of network endpoints as outbound.
DestSubnets This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet>
destination subnet value
IcmpServices This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService>
icmp services
IsAllProtocolAllowed This property is required. bool
Denotes if rule allows traffic for all protocol.
NetworkFunctionChainReference This property is required. string
A reference to the network function chain in the rule.
SecuredGroupCategoryReferences This property is required. List<string>
A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
ServiceGroupReferences This property is required. List<string>
A list of service group references.
SrcAddressGroupReferences This property is required. List<string>
A list of address group references.
SrcAllowSpec This property is required. string
A specification to how allow mode traffic should be applied, either ALL or NONE.
SrcCategoryReferences This property is required. List<string>
List of categories that define a set of network endpoints as inbound.
SrcSubnets This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet>
source subnet value
TcpServices This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService>
tcp services
UdpServices This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService>
udp services
DestAddressGroupReferences This property is required. []string
A list of address group references.
DestAllowSpec This property is required. string
A specification to how allow mode traffic should be applied, either ALL or NONE.
DestCategoryReferences This property is required. []string
List of categories that define a set of network endpoints as outbound.
DestSubnets This property is required. []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet
destination subnet value
IcmpServices This property is required. []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService
icmp services
IsAllProtocolAllowed This property is required. bool
Denotes if rule allows traffic for all protocol.
NetworkFunctionChainReference This property is required. string
A reference to the network function chain in the rule.
SecuredGroupCategoryReferences This property is required. []string
A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
ServiceGroupReferences This property is required. []string
A list of service group references.
SrcAddressGroupReferences This property is required. []string
A list of address group references.
SrcAllowSpec This property is required. string
A specification to how allow mode traffic should be applied, either ALL or NONE.
SrcCategoryReferences This property is required. []string
List of categories that define a set of network endpoints as inbound.
SrcSubnets This property is required. []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet
source subnet value
TcpServices This property is required. []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService
tcp services
UdpServices This property is required. []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService
udp services
destAddressGroupReferences This property is required. List<String>
A list of address group references.
destAllowSpec This property is required. String
A specification to how allow mode traffic should be applied, either ALL or NONE.
destCategoryReferences This property is required. List<String>
List of categories that define a set of network endpoints as outbound.
destSubnets This property is required. List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet>
destination subnet value
icmpServices This property is required. List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService>
icmp services
isAllProtocolAllowed This property is required. Boolean
Denotes if rule allows traffic for all protocol.
networkFunctionChainReference This property is required. String
A reference to the network function chain in the rule.
securedGroupCategoryReferences This property is required. List<String>
A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
serviceGroupReferences This property is required. List<String>
A list of service group references.
srcAddressGroupReferences This property is required. List<String>
A list of address group references.
srcAllowSpec This property is required. String
A specification to how allow mode traffic should be applied, either ALL or NONE.
srcCategoryReferences This property is required. List<String>
List of categories that define a set of network endpoints as inbound.
srcSubnets This property is required. List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet>
source subnet value
tcpServices This property is required. List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService>
tcp services
udpServices This property is required. List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService>
udp services
destAddressGroupReferences This property is required. string[]
A list of address group references.
destAllowSpec This property is required. string
A specification to how allow mode traffic should be applied, either ALL or NONE.
destCategoryReferences This property is required. string[]
List of categories that define a set of network endpoints as outbound.
destSubnets This property is required. GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet[]
destination subnet value
icmpServices This property is required. GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService[]
icmp services
isAllProtocolAllowed This property is required. boolean
Denotes if rule allows traffic for all protocol.
networkFunctionChainReference This property is required. string
A reference to the network function chain in the rule.
securedGroupCategoryReferences This property is required. string[]
A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
serviceGroupReferences This property is required. string[]
A list of service group references.
srcAddressGroupReferences This property is required. string[]
A list of address group references.
srcAllowSpec This property is required. string
A specification to how allow mode traffic should be applied, either ALL or NONE.
srcCategoryReferences This property is required. string[]
List of categories that define a set of network endpoints as inbound.
srcSubnets This property is required. GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet[]
source subnet value
tcpServices This property is required. GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService[]
tcp services
udpServices This property is required. GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService[]
udp services
dest_address_group_references This property is required. Sequence[str]
A list of address group references.
dest_allow_spec This property is required. str
A specification to how allow mode traffic should be applied, either ALL or NONE.
dest_category_references This property is required. Sequence[str]
List of categories that define a set of network endpoints as outbound.
dest_subnets This property is required. Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet]
destination subnet value
icmp_services This property is required. Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService]
icmp services
is_all_protocol_allowed This property is required. bool
Denotes if rule allows traffic for all protocol.
network_function_chain_reference This property is required. str
A reference to the network function chain in the rule.
secured_group_category_references This property is required. Sequence[str]
A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
service_group_references This property is required. Sequence[str]
A list of service group references.
src_address_group_references This property is required. Sequence[str]
A list of address group references.
src_allow_spec This property is required. str
A specification to how allow mode traffic should be applied, either ALL or NONE.
src_category_references This property is required. Sequence[str]
List of categories that define a set of network endpoints as inbound.
src_subnets This property is required. Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet]
source subnet value
tcp_services This property is required. Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService]
tcp services
udp_services This property is required. Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService]
udp services
destAddressGroupReferences This property is required. List<String>
A list of address group references.
destAllowSpec This property is required. String
A specification to how allow mode traffic should be applied, either ALL or NONE.
destCategoryReferences This property is required. List<String>
List of categories that define a set of network endpoints as outbound.
destSubnets This property is required. List<Property Map>
destination subnet value
icmpServices This property is required. List<Property Map>
icmp services
isAllProtocolAllowed This property is required. Boolean
Denotes if rule allows traffic for all protocol.
networkFunctionChainReference This property is required. String
A reference to the network function chain in the rule.
securedGroupCategoryReferences This property is required. List<String>
A set of network endpoints which is protected by a Network Security Policy and defined as a list of categories.
serviceGroupReferences This property is required. List<String>
A list of service group references.
srcAddressGroupReferences This property is required. List<String>
A list of address group references.
srcAllowSpec This property is required. String
A specification to how allow mode traffic should be applied, either ALL or NONE.
srcCategoryReferences This property is required. List<String>
List of categories that define a set of network endpoints as inbound.
srcSubnets This property is required. List<Property Map>
source subnet value
tcpServices This property is required. List<Property Map>
tcp services
udpServices This property is required. List<Property Map>
udp services

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecDestSubnet

PrefixLength This property is required. string
Value This property is required. string
PrefixLength This property is required. string
Value This property is required. string
prefixLength This property is required. String
value This property is required. String
prefixLength This property is required. string
value This property is required. string
prefix_length This property is required. str
value This property is required. str
prefixLength This property is required. String
value This property is required. String

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecIcmpService

Code This property is required. int

Icmp service Code. Ignore this field if Code has to be ANY.

See detailed information in Nutanix Security Policies v4.

IsAllAllowed This property is required. bool
Set this field to true if both Type and Code is ANY.
Type This property is required. int
Icmp service Type. Ignore this field if Type has to be ANY.
Code This property is required. int

Icmp service Code. Ignore this field if Code has to be ANY.

See detailed information in Nutanix Security Policies v4.

IsAllAllowed This property is required. bool
Set this field to true if both Type and Code is ANY.
Type This property is required. int
Icmp service Type. Ignore this field if Type has to be ANY.
code This property is required. Integer

Icmp service Code. Ignore this field if Code has to be ANY.

See detailed information in Nutanix Security Policies v4.

isAllAllowed This property is required. Boolean
Set this field to true if both Type and Code is ANY.
type This property is required. Integer
Icmp service Type. Ignore this field if Type has to be ANY.
code This property is required. number

Icmp service Code. Ignore this field if Code has to be ANY.

See detailed information in Nutanix Security Policies v4.

isAllAllowed This property is required. boolean
Set this field to true if both Type and Code is ANY.
type This property is required. number
Icmp service Type. Ignore this field if Type has to be ANY.
code This property is required. int

Icmp service Code. Ignore this field if Code has to be ANY.

See detailed information in Nutanix Security Policies v4.

is_all_allowed This property is required. bool
Set this field to true if both Type and Code is ANY.
type This property is required. int
Icmp service Type. Ignore this field if Type has to be ANY.
code This property is required. Number

Icmp service Code. Ignore this field if Code has to be ANY.

See detailed information in Nutanix Security Policies v4.

isAllAllowed This property is required. Boolean
Set this field to true if both Type and Code is ANY.
type This property is required. Number
Icmp service Type. Ignore this field if Type has to be ANY.

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecSrcSubnet

PrefixLength This property is required. string
Value This property is required. string
PrefixLength This property is required. string
Value This property is required. string
prefixLength This property is required. String
value This property is required. String
prefixLength This property is required. string
value This property is required. string
prefix_length This property is required. str
value This property is required. str
prefixLength This property is required. String
value This property is required. String

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecTcpService

EndPort This property is required. int
end port
StartPort This property is required. int
start port
EndPort This property is required. int
end port
StartPort This property is required. int
start port
endPort This property is required. Integer
end port
startPort This property is required. Integer
start port
endPort This property is required. number
end port
startPort This property is required. number
start port
end_port This property is required. int
end port
start_port This property is required. int
start port
endPort This property is required. Number
end port
startPort This property is required. Number
start port

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecApplicationRuleSpecUdpService

EndPort This property is required. int
end port
StartPort This property is required. int
start port
EndPort This property is required. int
end port
StartPort This property is required. int
start port
endPort This property is required. Integer
end port
startPort This property is required. Integer
start port
endPort This property is required. number
end port
startPort This property is required. number
start port
end_port This property is required. int
end port
start_port This property is required. int
start port
endPort This property is required. Number
end port
startPort This property is required. Number
start port

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecIntraEntityGroupRuleSpec

SecuredGroupAction This property is required. string
List of secured group action.
SecuredGroupCategoryReferences This property is required. List<string>
A specification to whether traffic between intra secured group entities should be allowed or denied.
SecuredGroupAction This property is required. string
List of secured group action.
SecuredGroupCategoryReferences This property is required. []string
A specification to whether traffic between intra secured group entities should be allowed or denied.
securedGroupAction This property is required. String
List of secured group action.
securedGroupCategoryReferences This property is required. List<String>
A specification to whether traffic between intra secured group entities should be allowed or denied.
securedGroupAction This property is required. string
List of secured group action.
securedGroupCategoryReferences This property is required. string[]
A specification to whether traffic between intra secured group entities should be allowed or denied.
secured_group_action This property is required. str
List of secured group action.
secured_group_category_references This property is required. Sequence[str]
A specification to whether traffic between intra secured group entities should be allowed or denied.
securedGroupAction This property is required. String
List of secured group action.
securedGroupCategoryReferences This property is required. List<String>
A specification to whether traffic between intra secured group entities should be allowed or denied.

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpec

Specs This property is required. []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpec
Multi Environment Isolation Rule Spec.
specs This property is required. List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpec>
Multi Environment Isolation Rule Spec.
specs This property is required. GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpec[]
Multi Environment Isolation Rule Spec.
specs This property is required. Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpec]
Multi Environment Isolation Rule Spec.
specs This property is required. List<Property Map>
Multi Environment Isolation Rule Spec.

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpec

allToAllIsolationGroups This property is required. List<Property Map>
all to all isolation group

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroup

IsolationGroups This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroupIsolationGroup>
Denotes the list of secured groups that will be used in All to All mutual isolation.
IsolationGroups This property is required. []GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroupIsolationGroup
Denotes the list of secured groups that will be used in All to All mutual isolation.
isolationGroups This property is required. List<GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroupIsolationGroup>
Denotes the list of secured groups that will be used in All to All mutual isolation.
isolationGroups This property is required. GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroupIsolationGroup[]
Denotes the list of secured groups that will be used in All to All mutual isolation.
isolation_groups This property is required. Sequence[GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroupIsolationGroup]
Denotes the list of secured groups that will be used in All to All mutual isolation.
isolationGroups This property is required. List<Property Map>
Denotes the list of secured groups that will be used in All to All mutual isolation.

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecMultiEnvIsolationRuleSpecSpecAllToAllIsolationGroupIsolationGroup

GroupCategoryReferences This property is required. List<string>
External identifiers of categories belonging to the isolation group.
GroupCategoryReferences This property is required. []string
External identifiers of categories belonging to the isolation group.
groupCategoryReferences This property is required. List<String>
External identifiers of categories belonging to the isolation group.
groupCategoryReferences This property is required. string[]
External identifiers of categories belonging to the isolation group.
group_category_references This property is required. Sequence[str]
External identifiers of categories belonging to the isolation group.
groupCategoryReferences This property is required. List<String>
External identifiers of categories belonging to the isolation group.

GetNetworkSecurityPoliciesV2NetworkPolicyRuleSpecTwoEnvIsolationRuleSpec

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

Package Details

Repository
nutanix pierskarsenbarg/pulumi-nutanix
License
Apache-2.0
Notes
This Pulumi package is based on the nutanix Terraform Provider.