1. Packages
  2. Avi Provider
  3. API Docs
  4. Applicationinsightspolicy
avi 31.2.1 published on Monday, Dec 22, 2025 by vmware
avi logo
avi 31.2.1 published on Monday, Dec 22, 2025 by vmware

    <!–

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

    –>

    layout: “avi”

    page_title: “Avi:<span pulumi-lang-nodejs=” avi.Applicationinsightspolicy"" pulumi-lang-dotnet=" avi.Applicationinsightspolicy"" pulumi-lang-go=" Applicationinsightspolicy"" pulumi-lang-python=" Applicationinsightspolicy"" pulumi-lang-yaml=" avi.Applicationinsightspolicy"" pulumi-lang-java=" avi.Applicationinsightspolicy""> avi.Applicationinsightspolicy" sidebar_current: “docs-avi-resource-applicationinsightspolicy” description: |- Creates and manages Avi ApplicationInsightsPolicy.

    # avi.Applicationinsightspolicy The ApplicationInsightsPolicy resource allows the creation and management of Avi ApplicationInsightsPolicy

    Example Usage

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

    Create Applicationinsightspolicy Resource

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

    Constructor syntax

    new Applicationinsightspolicy(name: string, args?: ApplicationinsightspolicyArgs, opts?: CustomResourceOptions);
    @overload
    def Applicationinsightspolicy(resource_name: str,
                                  args: Optional[ApplicationinsightspolicyArgs] = None,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Applicationinsightspolicy(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  application_insights_params: Optional[Sequence[ApplicationinsightspolicyApplicationInsightsParamArgs]] = None,
                                  application_sampling_configs: Optional[Sequence[ApplicationinsightspolicyApplicationSamplingConfigArgs]] = None,
                                  applicationinsightspolicy_id: Optional[str] = None,
                                  configpb_attributes: Optional[Sequence[ApplicationinsightspolicyConfigpbAttributeArgs]] = None,
                                  description: Optional[str] = None,
                                  enable_application_insights: Optional[str] = None,
                                  name: Optional[str] = None,
                                  tenant_ref: Optional[str] = None,
                                  uuid: Optional[str] = None)
    func NewApplicationinsightspolicy(ctx *Context, name string, args *ApplicationinsightspolicyArgs, opts ...ResourceOption) (*Applicationinsightspolicy, error)
    public Applicationinsightspolicy(string name, ApplicationinsightspolicyArgs? args = null, CustomResourceOptions? opts = null)
    public Applicationinsightspolicy(String name, ApplicationinsightspolicyArgs args)
    public Applicationinsightspolicy(String name, ApplicationinsightspolicyArgs args, CustomResourceOptions options)
    
    type: avi:Applicationinsightspolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ApplicationinsightspolicyArgs
    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 ApplicationinsightspolicyArgs
    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 ApplicationinsightspolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationinsightspolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationinsightspolicyArgs
    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 applicationinsightspolicyResource = new Avi.Applicationinsightspolicy("applicationinsightspolicyResource", new()
    {
        ApplicationInsightsParams = new[]
        {
            new Avi.Inputs.ApplicationinsightspolicyApplicationInsightsParamArgs
            {
                EnableLearnFromBots = "string",
                EnablePerUriLearning = "string",
                LearnFromAuthenticatedClientsOnly = "string",
                LearnFromBots = new[]
                {
                    new Avi.Inputs.ApplicationinsightspolicyApplicationInsightsParamLearnFromBotArgs
                    {
                        MatchOperation = "string",
                        Classifications = new[]
                        {
                            new Avi.Inputs.ApplicationinsightspolicyApplicationInsightsParamLearnFromBotClassificationArgs
                            {
                                Type = "string",
                                UserDefinedType = "string",
                            },
                        },
                    },
                },
                LearnFromUrlsWithoutArgs = "string",
                MaxParams = "string",
                MaxUris = "string",
                TrustedIpgroupRef = "string",
            },
        },
        ApplicationSamplingConfigs = new[]
        {
            new Avi.Inputs.ApplicationinsightspolicyApplicationSamplingConfigArgs
            {
                MaxSamplingPercent = "string",
                MinUpdateInterval = "string",
            },
        },
        ApplicationinsightspolicyId = "string",
        ConfigpbAttributes = new[]
        {
            new Avi.Inputs.ApplicationinsightspolicyConfigpbAttributeArgs
            {
                Version = "string",
            },
        },
        Description = "string",
        EnableApplicationInsights = "string",
        Name = "string",
        TenantRef = "string",
        Uuid = "string",
    });
    
    example, err := avi.NewApplicationinsightspolicy(ctx, "applicationinsightspolicyResource", &avi.ApplicationinsightspolicyArgs{
    	ApplicationInsightsParams: avi.ApplicationinsightspolicyApplicationInsightsParamArray{
    		&avi.ApplicationinsightspolicyApplicationInsightsParamArgs{
    			EnableLearnFromBots:               pulumi.String("string"),
    			EnablePerUriLearning:              pulumi.String("string"),
    			LearnFromAuthenticatedClientsOnly: pulumi.String("string"),
    			LearnFromBots: avi.ApplicationinsightspolicyApplicationInsightsParamLearnFromBotArray{
    				&avi.ApplicationinsightspolicyApplicationInsightsParamLearnFromBotArgs{
    					MatchOperation: pulumi.String("string"),
    					Classifications: avi.ApplicationinsightspolicyApplicationInsightsParamLearnFromBotClassificationArray{
    						&avi.ApplicationinsightspolicyApplicationInsightsParamLearnFromBotClassificationArgs{
    							Type:            pulumi.String("string"),
    							UserDefinedType: pulumi.String("string"),
    						},
    					},
    				},
    			},
    			LearnFromUrlsWithoutArgs: pulumi.String("string"),
    			MaxParams:                pulumi.String("string"),
    			MaxUris:                  pulumi.String("string"),
    			TrustedIpgroupRef:        pulumi.String("string"),
    		},
    	},
    	ApplicationSamplingConfigs: avi.ApplicationinsightspolicyApplicationSamplingConfigArray{
    		&avi.ApplicationinsightspolicyApplicationSamplingConfigArgs{
    			MaxSamplingPercent: pulumi.String("string"),
    			MinUpdateInterval:  pulumi.String("string"),
    		},
    	},
    	ApplicationinsightspolicyId: pulumi.String("string"),
    	ConfigpbAttributes: avi.ApplicationinsightspolicyConfigpbAttributeArray{
    		&avi.ApplicationinsightspolicyConfigpbAttributeArgs{
    			Version: pulumi.String("string"),
    		},
    	},
    	Description:               pulumi.String("string"),
    	EnableApplicationInsights: pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	TenantRef:                 pulumi.String("string"),
    	Uuid:                      pulumi.String("string"),
    })
    
    var applicationinsightspolicyResource = new Applicationinsightspolicy("applicationinsightspolicyResource", ApplicationinsightspolicyArgs.builder()
        .applicationInsightsParams(ApplicationinsightspolicyApplicationInsightsParamArgs.builder()
            .enableLearnFromBots("string")
            .enablePerUriLearning("string")
            .learnFromAuthenticatedClientsOnly("string")
            .learnFromBots(ApplicationinsightspolicyApplicationInsightsParamLearnFromBotArgs.builder()
                .matchOperation("string")
                .classifications(ApplicationinsightspolicyApplicationInsightsParamLearnFromBotClassificationArgs.builder()
                    .type("string")
                    .userDefinedType("string")
                    .build())
                .build())
            .learnFromUrlsWithoutArgs("string")
            .maxParams("string")
            .maxUris("string")
            .trustedIpgroupRef("string")
            .build())
        .applicationSamplingConfigs(ApplicationinsightspolicyApplicationSamplingConfigArgs.builder()
            .maxSamplingPercent("string")
            .minUpdateInterval("string")
            .build())
        .applicationinsightspolicyId("string")
        .configpbAttributes(ApplicationinsightspolicyConfigpbAttributeArgs.builder()
            .version("string")
            .build())
        .description("string")
        .enableApplicationInsights("string")
        .name("string")
        .tenantRef("string")
        .uuid("string")
        .build());
    
    applicationinsightspolicy_resource = avi.Applicationinsightspolicy("applicationinsightspolicyResource",
        application_insights_params=[{
            "enable_learn_from_bots": "string",
            "enable_per_uri_learning": "string",
            "learn_from_authenticated_clients_only": "string",
            "learn_from_bots": [{
                "match_operation": "string",
                "classifications": [{
                    "type": "string",
                    "user_defined_type": "string",
                }],
            }],
            "learn_from_urls_without_args": "string",
            "max_params": "string",
            "max_uris": "string",
            "trusted_ipgroup_ref": "string",
        }],
        application_sampling_configs=[{
            "max_sampling_percent": "string",
            "min_update_interval": "string",
        }],
        applicationinsightspolicy_id="string",
        configpb_attributes=[{
            "version": "string",
        }],
        description="string",
        enable_application_insights="string",
        name="string",
        tenant_ref="string",
        uuid="string")
    
    const applicationinsightspolicyResource = new avi.Applicationinsightspolicy("applicationinsightspolicyResource", {
        applicationInsightsParams: [{
            enableLearnFromBots: "string",
            enablePerUriLearning: "string",
            learnFromAuthenticatedClientsOnly: "string",
            learnFromBots: [{
                matchOperation: "string",
                classifications: [{
                    type: "string",
                    userDefinedType: "string",
                }],
            }],
            learnFromUrlsWithoutArgs: "string",
            maxParams: "string",
            maxUris: "string",
            trustedIpgroupRef: "string",
        }],
        applicationSamplingConfigs: [{
            maxSamplingPercent: "string",
            minUpdateInterval: "string",
        }],
        applicationinsightspolicyId: "string",
        configpbAttributes: [{
            version: "string",
        }],
        description: "string",
        enableApplicationInsights: "string",
        name: "string",
        tenantRef: "string",
        uuid: "string",
    });
    
    type: avi:Applicationinsightspolicy
    properties:
        applicationInsightsParams:
            - enableLearnFromBots: string
              enablePerUriLearning: string
              learnFromAuthenticatedClientsOnly: string
              learnFromBots:
                - classifications:
                    - type: string
                      userDefinedType: string
                  matchOperation: string
              learnFromUrlsWithoutArgs: string
              maxParams: string
              maxUris: string
              trustedIpgroupRef: string
        applicationSamplingConfigs:
            - maxSamplingPercent: string
              minUpdateInterval: string
        applicationinsightspolicyId: string
        configpbAttributes:
            - version: string
        description: string
        enableApplicationInsights: string
        name: string
        tenantRef: string
        uuid: string
    

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

    ApplicationInsightsParams List<ApplicationinsightspolicyApplicationInsightsParam>
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ApplicationSamplingConfigs List<ApplicationinsightspolicyApplicationSamplingConfig>
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ApplicationinsightspolicyId string
    ConfigpbAttributes List<ApplicationinsightspolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    EnableApplicationInsights string
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ApplicationInsightsParams []ApplicationinsightspolicyApplicationInsightsParamArgs
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ApplicationSamplingConfigs []ApplicationinsightspolicyApplicationSamplingConfigArgs
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ApplicationinsightspolicyId string
    ConfigpbAttributes []ApplicationinsightspolicyConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    EnableApplicationInsights string
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationInsightsParams List<ApplicationinsightspolicyApplicationInsightsParam>
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationSamplingConfigs List<ApplicationinsightspolicyApplicationSamplingConfig>
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationinsightspolicyId String
    configpbAttributes List<ApplicationinsightspolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    enableApplicationInsights String
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationInsightsParams ApplicationinsightspolicyApplicationInsightsParam[]
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationSamplingConfigs ApplicationinsightspolicyApplicationSamplingConfig[]
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationinsightspolicyId string
    configpbAttributes ApplicationinsightspolicyConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    enableApplicationInsights string
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name string
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef string
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    application_insights_params Sequence[ApplicationinsightspolicyApplicationInsightsParamArgs]
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    application_sampling_configs Sequence[ApplicationinsightspolicyApplicationSamplingConfigArgs]
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationinsightspolicy_id str
    configpb_attributes Sequence[ApplicationinsightspolicyConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    enable_application_insights str
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name str
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_ref str
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationInsightsParams List<Property Map>
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationSamplingConfigs List<Property Map>
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationinsightspolicyId String
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    enableApplicationInsights String
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.

    Outputs

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

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

    Look up Existing Applicationinsightspolicy Resource

    Get an existing Applicationinsightspolicy 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?: ApplicationinsightspolicyState, opts?: CustomResourceOptions): Applicationinsightspolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_insights_params: Optional[Sequence[ApplicationinsightspolicyApplicationInsightsParamArgs]] = None,
            application_sampling_configs: Optional[Sequence[ApplicationinsightspolicyApplicationSamplingConfigArgs]] = None,
            applicationinsightspolicy_id: Optional[str] = None,
            configpb_attributes: Optional[Sequence[ApplicationinsightspolicyConfigpbAttributeArgs]] = None,
            description: Optional[str] = None,
            enable_application_insights: Optional[str] = None,
            name: Optional[str] = None,
            tenant_ref: Optional[str] = None,
            uuid: Optional[str] = None) -> Applicationinsightspolicy
    func GetApplicationinsightspolicy(ctx *Context, name string, id IDInput, state *ApplicationinsightspolicyState, opts ...ResourceOption) (*Applicationinsightspolicy, error)
    public static Applicationinsightspolicy Get(string name, Input<string> id, ApplicationinsightspolicyState? state, CustomResourceOptions? opts = null)
    public static Applicationinsightspolicy get(String name, Output<String> id, ApplicationinsightspolicyState state, CustomResourceOptions options)
    resources:  _:    type: avi:Applicationinsightspolicy    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApplicationInsightsParams List<ApplicationinsightspolicyApplicationInsightsParam>
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ApplicationSamplingConfigs List<ApplicationinsightspolicyApplicationSamplingConfig>
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ApplicationinsightspolicyId string
    ConfigpbAttributes List<ApplicationinsightspolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    EnableApplicationInsights string
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ApplicationInsightsParams []ApplicationinsightspolicyApplicationInsightsParamArgs
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ApplicationSamplingConfigs []ApplicationinsightspolicyApplicationSamplingConfigArgs
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ApplicationinsightspolicyId string
    ConfigpbAttributes []ApplicationinsightspolicyConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    EnableApplicationInsights string
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationInsightsParams List<ApplicationinsightspolicyApplicationInsightsParam>
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationSamplingConfigs List<ApplicationinsightspolicyApplicationSamplingConfig>
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationinsightspolicyId String
    configpbAttributes List<ApplicationinsightspolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    enableApplicationInsights String
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationInsightsParams ApplicationinsightspolicyApplicationInsightsParam[]
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationSamplingConfigs ApplicationinsightspolicyApplicationSamplingConfig[]
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationinsightspolicyId string
    configpbAttributes ApplicationinsightspolicyConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    enableApplicationInsights string
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name string
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef string
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    application_insights_params Sequence[ApplicationinsightspolicyApplicationInsightsParamArgs]
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    application_sampling_configs Sequence[ApplicationinsightspolicyApplicationSamplingConfigArgs]
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationinsightspolicy_id str
    configpb_attributes Sequence[ApplicationinsightspolicyConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    enable_application_insights str
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name str
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_ref str
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationInsightsParams List<Property Map>
    Application insights parameters to filter application learning from clients. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationSamplingConfigs List<Property Map>
    Application sampling configuration to control rate and volume of data ingestion for application insights that the serviceengines are expected to send to the controller. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    applicationinsightspolicyId String
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 31.2.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Details of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    enableApplicationInsights String
    Enable application insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    The name of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    Details of the tenant for the application insights configuration. It is a reference to an object of type tenant. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid of the application insights configuration. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.

    Supporting Types

    ApplicationinsightspolicyApplicationInsightsParam, ApplicationinsightspolicyApplicationInsightsParamArgs

    ApplicationinsightspolicyApplicationInsightsParamLearnFromBot, ApplicationinsightspolicyApplicationInsightsParamLearnFromBotArgs

    ApplicationinsightspolicyApplicationInsightsParamLearnFromBotClassification, ApplicationinsightspolicyApplicationInsightsParamLearnFromBotClassificationArgs

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

    ApplicationinsightspolicyApplicationSamplingConfig, ApplicationinsightspolicyApplicationSamplingConfigArgs

    ApplicationinsightspolicyConfigpbAttribute, ApplicationinsightspolicyConfigpbAttributeArgs

    Version string
    Version string
    version String
    version string
    version String

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    avi logo
    avi 31.2.1 published on Monday, Dec 22, 2025 by vmware
      Meet Neo: Your AI Platform Teammate