1. Registry
  2. Packages
  3. Avi Provider
  4. API Docs
  5. Apipolicy
Viewing docs for avi 32.1.4
published on Friday, Oct 23, 2026 by vmware
avi
Viewing docs for avi 32.1.4
published on Friday, Oct 23, 2026 by vmware

    <!–

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

    –>

    layout: “avi”

    page_title: “Avi: avi.Apipolicy” sidebar_current: “docs-avi-resource-apipolicy” description: |- Creates and manages Avi ApiPolicy.

    avi.Apipolicy

    The ApiPolicy resource allows the creation and management of Avi ApiPolicy

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const foo = new avi.Apipolicy("foo", {
        name: "terraform-example-foo",
        tenantRef: "/api/tenant/?name=admin",
    });
    
    import pulumi
    import pulumi_avi as avi
    
    foo = avi.Apipolicy("foo",
        name="terraform-example-foo",
        tenant_ref="/api/tenant/?name=admin")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v32/avi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := avi.NewApipolicy(ctx, "foo", &avi.ApipolicyArgs{
    			Name:      pulumi.String("terraform-example-foo"),
    			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.Apipolicy("foo", new()
        {
            Name = "terraform-example-foo",
            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.Apipolicy;
    import com.pulumi.avi.ApipolicyArgs;
    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 Apipolicy("foo", ApipolicyArgs.builder()
                .name("terraform-example-foo")
                .tenantRef("/api/tenant/?name=admin")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: avi:Apipolicy
        properties:
          name: terraform-example-foo
          tenantRef: /api/tenant/?name=admin
    
    Example coming soon!
    

    Create Apipolicy Resource

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

    Constructor syntax

    new Apipolicy(name: string, args?: ApipolicyArgs, opts?: CustomResourceOptions);
    @overload
    def Apipolicy(resource_name: str,
                  args: Optional[ApipolicyArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Apipolicy(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  active_api_labels: Optional[Sequence[ApipolicyActiveApiLabelArgs]] = None,
                  api_spec_infos: Optional[Sequence[ApipolicyApiSpecInfoArgs]] = None,
                  apipolicy_id: Optional[str] = None,
                  configpb_attributes: Optional[Sequence[ApipolicyConfigpbAttributeArgs]] = None,
                  description: Optional[str] = None,
                  file_object_refs: Optional[Sequence[str]] = None,
                  label_mappings: Optional[Sequence[ApipolicyLabelMappingArgs]] = None,
                  name: Optional[str] = None,
                  non_api_url_labels: Optional[Sequence[ApipolicyNonApiUrlLabelArgs]] = None,
                  orphan_api_classification_settings: Optional[Sequence[ApipolicyOrphanApiClassificationSettingArgs]] = None,
                  orphan_api_labels: Optional[Sequence[ApipolicyOrphanApiLabelArgs]] = None,
                  path_refs: Optional[Sequence[str]] = None,
                  routing_infos: Optional[Sequence[ApipolicyRoutingInfoArgs]] = None,
                  server_infos: Optional[Sequence[ApipolicyServerInfoArgs]] = None,
                  shadow_api_labels: Optional[Sequence[ApipolicyShadowApiLabelArgs]] = None,
                  tenant_ref: Optional[str] = None,
                  uuid: Optional[str] = None,
                  validation_settings: Optional[Sequence[ApipolicyValidationSettingArgs]] = None,
                  zombie_api_classification_settings: Optional[Sequence[ApipolicyZombieApiClassificationSettingArgs]] = None,
                  zombie_api_labels: Optional[Sequence[ApipolicyZombieApiLabelArgs]] = None)
    func NewApipolicy(ctx *Context, name string, args *ApipolicyArgs, opts ...ResourceOption) (*Apipolicy, error)
    public Apipolicy(string name, ApipolicyArgs? args = null, CustomResourceOptions? opts = null)
    public Apipolicy(String name, ApipolicyArgs args)
    public Apipolicy(String name, ApipolicyArgs args, CustomResourceOptions options)
    
    type: avi:Apipolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "avi_apipolicy" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ApipolicyArgs
    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 ApipolicyArgs
    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 ApipolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApipolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApipolicyArgs
    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 apipolicyResource = new Avi.Apipolicy("apipolicyResource", new()
    {
        ActiveApiLabels = new[]
        {
            new Avi.Inputs.ApipolicyActiveApiLabelArgs
            {
                Enabled = "string",
                Labels = new[]
                {
                    "string",
                },
            },
        },
        ApiSpecInfos = new[]
        {
            new Avi.Inputs.ApipolicyApiSpecInfoArgs
            {
                ComponentSchemaCount = "string",
                Description = "string",
                InlineSchemaCount = "string",
                OasVersion = "string",
                PathCount = "string",
                Servers = new[]
                {
                    new Avi.Inputs.ApipolicyApiSpecInfoServerArgs
                    {
                        Url = "string",
                        Description = "string",
                    },
                },
                Title = "string",
                Version = "string",
            },
        },
        ApipolicyId = "string",
        ConfigpbAttributes = new[]
        {
            new Avi.Inputs.ApipolicyConfigpbAttributeArgs
            {
                CreatedBy = "string",
                Version = "string",
            },
        },
        Description = "string",
        FileObjectRefs = new[]
        {
            "string",
        },
        LabelMappings = new[]
        {
            new Avi.Inputs.ApipolicyLabelMappingArgs
            {
                ApiPolicyActions = new[]
                {
                    "string",
                },
                Label = "string",
                Enabled = "string",
            },
        },
        Name = "string",
        NonApiUrlLabels = new[]
        {
            new Avi.Inputs.ApipolicyNonApiUrlLabelArgs
            {
                Enabled = "string",
                Labels = new[]
                {
                    "string",
                },
            },
        },
        OrphanApiClassificationSettings = new[]
        {
            new Avi.Inputs.ApipolicyOrphanApiClassificationSettingArgs
            {
                Enabled = "string",
                InspectionIntervalUnit = "string",
                InspectionIntervalValue = "string",
            },
        },
        OrphanApiLabels = new[]
        {
            new Avi.Inputs.ApipolicyOrphanApiLabelArgs
            {
                Enabled = "string",
                Labels = new[]
                {
                    "string",
                },
            },
        },
        PathRefs = new[]
        {
            "string",
        },
        RoutingInfos = new[]
        {
            new Avi.Inputs.ApipolicyRoutingInfoArgs
            {
                Rules = new[]
                {
                    new Avi.Inputs.ApipolicyRoutingInfoRuleArgs
                    {
                        Matches = new[]
                        {
                            new Avi.Inputs.ApipolicyRoutingInfoRuleMatchArgs
                            {
                                BotDetectionResults = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchBotDetectionResultArgs
                                    {
                                        MatchOperation = "string",
                                        Classifications = new[]
                                        {
                                            new Avi.Inputs.ApipolicyRoutingInfoRuleMatchBotDetectionResultClassificationArgs
                                            {
                                                Type = "string",
                                                UserDefinedType = "string",
                                            },
                                        },
                                    },
                                },
                                ClientIps = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchClientIpArgs
                                    {
                                        MatchCriteria = "string",
                                        Addrs = new[]
                                        {
                                            new Avi.Inputs.ApipolicyRoutingInfoRuleMatchClientIpAddrArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        GroupRefs = new[]
                                        {
                                            "string",
                                        },
                                        Prefixes = new[]
                                        {
                                            new Avi.Inputs.ApipolicyRoutingInfoRuleMatchClientIpPrefixArgs
                                            {
                                                IpAddrs = new[]
                                                {
                                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchClientIpPrefixIpAddrArgs
                                                    {
                                                        Addr = "string",
                                                        Type = "string",
                                                    },
                                                },
                                                Mask = "string",
                                            },
                                        },
                                        Ranges = new[]
                                        {
                                            new Avi.Inputs.ApipolicyRoutingInfoRuleMatchClientIpRangeArgs
                                            {
                                                Begins = new[]
                                                {
                                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchClientIpRangeBeginArgs
                                                    {
                                                        Addr = "string",
                                                        Type = "string",
                                                    },
                                                },
                                                Ends = new[]
                                                {
                                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchClientIpRangeEndArgs
                                                    {
                                                        Addr = "string",
                                                        Type = "string",
                                                    },
                                                },
                                            },
                                        },
                                    },
                                },
                                Cookies = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchCookieArgs
                                    {
                                        MatchCriteria = "string",
                                        Name = "string",
                                        MatchCase = "string",
                                        Value = "string",
                                    },
                                },
                                GeoMatches = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchGeoMatchArgs
                                    {
                                        Attribute = "string",
                                        MatchOperation = "string",
                                        Values = new[]
                                        {
                                            "string",
                                        },
                                    },
                                },
                                Hdrs = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchHdrArgs
                                    {
                                        Hdr = "string",
                                        MatchCriteria = "string",
                                        MatchCase = "string",
                                        StringGroupRefs = new[]
                                        {
                                            "string",
                                        },
                                        Values = new[]
                                        {
                                            "string",
                                        },
                                    },
                                },
                                HostHdrs = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchHostHdrArgs
                                    {
                                        MatchCriteria = "string",
                                        MatchCase = "string",
                                        Values = new[]
                                        {
                                            "string",
                                        },
                                    },
                                },
                                IpReputationTypes = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchIpReputationTypeArgs
                                    {
                                        MatchOperation = "string",
                                        ReputationTypes = new[]
                                        {
                                            "string",
                                        },
                                    },
                                },
                                Labels = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchLabelArgs
                                    {
                                        Values = new[]
                                        {
                                            "string",
                                        },
                                        MatchCriteria = "string",
                                    },
                                },
                                Methods = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchMethodArgs
                                    {
                                        MatchCriteria = "string",
                                        Methods = new[]
                                        {
                                            "string",
                                        },
                                    },
                                },
                                Paths = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchPathArgs
                                    {
                                        MatchCriteria = "string",
                                        MatchCase = "string",
                                        MatchDecodedString = "string",
                                        MatchStrs = new[]
                                        {
                                            "string",
                                        },
                                        StringGroupRefs = new[]
                                        {
                                            "string",
                                        },
                                    },
                                },
                                Protocols = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchProtocolArgs
                                    {
                                        MatchCriteria = "string",
                                        Protocols = "string",
                                    },
                                },
                                Queries = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchQueryArgs
                                    {
                                        MatchCriteria = "string",
                                        MatchCase = "string",
                                        MatchDecodedString = "string",
                                        MatchStrs = new[]
                                        {
                                            "string",
                                        },
                                        StringGroupRefs = new[]
                                        {
                                            "string",
                                        },
                                    },
                                },
                                SourceIps = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchSourceIpArgs
                                    {
                                        MatchCriteria = "string",
                                        Addrs = new[]
                                        {
                                            new Avi.Inputs.ApipolicyRoutingInfoRuleMatchSourceIpAddrArgs
                                            {
                                                Addr = "string",
                                                Type = "string",
                                            },
                                        },
                                        GroupRefs = new[]
                                        {
                                            "string",
                                        },
                                        Prefixes = new[]
                                        {
                                            new Avi.Inputs.ApipolicyRoutingInfoRuleMatchSourceIpPrefixArgs
                                            {
                                                IpAddrs = new[]
                                                {
                                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchSourceIpPrefixIpAddrArgs
                                                    {
                                                        Addr = "string",
                                                        Type = "string",
                                                    },
                                                },
                                                Mask = "string",
                                            },
                                        },
                                        Ranges = new[]
                                        {
                                            new Avi.Inputs.ApipolicyRoutingInfoRuleMatchSourceIpRangeArgs
                                            {
                                                Begins = new[]
                                                {
                                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchSourceIpRangeBeginArgs
                                                    {
                                                        Addr = "string",
                                                        Type = "string",
                                                    },
                                                },
                                                Ends = new[]
                                                {
                                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchSourceIpRangeEndArgs
                                                    {
                                                        Addr = "string",
                                                        Type = "string",
                                                    },
                                                },
                                            },
                                        },
                                    },
                                },
                                TlsFingerprintMatches = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchTlsFingerprintMatchArgs
                                    {
                                        MatchOperation = "string",
                                        Fingerprints = new[]
                                        {
                                            "string",
                                        },
                                        StringGroupRefs = new[]
                                        {
                                            "string",
                                        },
                                    },
                                },
                                Versions = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchVersionArgs
                                    {
                                        MatchCriteria = "string",
                                        Versions = new[]
                                        {
                                            "string",
                                        },
                                    },
                                },
                                VsPorts = new[]
                                {
                                    new Avi.Inputs.ApipolicyRoutingInfoRuleMatchVsPortArgs
                                    {
                                        MatchCriteria = "string",
                                        Ports = new[]
                                        {
                                            0.0,
                                        },
                                    },
                                },
                            },
                        },
                        Name = "string",
                    },
                },
            },
        },
        ServerInfos = new[]
        {
            new Avi.Inputs.ApipolicyServerInfoArgs
            {
                PathPrefix = "string",
                Servers = new[]
                {
                    new Avi.Inputs.ApipolicyServerInfoServerArgs
                    {
                        Url = "string",
                        Description = "string",
                    },
                },
            },
        },
        ShadowApiLabels = new[]
        {
            new Avi.Inputs.ApipolicyShadowApiLabelArgs
            {
                Enabled = "string",
                Labels = new[]
                {
                    "string",
                },
            },
        },
        TenantRef = "string",
        Uuid = "string",
        ValidationSettings = new[]
        {
            new Avi.Inputs.ApipolicyValidationSettingArgs
            {
                FailedValidationHeaderParameterAction = "string",
                FailedValidationPathParameterAction = "string",
                FailedValidationQueryArgumentAction = "string",
                FailedValidationRequestBodyParameterAction = "string",
                MissingMandatoryHeaderParameterAction = "string",
                MissingMandatoryQueryArgumentAction = "string",
                MissingMandatoryRequestBodyParameterAction = "string",
                RequestOutsidePathPrefixAction = "string",
                UnexpectedQueryArgumentAction = "string",
                UnexpectedRequestBodyParameterAction = "string",
                UnexpectedRequestHeaderAction = "string",
                UnknownContentTypeAction = "string",
                UnknownHttpMethodAction = "string",
                UnknownPathAction = "string",
                UnknownResponseContentTypeAction = "string",
                UnknownResponseStatusCodeAction = "string",
            },
        },
        ZombieApiClassificationSettings = new[]
        {
            new Avi.Inputs.ApipolicyZombieApiClassificationSettingArgs
            {
                Enabled = "string",
                InspectionIntervalUnit = "string",
                InspectionIntervalValue = "string",
                MinPercent = "string",
            },
        },
        ZombieApiLabels = new[]
        {
            new Avi.Inputs.ApipolicyZombieApiLabelArgs
            {
                Enabled = "string",
                Labels = new[]
                {
                    "string",
                },
            },
        },
    });
    
    example, err := avi.NewApipolicy(ctx, "apipolicyResource", &avi.ApipolicyArgs{
    	ActiveApiLabels: avi.ApipolicyActiveApiLabelArray{
    		&avi.ApipolicyActiveApiLabelArgs{
    			Enabled: pulumi.String("string"),
    			Labels: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	ApiSpecInfos: avi.ApipolicyApiSpecInfoArray{
    		&avi.ApipolicyApiSpecInfoArgs{
    			ComponentSchemaCount: pulumi.String("string"),
    			Description:          pulumi.String("string"),
    			InlineSchemaCount:    pulumi.String("string"),
    			OasVersion:           pulumi.String("string"),
    			PathCount:            pulumi.String("string"),
    			Servers: avi.ApipolicyApiSpecInfoServerArray{
    				&avi.ApipolicyApiSpecInfoServerArgs{
    					Url:         pulumi.String("string"),
    					Description: pulumi.String("string"),
    				},
    			},
    			Title:   pulumi.String("string"),
    			Version: pulumi.String("string"),
    		},
    	},
    	ApipolicyId: pulumi.String("string"),
    	ConfigpbAttributes: avi.ApipolicyConfigpbAttributeArray{
    		&avi.ApipolicyConfigpbAttributeArgs{
    			CreatedBy: pulumi.String("string"),
    			Version:   pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	FileObjectRefs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	LabelMappings: avi.ApipolicyLabelMappingArray{
    		&avi.ApipolicyLabelMappingArgs{
    			ApiPolicyActions: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Label:   pulumi.String("string"),
    			Enabled: pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    	NonApiUrlLabels: avi.ApipolicyNonApiUrlLabelArray{
    		&avi.ApipolicyNonApiUrlLabelArgs{
    			Enabled: pulumi.String("string"),
    			Labels: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	OrphanApiClassificationSettings: avi.ApipolicyOrphanApiClassificationSettingArray{
    		&avi.ApipolicyOrphanApiClassificationSettingArgs{
    			Enabled:                 pulumi.String("string"),
    			InspectionIntervalUnit:  pulumi.String("string"),
    			InspectionIntervalValue: pulumi.String("string"),
    		},
    	},
    	OrphanApiLabels: avi.ApipolicyOrphanApiLabelArray{
    		&avi.ApipolicyOrphanApiLabelArgs{
    			Enabled: pulumi.String("string"),
    			Labels: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	PathRefs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RoutingInfos: avi.ApipolicyRoutingInfoArray{
    		&avi.ApipolicyRoutingInfoArgs{
    			Rules: avi.ApipolicyRoutingInfoRuleArray{
    				&avi.ApipolicyRoutingInfoRuleArgs{
    					Matches: avi.ApipolicyRoutingInfoRuleMatchArray{
    						&avi.ApipolicyRoutingInfoRuleMatchArgs{
    							BotDetectionResults: avi.ApipolicyRoutingInfoRuleMatchBotDetectionResultArray{
    								&avi.ApipolicyRoutingInfoRuleMatchBotDetectionResultArgs{
    									MatchOperation: pulumi.String("string"),
    									Classifications: avi.ApipolicyRoutingInfoRuleMatchBotDetectionResultClassificationArray{
    										&avi.ApipolicyRoutingInfoRuleMatchBotDetectionResultClassificationArgs{
    											Type:            pulumi.String("string"),
    											UserDefinedType: pulumi.String("string"),
    										},
    									},
    								},
    							},
    							ClientIps: avi.ApipolicyRoutingInfoRuleMatchClientIpArray{
    								&avi.ApipolicyRoutingInfoRuleMatchClientIpArgs{
    									MatchCriteria: pulumi.String("string"),
    									Addrs: avi.ApipolicyRoutingInfoRuleMatchClientIpAddrArray{
    										&avi.ApipolicyRoutingInfoRuleMatchClientIpAddrArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									GroupRefs: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    									Prefixes: avi.ApipolicyRoutingInfoRuleMatchClientIpPrefixArray{
    										&avi.ApipolicyRoutingInfoRuleMatchClientIpPrefixArgs{
    											IpAddrs: avi.ApipolicyRoutingInfoRuleMatchClientIpPrefixIpAddrArray{
    												&avi.ApipolicyRoutingInfoRuleMatchClientIpPrefixIpAddrArgs{
    													Addr: pulumi.String("string"),
    													Type: pulumi.String("string"),
    												},
    											},
    											Mask: pulumi.String("string"),
    										},
    									},
    									Ranges: avi.ApipolicyRoutingInfoRuleMatchClientIpRangeArray{
    										&avi.ApipolicyRoutingInfoRuleMatchClientIpRangeArgs{
    											Begins: avi.ApipolicyRoutingInfoRuleMatchClientIpRangeBeginArray{
    												&avi.ApipolicyRoutingInfoRuleMatchClientIpRangeBeginArgs{
    													Addr: pulumi.String("string"),
    													Type: pulumi.String("string"),
    												},
    											},
    											Ends: avi.ApipolicyRoutingInfoRuleMatchClientIpRangeEndArray{
    												&avi.ApipolicyRoutingInfoRuleMatchClientIpRangeEndArgs{
    													Addr: pulumi.String("string"),
    													Type: pulumi.String("string"),
    												},
    											},
    										},
    									},
    								},
    							},
    							Cookies: avi.ApipolicyRoutingInfoRuleMatchCookieArray{
    								&avi.ApipolicyRoutingInfoRuleMatchCookieArgs{
    									MatchCriteria: pulumi.String("string"),
    									Name:          pulumi.String("string"),
    									MatchCase:     pulumi.String("string"),
    									Value:         pulumi.String("string"),
    								},
    							},
    							GeoMatches: avi.ApipolicyRoutingInfoRuleMatchGeoMatchArray{
    								&avi.ApipolicyRoutingInfoRuleMatchGeoMatchArgs{
    									Attribute:      pulumi.String("string"),
    									MatchOperation: pulumi.String("string"),
    									Values: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    								},
    							},
    							Hdrs: avi.ApipolicyRoutingInfoRuleMatchHdrArray{
    								&avi.ApipolicyRoutingInfoRuleMatchHdrArgs{
    									Hdr:           pulumi.String("string"),
    									MatchCriteria: pulumi.String("string"),
    									MatchCase:     pulumi.String("string"),
    									StringGroupRefs: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    									Values: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    								},
    							},
    							HostHdrs: avi.ApipolicyRoutingInfoRuleMatchHostHdrArray{
    								&avi.ApipolicyRoutingInfoRuleMatchHostHdrArgs{
    									MatchCriteria: pulumi.String("string"),
    									MatchCase:     pulumi.String("string"),
    									Values: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    								},
    							},
    							IpReputationTypes: avi.ApipolicyRoutingInfoRuleMatchIpReputationTypeArray{
    								&avi.ApipolicyRoutingInfoRuleMatchIpReputationTypeArgs{
    									MatchOperation: pulumi.String("string"),
    									ReputationTypes: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    								},
    							},
    							Labels: avi.ApipolicyRoutingInfoRuleMatchLabelArray{
    								&avi.ApipolicyRoutingInfoRuleMatchLabelArgs{
    									Values: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    									MatchCriteria: pulumi.String("string"),
    								},
    							},
    							Methods: avi.ApipolicyRoutingInfoRuleMatchMethodArray{
    								&avi.ApipolicyRoutingInfoRuleMatchMethodArgs{
    									MatchCriteria: pulumi.String("string"),
    									Methods: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    								},
    							},
    							Paths: avi.ApipolicyRoutingInfoRuleMatchPathArray{
    								&avi.ApipolicyRoutingInfoRuleMatchPathArgs{
    									MatchCriteria:      pulumi.String("string"),
    									MatchCase:          pulumi.String("string"),
    									MatchDecodedString: pulumi.String("string"),
    									MatchStrs: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    									StringGroupRefs: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    								},
    							},
    							Protocols: avi.ApipolicyRoutingInfoRuleMatchProtocolArray{
    								&avi.ApipolicyRoutingInfoRuleMatchProtocolArgs{
    									MatchCriteria: pulumi.String("string"),
    									Protocols:     pulumi.String("string"),
    								},
    							},
    							Queries: avi.ApipolicyRoutingInfoRuleMatchQueryArray{
    								&avi.ApipolicyRoutingInfoRuleMatchQueryArgs{
    									MatchCriteria:      pulumi.String("string"),
    									MatchCase:          pulumi.String("string"),
    									MatchDecodedString: pulumi.String("string"),
    									MatchStrs: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    									StringGroupRefs: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    								},
    							},
    							SourceIps: avi.ApipolicyRoutingInfoRuleMatchSourceIpArray{
    								&avi.ApipolicyRoutingInfoRuleMatchSourceIpArgs{
    									MatchCriteria: pulumi.String("string"),
    									Addrs: avi.ApipolicyRoutingInfoRuleMatchSourceIpAddrArray{
    										&avi.ApipolicyRoutingInfoRuleMatchSourceIpAddrArgs{
    											Addr: pulumi.String("string"),
    											Type: pulumi.String("string"),
    										},
    									},
    									GroupRefs: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    									Prefixes: avi.ApipolicyRoutingInfoRuleMatchSourceIpPrefixArray{
    										&avi.ApipolicyRoutingInfoRuleMatchSourceIpPrefixArgs{
    											IpAddrs: avi.ApipolicyRoutingInfoRuleMatchSourceIpPrefixIpAddrArray{
    												&avi.ApipolicyRoutingInfoRuleMatchSourceIpPrefixIpAddrArgs{
    													Addr: pulumi.String("string"),
    													Type: pulumi.String("string"),
    												},
    											},
    											Mask: pulumi.String("string"),
    										},
    									},
    									Ranges: avi.ApipolicyRoutingInfoRuleMatchSourceIpRangeArray{
    										&avi.ApipolicyRoutingInfoRuleMatchSourceIpRangeArgs{
    											Begins: avi.ApipolicyRoutingInfoRuleMatchSourceIpRangeBeginArray{
    												&avi.ApipolicyRoutingInfoRuleMatchSourceIpRangeBeginArgs{
    													Addr: pulumi.String("string"),
    													Type: pulumi.String("string"),
    												},
    											},
    											Ends: avi.ApipolicyRoutingInfoRuleMatchSourceIpRangeEndArray{
    												&avi.ApipolicyRoutingInfoRuleMatchSourceIpRangeEndArgs{
    													Addr: pulumi.String("string"),
    													Type: pulumi.String("string"),
    												},
    											},
    										},
    									},
    								},
    							},
    							TlsFingerprintMatches: avi.ApipolicyRoutingInfoRuleMatchTlsFingerprintMatchArray{
    								&avi.ApipolicyRoutingInfoRuleMatchTlsFingerprintMatchArgs{
    									MatchOperation: pulumi.String("string"),
    									Fingerprints: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    									StringGroupRefs: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    								},
    							},
    							Versions: avi.ApipolicyRoutingInfoRuleMatchVersionArray{
    								&avi.ApipolicyRoutingInfoRuleMatchVersionArgs{
    									MatchCriteria: pulumi.String("string"),
    									Versions: pulumi.StringArray{
    										pulumi.String("string"),
    									},
    								},
    							},
    							VsPorts: avi.ApipolicyRoutingInfoRuleMatchVsPortArray{
    								&avi.ApipolicyRoutingInfoRuleMatchVsPortArgs{
    									MatchCriteria: pulumi.String("string"),
    									Ports: pulumi.Float64Array{
    										pulumi.Float64(0),
    									},
    								},
    							},
    						},
    					},
    					Name: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	ServerInfos: avi.ApipolicyServerInfoArray{
    		&avi.ApipolicyServerInfoArgs{
    			PathPrefix: pulumi.String("string"),
    			Servers: avi.ApipolicyServerInfoServerArray{
    				&avi.ApipolicyServerInfoServerArgs{
    					Url:         pulumi.String("string"),
    					Description: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	ShadowApiLabels: avi.ApipolicyShadowApiLabelArray{
    		&avi.ApipolicyShadowApiLabelArgs{
    			Enabled: pulumi.String("string"),
    			Labels: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	TenantRef: pulumi.String("string"),
    	Uuid:      pulumi.String("string"),
    	ValidationSettings: avi.ApipolicyValidationSettingArray{
    		&avi.ApipolicyValidationSettingArgs{
    			FailedValidationHeaderParameterAction:      pulumi.String("string"),
    			FailedValidationPathParameterAction:        pulumi.String("string"),
    			FailedValidationQueryArgumentAction:        pulumi.String("string"),
    			FailedValidationRequestBodyParameterAction: pulumi.String("string"),
    			MissingMandatoryHeaderParameterAction:      pulumi.String("string"),
    			MissingMandatoryQueryArgumentAction:        pulumi.String("string"),
    			MissingMandatoryRequestBodyParameterAction: pulumi.String("string"),
    			RequestOutsidePathPrefixAction:             pulumi.String("string"),
    			UnexpectedQueryArgumentAction:              pulumi.String("string"),
    			UnexpectedRequestBodyParameterAction:       pulumi.String("string"),
    			UnexpectedRequestHeaderAction:              pulumi.String("string"),
    			UnknownContentTypeAction:                   pulumi.String("string"),
    			UnknownHttpMethodAction:                    pulumi.String("string"),
    			UnknownPathAction:                          pulumi.String("string"),
    			UnknownResponseContentTypeAction:           pulumi.String("string"),
    			UnknownResponseStatusCodeAction:            pulumi.String("string"),
    		},
    	},
    	ZombieApiClassificationSettings: avi.ApipolicyZombieApiClassificationSettingArray{
    		&avi.ApipolicyZombieApiClassificationSettingArgs{
    			Enabled:                 pulumi.String("string"),
    			InspectionIntervalUnit:  pulumi.String("string"),
    			InspectionIntervalValue: pulumi.String("string"),
    			MinPercent:              pulumi.String("string"),
    		},
    	},
    	ZombieApiLabels: avi.ApipolicyZombieApiLabelArray{
    		&avi.ApipolicyZombieApiLabelArgs{
    			Enabled: pulumi.String("string"),
    			Labels: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    })
    
    resource "avi_apipolicy" "apipolicyResource" {
      lifecycle {
        create_before_destroy = true
      }
      active_api_labels {
        enabled = "string"
        labels  = ["string"]
      }
      api_spec_infos {
        component_schema_count = "string"
        description            = "string"
        inline_schema_count    = "string"
        oas_version            = "string"
        path_count             = "string"
        servers {
          url         = "string"
          description = "string"
        }
        title   = "string"
        version = "string"
      }
      apipolicy_id = "string"
      configpb_attributes {
        created_by = "string"
        version    = "string"
      }
      description      = "string"
      file_object_refs = ["string"]
      label_mappings {
        api_policy_actions = ["string"]
        label              = "string"
        enabled            = "string"
      }
      name = "string"
      non_api_url_labels {
        enabled = "string"
        labels  = ["string"]
      }
      orphan_api_classification_settings {
        enabled                   = "string"
        inspection_interval_unit  = "string"
        inspection_interval_value = "string"
      }
      orphan_api_labels {
        enabled = "string"
        labels  = ["string"]
      }
      path_refs = ["string"]
      routing_infos {
        rules {
          matches {
            bot_detection_results {
              match_operation = "string"
              classifications {
                type              = "string"
                user_defined_type = "string"
              }
            }
            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"
                }
              }
            }
            cookies {
              match_criteria = "string"
              name           = "string"
              match_case     = "string"
              value          = "string"
            }
            geo_matches {
              attribute       = "string"
              match_operation = "string"
              values          = ["string"]
            }
            hdrs {
              hdr               = "string"
              match_criteria    = "string"
              match_case        = "string"
              string_group_refs = ["string"]
              values            = ["string"]
            }
            host_hdrs {
              match_criteria = "string"
              match_case     = "string"
              values         = ["string"]
            }
            ip_reputation_types {
              match_operation  = "string"
              reputation_types = ["string"]
            }
            labels {
              values         = ["string"]
              match_criteria = "string"
            }
            methods {
              match_criteria = "string"
              methods        = ["string"]
            }
            paths {
              match_criteria       = "string"
              match_case           = "string"
              match_decoded_string = "string"
              match_strs           = ["string"]
              string_group_refs    = ["string"]
            }
            protocols {
              match_criteria = "string"
              protocols      = "string"
            }
            queries {
              match_criteria       = "string"
              match_case           = "string"
              match_decoded_string = "string"
              match_strs           = ["string"]
              string_group_refs    = ["string"]
            }
            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"
                }
              }
            }
            tls_fingerprint_matches {
              match_operation   = "string"
              fingerprints      = ["string"]
              string_group_refs = ["string"]
            }
            versions {
              match_criteria = "string"
              versions       = ["string"]
            }
            vs_ports {
              match_criteria = "string"
              ports          = [0]
            }
          }
          name = "string"
        }
      }
      server_infos {
        path_prefix = "string"
        servers {
          url         = "string"
          description = "string"
        }
      }
      shadow_api_labels {
        enabled = "string"
        labels  = ["string"]
      }
      tenant_ref = "string"
      uuid       = "string"
      validation_settings {
        failed_validation_header_parameter_action       = "string"
        failed_validation_path_parameter_action         = "string"
        failed_validation_query_argument_action         = "string"
        failed_validation_request_body_parameter_action = "string"
        missing_mandatory_header_parameter_action       = "string"
        missing_mandatory_query_argument_action         = "string"
        missing_mandatory_request_body_parameter_action = "string"
        request_outside_path_prefix_action              = "string"
        unexpected_query_argument_action                = "string"
        unexpected_request_body_parameter_action        = "string"
        unexpected_request_header_action                = "string"
        unknown_content_type_action                     = "string"
        unknown_http_method_action                      = "string"
        unknown_path_action                             = "string"
        unknown_response_content_type_action            = "string"
        unknown_response_status_code_action             = "string"
      }
      zombie_api_classification_settings {
        enabled                   = "string"
        inspection_interval_unit  = "string"
        inspection_interval_value = "string"
        min_percent               = "string"
      }
      zombie_api_labels {
        enabled = "string"
        labels  = ["string"]
      }
    }
    
    var apipolicyResource = new Apipolicy("apipolicyResource", ApipolicyArgs.builder()
        .activeApiLabels(ApipolicyActiveApiLabelArgs.builder()
            .enabled("string")
            .labels("string")
            .build())
        .apiSpecInfos(ApipolicyApiSpecInfoArgs.builder()
            .componentSchemaCount("string")
            .description("string")
            .inlineSchemaCount("string")
            .oasVersion("string")
            .pathCount("string")
            .servers(ApipolicyApiSpecInfoServerArgs.builder()
                .url("string")
                .description("string")
                .build())
            .title("string")
            .version("string")
            .build())
        .apipolicyId("string")
        .configpbAttributes(ApipolicyConfigpbAttributeArgs.builder()
            .createdBy("string")
            .version("string")
            .build())
        .description("string")
        .fileObjectRefs("string")
        .labelMappings(ApipolicyLabelMappingArgs.builder()
            .apiPolicyActions("string")
            .label("string")
            .enabled("string")
            .build())
        .name("string")
        .nonApiUrlLabels(ApipolicyNonApiUrlLabelArgs.builder()
            .enabled("string")
            .labels("string")
            .build())
        .orphanApiClassificationSettings(ApipolicyOrphanApiClassificationSettingArgs.builder()
            .enabled("string")
            .inspectionIntervalUnit("string")
            .inspectionIntervalValue("string")
            .build())
        .orphanApiLabels(ApipolicyOrphanApiLabelArgs.builder()
            .enabled("string")
            .labels("string")
            .build())
        .pathRefs("string")
        .routingInfos(ApipolicyRoutingInfoArgs.builder()
            .rules(ApipolicyRoutingInfoRuleArgs.builder()
                .matches(ApipolicyRoutingInfoRuleMatchArgs.builder()
                    .botDetectionResults(ApipolicyRoutingInfoRuleMatchBotDetectionResultArgs.builder()
                        .matchOperation("string")
                        .classifications(ApipolicyRoutingInfoRuleMatchBotDetectionResultClassificationArgs.builder()
                            .type("string")
                            .userDefinedType("string")
                            .build())
                        .build())
                    .clientIps(ApipolicyRoutingInfoRuleMatchClientIpArgs.builder()
                        .matchCriteria("string")
                        .addrs(ApipolicyRoutingInfoRuleMatchClientIpAddrArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .groupRefs("string")
                        .prefixes(ApipolicyRoutingInfoRuleMatchClientIpPrefixArgs.builder()
                            .ipAddrs(ApipolicyRoutingInfoRuleMatchClientIpPrefixIpAddrArgs.builder()
                                .addr("string")
                                .type("string")
                                .build())
                            .mask("string")
                            .build())
                        .ranges(ApipolicyRoutingInfoRuleMatchClientIpRangeArgs.builder()
                            .begins(ApipolicyRoutingInfoRuleMatchClientIpRangeBeginArgs.builder()
                                .addr("string")
                                .type("string")
                                .build())
                            .ends(ApipolicyRoutingInfoRuleMatchClientIpRangeEndArgs.builder()
                                .addr("string")
                                .type("string")
                                .build())
                            .build())
                        .build())
                    .cookies(ApipolicyRoutingInfoRuleMatchCookieArgs.builder()
                        .matchCriteria("string")
                        .name("string")
                        .matchCase("string")
                        .value("string")
                        .build())
                    .geoMatches(ApipolicyRoutingInfoRuleMatchGeoMatchArgs.builder()
                        .attribute("string")
                        .matchOperation("string")
                        .values("string")
                        .build())
                    .hdrs(ApipolicyRoutingInfoRuleMatchHdrArgs.builder()
                        .hdr("string")
                        .matchCriteria("string")
                        .matchCase("string")
                        .stringGroupRefs("string")
                        .values("string")
                        .build())
                    .hostHdrs(ApipolicyRoutingInfoRuleMatchHostHdrArgs.builder()
                        .matchCriteria("string")
                        .matchCase("string")
                        .values("string")
                        .build())
                    .ipReputationTypes(ApipolicyRoutingInfoRuleMatchIpReputationTypeArgs.builder()
                        .matchOperation("string")
                        .reputationTypes("string")
                        .build())
                    .labels(ApipolicyRoutingInfoRuleMatchLabelArgs.builder()
                        .values("string")
                        .matchCriteria("string")
                        .build())
                    .methods(ApipolicyRoutingInfoRuleMatchMethodArgs.builder()
                        .matchCriteria("string")
                        .methods("string")
                        .build())
                    .paths(ApipolicyRoutingInfoRuleMatchPathArgs.builder()
                        .matchCriteria("string")
                        .matchCase("string")
                        .matchDecodedString("string")
                        .matchStrs("string")
                        .stringGroupRefs("string")
                        .build())
                    .protocols(ApipolicyRoutingInfoRuleMatchProtocolArgs.builder()
                        .matchCriteria("string")
                        .protocols("string")
                        .build())
                    .queries(ApipolicyRoutingInfoRuleMatchQueryArgs.builder()
                        .matchCriteria("string")
                        .matchCase("string")
                        .matchDecodedString("string")
                        .matchStrs("string")
                        .stringGroupRefs("string")
                        .build())
                    .sourceIps(ApipolicyRoutingInfoRuleMatchSourceIpArgs.builder()
                        .matchCriteria("string")
                        .addrs(ApipolicyRoutingInfoRuleMatchSourceIpAddrArgs.builder()
                            .addr("string")
                            .type("string")
                            .build())
                        .groupRefs("string")
                        .prefixes(ApipolicyRoutingInfoRuleMatchSourceIpPrefixArgs.builder()
                            .ipAddrs(ApipolicyRoutingInfoRuleMatchSourceIpPrefixIpAddrArgs.builder()
                                .addr("string")
                                .type("string")
                                .build())
                            .mask("string")
                            .build())
                        .ranges(ApipolicyRoutingInfoRuleMatchSourceIpRangeArgs.builder()
                            .begins(ApipolicyRoutingInfoRuleMatchSourceIpRangeBeginArgs.builder()
                                .addr("string")
                                .type("string")
                                .build())
                            .ends(ApipolicyRoutingInfoRuleMatchSourceIpRangeEndArgs.builder()
                                .addr("string")
                                .type("string")
                                .build())
                            .build())
                        .build())
                    .tlsFingerprintMatches(ApipolicyRoutingInfoRuleMatchTlsFingerprintMatchArgs.builder()
                        .matchOperation("string")
                        .fingerprints("string")
                        .stringGroupRefs("string")
                        .build())
                    .versions(ApipolicyRoutingInfoRuleMatchVersionArgs.builder()
                        .matchCriteria("string")
                        .versions("string")
                        .build())
                    .vsPorts(ApipolicyRoutingInfoRuleMatchVsPortArgs.builder()
                        .matchCriteria("string")
                        .ports(0.0)
                        .build())
                    .build())
                .name("string")
                .build())
            .build())
        .serverInfos(ApipolicyServerInfoArgs.builder()
            .pathPrefix("string")
            .servers(ApipolicyServerInfoServerArgs.builder()
                .url("string")
                .description("string")
                .build())
            .build())
        .shadowApiLabels(ApipolicyShadowApiLabelArgs.builder()
            .enabled("string")
            .labels("string")
            .build())
        .tenantRef("string")
        .uuid("string")
        .validationSettings(ApipolicyValidationSettingArgs.builder()
            .failedValidationHeaderParameterAction("string")
            .failedValidationPathParameterAction("string")
            .failedValidationQueryArgumentAction("string")
            .failedValidationRequestBodyParameterAction("string")
            .missingMandatoryHeaderParameterAction("string")
            .missingMandatoryQueryArgumentAction("string")
            .missingMandatoryRequestBodyParameterAction("string")
            .requestOutsidePathPrefixAction("string")
            .unexpectedQueryArgumentAction("string")
            .unexpectedRequestBodyParameterAction("string")
            .unexpectedRequestHeaderAction("string")
            .unknownContentTypeAction("string")
            .unknownHttpMethodAction("string")
            .unknownPathAction("string")
            .unknownResponseContentTypeAction("string")
            .unknownResponseStatusCodeAction("string")
            .build())
        .zombieApiClassificationSettings(ApipolicyZombieApiClassificationSettingArgs.builder()
            .enabled("string")
            .inspectionIntervalUnit("string")
            .inspectionIntervalValue("string")
            .minPercent("string")
            .build())
        .zombieApiLabels(ApipolicyZombieApiLabelArgs.builder()
            .enabled("string")
            .labels("string")
            .build())
        .build());
    
    apipolicy_resource = avi.Apipolicy("apipolicyResource",
        active_api_labels=[{
            "enabled": "string",
            "labels": ["string"],
        }],
        api_spec_infos=[{
            "component_schema_count": "string",
            "description": "string",
            "inline_schema_count": "string",
            "oas_version": "string",
            "path_count": "string",
            "servers": [{
                "url": "string",
                "description": "string",
            }],
            "title": "string",
            "version": "string",
        }],
        apipolicy_id="string",
        configpb_attributes=[{
            "created_by": "string",
            "version": "string",
        }],
        description="string",
        file_object_refs=["string"],
        label_mappings=[{
            "api_policy_actions": ["string"],
            "label": "string",
            "enabled": "string",
        }],
        name="string",
        non_api_url_labels=[{
            "enabled": "string",
            "labels": ["string"],
        }],
        orphan_api_classification_settings=[{
            "enabled": "string",
            "inspection_interval_unit": "string",
            "inspection_interval_value": "string",
        }],
        orphan_api_labels=[{
            "enabled": "string",
            "labels": ["string"],
        }],
        path_refs=["string"],
        routing_infos=[{
            "rules": [{
                "matches": [{
                    "bot_detection_results": [{
                        "match_operation": "string",
                        "classifications": [{
                            "type": "string",
                            "user_defined_type": "string",
                        }],
                    }],
                    "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",
                            }],
                        }],
                    }],
                    "cookies": [{
                        "match_criteria": "string",
                        "name": "string",
                        "match_case": "string",
                        "value": "string",
                    }],
                    "geo_matches": [{
                        "attribute": "string",
                        "match_operation": "string",
                        "values": ["string"],
                    }],
                    "hdrs": [{
                        "hdr": "string",
                        "match_criteria": "string",
                        "match_case": "string",
                        "string_group_refs": ["string"],
                        "values": ["string"],
                    }],
                    "host_hdrs": [{
                        "match_criteria": "string",
                        "match_case": "string",
                        "values": ["string"],
                    }],
                    "ip_reputation_types": [{
                        "match_operation": "string",
                        "reputation_types": ["string"],
                    }],
                    "labels": [{
                        "values": ["string"],
                        "match_criteria": "string",
                    }],
                    "methods": [{
                        "match_criteria": "string",
                        "methods": ["string"],
                    }],
                    "paths": [{
                        "match_criteria": "string",
                        "match_case": "string",
                        "match_decoded_string": "string",
                        "match_strs": ["string"],
                        "string_group_refs": ["string"],
                    }],
                    "protocols": [{
                        "match_criteria": "string",
                        "protocols": "string",
                    }],
                    "queries": [{
                        "match_criteria": "string",
                        "match_case": "string",
                        "match_decoded_string": "string",
                        "match_strs": ["string"],
                        "string_group_refs": ["string"],
                    }],
                    "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",
                            }],
                        }],
                    }],
                    "tls_fingerprint_matches": [{
                        "match_operation": "string",
                        "fingerprints": ["string"],
                        "string_group_refs": ["string"],
                    }],
                    "versions": [{
                        "match_criteria": "string",
                        "versions": ["string"],
                    }],
                    "vs_ports": [{
                        "match_criteria": "string",
                        "ports": [float(0)],
                    }],
                }],
                "name": "string",
            }],
        }],
        server_infos=[{
            "path_prefix": "string",
            "servers": [{
                "url": "string",
                "description": "string",
            }],
        }],
        shadow_api_labels=[{
            "enabled": "string",
            "labels": ["string"],
        }],
        tenant_ref="string",
        uuid="string",
        validation_settings=[{
            "failed_validation_header_parameter_action": "string",
            "failed_validation_path_parameter_action": "string",
            "failed_validation_query_argument_action": "string",
            "failed_validation_request_body_parameter_action": "string",
            "missing_mandatory_header_parameter_action": "string",
            "missing_mandatory_query_argument_action": "string",
            "missing_mandatory_request_body_parameter_action": "string",
            "request_outside_path_prefix_action": "string",
            "unexpected_query_argument_action": "string",
            "unexpected_request_body_parameter_action": "string",
            "unexpected_request_header_action": "string",
            "unknown_content_type_action": "string",
            "unknown_http_method_action": "string",
            "unknown_path_action": "string",
            "unknown_response_content_type_action": "string",
            "unknown_response_status_code_action": "string",
        }],
        zombie_api_classification_settings=[{
            "enabled": "string",
            "inspection_interval_unit": "string",
            "inspection_interval_value": "string",
            "min_percent": "string",
        }],
        zombie_api_labels=[{
            "enabled": "string",
            "labels": ["string"],
        }])
    
    const apipolicyResource = new avi.Apipolicy("apipolicyResource", {
        activeApiLabels: [{
            enabled: "string",
            labels: ["string"],
        }],
        apiSpecInfos: [{
            componentSchemaCount: "string",
            description: "string",
            inlineSchemaCount: "string",
            oasVersion: "string",
            pathCount: "string",
            servers: [{
                url: "string",
                description: "string",
            }],
            title: "string",
            version: "string",
        }],
        apipolicyId: "string",
        configpbAttributes: [{
            createdBy: "string",
            version: "string",
        }],
        description: "string",
        fileObjectRefs: ["string"],
        labelMappings: [{
            apiPolicyActions: ["string"],
            label: "string",
            enabled: "string",
        }],
        name: "string",
        nonApiUrlLabels: [{
            enabled: "string",
            labels: ["string"],
        }],
        orphanApiClassificationSettings: [{
            enabled: "string",
            inspectionIntervalUnit: "string",
            inspectionIntervalValue: "string",
        }],
        orphanApiLabels: [{
            enabled: "string",
            labels: ["string"],
        }],
        pathRefs: ["string"],
        routingInfos: [{
            rules: [{
                matches: [{
                    botDetectionResults: [{
                        matchOperation: "string",
                        classifications: [{
                            type: "string",
                            userDefinedType: "string",
                        }],
                    }],
                    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",
                            }],
                        }],
                    }],
                    cookies: [{
                        matchCriteria: "string",
                        name: "string",
                        matchCase: "string",
                        value: "string",
                    }],
                    geoMatches: [{
                        attribute: "string",
                        matchOperation: "string",
                        values: ["string"],
                    }],
                    hdrs: [{
                        hdr: "string",
                        matchCriteria: "string",
                        matchCase: "string",
                        stringGroupRefs: ["string"],
                        values: ["string"],
                    }],
                    hostHdrs: [{
                        matchCriteria: "string",
                        matchCase: "string",
                        values: ["string"],
                    }],
                    ipReputationTypes: [{
                        matchOperation: "string",
                        reputationTypes: ["string"],
                    }],
                    labels: [{
                        values: ["string"],
                        matchCriteria: "string",
                    }],
                    methods: [{
                        matchCriteria: "string",
                        methods: ["string"],
                    }],
                    paths: [{
                        matchCriteria: "string",
                        matchCase: "string",
                        matchDecodedString: "string",
                        matchStrs: ["string"],
                        stringGroupRefs: ["string"],
                    }],
                    protocols: [{
                        matchCriteria: "string",
                        protocols: "string",
                    }],
                    queries: [{
                        matchCriteria: "string",
                        matchCase: "string",
                        matchDecodedString: "string",
                        matchStrs: ["string"],
                        stringGroupRefs: ["string"],
                    }],
                    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",
                            }],
                        }],
                    }],
                    tlsFingerprintMatches: [{
                        matchOperation: "string",
                        fingerprints: ["string"],
                        stringGroupRefs: ["string"],
                    }],
                    versions: [{
                        matchCriteria: "string",
                        versions: ["string"],
                    }],
                    vsPorts: [{
                        matchCriteria: "string",
                        ports: [0],
                    }],
                }],
                name: "string",
            }],
        }],
        serverInfos: [{
            pathPrefix: "string",
            servers: [{
                url: "string",
                description: "string",
            }],
        }],
        shadowApiLabels: [{
            enabled: "string",
            labels: ["string"],
        }],
        tenantRef: "string",
        uuid: "string",
        validationSettings: [{
            failedValidationHeaderParameterAction: "string",
            failedValidationPathParameterAction: "string",
            failedValidationQueryArgumentAction: "string",
            failedValidationRequestBodyParameterAction: "string",
            missingMandatoryHeaderParameterAction: "string",
            missingMandatoryQueryArgumentAction: "string",
            missingMandatoryRequestBodyParameterAction: "string",
            requestOutsidePathPrefixAction: "string",
            unexpectedQueryArgumentAction: "string",
            unexpectedRequestBodyParameterAction: "string",
            unexpectedRequestHeaderAction: "string",
            unknownContentTypeAction: "string",
            unknownHttpMethodAction: "string",
            unknownPathAction: "string",
            unknownResponseContentTypeAction: "string",
            unknownResponseStatusCodeAction: "string",
        }],
        zombieApiClassificationSettings: [{
            enabled: "string",
            inspectionIntervalUnit: "string",
            inspectionIntervalValue: "string",
            minPercent: "string",
        }],
        zombieApiLabels: [{
            enabled: "string",
            labels: ["string"],
        }],
    });
    
    type: avi:Apipolicy
    properties:
        activeApiLabels:
            - enabled: string
              labels:
                - string
        apiSpecInfos:
            - componentSchemaCount: string
              description: string
              inlineSchemaCount: string
              oasVersion: string
              pathCount: string
              servers:
                - description: string
                  url: string
              title: string
              version: string
        apipolicyId: string
        configpbAttributes:
            - createdBy: string
              version: string
        description: string
        fileObjectRefs:
            - string
        labelMappings:
            - apiPolicyActions:
                - string
              enabled: string
              label: string
        name: string
        nonApiUrlLabels:
            - enabled: string
              labels:
                - string
        orphanApiClassificationSettings:
            - enabled: string
              inspectionIntervalUnit: string
              inspectionIntervalValue: string
        orphanApiLabels:
            - enabled: string
              labels:
                - string
        pathRefs:
            - string
        routingInfos:
            - rules:
                - matches:
                    - botDetectionResults:
                        - classifications:
                            - type: string
                              userDefinedType: string
                          matchOperation: string
                      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
                      cookies:
                        - matchCase: string
                          matchCriteria: string
                          name: string
                          value: string
                      geoMatches:
                        - attribute: string
                          matchOperation: string
                          values:
                            - string
                      hdrs:
                        - hdr: string
                          matchCase: string
                          matchCriteria: string
                          stringGroupRefs:
                            - string
                          values:
                            - string
                      hostHdrs:
                        - matchCase: string
                          matchCriteria: string
                          values:
                            - string
                      ipReputationTypes:
                        - matchOperation: string
                          reputationTypes:
                            - string
                      labels:
                        - matchCriteria: string
                          values:
                            - string
                      methods:
                        - matchCriteria: string
                          methods:
                            - string
                      paths:
                        - matchCase: string
                          matchCriteria: string
                          matchDecodedString: string
                          matchStrs:
                            - string
                          stringGroupRefs:
                            - string
                      protocols:
                        - matchCriteria: string
                          protocols: string
                      queries:
                        - matchCase: string
                          matchCriteria: string
                          matchDecodedString: string
                          matchStrs:
                            - string
                          stringGroupRefs:
                            - string
                      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
                      tlsFingerprintMatches:
                        - fingerprints:
                            - string
                          matchOperation: string
                          stringGroupRefs:
                            - string
                      versions:
                        - matchCriteria: string
                          versions:
                            - string
                      vsPorts:
                        - matchCriteria: string
                          ports:
                            - 0
                  name: string
        serverInfos:
            - pathPrefix: string
              servers:
                - description: string
                  url: string
        shadowApiLabels:
            - enabled: string
              labels:
                - string
        tenantRef: string
        uuid: string
        validationSettings:
            - failedValidationHeaderParameterAction: string
              failedValidationPathParameterAction: string
              failedValidationQueryArgumentAction: string
              failedValidationRequestBodyParameterAction: string
              missingMandatoryHeaderParameterAction: string
              missingMandatoryQueryArgumentAction: string
              missingMandatoryRequestBodyParameterAction: string
              requestOutsidePathPrefixAction: string
              unexpectedQueryArgumentAction: string
              unexpectedRequestBodyParameterAction: string
              unexpectedRequestHeaderAction: string
              unknownContentTypeAction: string
              unknownHttpMethodAction: string
              unknownPathAction: string
              unknownResponseContentTypeAction: string
              unknownResponseStatusCodeAction: string
        zombieApiClassificationSettings:
            - enabled: string
              inspectionIntervalUnit: string
              inspectionIntervalValue: string
              minPercent: string
        zombieApiLabels:
            - enabled: string
              labels:
                - string
    

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

    ActiveApiLabels List<ApipolicyActiveApiLabel>
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ApiSpecInfos List<ApipolicyApiSpecInfo>
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ApipolicyId string
    ConfigpbAttributes List<ApipolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    FileObjectRefs List<string>
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    LabelMappings List<ApipolicyLabelMapping>
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NonApiUrlLabels List<ApipolicyNonApiUrlLabel>
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    OrphanApiClassificationSettings List<ApipolicyOrphanApiClassificationSetting>
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    OrphanApiLabels List<ApipolicyOrphanApiLabel>
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    PathRefs List<string>
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    RoutingInfos List<ApipolicyRoutingInfo>
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ServerInfos List<ApipolicyServerInfo>
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ShadowApiLabels List<ApipolicyShadowApiLabel>
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ValidationSettings List<ApipolicyValidationSetting>
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ZombieApiClassificationSettings List<ApipolicyZombieApiClassificationSetting>
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ZombieApiLabels List<ApipolicyZombieApiLabel>
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ActiveApiLabels []ApipolicyActiveApiLabelArgs
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ApiSpecInfos []ApipolicyApiSpecInfoArgs
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ApipolicyId string
    ConfigpbAttributes []ApipolicyConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    FileObjectRefs []string
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    LabelMappings []ApipolicyLabelMappingArgs
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NonApiUrlLabels []ApipolicyNonApiUrlLabelArgs
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    OrphanApiClassificationSettings []ApipolicyOrphanApiClassificationSettingArgs
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    OrphanApiLabels []ApipolicyOrphanApiLabelArgs
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    PathRefs []string
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    RoutingInfos []ApipolicyRoutingInfoArgs
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ServerInfos []ApipolicyServerInfoArgs
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ShadowApiLabels []ApipolicyShadowApiLabelArgs
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ValidationSettings []ApipolicyValidationSettingArgs
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ZombieApiClassificationSettings []ApipolicyZombieApiClassificationSettingArgs
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ZombieApiLabels []ApipolicyZombieApiLabelArgs
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    active_api_labels list(object)
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    api_spec_infos list(object)
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apipolicy_id string
    configpb_attributes list(object)
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    file_object_refs list(string)
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    label_mappings list(object)
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    non_api_url_labels list(object)
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphan_api_classification_settings list(object)
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphan_api_labels list(object)
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    path_refs list(string)
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    routing_infos list(object)
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    server_infos list(object)
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    shadow_api_labels list(object)
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenant_ref string
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    validation_settings list(object)
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombie_api_classification_settings list(object)
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombie_api_labels list(object)
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    activeApiLabels List<ApipolicyActiveApiLabel>
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apiSpecInfos List<ApipolicyApiSpecInfo>
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apipolicyId String
    configpbAttributes List<ApipolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    fileObjectRefs List<String>
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    labelMappings List<ApipolicyLabelMapping>
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    nonApiUrlLabels List<ApipolicyNonApiUrlLabel>
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiClassificationSettings List<ApipolicyOrphanApiClassificationSetting>
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiLabels List<ApipolicyOrphanApiLabel>
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    pathRefs List<String>
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    routingInfos List<ApipolicyRoutingInfo>
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    serverInfos List<ApipolicyServerInfo>
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    shadowApiLabels List<ApipolicyShadowApiLabel>
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    validationSettings List<ApipolicyValidationSetting>
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiClassificationSettings List<ApipolicyZombieApiClassificationSetting>
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiLabels List<ApipolicyZombieApiLabel>
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    activeApiLabels ApipolicyActiveApiLabel[]
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apiSpecInfos ApipolicyApiSpecInfo[]
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apipolicyId string
    configpbAttributes ApipolicyConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    fileObjectRefs string[]
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    labelMappings ApipolicyLabelMapping[]
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    nonApiUrlLabels ApipolicyNonApiUrlLabel[]
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiClassificationSettings ApipolicyOrphanApiClassificationSetting[]
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiLabels ApipolicyOrphanApiLabel[]
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    pathRefs string[]
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    routingInfos ApipolicyRoutingInfo[]
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    serverInfos ApipolicyServerInfo[]
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    shadowApiLabels ApipolicyShadowApiLabel[]
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    validationSettings ApipolicyValidationSetting[]
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiClassificationSettings ApipolicyZombieApiClassificationSetting[]
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiLabels ApipolicyZombieApiLabel[]
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    active_api_labels Sequence[ApipolicyActiveApiLabelArgs]
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    api_spec_infos Sequence[ApipolicyApiSpecInfoArgs]
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apipolicy_id str
    configpb_attributes Sequence[ApipolicyConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    file_object_refs Sequence[str]
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    label_mappings Sequence[ApipolicyLabelMappingArgs]
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name str
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    non_api_url_labels Sequence[ApipolicyNonApiUrlLabelArgs]
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphan_api_classification_settings Sequence[ApipolicyOrphanApiClassificationSettingArgs]
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphan_api_labels Sequence[ApipolicyOrphanApiLabelArgs]
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    path_refs Sequence[str]
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    routing_infos Sequence[ApipolicyRoutingInfoArgs]
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    server_infos Sequence[ApipolicyServerInfoArgs]
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    shadow_api_labels Sequence[ApipolicyShadowApiLabelArgs]
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    validation_settings Sequence[ApipolicyValidationSettingArgs]
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombie_api_classification_settings Sequence[ApipolicyZombieApiClassificationSettingArgs]
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombie_api_labels Sequence[ApipolicyZombieApiLabelArgs]
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    activeApiLabels List<Property Map>
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apiSpecInfos List<Property Map>
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apipolicyId String
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    fileObjectRefs List<String>
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    labelMappings List<Property Map>
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    nonApiUrlLabels List<Property Map>
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiClassificationSettings List<Property Map>
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiLabels List<Property Map>
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    pathRefs List<String>
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    routingInfos List<Property Map>
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    serverInfos List<Property Map>
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    shadowApiLabels List<Property Map>
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    validationSettings List<Property Map>
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiClassificationSettings List<Property Map>
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiLabels List<Property Map>
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. 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 Apipolicy 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 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 Apipolicy Resource

    Get an existing Apipolicy 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?: ApipolicyState, opts?: CustomResourceOptions): Apipolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active_api_labels: Optional[Sequence[ApipolicyActiveApiLabelArgs]] = None,
            api_spec_infos: Optional[Sequence[ApipolicyApiSpecInfoArgs]] = None,
            apipolicy_id: Optional[str] = None,
            configpb_attributes: Optional[Sequence[ApipolicyConfigpbAttributeArgs]] = None,
            description: Optional[str] = None,
            file_object_refs: Optional[Sequence[str]] = None,
            label_mappings: Optional[Sequence[ApipolicyLabelMappingArgs]] = None,
            name: Optional[str] = None,
            non_api_url_labels: Optional[Sequence[ApipolicyNonApiUrlLabelArgs]] = None,
            orphan_api_classification_settings: Optional[Sequence[ApipolicyOrphanApiClassificationSettingArgs]] = None,
            orphan_api_labels: Optional[Sequence[ApipolicyOrphanApiLabelArgs]] = None,
            path_refs: Optional[Sequence[str]] = None,
            routing_infos: Optional[Sequence[ApipolicyRoutingInfoArgs]] = None,
            server_infos: Optional[Sequence[ApipolicyServerInfoArgs]] = None,
            shadow_api_labels: Optional[Sequence[ApipolicyShadowApiLabelArgs]] = None,
            tenant_ref: Optional[str] = None,
            uuid: Optional[str] = None,
            validation_settings: Optional[Sequence[ApipolicyValidationSettingArgs]] = None,
            zombie_api_classification_settings: Optional[Sequence[ApipolicyZombieApiClassificationSettingArgs]] = None,
            zombie_api_labels: Optional[Sequence[ApipolicyZombieApiLabelArgs]] = None) -> Apipolicy
    func GetApipolicy(ctx *Context, name string, id IDInput, state *ApipolicyState, opts ...ResourceOption) (*Apipolicy, error)
    public static Apipolicy Get(string name, Input<string> id, ApipolicyState? state, CustomResourceOptions? opts = null)
    public static Apipolicy get(String name, Output<String> id, ApipolicyState state, CustomResourceOptions options)
    resources:  _:    type: avi:Apipolicy    get:      id: ${id}
    import {
      to = avi_apipolicy.example
      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:
    ActiveApiLabels List<ApipolicyActiveApiLabel>
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ApiSpecInfos List<ApipolicyApiSpecInfo>
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ApipolicyId string
    ConfigpbAttributes List<ApipolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    FileObjectRefs List<string>
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    LabelMappings List<ApipolicyLabelMapping>
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NonApiUrlLabels List<ApipolicyNonApiUrlLabel>
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    OrphanApiClassificationSettings List<ApipolicyOrphanApiClassificationSetting>
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    OrphanApiLabels List<ApipolicyOrphanApiLabel>
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    PathRefs List<string>
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    RoutingInfos List<ApipolicyRoutingInfo>
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ServerInfos List<ApipolicyServerInfo>
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ShadowApiLabels List<ApipolicyShadowApiLabel>
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ValidationSettings List<ApipolicyValidationSetting>
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ZombieApiClassificationSettings List<ApipolicyZombieApiClassificationSetting>
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ZombieApiLabels List<ApipolicyZombieApiLabel>
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ActiveApiLabels []ApipolicyActiveApiLabelArgs
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ApiSpecInfos []ApipolicyApiSpecInfoArgs
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ApipolicyId string
    ConfigpbAttributes []ApipolicyConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    FileObjectRefs []string
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    LabelMappings []ApipolicyLabelMappingArgs
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    NonApiUrlLabels []ApipolicyNonApiUrlLabelArgs
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    OrphanApiClassificationSettings []ApipolicyOrphanApiClassificationSettingArgs
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    OrphanApiLabels []ApipolicyOrphanApiLabelArgs
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    PathRefs []string
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    RoutingInfos []ApipolicyRoutingInfoArgs
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ServerInfos []ApipolicyServerInfoArgs
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ShadowApiLabels []ApipolicyShadowApiLabelArgs
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ValidationSettings []ApipolicyValidationSettingArgs
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ZombieApiClassificationSettings []ApipolicyZombieApiClassificationSettingArgs
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ZombieApiLabels []ApipolicyZombieApiLabelArgs
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    active_api_labels list(object)
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    api_spec_infos list(object)
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apipolicy_id string
    configpb_attributes list(object)
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    file_object_refs list(string)
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    label_mappings list(object)
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    non_api_url_labels list(object)
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphan_api_classification_settings list(object)
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphan_api_labels list(object)
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    path_refs list(string)
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    routing_infos list(object)
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    server_infos list(object)
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    shadow_api_labels list(object)
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenant_ref string
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    validation_settings list(object)
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombie_api_classification_settings list(object)
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombie_api_labels list(object)
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    activeApiLabels List<ApipolicyActiveApiLabel>
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apiSpecInfos List<ApipolicyApiSpecInfo>
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apipolicyId String
    configpbAttributes List<ApipolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    fileObjectRefs List<String>
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    labelMappings List<ApipolicyLabelMapping>
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    nonApiUrlLabels List<ApipolicyNonApiUrlLabel>
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiClassificationSettings List<ApipolicyOrphanApiClassificationSetting>
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiLabels List<ApipolicyOrphanApiLabel>
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    pathRefs List<String>
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    routingInfos List<ApipolicyRoutingInfo>
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    serverInfos List<ApipolicyServerInfo>
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    shadowApiLabels List<ApipolicyShadowApiLabel>
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    validationSettings List<ApipolicyValidationSetting>
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiClassificationSettings List<ApipolicyZombieApiClassificationSetting>
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiLabels List<ApipolicyZombieApiLabel>
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    activeApiLabels ApipolicyActiveApiLabel[]
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apiSpecInfos ApipolicyApiSpecInfo[]
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apipolicyId string
    configpbAttributes ApipolicyConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    fileObjectRefs string[]
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    labelMappings ApipolicyLabelMapping[]
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    nonApiUrlLabels ApipolicyNonApiUrlLabel[]
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiClassificationSettings ApipolicyOrphanApiClassificationSetting[]
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiLabels ApipolicyOrphanApiLabel[]
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    pathRefs string[]
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    routingInfos ApipolicyRoutingInfo[]
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    serverInfos ApipolicyServerInfo[]
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    shadowApiLabels ApipolicyShadowApiLabel[]
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    validationSettings ApipolicyValidationSetting[]
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiClassificationSettings ApipolicyZombieApiClassificationSetting[]
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiLabels ApipolicyZombieApiLabel[]
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    active_api_labels Sequence[ApipolicyActiveApiLabelArgs]
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    api_spec_infos Sequence[ApipolicyApiSpecInfoArgs]
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apipolicy_id str
    configpb_attributes Sequence[ApipolicyConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    file_object_refs Sequence[str]
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    label_mappings Sequence[ApipolicyLabelMappingArgs]
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name str
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    non_api_url_labels Sequence[ApipolicyNonApiUrlLabelArgs]
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphan_api_classification_settings Sequence[ApipolicyOrphanApiClassificationSettingArgs]
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphan_api_labels Sequence[ApipolicyOrphanApiLabelArgs]
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    path_refs Sequence[str]
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    routing_infos Sequence[ApipolicyRoutingInfoArgs]
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    server_infos Sequence[ApipolicyServerInfoArgs]
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    shadow_api_labels Sequence[ApipolicyShadowApiLabelArgs]
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    validation_settings Sequence[ApipolicyValidationSettingArgs]
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombie_api_classification_settings Sequence[ApipolicyZombieApiClassificationSettingArgs]
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombie_api_labels Sequence[ApipolicyZombieApiLabelArgs]
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    activeApiLabels List<Property Map>
    List of labels applied to active api endpoints. An active api is an endpoint whose type is api_active. Endpoints defined in the policy are active by default. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apiSpecInfos List<Property Map>
    Api specification metadata extracted from the associated openapi specification. Automatically populated when a fileobject is associated with this policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    apipolicyId String
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    fileObjectRefs List<String>
    Reference to the uploaded openapi specification file associated with this policy. Only one file is supported at a time. It is a reference to an object of type fileobject. Field introduced in 32.1.4. Maximum of 1 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    labelMappings List<Property Map>
    Mapping of labels to api policy actions. Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    nonApiUrlLabels List<Property Map>
    List of labels applied to non-api url requests. Non-api urls are methods and urls that are outside the scope of the policy. These are usually used to retrieve static information that are not tied to back-end business logic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiClassificationSettings List<Property Map>
    Orphan api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    orphanApiLabels List<Property Map>
    List of labels applied to orphan api endpoints. An orphan api is an endpoint that is specified in the api-spec but has not been seen in the datapath for a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    pathRefs List<String>
    List of path specifications. When an oas fileobject is associated to this apipolicy, the paths defined in the oas fileobject will be automatically added to this list. If oas fileobject has a path that is already defined in the list, the existing path in the list will be updated as per the oas fileobject. It is a reference to an object of type apipath. Field introduced in 32.1.4. Maximum of 2000 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    routingInfos List<Property Map>
    Optional header-based routing configuration for evh child vs selection. When set, the rules inside are used in addition to server fqdns (host match) and server_info.path_prefix (path match) to determine which child vs handles a request. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    serverInfos List<Property Map>
    Server list defining the scope of this api policy. Requests not matching any server url are treated as non-api traffic. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    shadowApiLabels List<Property Map>
    List of labels applied to shadow api endpoints. A shadow api is an endpoint that is not specified in the api-spec but is inside the scope of this policy (matching the server url and path prefix) and is seen in the datapath. Field introduced in 32.1.4. 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 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    validationSettings List<Property Map>
    Validation settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiClassificationSettings List<Property Map>
    Zombie api classification settings for this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    zombieApiLabels List<Property Map>
    List of labels applied to zombie api endpoints. A zombie api is an endpoint that is specified in the api-spec but is seen in the datapath only as drip-traffic over a predefined duration. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    Supporting Types

    ApipolicyActiveApiLabel, ApipolicyActiveApiLabelArgs

    Enabled string
    Labels List<string>
    Enabled string
    Labels []string
    enabled string
    labels list(string)
    enabled String
    labels List<String>
    enabled string
    labels string[]
    enabled str
    labels Sequence[str]
    enabled String
    labels List<String>

    ApipolicyApiSpecInfo, ApipolicyApiSpecInfoArgs

    ComponentSchemaCount string
    Description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    InlineSchemaCount string
    OasVersion string
    PathCount string
    Servers List<ApipolicyApiSpecInfoServer>
    Title string
    Version string
    ComponentSchemaCount string
    Description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    InlineSchemaCount string
    OasVersion string
    PathCount string
    Servers []ApipolicyApiSpecInfoServer
    Title string
    Version string
    component_schema_count string
    description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    inline_schema_count string
    oas_version string
    path_count string
    servers list(object)
    title string
    version string
    componentSchemaCount String
    description String
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    inlineSchemaCount String
    oasVersion String
    pathCount String
    servers List<ApipolicyApiSpecInfoServer>
    title String
    version String
    componentSchemaCount string
    description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    inlineSchemaCount string
    oasVersion string
    pathCount string
    servers ApipolicyApiSpecInfoServer[]
    title string
    version string
    component_schema_count str
    description str
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    inline_schema_count str
    oas_version str
    path_count str
    servers Sequence[ApipolicyApiSpecInfoServer]
    title str
    version str
    componentSchemaCount String
    description String
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    inlineSchemaCount String
    oasVersion String
    pathCount String
    servers List<Property Map>
    title String
    version String

    ApipolicyApiSpecInfoServer, ApipolicyApiSpecInfoServerArgs

    Url string
    Description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Url string
    Description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    url string
    description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    url String
    description String
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    url string
    description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    url str
    description str
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    url String
    description String
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    ApipolicyConfigpbAttribute, ApipolicyConfigpbAttributeArgs

    CreatedBy string
    Version string
    CreatedBy string
    Version string
    created_by string
    version string
    createdBy String
    version String
    createdBy string
    version string
    createdBy String
    version String

    ApipolicyLabelMapping, ApipolicyLabelMappingArgs

    ApiPolicyActions List<string>
    Label string
    Enabled string
    ApiPolicyActions []string
    Label string
    Enabled string
    api_policy_actions list(string)
    label string
    enabled string
    apiPolicyActions List<String>
    label String
    enabled String
    apiPolicyActions string[]
    label string
    enabled string
    api_policy_actions Sequence[str]
    label str
    enabled str
    apiPolicyActions List<String>
    label String
    enabled String

    ApipolicyNonApiUrlLabel, ApipolicyNonApiUrlLabelArgs

    Enabled string
    Labels List<string>
    Enabled string
    Labels []string
    enabled string
    labels list(string)
    enabled String
    labels List<String>
    enabled string
    labels string[]
    enabled str
    labels Sequence[str]
    enabled String
    labels List<String>

    ApipolicyOrphanApiClassificationSetting, ApipolicyOrphanApiClassificationSettingArgs

    ApipolicyOrphanApiLabel, ApipolicyOrphanApiLabelArgs

    Enabled string
    Labels List<string>
    Enabled string
    Labels []string
    enabled string
    labels list(string)
    enabled String
    labels List<String>
    enabled string
    labels string[]
    enabled str
    labels Sequence[str]
    enabled String
    labels List<String>

    ApipolicyRoutingInfo, ApipolicyRoutingInfoArgs

    ApipolicyRoutingInfoRule, ApipolicyRoutingInfoRuleArgs

    Matches List<ApipolicyRoutingInfoRuleMatch>
    Name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Matches []ApipolicyRoutingInfoRuleMatch
    Name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    matches list(object)
    name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    matches List<ApipolicyRoutingInfoRuleMatch>
    name String
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    matches ApipolicyRoutingInfoRuleMatch[]
    name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    matches Sequence[ApipolicyRoutingInfoRuleMatch]
    name str
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    matches List<Property Map>
    name String
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    ApipolicyRoutingInfoRuleMatch, ApipolicyRoutingInfoRuleMatchArgs

    BotDetectionResults List<ApipolicyRoutingInfoRuleMatchBotDetectionResult>
    ClientIps List<ApipolicyRoutingInfoRuleMatchClientIp>
    Cookies List<ApipolicyRoutingInfoRuleMatchCookie>
    GeoMatches List<ApipolicyRoutingInfoRuleMatchGeoMatch>
    Hdrs List<ApipolicyRoutingInfoRuleMatchHdr>
    HostHdrs List<ApipolicyRoutingInfoRuleMatchHostHdr>
    IpReputationTypes List<ApipolicyRoutingInfoRuleMatchIpReputationType>
    Labels List<ApipolicyRoutingInfoRuleMatchLabel>
    Methods List<ApipolicyRoutingInfoRuleMatchMethod>
    Paths List<ApipolicyRoutingInfoRuleMatchPath>
    Protocols List<ApipolicyRoutingInfoRuleMatchProtocol>
    Queries List<ApipolicyRoutingInfoRuleMatchQuery>
    SourceIps List<ApipolicyRoutingInfoRuleMatchSourceIp>
    TlsFingerprintMatches List<ApipolicyRoutingInfoRuleMatchTlsFingerprintMatch>
    Versions List<ApipolicyRoutingInfoRuleMatchVersion>
    VsPorts List<ApipolicyRoutingInfoRuleMatchVsPort>
    botDetectionResults List<ApipolicyRoutingInfoRuleMatchBotDetectionResult>
    clientIps List<ApipolicyRoutingInfoRuleMatchClientIp>
    cookies List<ApipolicyRoutingInfoRuleMatchCookie>
    geoMatches List<ApipolicyRoutingInfoRuleMatchGeoMatch>
    hdrs List<ApipolicyRoutingInfoRuleMatchHdr>
    hostHdrs List<ApipolicyRoutingInfoRuleMatchHostHdr>
    ipReputationTypes List<ApipolicyRoutingInfoRuleMatchIpReputationType>
    labels List<ApipolicyRoutingInfoRuleMatchLabel>
    methods List<ApipolicyRoutingInfoRuleMatchMethod>
    paths List<ApipolicyRoutingInfoRuleMatchPath>
    protocols List<ApipolicyRoutingInfoRuleMatchProtocol>
    queries List<ApipolicyRoutingInfoRuleMatchQuery>
    sourceIps List<ApipolicyRoutingInfoRuleMatchSourceIp>
    tlsFingerprintMatches List<ApipolicyRoutingInfoRuleMatchTlsFingerprintMatch>
    versions List<ApipolicyRoutingInfoRuleMatchVersion>
    vsPorts List<ApipolicyRoutingInfoRuleMatchVsPort>
    bot_detection_results Sequence[ApipolicyRoutingInfoRuleMatchBotDetectionResult]
    client_ips Sequence[ApipolicyRoutingInfoRuleMatchClientIp]
    cookies Sequence[ApipolicyRoutingInfoRuleMatchCookie]
    geo_matches Sequence[ApipolicyRoutingInfoRuleMatchGeoMatch]
    hdrs Sequence[ApipolicyRoutingInfoRuleMatchHdr]
    host_hdrs Sequence[ApipolicyRoutingInfoRuleMatchHostHdr]
    ip_reputation_types Sequence[ApipolicyRoutingInfoRuleMatchIpReputationType]
    labels Sequence[ApipolicyRoutingInfoRuleMatchLabel]
    methods Sequence[ApipolicyRoutingInfoRuleMatchMethod]
    paths Sequence[ApipolicyRoutingInfoRuleMatchPath]
    protocols Sequence[ApipolicyRoutingInfoRuleMatchProtocol]
    queries Sequence[ApipolicyRoutingInfoRuleMatchQuery]
    source_ips Sequence[ApipolicyRoutingInfoRuleMatchSourceIp]
    tls_fingerprint_matches Sequence[ApipolicyRoutingInfoRuleMatchTlsFingerprintMatch]
    versions Sequence[ApipolicyRoutingInfoRuleMatchVersion]
    vs_ports Sequence[ApipolicyRoutingInfoRuleMatchVsPort]

    ApipolicyRoutingInfoRuleMatchBotDetectionResult, ApipolicyRoutingInfoRuleMatchBotDetectionResultArgs

    ApipolicyRoutingInfoRuleMatchBotDetectionResultClassification, ApipolicyRoutingInfoRuleMatchBotDetectionResultClassificationArgs

    Type string
    UserDefinedType string
    Type string
    UserDefinedType string
    type string
    user_defined_type string
    type String
    userDefinedType String
    type string
    userDefinedType string
    type String
    userDefinedType String

    ApipolicyRoutingInfoRuleMatchClientIp, ApipolicyRoutingInfoRuleMatchClientIpArgs

    ApipolicyRoutingInfoRuleMatchClientIpAddr, ApipolicyRoutingInfoRuleMatchClientIpAddrArgs

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

    ApipolicyRoutingInfoRuleMatchClientIpPrefix, ApipolicyRoutingInfoRuleMatchClientIpPrefixArgs

    ApipolicyRoutingInfoRuleMatchClientIpPrefixIpAddr, ApipolicyRoutingInfoRuleMatchClientIpPrefixIpAddrArgs

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

    ApipolicyRoutingInfoRuleMatchClientIpRange, ApipolicyRoutingInfoRuleMatchClientIpRangeArgs

    ApipolicyRoutingInfoRuleMatchClientIpRangeBegin, ApipolicyRoutingInfoRuleMatchClientIpRangeBeginArgs

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

    ApipolicyRoutingInfoRuleMatchClientIpRangeEnd, ApipolicyRoutingInfoRuleMatchClientIpRangeEndArgs

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

    ApipolicyRoutingInfoRuleMatchCookie, ApipolicyRoutingInfoRuleMatchCookieArgs

    MatchCriteria string
    Name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MatchCase string
    Value string
    MatchCriteria string
    Name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MatchCase string
    Value string
    match_criteria string
    name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    match_case string
    value string
    matchCriteria String
    name String
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    matchCase String
    value String
    matchCriteria string
    name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    matchCase string
    value string
    match_criteria str
    name str
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    match_case str
    value str
    matchCriteria String
    name String
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    matchCase String
    value String

    ApipolicyRoutingInfoRuleMatchGeoMatch, ApipolicyRoutingInfoRuleMatchGeoMatchArgs

    Attribute string
    MatchOperation string
    Values List<string>
    Attribute string
    MatchOperation string
    Values []string
    attribute string
    match_operation string
    values list(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>

    ApipolicyRoutingInfoRuleMatchHdr, ApipolicyRoutingInfoRuleMatchHdrArgs

    Hdr string
    MatchCriteria string
    MatchCase string
    StringGroupRefs List<string>
    Values List<string>
    Hdr string
    MatchCriteria string
    MatchCase string
    StringGroupRefs []string
    Values []string
    hdr string
    match_criteria string
    match_case string
    string_group_refs list(string)
    values list(string)
    hdr String
    matchCriteria String
    matchCase String
    stringGroupRefs List<String>
    values List<String>
    hdr string
    matchCriteria string
    matchCase string
    stringGroupRefs string[]
    values string[]
    hdr str
    match_criteria str
    match_case str
    string_group_refs Sequence[str]
    values Sequence[str]
    hdr String
    matchCriteria String
    matchCase String
    stringGroupRefs List<String>
    values List<String>

    ApipolicyRoutingInfoRuleMatchHostHdr, ApipolicyRoutingInfoRuleMatchHostHdrArgs

    MatchCriteria string
    MatchCase string
    Values List<string>
    MatchCriteria string
    MatchCase string
    Values []string
    match_criteria string
    match_case string
    values list(string)
    matchCriteria String
    matchCase String
    values List<String>
    matchCriteria string
    matchCase string
    values string[]
    match_criteria str
    match_case str
    values Sequence[str]
    matchCriteria String
    matchCase String
    values List<String>

    ApipolicyRoutingInfoRuleMatchIpReputationType, ApipolicyRoutingInfoRuleMatchIpReputationTypeArgs

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

    ApipolicyRoutingInfoRuleMatchLabel, ApipolicyRoutingInfoRuleMatchLabelArgs

    Values List<string>
    MatchCriteria string
    Values []string
    MatchCriteria string
    values list(string)
    match_criteria string
    values List<String>
    matchCriteria String
    values string[]
    matchCriteria string
    values Sequence[str]
    match_criteria str
    values List<String>
    matchCriteria String

    ApipolicyRoutingInfoRuleMatchMethod, ApipolicyRoutingInfoRuleMatchMethodArgs

    MatchCriteria string
    Methods List<string>
    MatchCriteria string
    Methods []string
    match_criteria string
    methods list(string)
    matchCriteria String
    methods List<String>
    matchCriteria string
    methods string[]
    match_criteria str
    methods Sequence[str]
    matchCriteria String
    methods List<String>

    ApipolicyRoutingInfoRuleMatchPath, ApipolicyRoutingInfoRuleMatchPathArgs

    MatchCriteria string
    MatchCase string
    MatchDecodedString string
    MatchStrs List<string>
    StringGroupRefs List<string>
    matchCriteria String
    matchCase String
    matchDecodedString String
    matchStrs List<String>
    stringGroupRefs List<String>
    matchCriteria String
    matchCase String
    matchDecodedString String
    matchStrs List<String>
    stringGroupRefs List<String>

    ApipolicyRoutingInfoRuleMatchProtocol, ApipolicyRoutingInfoRuleMatchProtocolArgs

    ApipolicyRoutingInfoRuleMatchQuery, ApipolicyRoutingInfoRuleMatchQueryArgs

    MatchCriteria string
    MatchCase string
    MatchDecodedString string
    MatchStrs List<string>
    StringGroupRefs List<string>
    matchCriteria String
    matchCase String
    matchDecodedString String
    matchStrs List<String>
    stringGroupRefs List<String>
    matchCriteria String
    matchCase String
    matchDecodedString String
    matchStrs List<String>
    stringGroupRefs List<String>

    ApipolicyRoutingInfoRuleMatchSourceIp, ApipolicyRoutingInfoRuleMatchSourceIpArgs

    ApipolicyRoutingInfoRuleMatchSourceIpAddr, ApipolicyRoutingInfoRuleMatchSourceIpAddrArgs

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

    ApipolicyRoutingInfoRuleMatchSourceIpPrefix, ApipolicyRoutingInfoRuleMatchSourceIpPrefixArgs

    ApipolicyRoutingInfoRuleMatchSourceIpPrefixIpAddr, ApipolicyRoutingInfoRuleMatchSourceIpPrefixIpAddrArgs

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

    ApipolicyRoutingInfoRuleMatchSourceIpRange, ApipolicyRoutingInfoRuleMatchSourceIpRangeArgs

    ApipolicyRoutingInfoRuleMatchSourceIpRangeBegin, ApipolicyRoutingInfoRuleMatchSourceIpRangeBeginArgs

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

    ApipolicyRoutingInfoRuleMatchSourceIpRangeEnd, ApipolicyRoutingInfoRuleMatchSourceIpRangeEndArgs

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

    ApipolicyRoutingInfoRuleMatchTlsFingerprintMatch, ApipolicyRoutingInfoRuleMatchTlsFingerprintMatchArgs

    MatchOperation string
    Fingerprints List<string>
    StringGroupRefs List<string>
    match_operation string
    fingerprints list(string)
    string_group_refs list(string)
    matchOperation String
    fingerprints List<String>
    stringGroupRefs List<String>
    match_operation str
    fingerprints Sequence[str]
    string_group_refs Sequence[str]
    matchOperation String
    fingerprints List<String>
    stringGroupRefs List<String>

    ApipolicyRoutingInfoRuleMatchVersion, ApipolicyRoutingInfoRuleMatchVersionArgs

    MatchCriteria string
    Versions List<string>
    MatchCriteria string
    Versions []string
    match_criteria string
    versions list(string)
    matchCriteria String
    versions List<String>
    matchCriteria string
    versions string[]
    match_criteria str
    versions Sequence[str]
    matchCriteria String
    versions List<String>

    ApipolicyRoutingInfoRuleMatchVsPort, ApipolicyRoutingInfoRuleMatchVsPortArgs

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

    ApipolicyServerInfo, ApipolicyServerInfoArgs

    ApipolicyServerInfoServer, ApipolicyServerInfoServerArgs

    Url string
    Description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Url string
    Description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    url string
    description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    url String
    description String
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    url string
    description string
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    url str
    description str
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    url String
    description String
    Description of this api policy. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    ApipolicyShadowApiLabel, ApipolicyShadowApiLabelArgs

    Enabled string
    Labels List<string>
    Enabled string
    Labels []string
    enabled string
    labels list(string)
    enabled String
    labels List<String>
    enabled string
    labels string[]
    enabled str
    labels Sequence[str]
    enabled String
    labels List<String>

    ApipolicyValidationSetting, ApipolicyValidationSettingArgs

    ApipolicyZombieApiClassificationSetting, ApipolicyZombieApiClassificationSettingArgs

    ApipolicyZombieApiLabel, ApipolicyZombieApiLabelArgs

    Enabled string
    Labels List<string>
    Enabled string
    Labels []string
    enabled string
    labels list(string)
    enabled String
    labels List<String>
    enabled string
    labels string[]
    enabled str
    labels Sequence[str]
    enabled String
    labels List<String>

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    avi
    Viewing docs for avi 32.1.4
    published on Friday, Oct 23, 2026 by vmware

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial