1. Packages
  2. Packages
  3. Nutanix
  4. API Docs
  5. PbrV2
Viewing docs for Nutanix v0.13.0
published on Tuesday, Apr 28, 2026 by Piers Karsenbarg
nutanix logo
Viewing docs for Nutanix v0.13.0
published on Tuesday, Apr 28, 2026 by Piers Karsenbarg

    Create a Routing Policy.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    // create PBR with vpc name with any source or destination or protocol with permit action
    const any_source_destination = new nutanix.PbrV2("any-source-destination", {
        name: "routing_policy_any_source_destination",
        description: "routing policy with any source and destination",
        vpcExtId: "ba250e3e-1db1-4950-917f-a9e2ea35b8e3",
        priority: 11,
        policies: [{
            policyMatches: [{
                sources: [{
                    addressType: "ANY",
                }],
                destinations: [{
                    addressType: "ANY",
                }],
                protocolType: "UDP",
            }],
            policyActions: [{
                actionType: "PERMIT",
            }],
        }],
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    # create PBR with vpc name with any source or destination or protocol with permit action
    any_source_destination = nutanix.PbrV2("any-source-destination",
        name="routing_policy_any_source_destination",
        description="routing policy with any source and destination",
        vpc_ext_id="ba250e3e-1db1-4950-917f-a9e2ea35b8e3",
        priority=11,
        policies=[{
            "policy_matches": [{
                "sources": [{
                    "address_type": "ANY",
                }],
                "destinations": [{
                    "address_type": "ANY",
                }],
                "protocol_type": "UDP",
            }],
            "policy_actions": [{
                "action_type": "PERMIT",
            }],
        }])
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// create PBR with vpc name with any source or destination or protocol with permit action
    		_, err := nutanix.NewPbrV2(ctx, "any-source-destination", &nutanix.PbrV2Args{
    			Name:        pulumi.String("routing_policy_any_source_destination"),
    			Description: pulumi.String("routing policy with any source and destination"),
    			VpcExtId:    pulumi.String("ba250e3e-1db1-4950-917f-a9e2ea35b8e3"),
    			Priority:    pulumi.Int(11),
    			Policies: nutanix.PbrV2PolicyArray{
    				&nutanix.PbrV2PolicyArgs{
    					PolicyMatches: nutanix.PbrV2PolicyPolicyMatchArray{
    						&nutanix.PbrV2PolicyPolicyMatchArgs{
    							Sources: nutanix.PbrV2PolicyPolicyMatchSourceArray{
    								&nutanix.PbrV2PolicyPolicyMatchSourceArgs{
    									AddressType: pulumi.String("ANY"),
    								},
    							},
    							Destinations: nutanix.PbrV2PolicyPolicyMatchDestinationArray{
    								&nutanix.PbrV2PolicyPolicyMatchDestinationArgs{
    									AddressType: pulumi.String("ANY"),
    								},
    							},
    							ProtocolType: pulumi.String("UDP"),
    						},
    					},
    					PolicyActions: nutanix.PbrV2PolicyPolicyActionArray{
    						&nutanix.PbrV2PolicyPolicyActionArgs{
    							ActionType: pulumi.String("PERMIT"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        // create PBR with vpc name with any source or destination or protocol with permit action
        var any_source_destination = new Nutanix.Index.PbrV2("any-source-destination", new()
        {
            Name = "routing_policy_any_source_destination",
            Description = "routing policy with any source and destination",
            VpcExtId = "ba250e3e-1db1-4950-917f-a9e2ea35b8e3",
            Priority = 11,
            Policies = new[]
            {
                new Nutanix.Inputs.PbrV2PolicyArgs
                {
                    PolicyMatches = new[]
                    {
                        new Nutanix.Inputs.PbrV2PolicyPolicyMatchArgs
                        {
                            Sources = new[]
                            {
                                new Nutanix.Inputs.PbrV2PolicyPolicyMatchSourceArgs
                                {
                                    AddressType = "ANY",
                                },
                            },
                            Destinations = new[]
                            {
                                new Nutanix.Inputs.PbrV2PolicyPolicyMatchDestinationArgs
                                {
                                    AddressType = "ANY",
                                },
                            },
                            ProtocolType = "UDP",
                        },
                    },
                    PolicyActions = new[]
                    {
                        new Nutanix.Inputs.PbrV2PolicyPolicyActionArgs
                        {
                            ActionType = "PERMIT",
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.PbrV2;
    import com.pulumi.nutanix.PbrV2Args;
    import com.pulumi.nutanix.inputs.PbrV2PolicyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // create PBR with vpc name with any source or destination or protocol with permit action
            var any_source_destination = new PbrV2("any-source-destination", PbrV2Args.builder()
                .name("routing_policy_any_source_destination")
                .description("routing policy with any source and destination")
                .vpcExtId("ba250e3e-1db1-4950-917f-a9e2ea35b8e3")
                .priority(11)
                .policies(PbrV2PolicyArgs.builder()
                    .policyMatches(PbrV2PolicyPolicyMatchArgs.builder()
                        .sources(PbrV2PolicyPolicyMatchSourceArgs.builder()
                            .addressType("ANY")
                            .build())
                        .destinations(PbrV2PolicyPolicyMatchDestinationArgs.builder()
                            .addressType("ANY")
                            .build())
                        .protocolType("UDP")
                        .build())
                    .policyActions(PbrV2PolicyPolicyActionArgs.builder()
                        .actionType("PERMIT")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      # create PBR with vpc name with any source or destination or protocol with permit action
      any-source-destination:
        type: nutanix:PbrV2
        properties:
          name: routing_policy_any_source_destination
          description: routing policy with any source and destination
          vpcExtId: ba250e3e-1db1-4950-917f-a9e2ea35b8e3
          priority: 11
          policies:
            - policyMatches:
                - sources:
                    - addressType: ANY
                  destinations:
                    - addressType: ANY
                  protocolType: UDP
              policyActions:
                - actionType: PERMIT
    

    Create PbrV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PbrV2(name: string, args: PbrV2Args, opts?: CustomResourceOptions);
    @overload
    def PbrV2(resource_name: str,
              args: PbrV2Args,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def PbrV2(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              policies: Optional[Sequence[PbrV2PolicyArgs]] = None,
              priority: Optional[int] = None,
              vpc_ext_id: Optional[str] = None,
              description: Optional[str] = None,
              ext_id: Optional[str] = None,
              name: Optional[str] = None)
    func NewPbrV2(ctx *Context, name string, args PbrV2Args, opts ...ResourceOption) (*PbrV2, error)
    public PbrV2(string name, PbrV2Args args, CustomResourceOptions? opts = null)
    public PbrV2(String name, PbrV2Args args)
    public PbrV2(String name, PbrV2Args args, CustomResourceOptions options)
    
    type: nutanix:PbrV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PbrV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PbrV2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PbrV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PbrV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PbrV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var pbrV2Resource = new Nutanix.PbrV2("pbrV2Resource", new()
    {
        Policies = new[]
        {
            new Nutanix.Inputs.PbrV2PolicyArgs
            {
                PolicyActions = new[]
                {
                    new Nutanix.Inputs.PbrV2PolicyPolicyActionArgs
                    {
                        ActionType = "string",
                        NexthopIpAddresses = new[]
                        {
                            new Nutanix.Inputs.PbrV2PolicyPolicyActionNexthopIpAddressArgs
                            {
                                Ipv4s = new[]
                                {
                                    new Nutanix.Inputs.PbrV2PolicyPolicyActionNexthopIpAddressIpv4Args
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                                Ipv6s = new[]
                                {
                                    new Nutanix.Inputs.PbrV2PolicyPolicyActionNexthopIpAddressIpv6Args
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                            },
                        },
                        RerouteParams = new[]
                        {
                            new Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamArgs
                            {
                                EgressServiceIps = new[]
                                {
                                    new Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamEgressServiceIpArgs
                                    {
                                        Ipv4s = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv4Args
                                            {
                                                PrefixLength = 0,
                                                Value = "string",
                                            },
                                        },
                                        Ipv6s = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv6Args
                                            {
                                                PrefixLength = 0,
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                                IngressServiceIps = new[]
                                {
                                    new Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamIngressServiceIpArgs
                                    {
                                        Ipv4s = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv4Args
                                            {
                                                PrefixLength = 0,
                                                Value = "string",
                                            },
                                        },
                                        Ipv6s = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv6Args
                                            {
                                                PrefixLength = 0,
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                                RerouteFallbackAction = "string",
                                ServiceIps = new[]
                                {
                                    new Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamServiceIpArgs
                                    {
                                        Ipv4s = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamServiceIpIpv4Args
                                            {
                                                PrefixLength = 0,
                                                Value = "string",
                                            },
                                        },
                                        Ipv6s = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamServiceIpIpv6Args
                                            {
                                                PrefixLength = 0,
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                PolicyMatches = new[]
                {
                    new Nutanix.Inputs.PbrV2PolicyPolicyMatchArgs
                    {
                        Destinations = new[]
                        {
                            new Nutanix.Inputs.PbrV2PolicyPolicyMatchDestinationArgs
                            {
                                AddressType = "string",
                                SubnetPrefixes = new[]
                                {
                                    new Nutanix.Inputs.PbrV2PolicyPolicyMatchDestinationSubnetPrefixArgs
                                    {
                                        Ipv4s = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4Args
                                            {
                                                Ips = new[]
                                                {
                                                    new Nutanix.Inputs.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4IpArgs
                                                    {
                                                        PrefixLength = 0,
                                                        Value = "string",
                                                    },
                                                },
                                                PrefixLength = 0,
                                            },
                                        },
                                        Ipv6s = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6Args
                                            {
                                                Ips = new[]
                                                {
                                                    new Nutanix.Inputs.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6IpArgs
                                                    {
                                                        PrefixLength = 0,
                                                        Value = "string",
                                                    },
                                                },
                                                PrefixLength = 0,
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        ProtocolType = "string",
                        Sources = new[]
                        {
                            new Nutanix.Inputs.PbrV2PolicyPolicyMatchSourceArgs
                            {
                                AddressType = "string",
                                SubnetPrefixes = new[]
                                {
                                    new Nutanix.Inputs.PbrV2PolicyPolicyMatchSourceSubnetPrefixArgs
                                    {
                                        Ipv4s = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4Args
                                            {
                                                Ips = new[]
                                                {
                                                    new Nutanix.Inputs.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4IpArgs
                                                    {
                                                        PrefixLength = 0,
                                                        Value = "string",
                                                    },
                                                },
                                                PrefixLength = 0,
                                            },
                                        },
                                        Ipv6s = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6Args
                                            {
                                                Ips = new[]
                                                {
                                                    new Nutanix.Inputs.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6IpArgs
                                                    {
                                                        PrefixLength = 0,
                                                        Value = "string",
                                                    },
                                                },
                                                PrefixLength = 0,
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        ProtocolParameters = new[]
                        {
                            new Nutanix.Inputs.PbrV2PolicyPolicyMatchProtocolParameterArgs
                            {
                                IcmpObjects = new[]
                                {
                                    new Nutanix.Inputs.PbrV2PolicyPolicyMatchProtocolParameterIcmpObjectArgs
                                    {
                                        IcmpCode = 0,
                                        IcmpType = 0,
                                    },
                                },
                                LayerFourProtocolObjects = new[]
                                {
                                    new Nutanix.Inputs.PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectArgs
                                    {
                                        DestinationPortRanges = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectDestinationPortRangeArgs
                                            {
                                                EndPort = 0,
                                                StartPort = 0,
                                            },
                                        },
                                        SourcePortRanges = new[]
                                        {
                                            new Nutanix.Inputs.PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectSourcePortRangeArgs
                                            {
                                                EndPort = 0,
                                                StartPort = 0,
                                            },
                                        },
                                    },
                                },
                                ProtocolNumberObjects = new[]
                                {
                                    new Nutanix.Inputs.PbrV2PolicyPolicyMatchProtocolParameterProtocolNumberObjectArgs
                                    {
                                        ProtocolNumber = 0,
                                    },
                                },
                            },
                        },
                    },
                },
                IsBidirectional = false,
            },
        },
        Priority = 0,
        VpcExtId = "string",
        Description = "string",
        ExtId = "string",
        Name = "string",
    });
    
    example, err := nutanix.NewPbrV2(ctx, "pbrV2Resource", &nutanix.PbrV2Args{
    	Policies: nutanix.PbrV2PolicyArray{
    		&nutanix.PbrV2PolicyArgs{
    			PolicyActions: nutanix.PbrV2PolicyPolicyActionArray{
    				&nutanix.PbrV2PolicyPolicyActionArgs{
    					ActionType: pulumi.String("string"),
    					NexthopIpAddresses: nutanix.PbrV2PolicyPolicyActionNexthopIpAddressArray{
    						&nutanix.PbrV2PolicyPolicyActionNexthopIpAddressArgs{
    							Ipv4s: nutanix.PbrV2PolicyPolicyActionNexthopIpAddressIpv4Array{
    								&nutanix.PbrV2PolicyPolicyActionNexthopIpAddressIpv4Args{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    							Ipv6s: nutanix.PbrV2PolicyPolicyActionNexthopIpAddressIpv6Array{
    								&nutanix.PbrV2PolicyPolicyActionNexthopIpAddressIpv6Args{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    						},
    					},
    					RerouteParams: nutanix.PbrV2PolicyPolicyActionRerouteParamArray{
    						&nutanix.PbrV2PolicyPolicyActionRerouteParamArgs{
    							EgressServiceIps: nutanix.PbrV2PolicyPolicyActionRerouteParamEgressServiceIpArray{
    								&nutanix.PbrV2PolicyPolicyActionRerouteParamEgressServiceIpArgs{
    									Ipv4s: nutanix.PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv4Array{
    										&nutanix.PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv4Args{
    											PrefixLength: pulumi.Int(0),
    											Value:        pulumi.String("string"),
    										},
    									},
    									Ipv6s: nutanix.PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv6Array{
    										&nutanix.PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv6Args{
    											PrefixLength: pulumi.Int(0),
    											Value:        pulumi.String("string"),
    										},
    									},
    								},
    							},
    							IngressServiceIps: nutanix.PbrV2PolicyPolicyActionRerouteParamIngressServiceIpArray{
    								&nutanix.PbrV2PolicyPolicyActionRerouteParamIngressServiceIpArgs{
    									Ipv4s: nutanix.PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv4Array{
    										&nutanix.PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv4Args{
    											PrefixLength: pulumi.Int(0),
    											Value:        pulumi.String("string"),
    										},
    									},
    									Ipv6s: nutanix.PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv6Array{
    										&nutanix.PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv6Args{
    											PrefixLength: pulumi.Int(0),
    											Value:        pulumi.String("string"),
    										},
    									},
    								},
    							},
    							RerouteFallbackAction: pulumi.String("string"),
    							ServiceIps: nutanix.PbrV2PolicyPolicyActionRerouteParamServiceIpArray{
    								&nutanix.PbrV2PolicyPolicyActionRerouteParamServiceIpArgs{
    									Ipv4s: nutanix.PbrV2PolicyPolicyActionRerouteParamServiceIpIpv4Array{
    										&nutanix.PbrV2PolicyPolicyActionRerouteParamServiceIpIpv4Args{
    											PrefixLength: pulumi.Int(0),
    											Value:        pulumi.String("string"),
    										},
    									},
    									Ipv6s: nutanix.PbrV2PolicyPolicyActionRerouteParamServiceIpIpv6Array{
    										&nutanix.PbrV2PolicyPolicyActionRerouteParamServiceIpIpv6Args{
    											PrefixLength: pulumi.Int(0),
    											Value:        pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			PolicyMatches: nutanix.PbrV2PolicyPolicyMatchArray{
    				&nutanix.PbrV2PolicyPolicyMatchArgs{
    					Destinations: nutanix.PbrV2PolicyPolicyMatchDestinationArray{
    						&nutanix.PbrV2PolicyPolicyMatchDestinationArgs{
    							AddressType: pulumi.String("string"),
    							SubnetPrefixes: nutanix.PbrV2PolicyPolicyMatchDestinationSubnetPrefixArray{
    								&nutanix.PbrV2PolicyPolicyMatchDestinationSubnetPrefixArgs{
    									Ipv4s: nutanix.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4Array{
    										&nutanix.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4Args{
    											Ips: nutanix.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4IpArray{
    												&nutanix.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4IpArgs{
    													PrefixLength: pulumi.Int(0),
    													Value:        pulumi.String("string"),
    												},
    											},
    											PrefixLength: pulumi.Int(0),
    										},
    									},
    									Ipv6s: nutanix.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6Array{
    										&nutanix.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6Args{
    											Ips: nutanix.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6IpArray{
    												&nutanix.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6IpArgs{
    													PrefixLength: pulumi.Int(0),
    													Value:        pulumi.String("string"),
    												},
    											},
    											PrefixLength: pulumi.Int(0),
    										},
    									},
    								},
    							},
    						},
    					},
    					ProtocolType: pulumi.String("string"),
    					Sources: nutanix.PbrV2PolicyPolicyMatchSourceArray{
    						&nutanix.PbrV2PolicyPolicyMatchSourceArgs{
    							AddressType: pulumi.String("string"),
    							SubnetPrefixes: nutanix.PbrV2PolicyPolicyMatchSourceSubnetPrefixArray{
    								&nutanix.PbrV2PolicyPolicyMatchSourceSubnetPrefixArgs{
    									Ipv4s: nutanix.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4Array{
    										&nutanix.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4Args{
    											Ips: nutanix.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4IpArray{
    												&nutanix.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4IpArgs{
    													PrefixLength: pulumi.Int(0),
    													Value:        pulumi.String("string"),
    												},
    											},
    											PrefixLength: pulumi.Int(0),
    										},
    									},
    									Ipv6s: nutanix.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6Array{
    										&nutanix.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6Args{
    											Ips: nutanix.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6IpArray{
    												&nutanix.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6IpArgs{
    													PrefixLength: pulumi.Int(0),
    													Value:        pulumi.String("string"),
    												},
    											},
    											PrefixLength: pulumi.Int(0),
    										},
    									},
    								},
    							},
    						},
    					},
    					ProtocolParameters: nutanix.PbrV2PolicyPolicyMatchProtocolParameterArray{
    						&nutanix.PbrV2PolicyPolicyMatchProtocolParameterArgs{
    							IcmpObjects: nutanix.PbrV2PolicyPolicyMatchProtocolParameterIcmpObjectArray{
    								&nutanix.PbrV2PolicyPolicyMatchProtocolParameterIcmpObjectArgs{
    									IcmpCode: pulumi.Int(0),
    									IcmpType: pulumi.Int(0),
    								},
    							},
    							LayerFourProtocolObjects: nutanix.PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectArray{
    								&nutanix.PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectArgs{
    									DestinationPortRanges: nutanix.PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectDestinationPortRangeArray{
    										&nutanix.PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectDestinationPortRangeArgs{
    											EndPort:   pulumi.Int(0),
    											StartPort: pulumi.Int(0),
    										},
    									},
    									SourcePortRanges: nutanix.PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectSourcePortRangeArray{
    										&nutanix.PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectSourcePortRangeArgs{
    											EndPort:   pulumi.Int(0),
    											StartPort: pulumi.Int(0),
    										},
    									},
    								},
    							},
    							ProtocolNumberObjects: nutanix.PbrV2PolicyPolicyMatchProtocolParameterProtocolNumberObjectArray{
    								&nutanix.PbrV2PolicyPolicyMatchProtocolParameterProtocolNumberObjectArgs{
    									ProtocolNumber: pulumi.Int(0),
    								},
    							},
    						},
    					},
    				},
    			},
    			IsBidirectional: pulumi.Bool(false),
    		},
    	},
    	Priority:    pulumi.Int(0),
    	VpcExtId:    pulumi.String("string"),
    	Description: pulumi.String("string"),
    	ExtId:       pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    var pbrV2Resource = new PbrV2("pbrV2Resource", PbrV2Args.builder()
        .policies(PbrV2PolicyArgs.builder()
            .policyActions(PbrV2PolicyPolicyActionArgs.builder()
                .actionType("string")
                .nexthopIpAddresses(PbrV2PolicyPolicyActionNexthopIpAddressArgs.builder()
                    .ipv4s(PbrV2PolicyPolicyActionNexthopIpAddressIpv4Args.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .ipv6s(PbrV2PolicyPolicyActionNexthopIpAddressIpv6Args.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .build())
                .rerouteParams(PbrV2PolicyPolicyActionRerouteParamArgs.builder()
                    .egressServiceIps(PbrV2PolicyPolicyActionRerouteParamEgressServiceIpArgs.builder()
                        .ipv4s(PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv4Args.builder()
                            .prefixLength(0)
                            .value("string")
                            .build())
                        .ipv6s(PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv6Args.builder()
                            .prefixLength(0)
                            .value("string")
                            .build())
                        .build())
                    .ingressServiceIps(PbrV2PolicyPolicyActionRerouteParamIngressServiceIpArgs.builder()
                        .ipv4s(PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv4Args.builder()
                            .prefixLength(0)
                            .value("string")
                            .build())
                        .ipv6s(PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv6Args.builder()
                            .prefixLength(0)
                            .value("string")
                            .build())
                        .build())
                    .rerouteFallbackAction("string")
                    .serviceIps(PbrV2PolicyPolicyActionRerouteParamServiceIpArgs.builder()
                        .ipv4s(PbrV2PolicyPolicyActionRerouteParamServiceIpIpv4Args.builder()
                            .prefixLength(0)
                            .value("string")
                            .build())
                        .ipv6s(PbrV2PolicyPolicyActionRerouteParamServiceIpIpv6Args.builder()
                            .prefixLength(0)
                            .value("string")
                            .build())
                        .build())
                    .build())
                .build())
            .policyMatches(PbrV2PolicyPolicyMatchArgs.builder()
                .destinations(PbrV2PolicyPolicyMatchDestinationArgs.builder()
                    .addressType("string")
                    .subnetPrefixes(PbrV2PolicyPolicyMatchDestinationSubnetPrefixArgs.builder()
                        .ipv4s(PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4Args.builder()
                            .ips(PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4IpArgs.builder()
                                .prefixLength(0)
                                .value("string")
                                .build())
                            .prefixLength(0)
                            .build())
                        .ipv6s(PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6Args.builder()
                            .ips(PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6IpArgs.builder()
                                .prefixLength(0)
                                .value("string")
                                .build())
                            .prefixLength(0)
                            .build())
                        .build())
                    .build())
                .protocolType("string")
                .sources(PbrV2PolicyPolicyMatchSourceArgs.builder()
                    .addressType("string")
                    .subnetPrefixes(PbrV2PolicyPolicyMatchSourceSubnetPrefixArgs.builder()
                        .ipv4s(PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4Args.builder()
                            .ips(PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4IpArgs.builder()
                                .prefixLength(0)
                                .value("string")
                                .build())
                            .prefixLength(0)
                            .build())
                        .ipv6s(PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6Args.builder()
                            .ips(PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6IpArgs.builder()
                                .prefixLength(0)
                                .value("string")
                                .build())
                            .prefixLength(0)
                            .build())
                        .build())
                    .build())
                .protocolParameters(PbrV2PolicyPolicyMatchProtocolParameterArgs.builder()
                    .icmpObjects(PbrV2PolicyPolicyMatchProtocolParameterIcmpObjectArgs.builder()
                        .icmpCode(0)
                        .icmpType(0)
                        .build())
                    .layerFourProtocolObjects(PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectArgs.builder()
                        .destinationPortRanges(PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectDestinationPortRangeArgs.builder()
                            .endPort(0)
                            .startPort(0)
                            .build())
                        .sourcePortRanges(PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectSourcePortRangeArgs.builder()
                            .endPort(0)
                            .startPort(0)
                            .build())
                        .build())
                    .protocolNumberObjects(PbrV2PolicyPolicyMatchProtocolParameterProtocolNumberObjectArgs.builder()
                        .protocolNumber(0)
                        .build())
                    .build())
                .build())
            .isBidirectional(false)
            .build())
        .priority(0)
        .vpcExtId("string")
        .description("string")
        .extId("string")
        .name("string")
        .build());
    
    pbr_v2_resource = nutanix.PbrV2("pbrV2Resource",
        policies=[{
            "policy_actions": [{
                "action_type": "string",
                "nexthop_ip_addresses": [{
                    "ipv4s": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                    "ipv6s": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                }],
                "reroute_params": [{
                    "egress_service_ips": [{
                        "ipv4s": [{
                            "prefix_length": 0,
                            "value": "string",
                        }],
                        "ipv6s": [{
                            "prefix_length": 0,
                            "value": "string",
                        }],
                    }],
                    "ingress_service_ips": [{
                        "ipv4s": [{
                            "prefix_length": 0,
                            "value": "string",
                        }],
                        "ipv6s": [{
                            "prefix_length": 0,
                            "value": "string",
                        }],
                    }],
                    "reroute_fallback_action": "string",
                    "service_ips": [{
                        "ipv4s": [{
                            "prefix_length": 0,
                            "value": "string",
                        }],
                        "ipv6s": [{
                            "prefix_length": 0,
                            "value": "string",
                        }],
                    }],
                }],
            }],
            "policy_matches": [{
                "destinations": [{
                    "address_type": "string",
                    "subnet_prefixes": [{
                        "ipv4s": [{
                            "ips": [{
                                "prefix_length": 0,
                                "value": "string",
                            }],
                            "prefix_length": 0,
                        }],
                        "ipv6s": [{
                            "ips": [{
                                "prefix_length": 0,
                                "value": "string",
                            }],
                            "prefix_length": 0,
                        }],
                    }],
                }],
                "protocol_type": "string",
                "sources": [{
                    "address_type": "string",
                    "subnet_prefixes": [{
                        "ipv4s": [{
                            "ips": [{
                                "prefix_length": 0,
                                "value": "string",
                            }],
                            "prefix_length": 0,
                        }],
                        "ipv6s": [{
                            "ips": [{
                                "prefix_length": 0,
                                "value": "string",
                            }],
                            "prefix_length": 0,
                        }],
                    }],
                }],
                "protocol_parameters": [{
                    "icmp_objects": [{
                        "icmp_code": 0,
                        "icmp_type": 0,
                    }],
                    "layer_four_protocol_objects": [{
                        "destination_port_ranges": [{
                            "end_port": 0,
                            "start_port": 0,
                        }],
                        "source_port_ranges": [{
                            "end_port": 0,
                            "start_port": 0,
                        }],
                    }],
                    "protocol_number_objects": [{
                        "protocol_number": 0,
                    }],
                }],
            }],
            "is_bidirectional": False,
        }],
        priority=0,
        vpc_ext_id="string",
        description="string",
        ext_id="string",
        name="string")
    
    const pbrV2Resource = new nutanix.PbrV2("pbrV2Resource", {
        policies: [{
            policyActions: [{
                actionType: "string",
                nexthopIpAddresses: [{
                    ipv4s: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                    ipv6s: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                }],
                rerouteParams: [{
                    egressServiceIps: [{
                        ipv4s: [{
                            prefixLength: 0,
                            value: "string",
                        }],
                        ipv6s: [{
                            prefixLength: 0,
                            value: "string",
                        }],
                    }],
                    ingressServiceIps: [{
                        ipv4s: [{
                            prefixLength: 0,
                            value: "string",
                        }],
                        ipv6s: [{
                            prefixLength: 0,
                            value: "string",
                        }],
                    }],
                    rerouteFallbackAction: "string",
                    serviceIps: [{
                        ipv4s: [{
                            prefixLength: 0,
                            value: "string",
                        }],
                        ipv6s: [{
                            prefixLength: 0,
                            value: "string",
                        }],
                    }],
                }],
            }],
            policyMatches: [{
                destinations: [{
                    addressType: "string",
                    subnetPrefixes: [{
                        ipv4s: [{
                            ips: [{
                                prefixLength: 0,
                                value: "string",
                            }],
                            prefixLength: 0,
                        }],
                        ipv6s: [{
                            ips: [{
                                prefixLength: 0,
                                value: "string",
                            }],
                            prefixLength: 0,
                        }],
                    }],
                }],
                protocolType: "string",
                sources: [{
                    addressType: "string",
                    subnetPrefixes: [{
                        ipv4s: [{
                            ips: [{
                                prefixLength: 0,
                                value: "string",
                            }],
                            prefixLength: 0,
                        }],
                        ipv6s: [{
                            ips: [{
                                prefixLength: 0,
                                value: "string",
                            }],
                            prefixLength: 0,
                        }],
                    }],
                }],
                protocolParameters: [{
                    icmpObjects: [{
                        icmpCode: 0,
                        icmpType: 0,
                    }],
                    layerFourProtocolObjects: [{
                        destinationPortRanges: [{
                            endPort: 0,
                            startPort: 0,
                        }],
                        sourcePortRanges: [{
                            endPort: 0,
                            startPort: 0,
                        }],
                    }],
                    protocolNumberObjects: [{
                        protocolNumber: 0,
                    }],
                }],
            }],
            isBidirectional: false,
        }],
        priority: 0,
        vpcExtId: "string",
        description: "string",
        extId: "string",
        name: "string",
    });
    
    type: nutanix:PbrV2
    properties:
        description: string
        extId: string
        name: string
        policies:
            - isBidirectional: false
              policyActions:
                - actionType: string
                  nexthopIpAddresses:
                    - ipv4s:
                        - prefixLength: 0
                          value: string
                      ipv6s:
                        - prefixLength: 0
                          value: string
                  rerouteParams:
                    - egressServiceIps:
                        - ipv4s:
                            - prefixLength: 0
                              value: string
                          ipv6s:
                            - prefixLength: 0
                              value: string
                      ingressServiceIps:
                        - ipv4s:
                            - prefixLength: 0
                              value: string
                          ipv6s:
                            - prefixLength: 0
                              value: string
                      rerouteFallbackAction: string
                      serviceIps:
                        - ipv4s:
                            - prefixLength: 0
                              value: string
                          ipv6s:
                            - prefixLength: 0
                              value: string
              policyMatches:
                - destinations:
                    - addressType: string
                      subnetPrefixes:
                        - ipv4s:
                            - ips:
                                - prefixLength: 0
                                  value: string
                              prefixLength: 0
                          ipv6s:
                            - ips:
                                - prefixLength: 0
                                  value: string
                              prefixLength: 0
                  protocolParameters:
                    - icmpObjects:
                        - icmpCode: 0
                          icmpType: 0
                      layerFourProtocolObjects:
                        - destinationPortRanges:
                            - endPort: 0
                              startPort: 0
                          sourcePortRanges:
                            - endPort: 0
                              startPort: 0
                      protocolNumberObjects:
                        - protocolNumber: 0
                  protocolType: string
                  sources:
                    - addressType: string
                      subnetPrefixes:
                        - ipv4s:
                            - ips:
                                - prefixLength: 0
                                  value: string
                              prefixLength: 0
                          ipv6s:
                            - ips:
                                - prefixLength: 0
                                  value: string
                              prefixLength: 0
        priority: 0
        vpcExtId: string
    

    PbrV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PbrV2 resource accepts the following input properties:

    Policies List<PiersKarsenbarg.Nutanix.Inputs.PbrV2Policy>
    Routing Policies.
    Priority int
    Priority of the routing policy.
    VpcExtId string
    ExtId of the VPC extId to which the routing policy belongs.
    Description string
    A description of the routing policy.
    ExtId string
    A globally unique identifier of an instance that is suitable for external consumption.
    Name string
    Name of the routing policy.
    Policies []PbrV2PolicyArgs
    Routing Policies.
    Priority int
    Priority of the routing policy.
    VpcExtId string
    ExtId of the VPC extId to which the routing policy belongs.
    Description string
    A description of the routing policy.
    ExtId string
    A globally unique identifier of an instance that is suitable for external consumption.
    Name string
    Name of the routing policy.
    policies List<PbrV2Policy>
    Routing Policies.
    priority Integer
    Priority of the routing policy.
    vpcExtId String
    ExtId of the VPC extId to which the routing policy belongs.
    description String
    A description of the routing policy.
    extId String
    A globally unique identifier of an instance that is suitable for external consumption.
    name String
    Name of the routing policy.
    policies PbrV2Policy[]
    Routing Policies.
    priority number
    Priority of the routing policy.
    vpcExtId string
    ExtId of the VPC extId to which the routing policy belongs.
    description string
    A description of the routing policy.
    extId string
    A globally unique identifier of an instance that is suitable for external consumption.
    name string
    Name of the routing policy.
    policies Sequence[PbrV2PolicyArgs]
    Routing Policies.
    priority int
    Priority of the routing policy.
    vpc_ext_id str
    ExtId of the VPC extId to which the routing policy belongs.
    description str
    A description of the routing policy.
    ext_id str
    A globally unique identifier of an instance that is suitable for external consumption.
    name str
    Name of the routing policy.
    policies List<Property Map>
    Routing Policies.
    priority Number
    Priority of the routing policy.
    vpcExtId String
    ExtId of the VPC extId to which the routing policy belongs.
    description String
    A description of the routing policy.
    extId String
    A globally unique identifier of an instance that is suitable for external consumption.
    name String
    Name of the routing policy.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PbrV2 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Links List<PiersKarsenbarg.Nutanix.Outputs.PbrV2Link>
    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.
    Metadatas List<PiersKarsenbarg.Nutanix.Outputs.PbrV2Metadata>
    Metadata associated with this resource.
    TenantId string
    A globally unique identifier that represents the tenant that owns this entity
    Vpcs List<PiersKarsenbarg.Nutanix.Outputs.PbrV2Vpc>
    VPC name for projections
    Id string
    The provider-assigned unique ID for this managed resource.
    Links []PbrV2Link
    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.
    Metadatas []PbrV2Metadata
    Metadata associated with this resource.
    TenantId string
    A globally unique identifier that represents the tenant that owns this entity
    Vpcs []PbrV2Vpc
    VPC name for projections
    id String
    The provider-assigned unique ID for this managed resource.
    links List<PbrV2Link>
    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.
    metadatas List<PbrV2Metadata>
    Metadata associated with this resource.
    tenantId String
    A globally unique identifier that represents the tenant that owns this entity
    vpcs List<PbrV2Vpc>
    VPC name for projections
    id string
    The provider-assigned unique ID for this managed resource.
    links PbrV2Link[]
    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.
    metadatas PbrV2Metadata[]
    Metadata associated with this resource.
    tenantId string
    A globally unique identifier that represents the tenant that owns this entity
    vpcs PbrV2Vpc[]
    VPC name for projections
    id str
    The provider-assigned unique ID for this managed resource.
    links Sequence[PbrV2Link]
    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.
    metadatas Sequence[PbrV2Metadata]
    Metadata associated with this resource.
    tenant_id str
    A globally unique identifier that represents the tenant that owns this entity
    vpcs Sequence[PbrV2Vpc]
    VPC name for projections
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    metadatas List<Property Map>
    Metadata associated with this resource.
    tenantId String
    A globally unique identifier that represents the tenant that owns this entity
    vpcs List<Property Map>
    VPC name for projections

    Look up Existing PbrV2 Resource

    Get an existing PbrV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PbrV2State, opts?: CustomResourceOptions): PbrV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            ext_id: Optional[str] = None,
            links: Optional[Sequence[PbrV2LinkArgs]] = None,
            metadatas: Optional[Sequence[PbrV2MetadataArgs]] = None,
            name: Optional[str] = None,
            policies: Optional[Sequence[PbrV2PolicyArgs]] = None,
            priority: Optional[int] = None,
            tenant_id: Optional[str] = None,
            vpc_ext_id: Optional[str] = None,
            vpcs: Optional[Sequence[PbrV2VpcArgs]] = None) -> PbrV2
    func GetPbrV2(ctx *Context, name string, id IDInput, state *PbrV2State, opts ...ResourceOption) (*PbrV2, error)
    public static PbrV2 Get(string name, Input<string> id, PbrV2State? state, CustomResourceOptions? opts = null)
    public static PbrV2 get(String name, Output<String> id, PbrV2State state, CustomResourceOptions options)
    resources:  _:    type: nutanix:PbrV2    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    A description of the routing policy.
    ExtId string
    A globally unique identifier of an instance that is suitable for external consumption.
    Links List<PiersKarsenbarg.Nutanix.Inputs.PbrV2Link>
    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.
    Metadatas List<PiersKarsenbarg.Nutanix.Inputs.PbrV2Metadata>
    Metadata associated with this resource.
    Name string
    Name of the routing policy.
    Policies List<PiersKarsenbarg.Nutanix.Inputs.PbrV2Policy>
    Routing Policies.
    Priority int
    Priority of the routing policy.
    TenantId string
    A globally unique identifier that represents the tenant that owns this entity
    VpcExtId string
    ExtId of the VPC extId to which the routing policy belongs.
    Vpcs List<PiersKarsenbarg.Nutanix.Inputs.PbrV2Vpc>
    VPC name for projections
    Description string
    A description of the routing policy.
    ExtId string
    A globally unique identifier of an instance that is suitable for external consumption.
    Links []PbrV2LinkArgs
    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.
    Metadatas []PbrV2MetadataArgs
    Metadata associated with this resource.
    Name string
    Name of the routing policy.
    Policies []PbrV2PolicyArgs
    Routing Policies.
    Priority int
    Priority of the routing policy.
    TenantId string
    A globally unique identifier that represents the tenant that owns this entity
    VpcExtId string
    ExtId of the VPC extId to which the routing policy belongs.
    Vpcs []PbrV2VpcArgs
    VPC name for projections
    description String
    A description of the routing policy.
    extId String
    A globally unique identifier of an instance that is suitable for external consumption.
    links List<PbrV2Link>
    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.
    metadatas List<PbrV2Metadata>
    Metadata associated with this resource.
    name String
    Name of the routing policy.
    policies List<PbrV2Policy>
    Routing Policies.
    priority Integer
    Priority of the routing policy.
    tenantId String
    A globally unique identifier that represents the tenant that owns this entity
    vpcExtId String
    ExtId of the VPC extId to which the routing policy belongs.
    vpcs List<PbrV2Vpc>
    VPC name for projections
    description string
    A description of the routing policy.
    extId string
    A globally unique identifier of an instance that is suitable for external consumption.
    links PbrV2Link[]
    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.
    metadatas PbrV2Metadata[]
    Metadata associated with this resource.
    name string
    Name of the routing policy.
    policies PbrV2Policy[]
    Routing Policies.
    priority number
    Priority of the routing policy.
    tenantId string
    A globally unique identifier that represents the tenant that owns this entity
    vpcExtId string
    ExtId of the VPC extId to which the routing policy belongs.
    vpcs PbrV2Vpc[]
    VPC name for projections
    description str
    A description of the routing policy.
    ext_id str
    A globally unique identifier of an instance that is suitable for external consumption.
    links Sequence[PbrV2LinkArgs]
    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.
    metadatas Sequence[PbrV2MetadataArgs]
    Metadata associated with this resource.
    name str
    Name of the routing policy.
    policies Sequence[PbrV2PolicyArgs]
    Routing Policies.
    priority int
    Priority of the routing policy.
    tenant_id str
    A globally unique identifier that represents the tenant that owns this entity
    vpc_ext_id str
    ExtId of the VPC extId to which the routing policy belongs.
    vpcs Sequence[PbrV2VpcArgs]
    VPC name for projections
    description String
    A description of the routing policy.
    extId String
    A globally unique identifier of an instance that is suitable for external consumption.
    links List<Property Map>
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    metadatas List<Property Map>
    Metadata associated with this resource.
    name String
    Name of the routing policy.
    policies List<Property Map>
    Routing Policies.
    priority Number
    Priority of the routing policy.
    tenantId String
    A globally unique identifier that represents the tenant that owns this entity
    vpcExtId String
    ExtId of the VPC extId to which the routing policy belongs.
    vpcs List<Property Map>
    VPC name for projections

    Supporting Types

    Href string
    Rel string
    Href string
    Rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    PbrV2Metadata, PbrV2MetadataArgs

    CategoryIds List<ImmutableArray<object>>
    OwnerReferenceId string
    OwnerUserName string
    ProjectName string
    ProjectReferenceId string
    categoryIds List<List<Object>>
    ownerReferenceId String
    ownerUserName String
    projectName String
    projectReferenceId String

    PbrV2Policy, PbrV2PolicyArgs

    PolicyActions List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyAction>
    The action to be taken on the traffic matching the routing policy.
    PolicyMatches List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyMatch>
    Match condition for the traffic that is entering the VPC.
    IsBidirectional bool
    If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
    PolicyActions []PbrV2PolicyPolicyAction
    The action to be taken on the traffic matching the routing policy.
    PolicyMatches []PbrV2PolicyPolicyMatch
    Match condition for the traffic that is entering the VPC.
    IsBidirectional bool
    If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
    policyActions List<PbrV2PolicyPolicyAction>
    The action to be taken on the traffic matching the routing policy.
    policyMatches List<PbrV2PolicyPolicyMatch>
    Match condition for the traffic that is entering the VPC.
    isBidirectional Boolean
    If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
    policyActions PbrV2PolicyPolicyAction[]
    The action to be taken on the traffic matching the routing policy.
    policyMatches PbrV2PolicyPolicyMatch[]
    Match condition for the traffic that is entering the VPC.
    isBidirectional boolean
    If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
    policy_actions Sequence[PbrV2PolicyPolicyAction]
    The action to be taken on the traffic matching the routing policy.
    policy_matches Sequence[PbrV2PolicyPolicyMatch]
    Match condition for the traffic that is entering the VPC.
    is_bidirectional bool
    If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
    policyActions List<Property Map>
    The action to be taken on the traffic matching the routing policy.
    policyMatches List<Property Map>
    Match condition for the traffic that is entering the VPC.
    isBidirectional Boolean
    If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.

    PbrV2PolicyPolicyAction, PbrV2PolicyPolicyActionArgs

    ActionType string
    Routing policy action type.
    NexthopIpAddresses List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyActionNexthopIpAddress>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    RerouteParams List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParam>
    Routing policy Reroute params.
    ActionType string
    Routing policy action type.
    NexthopIpAddresses []PbrV2PolicyPolicyActionNexthopIpAddress
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    RerouteParams []PbrV2PolicyPolicyActionRerouteParam
    Routing policy Reroute params.
    actionType String
    Routing policy action type.
    nexthopIpAddresses List<PbrV2PolicyPolicyActionNexthopIpAddress>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    rerouteParams List<PbrV2PolicyPolicyActionRerouteParam>
    Routing policy Reroute params.
    actionType string
    Routing policy action type.
    nexthopIpAddresses PbrV2PolicyPolicyActionNexthopIpAddress[]
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    rerouteParams PbrV2PolicyPolicyActionRerouteParam[]
    Routing policy Reroute params.
    action_type str
    Routing policy action type.
    nexthop_ip_addresses Sequence[PbrV2PolicyPolicyActionNexthopIpAddress]
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    reroute_params Sequence[PbrV2PolicyPolicyActionRerouteParam]
    Routing policy Reroute params.
    actionType String
    Routing policy action type.
    nexthopIpAddresses List<Property Map>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    rerouteParams List<Property Map>
    Routing policy Reroute params.

    PbrV2PolicyPolicyActionNexthopIpAddress, PbrV2PolicyPolicyActionNexthopIpAddressArgs

    PbrV2PolicyPolicyActionNexthopIpAddressIpv4, PbrV2PolicyPolicyActionNexthopIpAddressIpv4Args

    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    Value string
    ip value
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    Value string
    ip value
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value String
    ip value
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value string
    ip value
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value str
    ip value
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value String
    ip value

    PbrV2PolicyPolicyActionNexthopIpAddressIpv6, PbrV2PolicyPolicyActionNexthopIpAddressIpv6Args

    PrefixLength int
    Value string
    ip value
    PrefixLength int
    Value string
    ip value
    prefixLength Integer
    value String
    ip value
    prefixLength number
    value string
    ip value
    prefix_length int
    value str
    ip value
    prefixLength Number
    value String
    ip value

    PbrV2PolicyPolicyActionRerouteParam, PbrV2PolicyPolicyActionRerouteParamArgs

    EgressServiceIps List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamEgressServiceIp>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    IngressServiceIps List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamIngressServiceIp>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    RerouteFallbackAction string
    Type of fallback action in reroute case when service VM is down. Acceptable values are "PASSTHROUGH", "NO_ACTION", "ALLOW", "DENY".
    ServiceIps List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyActionRerouteParamServiceIp>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    EgressServiceIps []PbrV2PolicyPolicyActionRerouteParamEgressServiceIp
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    IngressServiceIps []PbrV2PolicyPolicyActionRerouteParamIngressServiceIp
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    RerouteFallbackAction string
    Type of fallback action in reroute case when service VM is down. Acceptable values are "PASSTHROUGH", "NO_ACTION", "ALLOW", "DENY".
    ServiceIps []PbrV2PolicyPolicyActionRerouteParamServiceIp
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    egressServiceIps List<PbrV2PolicyPolicyActionRerouteParamEgressServiceIp>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    ingressServiceIps List<PbrV2PolicyPolicyActionRerouteParamIngressServiceIp>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    rerouteFallbackAction String
    Type of fallback action in reroute case when service VM is down. Acceptable values are "PASSTHROUGH", "NO_ACTION", "ALLOW", "DENY".
    serviceIps List<PbrV2PolicyPolicyActionRerouteParamServiceIp>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    egressServiceIps PbrV2PolicyPolicyActionRerouteParamEgressServiceIp[]
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    ingressServiceIps PbrV2PolicyPolicyActionRerouteParamIngressServiceIp[]
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    rerouteFallbackAction string
    Type of fallback action in reroute case when service VM is down. Acceptable values are "PASSTHROUGH", "NO_ACTION", "ALLOW", "DENY".
    serviceIps PbrV2PolicyPolicyActionRerouteParamServiceIp[]
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    egress_service_ips Sequence[PbrV2PolicyPolicyActionRerouteParamEgressServiceIp]
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    ingress_service_ips Sequence[PbrV2PolicyPolicyActionRerouteParamIngressServiceIp]
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    reroute_fallback_action str
    Type of fallback action in reroute case when service VM is down. Acceptable values are "PASSTHROUGH", "NO_ACTION", "ALLOW", "DENY".
    service_ips Sequence[PbrV2PolicyPolicyActionRerouteParamServiceIp]
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    egressServiceIps List<Property Map>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    ingressServiceIps List<Property Map>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
    rerouteFallbackAction String
    Type of fallback action in reroute case when service VM is down. Acceptable values are "PASSTHROUGH", "NO_ACTION", "ALLOW", "DENY".
    serviceIps List<Property Map>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.

    PbrV2PolicyPolicyActionRerouteParamEgressServiceIp, PbrV2PolicyPolicyActionRerouteParamEgressServiceIpArgs

    PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv4, PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv4Args

    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    Value string
    ip value
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    Value string
    ip value
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value String
    ip value
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value string
    ip value
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value str
    ip value
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value String
    ip value

    PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv6, PbrV2PolicyPolicyActionRerouteParamEgressServiceIpIpv6Args

    PrefixLength int
    Value string
    ip value
    PrefixLength int
    Value string
    ip value
    prefixLength Integer
    value String
    ip value
    prefixLength number
    value string
    ip value
    prefix_length int
    value str
    ip value
    prefixLength Number
    value String
    ip value

    PbrV2PolicyPolicyActionRerouteParamIngressServiceIp, PbrV2PolicyPolicyActionRerouteParamIngressServiceIpArgs

    PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv4, PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv4Args

    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    Value string
    ip value
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    Value string
    ip value
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value String
    ip value
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value string
    ip value
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value str
    ip value
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value String
    ip value

    PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv6, PbrV2PolicyPolicyActionRerouteParamIngressServiceIpIpv6Args

    PrefixLength int
    Value string
    ip value
    PrefixLength int
    Value string
    ip value
    prefixLength Integer
    value String
    ip value
    prefixLength number
    value string
    ip value
    prefix_length int
    value str
    ip value
    prefixLength Number
    value String
    ip value

    PbrV2PolicyPolicyActionRerouteParamServiceIp, PbrV2PolicyPolicyActionRerouteParamServiceIpArgs

    PbrV2PolicyPolicyActionRerouteParamServiceIpIpv4, PbrV2PolicyPolicyActionRerouteParamServiceIpIpv4Args

    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    Value string
    ip value
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    Value string
    ip value
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value String
    ip value
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value string
    ip value
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value str
    ip value
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    value String
    ip value

    PbrV2PolicyPolicyActionRerouteParamServiceIpIpv6, PbrV2PolicyPolicyActionRerouteParamServiceIpIpv6Args

    PrefixLength int
    Value string
    ip value
    PrefixLength int
    Value string
    ip value
    prefixLength Integer
    value String
    ip value
    prefixLength number
    value string
    ip value
    prefix_length int
    value str
    ip value
    prefixLength Number
    value String
    ip value

    PbrV2PolicyPolicyMatch, PbrV2PolicyPolicyMatchArgs

    Destinations List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyMatchDestination>
    Address Type like "EXTERNAL" or "ANY".
    ProtocolType string
    Routing Policy IP protocol type. Acceptable values are "TCP", "UDP", "PROTOCOL_NUMBER", "ANY", "ICMP" .
    Sources List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyMatchSource>
    Address Type like "EXTERNAL" or "ANY".
    ProtocolParameters List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyMatchProtocolParameter>
    Protocol Params Object.
    Destinations []PbrV2PolicyPolicyMatchDestination
    Address Type like "EXTERNAL" or "ANY".
    ProtocolType string
    Routing Policy IP protocol type. Acceptable values are "TCP", "UDP", "PROTOCOL_NUMBER", "ANY", "ICMP" .
    Sources []PbrV2PolicyPolicyMatchSource
    Address Type like "EXTERNAL" or "ANY".
    ProtocolParameters []PbrV2PolicyPolicyMatchProtocolParameter
    Protocol Params Object.
    destinations List<PbrV2PolicyPolicyMatchDestination>
    Address Type like "EXTERNAL" or "ANY".
    protocolType String
    Routing Policy IP protocol type. Acceptable values are "TCP", "UDP", "PROTOCOL_NUMBER", "ANY", "ICMP" .
    sources List<PbrV2PolicyPolicyMatchSource>
    Address Type like "EXTERNAL" or "ANY".
    protocolParameters List<PbrV2PolicyPolicyMatchProtocolParameter>
    Protocol Params Object.
    destinations PbrV2PolicyPolicyMatchDestination[]
    Address Type like "EXTERNAL" or "ANY".
    protocolType string
    Routing Policy IP protocol type. Acceptable values are "TCP", "UDP", "PROTOCOL_NUMBER", "ANY", "ICMP" .
    sources PbrV2PolicyPolicyMatchSource[]
    Address Type like "EXTERNAL" or "ANY".
    protocolParameters PbrV2PolicyPolicyMatchProtocolParameter[]
    Protocol Params Object.
    destinations Sequence[PbrV2PolicyPolicyMatchDestination]
    Address Type like "EXTERNAL" or "ANY".
    protocol_type str
    Routing Policy IP protocol type. Acceptable values are "TCP", "UDP", "PROTOCOL_NUMBER", "ANY", "ICMP" .
    sources Sequence[PbrV2PolicyPolicyMatchSource]
    Address Type like "EXTERNAL" or "ANY".
    protocol_parameters Sequence[PbrV2PolicyPolicyMatchProtocolParameter]
    Protocol Params Object.
    destinations List<Property Map>
    Address Type like "EXTERNAL" or "ANY".
    protocolType String
    Routing Policy IP protocol type. Acceptable values are "TCP", "UDP", "PROTOCOL_NUMBER", "ANY", "ICMP" .
    sources List<Property Map>
    Address Type like "EXTERNAL" or "ANY".
    protocolParameters List<Property Map>
    Protocol Params Object.

    PbrV2PolicyPolicyMatchDestination, PbrV2PolicyPolicyMatchDestinationArgs

    AddressType string
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    SubnetPrefixes List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyMatchDestinationSubnetPrefix>
    Subnet Prefix
    AddressType string
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    SubnetPrefixes []PbrV2PolicyPolicyMatchDestinationSubnetPrefix
    Subnet Prefix
    addressType String
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    subnetPrefixes List<PbrV2PolicyPolicyMatchDestinationSubnetPrefix>
    Subnet Prefix
    addressType string
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    subnetPrefixes PbrV2PolicyPolicyMatchDestinationSubnetPrefix[]
    Subnet Prefix
    address_type str
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    subnet_prefixes Sequence[PbrV2PolicyPolicyMatchDestinationSubnetPrefix]
    Subnet Prefix
    addressType String
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    subnetPrefixes List<Property Map>
    Subnet Prefix

    PbrV2PolicyPolicyMatchDestinationSubnetPrefix, PbrV2PolicyPolicyMatchDestinationSubnetPrefixArgs

    PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4, PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4Args

    Ips List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4Ip>
    IP of address
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    Ips []PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4Ip
    IP of address
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    ips List<PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4Ip>
    IP of address
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    ips PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4Ip[]
    IP of address
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    ips Sequence[PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4Ip]
    IP of address
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    ips List<Property Map>
    IP of address
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.

    PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4Ip, PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv4IpArgs

    PrefixLength int
    Value string
    ip value
    PrefixLength int
    Value string
    ip value
    prefixLength Integer
    value String
    ip value
    prefixLength number
    value string
    ip value
    prefix_length int
    value str
    ip value
    prefixLength Number
    value String
    ip value

    PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6, PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6Args

    PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6Ip, PbrV2PolicyPolicyMatchDestinationSubnetPrefixIpv6IpArgs

    PrefixLength int
    Value string
    ip value
    PrefixLength int
    Value string
    ip value
    prefixLength Integer
    value String
    ip value
    prefixLength number
    value string
    ip value
    prefix_length int
    value str
    ip value
    prefixLength Number
    value String
    ip value

    PbrV2PolicyPolicyMatchProtocolParameter, PbrV2PolicyPolicyMatchProtocolParameterArgs

    PbrV2PolicyPolicyMatchProtocolParameterIcmpObject, PbrV2PolicyPolicyMatchProtocolParameterIcmpObjectArgs

    IcmpCode int
    icmp code
    IcmpType int
    icmp type
    IcmpCode int
    icmp code
    IcmpType int
    icmp type
    icmpCode Integer
    icmp code
    icmpType Integer
    icmp type
    icmpCode number
    icmp code
    icmpType number
    icmp type
    icmp_code int
    icmp code
    icmp_type int
    icmp type
    icmpCode Number
    icmp code
    icmpType Number
    icmp type

    PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObject, PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectArgs

    destinationPortRanges List<Property Map>
    Start and end port ranges object.
    sourcePortRanges List<Property Map>
    Start and end port ranges object.

    PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectDestinationPortRange, PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectDestinationPortRangeArgs

    EndPort int
    End Port.
    StartPort int
    Start Port.
    EndPort int
    End Port.
    StartPort int
    Start Port.
    endPort Integer
    End Port.
    startPort Integer
    Start Port.
    endPort number
    End Port.
    startPort number
    Start Port.
    end_port int
    End Port.
    start_port int
    Start Port.
    endPort Number
    End Port.
    startPort Number
    Start Port.

    PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectSourcePortRange, PbrV2PolicyPolicyMatchProtocolParameterLayerFourProtocolObjectSourcePortRangeArgs

    EndPort int
    End Port.
    StartPort int
    Start Port.
    EndPort int
    End Port.
    StartPort int
    Start Port.
    endPort Integer
    End Port.
    startPort Integer
    Start Port.
    endPort number
    End Port.
    startPort number
    Start Port.
    end_port int
    End Port.
    start_port int
    Start Port.
    endPort Number
    End Port.
    startPort Number
    Start Port.

    PbrV2PolicyPolicyMatchProtocolParameterProtocolNumberObject, PbrV2PolicyPolicyMatchProtocolParameterProtocolNumberObjectArgs

    ProtocolNumber int
    protocol number
    ProtocolNumber int
    protocol number
    protocolNumber Integer
    protocol number
    protocolNumber number
    protocol number
    protocol_number int
    protocol number
    protocolNumber Number
    protocol number

    PbrV2PolicyPolicyMatchSource, PbrV2PolicyPolicyMatchSourceArgs

    AddressType string
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    SubnetPrefixes List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyMatchSourceSubnetPrefix>
    Subnet Prefix
    AddressType string
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    SubnetPrefixes []PbrV2PolicyPolicyMatchSourceSubnetPrefix
    Subnet Prefix
    addressType String
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    subnetPrefixes List<PbrV2PolicyPolicyMatchSourceSubnetPrefix>
    Subnet Prefix
    addressType string
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    subnetPrefixes PbrV2PolicyPolicyMatchSourceSubnetPrefix[]
    Subnet Prefix
    address_type str
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    subnet_prefixes Sequence[PbrV2PolicyPolicyMatchSourceSubnetPrefix]
    Subnet Prefix
    addressType String
    Address Type. Acceptable values are "SUBNET", "EXTERNAL", "ANY" .
    subnetPrefixes List<Property Map>
    Subnet Prefix

    PbrV2PolicyPolicyMatchSourceSubnetPrefix, PbrV2PolicyPolicyMatchSourceSubnetPrefixArgs

    PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4, PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4Args

    Ips List<PiersKarsenbarg.Nutanix.Inputs.PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4Ip>
    IP of address
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    Ips []PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4Ip
    IP of address
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    ips List<PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4Ip>
    IP of address
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    ips PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4Ip[]
    IP of address
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    ips Sequence[PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4Ip]
    IP of address
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs.
    ips List<Property Map>
    IP of address
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs.

    PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4Ip, PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv4IpArgs

    PrefixLength int
    Value string
    ip value
    PrefixLength int
    Value string
    ip value
    prefixLength Integer
    value String
    ip value
    prefixLength number
    value string
    ip value
    prefix_length int
    value str
    ip value
    prefixLength Number
    value String
    ip value

    PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6, PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6Args

    PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6Ip, PbrV2PolicyPolicyMatchSourceSubnetPrefixIpv6IpArgs

    PrefixLength int
    Value string
    ip value
    PrefixLength int
    Value string
    ip value
    prefixLength Integer
    value String
    ip value
    prefixLength number
    value string
    ip value
    prefix_length int
    value str
    ip value
    prefixLength Number
    value String
    ip value

    PbrV2Vpc, PbrV2VpcArgs

    Name string
    Name of the routing policy.
    Name string
    Name of the routing policy.
    name String
    Name of the routing policy.
    name string
    Name of the routing policy.
    name str
    Name of the routing policy.
    name String
    Name of the routing policy.

    Import

    This helps to manage existing entities which are not created through terraform. Routing Policy can be imported using the UUID. eg,

    terraform import nutanix_pbr_v2.pbr_import <UUID>

    See detailed information in Nutanix Routing Policy v4.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Viewing docs for Nutanix v0.13.0
    published on Tuesday, Apr 28, 2026 by Piers Karsenbarg
      Try Pulumi Cloud free. Your team will thank you.