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

avi.Networksecuritypolicy

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.Networksecuritypolicy” sidebar_current: “docs-avi-resource-networksecuritypolicy” description: |- Creates and manages Avi NetworkSecurityPolicy.

    avi.Networksecuritypolicy

    The NetworkSecurityPolicy resource allows the creation and management of Avi NetworkSecurityPolicy

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const foo = new avi.Networksecuritypolicy("foo", {tenantRef: "/api/tenant/?name=admin"});
    
    import pulumi
    import pulumi_avi as avi
    
    foo = avi.Networksecuritypolicy("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.NewNetworksecuritypolicy(ctx, "foo", &avi.NetworksecuritypolicyArgs{
    			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.Networksecuritypolicy("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.Networksecuritypolicy;
    import com.pulumi.avi.NetworksecuritypolicyArgs;
    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 Networksecuritypolicy("foo", NetworksecuritypolicyArgs.builder()
                .tenantRef("/api/tenant/?name=admin")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: avi:Networksecuritypolicy
        properties:
          tenantRef: /api/tenant/?name=admin
    

    Create Networksecuritypolicy Resource

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

    Constructor syntax

    new Networksecuritypolicy(name: string, args?: NetworksecuritypolicyArgs, opts?: CustomResourceOptions);
    @overload
    def Networksecuritypolicy(resource_name: str,
                              args: Optional[NetworksecuritypolicyArgs] = None,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Networksecuritypolicy(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              cloud_config_cksum: Optional[str] = None,
                              configpb_attributes: Optional[Sequence[NetworksecuritypolicyConfigpbAttributeArgs]] = None,
                              created_by: Optional[str] = None,
                              description: Optional[str] = None,
                              geo_db_ref: Optional[str] = None,
                              internal: Optional[str] = None,
                              ip_reputation_db_ref: Optional[str] = None,
                              markers: Optional[Sequence[NetworksecuritypolicyMarkerArgs]] = None,
                              name: Optional[str] = None,
                              networksecuritypolicy_id: Optional[str] = None,
                              rules: Optional[Sequence[NetworksecuritypolicyRuleArgs]] = None,
                              tenant_ref: Optional[str] = None,
                              uuid: Optional[str] = None)
    func NewNetworksecuritypolicy(ctx *Context, name string, args *NetworksecuritypolicyArgs, opts ...ResourceOption) (*Networksecuritypolicy, error)
    public Networksecuritypolicy(string name, NetworksecuritypolicyArgs? args = null, CustomResourceOptions? opts = null)
    public Networksecuritypolicy(String name, NetworksecuritypolicyArgs args)
    public Networksecuritypolicy(String name, NetworksecuritypolicyArgs args, CustomResourceOptions options)
    
    type: avi:Networksecuritypolicy
    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 NetworksecuritypolicyArgs
    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 NetworksecuritypolicyArgs
    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 NetworksecuritypolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworksecuritypolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworksecuritypolicyArgs
    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 networksecuritypolicyResource = new Avi.Networksecuritypolicy("networksecuritypolicyResource", new()
    {
        CloudConfigCksum = "string",
        ConfigpbAttributes = new[]
        {
            new Avi.Inputs.NetworksecuritypolicyConfigpbAttributeArgs
            {
                Version = "string",
            },
        },
        CreatedBy = "string",
        Description = "string",
        GeoDbRef = "string",
        Internal = "string",
        IpReputationDbRef = "string",
        Markers = new[]
        {
            new Avi.Inputs.NetworksecuritypolicyMarkerArgs
            {
                Key = "string",
                Values = new[]
                {
                    "string",
                },
            },
        },
        Name = "string",
        NetworksecuritypolicyId = "string",
        Rules = new[]
        {
            new Avi.Inputs.NetworksecuritypolicyRuleArgs
            {
                Action = "string",
                Enable = "string",
                Index = "string",
                Matches = new[]
                {
                    new Avi.Inputs.NetworksecuritypolicyRuleMatchArgs
                    {
                        ClientIps = new[]
                        {
                            new Avi.Inputs.NetworksecuritypolicyRuleMatchClientIpArgs
                            {
                                MatchCriteria = "string",
                                Addrs = new[]
                                {
                                    new Avi.Inputs.NetworksecuritypolicyRuleMatchClientIpAddrArgs
                                    {
                                        Addr = "string",
                                        Type = "string",
                                    },
                                },
                                GroupRefs = new[]
                                {
                                    "string",
                                },
                                Prefixes = new[]
                                {
                                    new Avi.Inputs.NetworksecuritypolicyRuleMatchClientIpPrefixArgs
                                    {
                                        IpAddrs = new[]
                                        {
                                            new Avi.Inputs.NetworksecuritypolicyRuleMatchClientIpPrefixIpAddrArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        Mask = "string",
                                    },
                                },
                                Ranges = new[]
                                {
                                    new Avi.Inputs.NetworksecuritypolicyRuleMatchClientIpRangeArgs
                                    {
                                        Begins = new[]
                                        {
                                            new Avi.Inputs.NetworksecuritypolicyRuleMatchClientIpRangeBeginArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        Ends = new[]
                                        {
                                            new Avi.Inputs.NetworksecuritypolicyRuleMatchClientIpRangeEndArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        ClientPorts = new[]
                        {
                            new Avi.Inputs.NetworksecuritypolicyRuleMatchClientPortArgs
                            {
                                MatchCriteria = "string",
                                Ports = new[]
                                {
                                    0,
                                },
                                Ranges = new[]
                                {
                                    new Avi.Inputs.NetworksecuritypolicyRuleMatchClientPortRangeArgs
                                    {
                                        End = "string",
                                        Start = "string",
                                    },
                                },
                            },
                        },
                        GeoMatches = new[]
                        {
                            new Avi.Inputs.NetworksecuritypolicyRuleMatchGeoMatchArgs
                            {
                                Attribute = "string",
                                MatchOperation = "string",
                                Values = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        IpReputationTypes = new[]
                        {
                            new Avi.Inputs.NetworksecuritypolicyRuleMatchIpReputationTypeArgs
                            {
                                MatchOperation = "string",
                                ReputationTypes = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        Microservices = new[]
                        {
                            new Avi.Inputs.NetworksecuritypolicyRuleMatchMicroserviceArgs
                            {
                                GroupRef = "string",
                                MatchCriteria = "string",
                            },
                        },
                        VsPorts = new[]
                        {
                            new Avi.Inputs.NetworksecuritypolicyRuleMatchVsPortArgs
                            {
                                MatchCriteria = "string",
                                Ports = new[]
                                {
                                    0,
                                },
                            },
                        },
                    },
                },
                Name = "string",
                Age = "string",
                CreatedBy = "string",
                Log = "string",
                RlParams = new[]
                {
                    new Avi.Inputs.NetworksecuritypolicyRuleRlParamArgs
                    {
                        BurstSize = "string",
                        MaxRate = "string",
                    },
                },
            },
        },
        TenantRef = "string",
        Uuid = "string",
    });
    
    example, err := avi.NewNetworksecuritypolicy(ctx, "networksecuritypolicyResource", &avi.NetworksecuritypolicyArgs{
    	CloudConfigCksum: pulumi.String("string"),
    	ConfigpbAttributes: avi.NetworksecuritypolicyConfigpbAttributeArray{
    		&avi.NetworksecuritypolicyConfigpbAttributeArgs{
    			Version: pulumi.String("string"),
    		},
    	},
    	CreatedBy:         pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	GeoDbRef:          pulumi.String("string"),
    	Internal:          pulumi.String("string"),
    	IpReputationDbRef: pulumi.String("string"),
    	Markers: avi.NetworksecuritypolicyMarkerArray{
    		&avi.NetworksecuritypolicyMarkerArgs{
    			Key: pulumi.String("string"),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Name:                    pulumi.String("string"),
    	NetworksecuritypolicyId: pulumi.String("string"),
    	Rules: avi.NetworksecuritypolicyRuleArray{
    		&avi.NetworksecuritypolicyRuleArgs{
    			Action: pulumi.String("string"),
    			Enable: pulumi.String("string"),
    			Index:  pulumi.String("string"),
    			Matches: avi.NetworksecuritypolicyRuleMatchArray{
    				&avi.NetworksecuritypolicyRuleMatchArgs{
    					ClientIps: avi.NetworksecuritypolicyRuleMatchClientIpArray{
    						&avi.NetworksecuritypolicyRuleMatchClientIpArgs{
    							MatchCriteria: pulumi.String("string"),
    							Addrs: avi.NetworksecuritypolicyRuleMatchClientIpAddrArray{
    								&avi.NetworksecuritypolicyRuleMatchClientIpAddrArgs{
    									Addr: pulumi.String("string"),
    									Type: pulumi.String("string"),
    								},
    							},
    							GroupRefs: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							Prefixes: avi.NetworksecuritypolicyRuleMatchClientIpPrefixArray{
    								&avi.NetworksecuritypolicyRuleMatchClientIpPrefixArgs{
    									IpAddrs: avi.NetworksecuritypolicyRuleMatchClientIpPrefixIpAddrArray{
    										&avi.NetworksecuritypolicyRuleMatchClientIpPrefixIpAddrArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									Mask: pulumi.String("string"),
    								},
    							},
    							Ranges: avi.NetworksecuritypolicyRuleMatchClientIpRangeArray{
    								&avi.NetworksecuritypolicyRuleMatchClientIpRangeArgs{
    									Begins: avi.NetworksecuritypolicyRuleMatchClientIpRangeBeginArray{
    										&avi.NetworksecuritypolicyRuleMatchClientIpRangeBeginArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									Ends: avi.NetworksecuritypolicyRuleMatchClientIpRangeEndArray{
    										&avi.NetworksecuritypolicyRuleMatchClientIpRangeEndArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    					ClientPorts: avi.NetworksecuritypolicyRuleMatchClientPortArray{
    						&avi.NetworksecuritypolicyRuleMatchClientPortArgs{
    							MatchCriteria: pulumi.String("string"),
    							Ports: pulumi.Float64Array{
    								pulumi.Float64(0),
    							},
    							Ranges: avi.NetworksecuritypolicyRuleMatchClientPortRangeArray{
    								&avi.NetworksecuritypolicyRuleMatchClientPortRangeArgs{
    									End:   pulumi.String("string"),
    									Start: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					GeoMatches: avi.NetworksecuritypolicyRuleMatchGeoMatchArray{
    						&avi.NetworksecuritypolicyRuleMatchGeoMatchArgs{
    							Attribute:      pulumi.String("string"),
    							MatchOperation: pulumi.String("string"),
    							Values: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					IpReputationTypes: avi.NetworksecuritypolicyRuleMatchIpReputationTypeArray{
    						&avi.NetworksecuritypolicyRuleMatchIpReputationTypeArgs{
    							MatchOperation: pulumi.String("string"),
    							ReputationTypes: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					Microservices: avi.NetworksecuritypolicyRuleMatchMicroserviceArray{
    						&avi.NetworksecuritypolicyRuleMatchMicroserviceArgs{
    							GroupRef:      pulumi.String("string"),
    							MatchCriteria: pulumi.String("string"),
    						},
    					},
    					VsPorts: avi.NetworksecuritypolicyRuleMatchVsPortArray{
    						&avi.NetworksecuritypolicyRuleMatchVsPortArgs{
    							MatchCriteria: pulumi.String("string"),
    							Ports: pulumi.Float64Array{
    								pulumi.Float64(0),
    							},
    						},
    					},
    				},
    			},
    			Name:      pulumi.String("string"),
    			Age:       pulumi.String("string"),
    			CreatedBy: pulumi.String("string"),
    			Log:       pulumi.String("string"),
    			RlParams: avi.NetworksecuritypolicyRuleRlParamArray{
    				&avi.NetworksecuritypolicyRuleRlParamArgs{
    					BurstSize: pulumi.String("string"),
    					MaxRate:   pulumi.String("string"),
    				},
    			},
    		},
    	},
    	TenantRef: pulumi.String("string"),
    	Uuid:      pulumi.String("string"),
    })
    
    var networksecuritypolicyResource = new Networksecuritypolicy("networksecuritypolicyResource", NetworksecuritypolicyArgs.builder()
        .cloudConfigCksum("string")
        .configpbAttributes(NetworksecuritypolicyConfigpbAttributeArgs.builder()
            .version("string")
            .build())
        .createdBy("string")
        .description("string")
        .geoDbRef("string")
        .internal("string")
        .ipReputationDbRef("string")
        .markers(NetworksecuritypolicyMarkerArgs.builder()
            .key("string")
            .values("string")
            .build())
        .name("string")
        .networksecuritypolicyId("string")
        .rules(NetworksecuritypolicyRuleArgs.builder()
            .action("string")
            .enable("string")
            .index("string")
            .matches(NetworksecuritypolicyRuleMatchArgs.builder()
                .clientIps(NetworksecuritypolicyRuleMatchClientIpArgs.builder()
                    .matchCriteria("string")
                    .addrs(NetworksecuritypolicyRuleMatchClientIpAddrArgs.builder()
                        .addr("string")
                        .type("string")
                        .build())
                    .groupRefs("string")
                    .prefixes(NetworksecuritypolicyRuleMatchClientIpPrefixArgs.builder()
                        .ipAddrs(NetworksecuritypolicyRuleMatchClientIpPrefixIpAddrArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .mask("string")
                        .build())
                    .ranges(NetworksecuritypolicyRuleMatchClientIpRangeArgs.builder()
                        .begins(NetworksecuritypolicyRuleMatchClientIpRangeBeginArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .ends(NetworksecuritypolicyRuleMatchClientIpRangeEndArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .build())
                    .build())
                .clientPorts(NetworksecuritypolicyRuleMatchClientPortArgs.builder()
                    .matchCriteria("string")
                    .ports(0)
                    .ranges(NetworksecuritypolicyRuleMatchClientPortRangeArgs.builder()
                        .end("string")
                        .start("string")
                        .build())
                    .build())
                .geoMatches(NetworksecuritypolicyRuleMatchGeoMatchArgs.builder()
                    .attribute("string")
                    .matchOperation("string")
                    .values("string")
                    .build())
                .ipReputationTypes(NetworksecuritypolicyRuleMatchIpReputationTypeArgs.builder()
                    .matchOperation("string")
                    .reputationTypes("string")
                    .build())
                .microservices(NetworksecuritypolicyRuleMatchMicroserviceArgs.builder()
                    .groupRef("string")
                    .matchCriteria("string")
                    .build())
                .vsPorts(NetworksecuritypolicyRuleMatchVsPortArgs.builder()
                    .matchCriteria("string")
                    .ports(0)
                    .build())
                .build())
            .name("string")
            .age("string")
            .createdBy("string")
            .log("string")
            .rlParams(NetworksecuritypolicyRuleRlParamArgs.builder()
                .burstSize("string")
                .maxRate("string")
                .build())
            .build())
        .tenantRef("string")
        .uuid("string")
        .build());
    
    networksecuritypolicy_resource = avi.Networksecuritypolicy("networksecuritypolicyResource",
        cloud_config_cksum="string",
        configpb_attributes=[{
            "version": "string",
        }],
        created_by="string",
        description="string",
        geo_db_ref="string",
        internal="string",
        ip_reputation_db_ref="string",
        markers=[{
            "key": "string",
            "values": ["string"],
        }],
        name="string",
        networksecuritypolicy_id="string",
        rules=[{
            "action": "string",
            "enable": "string",
            "index": "string",
            "matches": [{
                "client_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",
                        }],
                    }],
                }],
                "client_ports": [{
                    "match_criteria": "string",
                    "ports": [0],
                    "ranges": [{
                        "end": "string",
                        "start": "string",
                    }],
                }],
                "geo_matches": [{
                    "attribute": "string",
                    "match_operation": "string",
                    "values": ["string"],
                }],
                "ip_reputation_types": [{
                    "match_operation": "string",
                    "reputation_types": ["string"],
                }],
                "microservices": [{
                    "group_ref": "string",
                    "match_criteria": "string",
                }],
                "vs_ports": [{
                    "match_criteria": "string",
                    "ports": [0],
                }],
            }],
            "name": "string",
            "age": "string",
            "created_by": "string",
            "log": "string",
            "rl_params": [{
                "burst_size": "string",
                "max_rate": "string",
            }],
        }],
        tenant_ref="string",
        uuid="string")
    
    const networksecuritypolicyResource = new avi.Networksecuritypolicy("networksecuritypolicyResource", {
        cloudConfigCksum: "string",
        configpbAttributes: [{
            version: "string",
        }],
        createdBy: "string",
        description: "string",
        geoDbRef: "string",
        internal: "string",
        ipReputationDbRef: "string",
        markers: [{
            key: "string",
            values: ["string"],
        }],
        name: "string",
        networksecuritypolicyId: "string",
        rules: [{
            action: "string",
            enable: "string",
            index: "string",
            matches: [{
                clientIps: [{
                    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",
                        }],
                    }],
                }],
                clientPorts: [{
                    matchCriteria: "string",
                    ports: [0],
                    ranges: [{
                        end: "string",
                        start: "string",
                    }],
                }],
                geoMatches: [{
                    attribute: "string",
                    matchOperation: "string",
                    values: ["string"],
                }],
                ipReputationTypes: [{
                    matchOperation: "string",
                    reputationTypes: ["string"],
                }],
                microservices: [{
                    groupRef: "string",
                    matchCriteria: "string",
                }],
                vsPorts: [{
                    matchCriteria: "string",
                    ports: [0],
                }],
            }],
            name: "string",
            age: "string",
            createdBy: "string",
            log: "string",
            rlParams: [{
                burstSize: "string",
                maxRate: "string",
            }],
        }],
        tenantRef: "string",
        uuid: "string",
    });
    
    type: avi:Networksecuritypolicy
    properties:
        cloudConfigCksum: string
        configpbAttributes:
            - version: string
        createdBy: string
        description: string
        geoDbRef: string
        internal: string
        ipReputationDbRef: string
        markers:
            - key: string
              values:
                - string
        name: string
        networksecuritypolicyId: string
        rules:
            - action: string
              age: string
              createdBy: string
              enable: string
              index: string
              log: string
              matches:
                - clientIps:
                    - 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
                  clientPorts:
                    - matchCriteria: string
                      ports:
                        - 0
                      ranges:
                        - end: string
                          start: string
                  geoMatches:
                    - attribute: string
                      matchOperation: string
                      values:
                        - string
                  ipReputationTypes:
                    - matchOperation: string
                      reputationTypes:
                        - string
                  microservices:
                    - groupRef: string
                      matchCriteria: string
                  vsPorts:
                    - matchCriteria: string
                      ports:
                        - 0
              name: string
              rlParams:
                - burstSize: string
                  maxRate: string
        tenantRef: string
        uuid: string
    

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

    CloudConfigCksum string
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes List<NetworksecuritypolicyConfigpbAttribute>
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    GeoDbRef string
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Internal string
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    IpReputationDbRef string
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Markers List<NetworksecuritypolicyMarker>
    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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NetworksecuritypolicyId string
    Rules List<NetworksecuritypolicyRule>
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CloudConfigCksum string
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes []NetworksecuritypolicyConfigpbAttributeArgs
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    GeoDbRef string
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Internal string
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    IpReputationDbRef string
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Markers []NetworksecuritypolicyMarkerArgs
    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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NetworksecuritypolicyId string
    Rules []NetworksecuritypolicyRuleArgs
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cloudConfigCksum String
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<NetworksecuritypolicyConfigpbAttribute>
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    geoDbRef String
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    internal String
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ipReputationDbRef String
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    markers List<NetworksecuritypolicyMarker>
    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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    networksecuritypolicyId String
    rules List<NetworksecuritypolicyRule>
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cloudConfigCksum string
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes NetworksecuritypolicyConfigpbAttribute[]
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    geoDbRef string
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    internal string
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ipReputationDbRef string
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    markers NetworksecuritypolicyMarker[]
    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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    networksecuritypolicyId string
    rules NetworksecuritypolicyRule[]
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cloud_config_cksum str
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpb_attributes Sequence[NetworksecuritypolicyConfigpbAttributeArgs]
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    geo_db_ref str
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    internal str
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ip_reputation_db_ref str
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    markers Sequence[NetworksecuritypolicyMarkerArgs]
    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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    networksecuritypolicy_id str
    rules Sequence[NetworksecuritypolicyRuleArgs]
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cloudConfigCksum String
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. 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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    geoDbRef String
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    internal String
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ipReputationDbRef String
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, 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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    networksecuritypolicyId String
    rules List<Property Map>
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    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 Networksecuritypolicy 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 Networksecuritypolicy Resource

    Get an existing Networksecuritypolicy 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?: NetworksecuritypolicyState, opts?: CustomResourceOptions): Networksecuritypolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloud_config_cksum: Optional[str] = None,
            configpb_attributes: Optional[Sequence[NetworksecuritypolicyConfigpbAttributeArgs]] = None,
            created_by: Optional[str] = None,
            description: Optional[str] = None,
            geo_db_ref: Optional[str] = None,
            internal: Optional[str] = None,
            ip_reputation_db_ref: Optional[str] = None,
            markers: Optional[Sequence[NetworksecuritypolicyMarkerArgs]] = None,
            name: Optional[str] = None,
            networksecuritypolicy_id: Optional[str] = None,
            rules: Optional[Sequence[NetworksecuritypolicyRuleArgs]] = None,
            tenant_ref: Optional[str] = None,
            uuid: Optional[str] = None) -> Networksecuritypolicy
    func GetNetworksecuritypolicy(ctx *Context, name string, id IDInput, state *NetworksecuritypolicyState, opts ...ResourceOption) (*Networksecuritypolicy, error)
    public static Networksecuritypolicy Get(string name, Input<string> id, NetworksecuritypolicyState? state, CustomResourceOptions? opts = null)
    public static Networksecuritypolicy get(String name, Output<String> id, NetworksecuritypolicyState state, CustomResourceOptions options)
    resources:  _:    type: avi:Networksecuritypolicy    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:
    CloudConfigCksum string
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes List<NetworksecuritypolicyConfigpbAttribute>
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    GeoDbRef string
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Internal string
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    IpReputationDbRef string
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Markers List<NetworksecuritypolicyMarker>
    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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NetworksecuritypolicyId string
    Rules List<NetworksecuritypolicyRule>
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    CloudConfigCksum string
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes []NetworksecuritypolicyConfigpbAttributeArgs
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    GeoDbRef string
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Internal string
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    IpReputationDbRef string
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Markers []NetworksecuritypolicyMarkerArgs
    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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NetworksecuritypolicyId string
    Rules []NetworksecuritypolicyRuleArgs
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cloudConfigCksum String
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<NetworksecuritypolicyConfigpbAttribute>
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    geoDbRef String
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    internal String
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ipReputationDbRef String
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    markers List<NetworksecuritypolicyMarker>
    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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    networksecuritypolicyId String
    rules List<NetworksecuritypolicyRule>
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cloudConfigCksum string
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes NetworksecuritypolicyConfigpbAttribute[]
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    geoDbRef string
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    internal string
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ipReputationDbRef string
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    markers NetworksecuritypolicyMarker[]
    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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    networksecuritypolicyId string
    rules NetworksecuritypolicyRule[]
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cloud_config_cksum str
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpb_attributes Sequence[NetworksecuritypolicyConfigpbAttributeArgs]
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    geo_db_ref str
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    internal str
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ip_reputation_db_ref str
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    markers Sequence[NetworksecuritypolicyMarkerArgs]
    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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    networksecuritypolicy_id str
    rules Sequence[NetworksecuritypolicyRuleArgs]
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    cloudConfigCksum String
    Checksum of cloud configuration for network sec policy. Internally set by cloud connector. 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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    geoDbRef String
    Geo database. It is a reference to an object of type geodb. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    internal String
    Network security policy is created and modified by internal modules only. Should not be modified by users. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ipReputationDbRef String
    Ip reputation database. It is a reference to an object of type ipreputationdb. Field introduced in 20.1.1. Allowed with any value in enterprise, 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
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    networksecuritypolicyId String
    rules List<Property Map>
    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. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    Supporting Types

    NetworksecuritypolicyConfigpbAttribute, NetworksecuritypolicyConfigpbAttributeArgs

    Version string
    Version string
    version String
    version string
    version String

    NetworksecuritypolicyMarker, NetworksecuritypolicyMarkerArgs

    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>

    NetworksecuritypolicyRule, NetworksecuritypolicyRuleArgs

    Action string
    Enable string
    Index string
    Matches List<NetworksecuritypolicyRuleMatch>
    Name string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Age string
    CreatedBy string
    Creator name. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Log string
    RlParams List<NetworksecuritypolicyRuleRlParam>
    Action string
    Enable string
    Index string
    Matches []NetworksecuritypolicyRuleMatch
    Name string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Age string
    CreatedBy string
    Creator name. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Log string
    RlParams []NetworksecuritypolicyRuleRlParam
    action String
    enable String
    index String
    matches List<NetworksecuritypolicyRuleMatch>
    name String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    age String
    createdBy String
    Creator name. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    log String
    rlParams List<NetworksecuritypolicyRuleRlParam>
    action string
    enable string
    index string
    matches NetworksecuritypolicyRuleMatch[]
    name string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    age string
    createdBy string
    Creator name. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    log string
    rlParams NetworksecuritypolicyRuleRlParam[]
    action str
    enable str
    index str
    matches Sequence[NetworksecuritypolicyRuleMatch]
    name str
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    age str
    created_by str
    Creator name. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    log str
    rl_params Sequence[NetworksecuritypolicyRuleRlParam]
    action String
    enable String
    index String
    matches List<Property Map>
    name String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    age String
    createdBy String
    Creator name. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    log String
    rlParams List<Property Map>

    NetworksecuritypolicyRuleMatch, NetworksecuritypolicyRuleMatchArgs

    NetworksecuritypolicyRuleMatchClientIp, NetworksecuritypolicyRuleMatchClientIpArgs

    NetworksecuritypolicyRuleMatchClientIpAddr, NetworksecuritypolicyRuleMatchClientIpAddrArgs

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

    NetworksecuritypolicyRuleMatchClientIpPrefix, NetworksecuritypolicyRuleMatchClientIpPrefixArgs

    NetworksecuritypolicyRuleMatchClientIpPrefixIpAddr, NetworksecuritypolicyRuleMatchClientIpPrefixIpAddrArgs

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

    NetworksecuritypolicyRuleMatchClientIpRange, NetworksecuritypolicyRuleMatchClientIpRangeArgs

    NetworksecuritypolicyRuleMatchClientIpRangeBegin, NetworksecuritypolicyRuleMatchClientIpRangeBeginArgs

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

    NetworksecuritypolicyRuleMatchClientIpRangeEnd, NetworksecuritypolicyRuleMatchClientIpRangeEndArgs

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

    NetworksecuritypolicyRuleMatchClientPort, NetworksecuritypolicyRuleMatchClientPortArgs

    NetworksecuritypolicyRuleMatchClientPortRange, NetworksecuritypolicyRuleMatchClientPortRangeArgs

    End string
    Start string
    End string
    Start string
    end String
    start String
    end string
    start string
    end str
    start str
    end String
    start String

    NetworksecuritypolicyRuleMatchGeoMatch, NetworksecuritypolicyRuleMatchGeoMatchArgs

    Attribute string
    MatchOperation string
    Values List<string>
    Attribute string
    MatchOperation string
    Values []string
    attribute String
    matchOperation String
    values List<String>
    attribute string
    matchOperation string
    values string[]
    attribute str
    match_operation str
    values Sequence[str]
    attribute String
    matchOperation String
    values List<String>

    NetworksecuritypolicyRuleMatchIpReputationType, NetworksecuritypolicyRuleMatchIpReputationTypeArgs

    MatchOperation string
    ReputationTypes List<string>
    matchOperation String
    reputationTypes List<String>
    matchOperation String
    reputationTypes List<String>

    NetworksecuritypolicyRuleMatchMicroservice, NetworksecuritypolicyRuleMatchMicroserviceArgs

    GroupRef string
    MatchCriteria string
    GroupRef string
    MatchCriteria string
    groupRef String
    matchCriteria String
    groupRef string
    matchCriteria string
    groupRef String
    matchCriteria String

    NetworksecuritypolicyRuleMatchVsPort, NetworksecuritypolicyRuleMatchVsPortArgs

    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>

    NetworksecuritypolicyRuleRlParam, NetworksecuritypolicyRuleRlParamArgs

    BurstSize string
    MaxRate string
    BurstSize string
    MaxRate string
    burstSize String
    maxRate String
    burstSize string
    maxRate string
    burstSize String
    maxRate 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