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

avi.getBotipreputationtypemapping

Explore with Pulumi AI

<!–

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

–>

layout: “avi”

page_title: “AVI: avi.Botipreputationtypemapping” sidebar_current: “docs-avi-datasource-botipreputationtypemapping” description: |- Get information of Avi BotIPReputationTypeMapping.

avi.Botipreputationtypemapping

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

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";

const fooBotipreputationtypemapping = avi.getBotipreputationtypemapping({
    name: "foo",
    uuid: "botipreputationtypemapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
});
Copy
import pulumi
import pulumi_avi as avi

foo_botipreputationtypemapping = avi.get_botipreputationtypemapping(name="foo",
    uuid="botipreputationtypemapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
Copy
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.LookupBotipreputationtypemapping(ctx, &avi.LookupBotipreputationtypemappingArgs{
			Name: pulumi.StringRef("foo"),
			Uuid: pulumi.StringRef("botipreputationtypemapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Avi = Pulumi.Avi;

return await Deployment.RunAsync(() => 
{
    var fooBotipreputationtypemapping = Avi.GetBotipreputationtypemapping.Invoke(new()
    {
        Name = "foo",
        Uuid = "botipreputationtypemapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
    });

});
Copy
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.GetBotipreputationtypemappingArgs;
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 fooBotipreputationtypemapping = AviFunctions.getBotipreputationtypemapping(GetBotipreputationtypemappingArgs.builder()
            .name("foo")
            .uuid("botipreputationtypemapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
            .build());

    }
}
Copy
variables:
  fooBotipreputationtypemapping:
    fn::invoke:
      function: avi:getBotipreputationtypemapping
      arguments:
        name: foo
        uuid: botipreputationtypemapping-f9cf6b3e-a411-436f-95e2-2982ba2b217b
Copy

Using getBotipreputationtypemapping

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 getBotipreputationtypemapping(args: GetBotipreputationtypemappingArgs, opts?: InvokeOptions): Promise<GetBotipreputationtypemappingResult>
function getBotipreputationtypemappingOutput(args: GetBotipreputationtypemappingOutputArgs, opts?: InvokeOptions): Output<GetBotipreputationtypemappingResult>
Copy
def get_botipreputationtypemapping(id: Optional[str] = None,
                                   name: Optional[str] = None,
                                   tenant_ref: Optional[str] = None,
                                   uuid: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetBotipreputationtypemappingResult
def get_botipreputationtypemapping_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[GetBotipreputationtypemappingResult]
Copy
func LookupBotipreputationtypemapping(ctx *Context, args *LookupBotipreputationtypemappingArgs, opts ...InvokeOption) (*LookupBotipreputationtypemappingResult, error)
func LookupBotipreputationtypemappingOutput(ctx *Context, args *LookupBotipreputationtypemappingOutputArgs, opts ...InvokeOption) LookupBotipreputationtypemappingResultOutput
Copy

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

public static class GetBotipreputationtypemapping 
{
    public static Task<GetBotipreputationtypemappingResult> InvokeAsync(GetBotipreputationtypemappingArgs args, InvokeOptions? opts = null)
    public static Output<GetBotipreputationtypemappingResult> Invoke(GetBotipreputationtypemappingInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetBotipreputationtypemappingResult> getBotipreputationtypemapping(GetBotipreputationtypemappingArgs args, InvokeOptions options)
public static Output<GetBotipreputationtypemappingResult> getBotipreputationtypemapping(GetBotipreputationtypemappingArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: avi:index/getBotipreputationtypemapping:getBotipreputationtypemapping
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Name string
Search BotIPReputationTypeMapping 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 BotIPReputationTypeMapping by uuid.
Id string
Name string
Search BotIPReputationTypeMapping 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 BotIPReputationTypeMapping by uuid.
id String
name String
Search BotIPReputationTypeMapping 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 BotIPReputationTypeMapping by uuid.
id string
name string
Search BotIPReputationTypeMapping 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 BotIPReputationTypeMapping by uuid.
id str
name str
Search BotIPReputationTypeMapping 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 BotIPReputationTypeMapping by uuid.
id String
name String
Search BotIPReputationTypeMapping 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 BotIPReputationTypeMapping by uuid.

getBotipreputationtypemapping Result

The following output properties are available:

Id string
IpReputationMappings List<GetBotipreputationtypemappingIpReputationMapping>
Map every ipreputationtype to a bot type (can be unknown). 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 of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
Id string
IpReputationMappings []GetBotipreputationtypemappingIpReputationMapping
Map every ipreputationtype to a bot type (can be unknown). 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 of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
id String
ipReputationMappings List<GetBotipreputationtypemappingIpReputationMapping>
Map every ipreputationtype to a bot type (can be unknown). 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 of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
id string
ipReputationMappings GetBotipreputationtypemappingIpReputationMapping[]
Map every ipreputationtype to a bot type (can be unknown). 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 of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
id str
ip_reputation_mappings Sequence[GetBotipreputationtypemappingIpReputationMapping]
Map every ipreputationtype to a bot type (can be unknown). 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 of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
id String
ipReputationMappings List<Property Map>
Map every ipreputationtype to a bot type (can be unknown). 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 of this mapping. Field introduced in 21.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.

Supporting Types

GetBotipreputationtypemappingIpReputationMapping

botIdentifications This property is required. List<Property Map>
ipReputationType This property is required. String

GetBotipreputationtypemappingIpReputationMappingBotIdentification

Class This property is required. string
Identifier This property is required. string
Type This property is required. string
Class This property is required. string
Identifier This property is required. string
Type This property is required. string
class_ This property is required. String
identifier This property is required. String
type This property is required. String
class This property is required. string
identifier This property is required. string
type This property is required. string
class_ This property is required. str
identifier This property is required. str
type This property is required. str
class This property is required. String
identifier This property is required. String
type This property is required. String

Package Details

Repository
avi vmware/terraform-provider-avi
License
Notes
This Pulumi package is based on the avi Terraform Provider.