avi 31.1.1 published on Monday, Apr 14, 2025 by vmware
avi.getBotmapping
Explore with Pulumi AI
<!–
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.
- Tenant
Ref 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.
- Tenant
Ref 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.
- tenant
Ref 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.
- tenant
Ref 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.
- tenant
Ref 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
- Mapping
Rules List<GetBotmapping Mapping Rule> - 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.
- Tenant
Ref 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
- Mapping
Rules []GetBotmapping Mapping Rule - 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.
- Tenant
Ref 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
- mapping
Rules List<GetBotmapping Mapping Rule> - 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.
- tenant
Ref 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
- mapping
Rules GetBotmapping Mapping Rule[] - 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.
- tenant
Ref 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[GetBotmapping Mapping Rule] - 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
- mapping
Rules 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.
- tenant
Ref 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
- Classifications
List<Get
Botmapping Mapping Rule Classification> - Index string
- Matches
List<Get
Botmapping Mapping Rule Match> - Name string
- Search BotMapping by name.
- Classifications
[]Get
Botmapping Mapping Rule Classification - Index string
- Matches
[]Get
Botmapping Mapping Rule Match - Name string
- Search BotMapping by name.
- classifications
List<Get
Botmapping Mapping Rule Classification> - index String
- matches
List<Get
Botmapping Mapping Rule Match> - name String
- Search BotMapping by name.
- classifications
Get
Botmapping Mapping Rule Classification[] - index string
- matches
Get
Botmapping Mapping Rule Match[] - name string
- Search BotMapping by name.
- classifications
Sequence[Get
Botmapping Mapping Rule Classification] - index str
- matches
Sequence[Get
Botmapping Mapping Rule Match] - name str
- Search BotMapping by name.
- classifications List<Property Map>
- index String
- matches List<Property Map>
- name String
- Search BotMapping by name.
GetBotmappingMappingRuleClassification
- Type string
- User
Defined stringType
- Type string
- User
Defined stringType
- type String
- user
Defined StringType
- type string
- user
Defined stringType
- type str
- user_
defined_ strtype
- type String
- user
Defined StringType
GetBotmappingMappingRuleMatch
- Class
Matchers List<GetBotmapping Mapping Rule Match Class Matcher> - Client
Ips List<GetBotmapping Mapping Rule Match Client Ip> - Component
Matcher string - Hdrs
List<Get
Botmapping Mapping Rule Match Hdr> - Host
Hdrs List<GetBotmapping Mapping Rule Match Host Hdr> - Identifier
Matchers List<GetBotmapping Mapping Rule Match Identifier Matcher> - Methods
List<Get
Botmapping Mapping Rule Match Method> - Paths
List<Get
Botmapping Mapping Rule Match Path> - Type
Matchers List<GetBotmapping Mapping Rule Match Type Matcher>
- Class
Matchers []GetBotmapping Mapping Rule Match Class Matcher - Client
Ips []GetBotmapping Mapping Rule Match Client Ip - Component
Matcher string - Hdrs
[]Get
Botmapping Mapping Rule Match Hdr - Host
Hdrs []GetBotmapping Mapping Rule Match Host Hdr - Identifier
Matchers []GetBotmapping Mapping Rule Match Identifier Matcher - Methods
[]Get
Botmapping Mapping Rule Match Method - Paths
[]Get
Botmapping Mapping Rule Match Path - Type
Matchers []GetBotmapping Mapping Rule Match Type Matcher
- class
Matchers List<GetBotmapping Mapping Rule Match Class Matcher> - client
Ips List<GetBotmapping Mapping Rule Match Client Ip> - component
Matcher String - hdrs
List<Get
Botmapping Mapping Rule Match Hdr> - host
Hdrs List<GetBotmapping Mapping Rule Match Host Hdr> - identifier
Matchers List<GetBotmapping Mapping Rule Match Identifier Matcher> - methods
List<Get
Botmapping Mapping Rule Match Method> - paths
List<Get
Botmapping Mapping Rule Match Path> - type
Matchers List<GetBotmapping Mapping Rule Match Type Matcher>
- class
Matchers GetBotmapping Mapping Rule Match Class Matcher[] - client
Ips GetBotmapping Mapping Rule Match Client Ip[] - component
Matcher string - hdrs
Get
Botmapping Mapping Rule Match Hdr[] - host
Hdrs GetBotmapping Mapping Rule Match Host Hdr[] - identifier
Matchers GetBotmapping Mapping Rule Match Identifier Matcher[] - methods
Get
Botmapping Mapping Rule Match Method[] - paths
Get
Botmapping Mapping Rule Match Path[] - type
Matchers GetBotmapping Mapping Rule Match Type Matcher[]
- class_
matchers Sequence[GetBotmapping Mapping Rule Match Class Matcher] - client_
ips Sequence[GetBotmapping Mapping Rule Match Client Ip] - component_
matcher str - hdrs
Sequence[Get
Botmapping Mapping Rule Match Hdr] - host_
hdrs Sequence[GetBotmapping Mapping Rule Match Host Hdr] - identifier_
matchers Sequence[GetBotmapping Mapping Rule Match Identifier Matcher] - methods
Sequence[Get
Botmapping Mapping Rule Match Method] - paths
Sequence[Get
Botmapping Mapping Rule Match Path] - type_
matchers Sequence[GetBotmapping Mapping Rule Match Type Matcher]
GetBotmappingMappingRuleMatchClassMatcher
- Client
Classes List<string> - Op string
- Client
Classes []string - Op string
- client
Classes List<String> - op String
- client
Classes string[] - op string
- client_
classes Sequence[str] - op str
- client
Classes List<String> - op String
GetBotmappingMappingRuleMatchClientIp
GetBotmappingMappingRuleMatchClientIpAddr
GetBotmappingMappingRuleMatchClientIpPrefix
- ip
Addrs List<Property Map> - mask String
GetBotmappingMappingRuleMatchClientIpPrefixIpAddr
GetBotmappingMappingRuleMatchClientIpRange
GetBotmappingMappingRuleMatchClientIpRangeBegin
GetBotmappingMappingRuleMatchClientIpRangeEnd
GetBotmappingMappingRuleMatchHdr
- Hdr string
- Match
Case string - Match
Criteria string - String
Group List<string>Refs - Values List<string>
- Hdr string
- Match
Case string - Match
Criteria string - String
Group []stringRefs - Values []string
- hdr String
- match
Case String - match
Criteria String - string
Group List<String>Refs - values List<String>
- hdr string
- match
Case string - match
Criteria string - string
Group string[]Refs - values string[]
- hdr str
- match_
case str - match_
criteria str - string_
group_ Sequence[str]refs - values Sequence[str]
- hdr String
- match
Case String - match
Criteria String - string
Group List<String>Refs - values List<String>
GetBotmappingMappingRuleMatchHostHdr
- Match
Case string - Match
Criteria string - Values List<string>
- Match
Case string - Match
Criteria string - Values []string
- match
Case String - match
Criteria String - values List<String>
- match
Case string - match
Criteria string - values string[]
- match_
case str - match_
criteria str - values Sequence[str]
- match
Case String - match
Criteria String - values List<String>
GetBotmappingMappingRuleMatchIdentifierMatcher
- Match
Criteria string - Match
Strs List<string> - String
Group List<string>Refs
- Match
Criteria string - Match
Strs []string - String
Group []stringRefs
- match
Criteria String - match
Strs List<String> - string
Group List<String>Refs
- match
Criteria string - match
Strs string[] - string
Group string[]Refs
- match_
criteria str - match_
strs Sequence[str] - string_
group_ Sequence[str]refs
- match
Criteria String - match
Strs List<String> - string
Group List<String>Refs
GetBotmappingMappingRuleMatchMethod
- Match
Criteria string - Methods List<string>
- Match
Criteria string - Methods []string
- match
Criteria String - methods List<String>
- match
Criteria string - methods string[]
- match_
criteria str - methods Sequence[str]
- match
Criteria String - methods List<String>
GetBotmappingMappingRuleMatchPath
- Match
Case string - Match
Criteria string - Match
Decoded stringString - Match
Strs List<string> - String
Group List<string>Refs
- Match
Case string - Match
Criteria string - Match
Decoded stringString - Match
Strs []string - String
Group []stringRefs
- match
Case String - match
Criteria String - match
Decoded StringString - match
Strs List<String> - string
Group List<String>Refs
- match
Case string - match
Criteria string - match
Decoded stringString - match
Strs string[] - string
Group string[]Refs
- match_
case str - match_
criteria str - match_
decoded_ strstring - match_
strs Sequence[str] - string_
group_ Sequence[str]refs
- match
Case String - match
Criteria String - match
Decoded StringString - match
Strs List<String> - string
Group List<String>Refs
GetBotmappingMappingRuleMatchTypeMatcher
- Client
Types List<string> - Op string
- Client
Types []string - Op string
- client
Types List<String> - op String
- client
Types string[] - op string
- client_
types Sequence[str] - op str
- client
Types List<String> - op String
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.