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

avi.getBotmapping

Explore with Pulumi AI

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

    <!–

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

    –>

    layout: “avi”

    page_title: “AVI: avi.Botmapping” sidebar_current: “docs-avi-datasource-botmapping” description: |- Get information of Avi BotMapping.

    avi.Botmapping

    This data source is used to to get avi.Botmapping objects.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const fooBotmapping = avi.getBotmapping({
        name: "foo",
        uuid: "botmapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
    });
    
    import pulumi
    import pulumi_avi as avi
    
    foo_botmapping = avi.get_botmapping(name="foo",
        uuid="botmapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
    
    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.LookupBotmapping(ctx, &avi.LookupBotmappingArgs{
    			Name: pulumi.StringRef("foo"),
    			Uuid: pulumi.StringRef("botmapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
    		}, nil)
    		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 fooBotmapping = Avi.GetBotmapping.Invoke(new()
        {
            Name = "foo",
            Uuid = "botmapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.avi.AviFunctions;
    import com.pulumi.avi.inputs.GetBotmappingArgs;
    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) {
            final var fooBotmapping = AviFunctions.getBotmapping(GetBotmappingArgs.builder()
                .name("foo")
                .uuid("botmapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
                .build());
    
        }
    }
    
    variables:
      fooBotmapping:
        fn::invoke:
          function: avi:getBotmapping
          arguments:
            name: foo
            uuid: botmapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b
    

    Using getBotmapping

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getBotmapping(args: GetBotmappingArgs, opts?: InvokeOptions): Promise<GetBotmappingResult>
    function getBotmappingOutput(args: GetBotmappingOutputArgs, opts?: InvokeOptions): Output<GetBotmappingResult>
    def get_botmapping(id: Optional[str] = None,
                       name: Optional[str] = None,
                       tenant_ref: Optional[str] = None,
                       uuid: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetBotmappingResult
    def get_botmapping_output(id: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       tenant_ref: Optional[pulumi.Input[str]] = None,
                       uuid: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetBotmappingResult]
    func LookupBotmapping(ctx *Context, args *LookupBotmappingArgs, opts ...InvokeOption) (*LookupBotmappingResult, error)
    func LookupBotmappingOutput(ctx *Context, args *LookupBotmappingOutputArgs, opts ...InvokeOption) LookupBotmappingResultOutput

    > Note: This function is named LookupBotmapping in the Go SDK.

    public static class GetBotmapping 
    {
        public static Task<GetBotmappingResult> InvokeAsync(GetBotmappingArgs args, InvokeOptions? opts = null)
        public static Output<GetBotmappingResult> Invoke(GetBotmappingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBotmappingResult> getBotmapping(GetBotmappingArgs args, InvokeOptions options)
    public static Output<GetBotmappingResult> getBotmapping(GetBotmappingArgs args, InvokeOptions options)
    
    fn::invoke:
      function: avi:index/getBotmapping:getBotmapping
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Search BotMapping by name.
    TenantRef string
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Search BotMapping by uuid.
    Id string
    Name string
    Search BotMapping by name.
    TenantRef string
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Search BotMapping by uuid.
    id String
    name String
    Search BotMapping by name.
    tenantRef String
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Search BotMapping by uuid.
    id string
    name string
    Search BotMapping by name.
    tenantRef string
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Search BotMapping by uuid.
    id str
    name str
    Search BotMapping by name.
    tenant_ref str
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Search BotMapping by uuid.
    id String
    name String
    Search BotMapping by name.
    tenantRef String
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Search BotMapping by uuid.

    getBotmapping Result

    The following output properties are available:

    Id string
    MappingRules List<GetBotmappingMappingRule>
    Rules for bot classification. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    The name of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    A unique identifier for this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Id string
    MappingRules []GetBotmappingMappingRule
    Rules for bot classification. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    The name of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    A unique identifier for this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id String
    mappingRules List<GetBotmappingMappingRule>
    Rules for bot classification. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    The name of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    A unique identifier for this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id string
    mappingRules GetBotmappingMappingRule[]
    Rules for bot classification. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name string
    The name of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef string
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    A unique identifier for this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id str
    mapping_rules Sequence[GetBotmappingMappingRule]
    Rules for bot classification. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name str
    The name of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_ref str
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    A unique identifier for this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id String
    mappingRules List<Property Map>
    Rules for bot classification. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    The name of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    The unique identifier of the tenant to which this mapping belongs. It is a reference to an object of type tenant. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    A unique identifier for this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.

    Supporting Types

    GetBotmappingMappingRule

    GetBotmappingMappingRuleClassification

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

    GetBotmappingMappingRuleMatch

    GetBotmappingMappingRuleMatchClassMatcher

    ClientClasses List<string>
    Op string
    ClientClasses []string
    Op string
    clientClasses List<String>
    op String
    clientClasses string[]
    op string
    client_classes Sequence[str]
    op str
    clientClasses List<String>
    op String

    GetBotmappingMappingRuleMatchClientIp

    GetBotmappingMappingRuleMatchClientIpAddr

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

    GetBotmappingMappingRuleMatchClientIpPrefix

    GetBotmappingMappingRuleMatchClientIpPrefixIpAddr

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

    GetBotmappingMappingRuleMatchClientIpRange

    GetBotmappingMappingRuleMatchClientIpRangeBegin

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

    GetBotmappingMappingRuleMatchClientIpRangeEnd

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

    GetBotmappingMappingRuleMatchHdr

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

    GetBotmappingMappingRuleMatchHostHdr

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

    GetBotmappingMappingRuleMatchIdentifierMatcher

    MatchCriteria string
    MatchStrs List<string>
    StringGroupRefs List<string>
    MatchCriteria string
    MatchStrs []string
    StringGroupRefs []string
    matchCriteria String
    matchStrs List<String>
    stringGroupRefs List<String>
    matchCriteria string
    matchStrs string[]
    stringGroupRefs string[]
    match_criteria str
    match_strs Sequence[str]
    string_group_refs Sequence[str]
    matchCriteria String
    matchStrs List<String>
    stringGroupRefs List<String>

    GetBotmappingMappingRuleMatchMethod

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

    GetBotmappingMappingRuleMatchPath

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

    GetBotmappingMappingRuleMatchTypeMatcher

    ClientTypes List<string>
    Op string
    ClientTypes []string
    Op string
    clientTypes List<String>
    op String
    clientTypes string[]
    op string
    client_types Sequence[str]
    op str
    clientTypes List<String>
    op String

    Package Details

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