1. Packages
  2. Avi Provider
  3. API Docs
  4. Natpolicy
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

avi.Natpolicy

Explore with Pulumi AI

avi logo
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

    <!–

    Copyright 2021 VMware, Inc.
    SPDX-License-Identifier: Mozilla Public License 2.0
    

    –>

    layout: “avi”

    page_title: “Avi: avi.Natpolicy” sidebar_current: “docs-avi-resource-natpolicy” description: |- Creates and manages Avi NatPolicy.

    avi.Natpolicy

    The NatPolicy resource allows the creation and management of Avi NatPolicy

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const foo = new avi.Natpolicy("foo", {tenantRef: "/api/tenant/?name=admin"});
    
    import pulumi
    import pulumi_avi as avi
    
    foo = avi.Natpolicy("foo", tenant_ref="/api/tenant/?name=admin")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := avi.NewNatpolicy(ctx, "foo", &avi.NatpolicyArgs{
    			TenantRef: pulumi.String("/api/tenant/?name=admin"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Avi = Pulumi.Avi;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Avi.Natpolicy("foo", new()
        {
            TenantRef = "/api/tenant/?name=admin",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.avi.Natpolicy;
    import com.pulumi.avi.NatpolicyArgs;
    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) {
            var foo = new Natpolicy("foo", NatpolicyArgs.builder()
                .tenantRef("/api/tenant/?name=admin")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: avi:Natpolicy
        properties:
          tenantRef: /api/tenant/?name=admin
    

    Create Natpolicy Resource

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

    Constructor syntax

    new Natpolicy(name: string, args?: NatpolicyArgs, opts?: CustomResourceOptions);
    @overload
    def Natpolicy(resource_name: str,
                  args: Optional[NatpolicyArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Natpolicy(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  configpb_attributes: Optional[Sequence[NatpolicyConfigpbAttributeArgs]] = None,
                  created_by: Optional[str] = None,
                  description: Optional[str] = None,
                  markers: Optional[Sequence[NatpolicyMarkerArgs]] = None,
                  name: Optional[str] = None,
                  natpolicy_id: Optional[str] = None,
                  rules: Optional[Sequence[NatpolicyRuleArgs]] = None,
                  tenant_ref: Optional[str] = None,
                  uuid: Optional[str] = None)
    func NewNatpolicy(ctx *Context, name string, args *NatpolicyArgs, opts ...ResourceOption) (*Natpolicy, error)
    public Natpolicy(string name, NatpolicyArgs? args = null, CustomResourceOptions? opts = null)
    public Natpolicy(String name, NatpolicyArgs args)
    public Natpolicy(String name, NatpolicyArgs args, CustomResourceOptions options)
    
    type: avi:Natpolicy
    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 NatpolicyArgs
    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 NatpolicyArgs
    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 NatpolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NatpolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NatpolicyArgs
    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 natpolicyResource = new Avi.Natpolicy("natpolicyResource", new()
    {
        ConfigpbAttributes = new[]
        {
            new Avi.Inputs.NatpolicyConfigpbAttributeArgs
            {
                Version = "string",
            },
        },
        CreatedBy = "string",
        Description = "string",
        Markers = new[]
        {
            new Avi.Inputs.NatpolicyMarkerArgs
            {
                Key = "string",
                Values = new[]
                {
                    "string",
                },
            },
        },
        Name = "string",
        NatpolicyId = "string",
        Rules = new[]
        {
            new Avi.Inputs.NatpolicyRuleArgs
            {
                Actions = new[]
                {
                    new Avi.Inputs.NatpolicyRuleActionArgs
                    {
                        Type = "string",
                        NatInfos = new[]
                        {
                            new Avi.Inputs.NatpolicyRuleActionNatInfoArgs
                            {
                                NatIpRanges = new[]
                                {
                                    new Avi.Inputs.NatpolicyRuleActionNatInfoNatIpRangeArgs
                                    {
                                        Begins = new[]
                                        {
                                            new Avi.Inputs.NatpolicyRuleActionNatInfoNatIpRangeBeginArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        Ends = new[]
                                        {
                                            new Avi.Inputs.NatpolicyRuleActionNatInfoNatIpRangeEndArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                    },
                                },
                                NatIps = new[]
                                {
                                    new Avi.Inputs.NatpolicyRuleActionNatInfoNatIpArgs
                                    {
                                        Addr = "string",
                                        Type = "string",
                                    },
                                },
                            },
                        },
                    },
                },
                Enable = "string",
                Index = "string",
                Matches = new[]
                {
                    new Avi.Inputs.NatpolicyRuleMatchArgs
                    {
                        DestinationIps = new[]
                        {
                            new Avi.Inputs.NatpolicyRuleMatchDestinationIpArgs
                            {
                                MatchCriteria = "string",
                                Addrs = new[]
                                {
                                    new Avi.Inputs.NatpolicyRuleMatchDestinationIpAddrArgs
                                    {
                                        Addr = "string",
                                        Type = "string",
                                    },
                                },
                                GroupRefs = new[]
                                {
                                    "string",
                                },
                                Prefixes = new[]
                                {
                                    new Avi.Inputs.NatpolicyRuleMatchDestinationIpPrefixArgs
                                    {
                                        IpAddrs = new[]
                                        {
                                            new Avi.Inputs.NatpolicyRuleMatchDestinationIpPrefixIpAddrArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        Mask = "string",
                                    },
                                },
                                Ranges = new[]
                                {
                                    new Avi.Inputs.NatpolicyRuleMatchDestinationIpRangeArgs
                                    {
                                        Begins = new[]
                                        {
                                            new Avi.Inputs.NatpolicyRuleMatchDestinationIpRangeBeginArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        Ends = new[]
                                        {
                                            new Avi.Inputs.NatpolicyRuleMatchDestinationIpRangeEndArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        Services = new[]
                        {
                            new Avi.Inputs.NatpolicyRuleMatchServiceArgs
                            {
                                DestinationPorts = new[]
                                {
                                    new Avi.Inputs.NatpolicyRuleMatchServiceDestinationPortArgs
                                    {
                                        MatchCriteria = "string",
                                        Ports = new[]
                                        {
                                            0,
                                        },
                                    },
                                },
                                Protocols = new[]
                                {
                                    new Avi.Inputs.NatpolicyRuleMatchServiceProtocolArgs
                                    {
                                        MatchCriteria = "string",
                                        Protocol = "string",
                                    },
                                },
                                SourcePorts = new[]
                                {
                                    new Avi.Inputs.NatpolicyRuleMatchServiceSourcePortArgs
                                    {
                                        MatchCriteria = "string",
                                        Ports = new[]
                                        {
                                            0,
                                        },
                                    },
                                },
                            },
                        },
                        SourceIps = new[]
                        {
                            new Avi.Inputs.NatpolicyRuleMatchSourceIpArgs
                            {
                                MatchCriteria = "string",
                                Addrs = new[]
                                {
                                    new Avi.Inputs.NatpolicyRuleMatchSourceIpAddrArgs
                                    {
                                        Addr = "string",
                                        Type = "string",
                                    },
                                },
                                GroupRefs = new[]
                                {
                                    "string",
                                },
                                Prefixes = new[]
                                {
                                    new Avi.Inputs.NatpolicyRuleMatchSourceIpPrefixArgs
                                    {
                                        IpAddrs = new[]
                                        {
                                            new Avi.Inputs.NatpolicyRuleMatchSourceIpPrefixIpAddrArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        Mask = "string",
                                    },
                                },
                                Ranges = new[]
                                {
                                    new Avi.Inputs.NatpolicyRuleMatchSourceIpRangeArgs
                                    {
                                        Begins = new[]
                                        {
                                            new Avi.Inputs.NatpolicyRuleMatchSourceIpRangeBeginArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        Ends = new[]
                                        {
                                            new Avi.Inputs.NatpolicyRuleMatchSourceIpRangeEndArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                Name = "string",
                CreatedBy = "string",
            },
        },
        TenantRef = "string",
        Uuid = "string",
    });
    
    example, err := avi.NewNatpolicy(ctx, "natpolicyResource", &avi.NatpolicyArgs{
    	ConfigpbAttributes: avi.NatpolicyConfigpbAttributeArray{
    		&avi.NatpolicyConfigpbAttributeArgs{
    			Version: pulumi.String("string"),
    		},
    	},
    	CreatedBy:   pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Markers: avi.NatpolicyMarkerArray{
    		&avi.NatpolicyMarkerArgs{
    			Key: pulumi.String("string"),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Name:        pulumi.String("string"),
    	NatpolicyId: pulumi.String("string"),
    	Rules: avi.NatpolicyRuleArray{
    		&avi.NatpolicyRuleArgs{
    			Actions: avi.NatpolicyRuleActionArray{
    				&avi.NatpolicyRuleActionArgs{
    					Type: pulumi.String("string"),
    					NatInfos: avi.NatpolicyRuleActionNatInfoArray{
    						&avi.NatpolicyRuleActionNatInfoArgs{
    							NatIpRanges: avi.NatpolicyRuleActionNatInfoNatIpRangeArray{
    								&avi.NatpolicyRuleActionNatInfoNatIpRangeArgs{
    									Begins: avi.NatpolicyRuleActionNatInfoNatIpRangeBeginArray{
    										&avi.NatpolicyRuleActionNatInfoNatIpRangeBeginArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									Ends: avi.NatpolicyRuleActionNatInfoNatIpRangeEndArray{
    										&avi.NatpolicyRuleActionNatInfoNatIpRangeEndArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							NatIps: avi.NatpolicyRuleActionNatInfoNatIpArray{
    								&avi.NatpolicyRuleActionNatInfoNatIpArgs{
    									Addr: pulumi.String("string"),
    									Type: pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    			Enable: pulumi.String("string"),
    			Index:  pulumi.String("string"),
    			Matches: avi.NatpolicyRuleMatchArray{
    				&avi.NatpolicyRuleMatchArgs{
    					DestinationIps: avi.NatpolicyRuleMatchDestinationIpArray{
    						&avi.NatpolicyRuleMatchDestinationIpArgs{
    							MatchCriteria: pulumi.String("string"),
    							Addrs: avi.NatpolicyRuleMatchDestinationIpAddrArray{
    								&avi.NatpolicyRuleMatchDestinationIpAddrArgs{
    									Addr: pulumi.String("string"),
    									Type: pulumi.String("string"),
    								},
    							},
    							GroupRefs: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							Prefixes: avi.NatpolicyRuleMatchDestinationIpPrefixArray{
    								&avi.NatpolicyRuleMatchDestinationIpPrefixArgs{
    									IpAddrs: avi.NatpolicyRuleMatchDestinationIpPrefixIpAddrArray{
    										&avi.NatpolicyRuleMatchDestinationIpPrefixIpAddrArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									Mask: pulumi.String("string"),
    								},
    							},
    							Ranges: avi.NatpolicyRuleMatchDestinationIpRangeArray{
    								&avi.NatpolicyRuleMatchDestinationIpRangeArgs{
    									Begins: avi.NatpolicyRuleMatchDestinationIpRangeBeginArray{
    										&avi.NatpolicyRuleMatchDestinationIpRangeBeginArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									Ends: avi.NatpolicyRuleMatchDestinationIpRangeEndArray{
    										&avi.NatpolicyRuleMatchDestinationIpRangeEndArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    					Services: avi.NatpolicyRuleMatchServiceArray{
    						&avi.NatpolicyRuleMatchServiceArgs{
    							DestinationPorts: avi.NatpolicyRuleMatchServiceDestinationPortArray{
    								&avi.NatpolicyRuleMatchServiceDestinationPortArgs{
    									MatchCriteria: pulumi.String("string"),
    									Ports: pulumi.Float64Array{
    										pulumi.Float64(0),
    									},
    								},
    							},
    							Protocols: avi.NatpolicyRuleMatchServiceProtocolArray{
    								&avi.NatpolicyRuleMatchServiceProtocolArgs{
    									MatchCriteria: pulumi.String("string"),
    									Protocol:      pulumi.String("string"),
    								},
    							},
    							SourcePorts: avi.NatpolicyRuleMatchServiceSourcePortArray{
    								&avi.NatpolicyRuleMatchServiceSourcePortArgs{
    									MatchCriteria: pulumi.String("string"),
    									Ports: pulumi.Float64Array{
    										pulumi.Float64(0),
    									},
    								},
    							},
    						},
    					},
    					SourceIps: avi.NatpolicyRuleMatchSourceIpArray{
    						&avi.NatpolicyRuleMatchSourceIpArgs{
    							MatchCriteria: pulumi.String("string"),
    							Addrs: avi.NatpolicyRuleMatchSourceIpAddrArray{
    								&avi.NatpolicyRuleMatchSourceIpAddrArgs{
    									Addr: pulumi.String("string"),
    									Type: pulumi.String("string"),
    								},
    							},
    							GroupRefs: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							Prefixes: avi.NatpolicyRuleMatchSourceIpPrefixArray{
    								&avi.NatpolicyRuleMatchSourceIpPrefixArgs{
    									IpAddrs: avi.NatpolicyRuleMatchSourceIpPrefixIpAddrArray{
    										&avi.NatpolicyRuleMatchSourceIpPrefixIpAddrArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									Mask: pulumi.String("string"),
    								},
    							},
    							Ranges: avi.NatpolicyRuleMatchSourceIpRangeArray{
    								&avi.NatpolicyRuleMatchSourceIpRangeArgs{
    									Begins: avi.NatpolicyRuleMatchSourceIpRangeBeginArray{
    										&avi.NatpolicyRuleMatchSourceIpRangeBeginArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									Ends: avi.NatpolicyRuleMatchSourceIpRangeEndArray{
    										&avi.NatpolicyRuleMatchSourceIpRangeEndArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			Name:      pulumi.String("string"),
    			CreatedBy: pulumi.String("string"),
    		},
    	},
    	TenantRef: pulumi.String("string"),
    	Uuid:      pulumi.String("string"),
    })
    
    var natpolicyResource = new Natpolicy("natpolicyResource", NatpolicyArgs.builder()
        .configpbAttributes(NatpolicyConfigpbAttributeArgs.builder()
            .version("string")
            .build())
        .createdBy("string")
        .description("string")
        .markers(NatpolicyMarkerArgs.builder()
            .key("string")
            .values("string")
            .build())
        .name("string")
        .natpolicyId("string")
        .rules(NatpolicyRuleArgs.builder()
            .actions(NatpolicyRuleActionArgs.builder()
                .type("string")
                .natInfos(NatpolicyRuleActionNatInfoArgs.builder()
                    .natIpRanges(NatpolicyRuleActionNatInfoNatIpRangeArgs.builder()
                        .begins(NatpolicyRuleActionNatInfoNatIpRangeBeginArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .ends(NatpolicyRuleActionNatInfoNatIpRangeEndArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .build())
                    .natIps(NatpolicyRuleActionNatInfoNatIpArgs.builder()
                        .addr("string")
                        .type("string")
                        .build())
                    .build())
                .build())
            .enable("string")
            .index("string")
            .matches(NatpolicyRuleMatchArgs.builder()
                .destinationIps(NatpolicyRuleMatchDestinationIpArgs.builder()
                    .matchCriteria("string")
                    .addrs(NatpolicyRuleMatchDestinationIpAddrArgs.builder()
                        .addr("string")
                        .type("string")
                        .build())
                    .groupRefs("string")
                    .prefixes(NatpolicyRuleMatchDestinationIpPrefixArgs.builder()
                        .ipAddrs(NatpolicyRuleMatchDestinationIpPrefixIpAddrArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .mask("string")
                        .build())
                    .ranges(NatpolicyRuleMatchDestinationIpRangeArgs.builder()
                        .begins(NatpolicyRuleMatchDestinationIpRangeBeginArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .ends(NatpolicyRuleMatchDestinationIpRangeEndArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .build())
                    .build())
                .services(NatpolicyRuleMatchServiceArgs.builder()
                    .destinationPorts(NatpolicyRuleMatchServiceDestinationPortArgs.builder()
                        .matchCriteria("string")
                        .ports(0)
                        .build())
                    .protocols(NatpolicyRuleMatchServiceProtocolArgs.builder()
                        .matchCriteria("string")
                        .protocol("string")
                        .build())
                    .sourcePorts(NatpolicyRuleMatchServiceSourcePortArgs.builder()
                        .matchCriteria("string")
                        .ports(0)
                        .build())
                    .build())
                .sourceIps(NatpolicyRuleMatchSourceIpArgs.builder()
                    .matchCriteria("string")
                    .addrs(NatpolicyRuleMatchSourceIpAddrArgs.builder()
                        .addr("string")
                        .type("string")
                        .build())
                    .groupRefs("string")
                    .prefixes(NatpolicyRuleMatchSourceIpPrefixArgs.builder()
                        .ipAddrs(NatpolicyRuleMatchSourceIpPrefixIpAddrArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .mask("string")
                        .build())
                    .ranges(NatpolicyRuleMatchSourceIpRangeArgs.builder()
                        .begins(NatpolicyRuleMatchSourceIpRangeBeginArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .ends(NatpolicyRuleMatchSourceIpRangeEndArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .build())
                    .build())
                .build())
            .name("string")
            .createdBy("string")
            .build())
        .tenantRef("string")
        .uuid("string")
        .build());
    
    natpolicy_resource = avi.Natpolicy("natpolicyResource",
        configpb_attributes=[{
            "version": "string",
        }],
        created_by="string",
        description="string",
        markers=[{
            "key": "string",
            "values": ["string"],
        }],
        name="string",
        natpolicy_id="string",
        rules=[{
            "actions": [{
                "type": "string",
                "nat_infos": [{
                    "nat_ip_ranges": [{
                        "begins": [{
                            "addr": "string",
                            "type": "string",
                        }],
                        "ends": [{
                            "addr": "string",
                            "type": "string",
                        }],
                    }],
                    "nat_ips": [{
                        "addr": "string",
                        "type": "string",
                    }],
                }],
            }],
            "enable": "string",
            "index": "string",
            "matches": [{
                "destination_ips": [{
                    "match_criteria": "string",
                    "addrs": [{
                        "addr": "string",
                        "type": "string",
                    }],
                    "group_refs": ["string"],
                    "prefixes": [{
                        "ip_addrs": [{
                            "addr": "string",
                            "type": "string",
                        }],
                        "mask": "string",
                    }],
                    "ranges": [{
                        "begins": [{
                            "addr": "string",
                            "type": "string",
                        }],
                        "ends": [{
                            "addr": "string",
                            "type": "string",
                        }],
                    }],
                }],
                "services": [{
                    "destination_ports": [{
                        "match_criteria": "string",
                        "ports": [0],
                    }],
                    "protocols": [{
                        "match_criteria": "string",
                        "protocol": "string",
                    }],
                    "source_ports": [{
                        "match_criteria": "string",
                        "ports": [0],
                    }],
                }],
                "source_ips": [{
                    "match_criteria": "string",
                    "addrs": [{
                        "addr": "string",
                        "type": "string",
                    }],
                    "group_refs": ["string"],
                    "prefixes": [{
                        "ip_addrs": [{
                            "addr": "string",
                            "type": "string",
                        }],
                        "mask": "string",
                    }],
                    "ranges": [{
                        "begins": [{
                            "addr": "string",
                            "type": "string",
                        }],
                        "ends": [{
                            "addr": "string",
                            "type": "string",
                        }],
                    }],
                }],
            }],
            "name": "string",
            "created_by": "string",
        }],
        tenant_ref="string",
        uuid="string")
    
    const natpolicyResource = new avi.Natpolicy("natpolicyResource", {
        configpbAttributes: [{
            version: "string",
        }],
        createdBy: "string",
        description: "string",
        markers: [{
            key: "string",
            values: ["string"],
        }],
        name: "string",
        natpolicyId: "string",
        rules: [{
            actions: [{
                type: "string",
                natInfos: [{
                    natIpRanges: [{
                        begins: [{
                            addr: "string",
                            type: "string",
                        }],
                        ends: [{
                            addr: "string",
                            type: "string",
                        }],
                    }],
                    natIps: [{
                        addr: "string",
                        type: "string",
                    }],
                }],
            }],
            enable: "string",
            index: "string",
            matches: [{
                destinationIps: [{
                    matchCriteria: "string",
                    addrs: [{
                        addr: "string",
                        type: "string",
                    }],
                    groupRefs: ["string"],
                    prefixes: [{
                        ipAddrs: [{
                            addr: "string",
                            type: "string",
                        }],
                        mask: "string",
                    }],
                    ranges: [{
                        begins: [{
                            addr: "string",
                            type: "string",
                        }],
                        ends: [{
                            addr: "string",
                            type: "string",
                        }],
                    }],
                }],
                services: [{
                    destinationPorts: [{
                        matchCriteria: "string",
                        ports: [0],
                    }],
                    protocols: [{
                        matchCriteria: "string",
                        protocol: "string",
                    }],
                    sourcePorts: [{
                        matchCriteria: "string",
                        ports: [0],
                    }],
                }],
                sourceIps: [{
                    matchCriteria: "string",
                    addrs: [{
                        addr: "string",
                        type: "string",
                    }],
                    groupRefs: ["string"],
                    prefixes: [{
                        ipAddrs: [{
                            addr: "string",
                            type: "string",
                        }],
                        mask: "string",
                    }],
                    ranges: [{
                        begins: [{
                            addr: "string",
                            type: "string",
                        }],
                        ends: [{
                            addr: "string",
                            type: "string",
                        }],
                    }],
                }],
            }],
            name: "string",
            createdBy: "string",
        }],
        tenantRef: "string",
        uuid: "string",
    });
    
    type: avi:Natpolicy
    properties:
        configpbAttributes:
            - version: string
        createdBy: string
        description: string
        markers:
            - key: string
              values:
                - string
        name: string
        natpolicyId: string
        rules:
            - actions:
                - natInfos:
                    - natIpRanges:
                        - begins:
                            - addr: string
                              type: string
                          ends:
                            - addr: string
                              type: string
                      natIps:
                        - addr: string
                          type: string
                  type: string
              createdBy: string
              enable: string
              index: string
              matches:
                - destinationIps:
                    - addrs:
                        - addr: string
                          type: string
                      groupRefs:
                        - string
                      matchCriteria: string
                      prefixes:
                        - ipAddrs:
                            - addr: string
                              type: string
                          mask: string
                      ranges:
                        - begins:
                            - addr: string
                              type: string
                          ends:
                            - addr: string
                              type: string
                  services:
                    - destinationPorts:
                        - matchCriteria: string
                          ports:
                            - 0
                      protocols:
                        - matchCriteria: string
                          protocol: string
                      sourcePorts:
                        - matchCriteria: string
                          ports:
                            - 0
                  sourceIps:
                    - addrs:
                        - addr: string
                          type: string
                      groupRefs:
                        - string
                      matchCriteria: string
                      prefixes:
                        - ipAddrs:
                            - addr: string
                              type: string
                          mask: string
                      ranges:
                        - begins:
                            - addr: string
                              type: string
                          ends:
                            - addr: string
                              type: string
              name: string
        tenantRef: string
        uuid: string
    

    Natpolicy 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 Natpolicy resource accepts the following input properties:

    ConfigpbAttributes List<NatpolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CreatedBy string
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Markers List<NatpolicyMarker>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NatpolicyId string
    Rules List<NatpolicyRule>
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes []NatpolicyConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CreatedBy string
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Markers []NatpolicyMarkerArgs
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NatpolicyId string
    Rules []NatpolicyRuleArgs
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<NatpolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    createdBy String
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers List<NatpolicyMarker>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    natpolicyId String
    rules List<NatpolicyRule>
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes NatpolicyConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    createdBy string
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers NatpolicyMarker[]
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name string
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    natpolicyId string
    rules NatpolicyRule[]
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef string
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpb_attributes Sequence[NatpolicyConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    created_by str
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers Sequence[NatpolicyMarkerArgs]
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name str
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    natpolicy_id str
    rules Sequence[NatpolicyRuleArgs]
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenant_ref str
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    createdBy String
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers List<Property Map>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    natpolicyId String
    rules List<Property Map>
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Natpolicy Resource

    Get an existing Natpolicy 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?: NatpolicyState, opts?: CustomResourceOptions): Natpolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configpb_attributes: Optional[Sequence[NatpolicyConfigpbAttributeArgs]] = None,
            created_by: Optional[str] = None,
            description: Optional[str] = None,
            markers: Optional[Sequence[NatpolicyMarkerArgs]] = None,
            name: Optional[str] = None,
            natpolicy_id: Optional[str] = None,
            rules: Optional[Sequence[NatpolicyRuleArgs]] = None,
            tenant_ref: Optional[str] = None,
            uuid: Optional[str] = None) -> Natpolicy
    func GetNatpolicy(ctx *Context, name string, id IDInput, state *NatpolicyState, opts ...ResourceOption) (*Natpolicy, error)
    public static Natpolicy Get(string name, Input<string> id, NatpolicyState? state, CustomResourceOptions? opts = null)
    public static Natpolicy get(String name, Output<String> id, NatpolicyState state, CustomResourceOptions options)
    resources:  _:    type: avi:Natpolicy    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:
    ConfigpbAttributes List<NatpolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CreatedBy string
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Markers List<NatpolicyMarker>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NatpolicyId string
    Rules List<NatpolicyRule>
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes []NatpolicyConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CreatedBy string
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Markers []NatpolicyMarkerArgs
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NatpolicyId string
    Rules []NatpolicyRuleArgs
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<NatpolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    createdBy String
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers List<NatpolicyMarker>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    natpolicyId String
    rules List<NatpolicyRule>
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes NatpolicyConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    createdBy string
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers NatpolicyMarker[]
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name string
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    natpolicyId string
    rules NatpolicyRule[]
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef string
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpb_attributes Sequence[NatpolicyConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    created_by str
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers Sequence[NatpolicyMarkerArgs]
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name str
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    natpolicy_id str
    rules Sequence[NatpolicyRuleArgs]
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenant_ref str
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    createdBy String
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers List<Property Map>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    natpolicyId String
    rules List<Property Map>
    Nat policy rules. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Uuid of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    Supporting Types

    NatpolicyConfigpbAttribute, NatpolicyConfigpbAttributeArgs

    Version string
    Version string
    version String
    version string
    version String

    NatpolicyMarker, NatpolicyMarkerArgs

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    NatpolicyRule, NatpolicyRuleArgs

    Actions List<NatpolicyRuleAction>
    Enable string
    Index string
    Matches List<NatpolicyRuleMatch>
    Name string
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CreatedBy string
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Actions []NatpolicyRuleAction
    Enable string
    Index string
    Matches []NatpolicyRuleMatch
    Name string
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CreatedBy string
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    actions List<NatpolicyRuleAction>
    enable String
    index String
    matches List<NatpolicyRuleMatch>
    name String
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    createdBy String
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    actions NatpolicyRuleAction[]
    enable string
    index string
    matches NatpolicyRuleMatch[]
    name string
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    createdBy string
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    actions Sequence[NatpolicyRuleAction]
    enable str
    index str
    matches Sequence[NatpolicyRuleMatch]
    name str
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    created_by str
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    actions List<Property Map>
    enable String
    index String
    matches List<Property Map>
    name String
    Name of the nat policy. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    createdBy String
    Creator name. Field introduced in 18.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    NatpolicyRuleAction, NatpolicyRuleActionArgs

    NatpolicyRuleActionNatInfo, NatpolicyRuleActionNatInfoArgs

    NatpolicyRuleActionNatInfoNatIp, NatpolicyRuleActionNatInfoNatIpArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    NatpolicyRuleActionNatInfoNatIpRange, NatpolicyRuleActionNatInfoNatIpRangeArgs

    NatpolicyRuleActionNatInfoNatIpRangeBegin, NatpolicyRuleActionNatInfoNatIpRangeBeginArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    NatpolicyRuleActionNatInfoNatIpRangeEnd, NatpolicyRuleActionNatInfoNatIpRangeEndArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    NatpolicyRuleMatch, NatpolicyRuleMatchArgs

    NatpolicyRuleMatchDestinationIp, NatpolicyRuleMatchDestinationIpArgs

    NatpolicyRuleMatchDestinationIpAddr, NatpolicyRuleMatchDestinationIpAddrArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    NatpolicyRuleMatchDestinationIpPrefix, NatpolicyRuleMatchDestinationIpPrefixArgs

    NatpolicyRuleMatchDestinationIpPrefixIpAddr, NatpolicyRuleMatchDestinationIpPrefixIpAddrArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    NatpolicyRuleMatchDestinationIpRange, NatpolicyRuleMatchDestinationIpRangeArgs

    NatpolicyRuleMatchDestinationIpRangeBegin, NatpolicyRuleMatchDestinationIpRangeBeginArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    NatpolicyRuleMatchDestinationIpRangeEnd, NatpolicyRuleMatchDestinationIpRangeEndArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    NatpolicyRuleMatchService, NatpolicyRuleMatchServiceArgs

    NatpolicyRuleMatchServiceDestinationPort, NatpolicyRuleMatchServiceDestinationPortArgs

    MatchCriteria string
    Ports List<double>
    MatchCriteria string
    Ports []float64
    matchCriteria String
    ports List<Double>
    matchCriteria string
    ports number[]
    match_criteria str
    ports Sequence[float]
    matchCriteria String
    ports List<Number>

    NatpolicyRuleMatchServiceProtocol, NatpolicyRuleMatchServiceProtocolArgs

    MatchCriteria string
    Protocol string
    MatchCriteria string
    Protocol string
    matchCriteria String
    protocol String
    matchCriteria string
    protocol string
    matchCriteria String
    protocol String

    NatpolicyRuleMatchServiceSourcePort, NatpolicyRuleMatchServiceSourcePortArgs

    MatchCriteria string
    Ports List<double>
    MatchCriteria string
    Ports []float64
    matchCriteria String
    ports List<Double>
    matchCriteria string
    ports number[]
    match_criteria str
    ports Sequence[float]
    matchCriteria String
    ports List<Number>

    NatpolicyRuleMatchSourceIp, NatpolicyRuleMatchSourceIpArgs

    NatpolicyRuleMatchSourceIpAddr, NatpolicyRuleMatchSourceIpAddrArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    NatpolicyRuleMatchSourceIpPrefix, NatpolicyRuleMatchSourceIpPrefixArgs

    NatpolicyRuleMatchSourceIpPrefixIpAddr, NatpolicyRuleMatchSourceIpPrefixIpAddrArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    NatpolicyRuleMatchSourceIpRange, NatpolicyRuleMatchSourceIpRangeArgs

    NatpolicyRuleMatchSourceIpRangeBegin, NatpolicyRuleMatchSourceIpRangeBeginArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    NatpolicyRuleMatchSourceIpRangeEnd, NatpolicyRuleMatchSourceIpRangeEndArgs

    Addr string
    Type string
    Addr string
    Type string
    addr String
    type String
    addr string
    type string
    addr str
    type str
    addr String
    type String

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    avi logo
    avi 31.1.1 published on Monday, Apr 14, 2025 by vmware