1. Packages
  2. Packages
  3. Avi Provider
  4. API Docs
  5. getTenantbinding
Viewing docs for avi 32.1.1
published on Tuesday, May 19, 2026 by vmware
Viewing docs for avi 32.1.1
published on Tuesday, May 19, 2026 by vmware

    <!–

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

    –>

    layout: “avi”

    page_title: “AVI: avi.Tenantbinding” sidebar_current: “docs-avi-datasource-tenantbinding” description: |- Get information of Avi TenantBinding.

    avi.Tenantbinding

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const fooTenantbinding = avi.getTenantbinding({
        uuid: "tenantbinding-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
        name: "foo",
    });
    
    import pulumi
    import pulumi_avi as avi
    
    foo_tenantbinding = avi.get_tenantbinding(uuid="tenantbinding-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
        name="foo")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v32/avi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := avi.LookupTenantbinding(ctx, &avi.LookupTenantbindingArgs{
    			Uuid: pulumi.StringRef("tenantbinding-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
    			Name: pulumi.StringRef("foo"),
    		}, 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 fooTenantbinding = Avi.GetTenantbinding.Invoke(new()
        {
            Uuid = "tenantbinding-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
            Name = "foo",
        });
    
    });
    
    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.GetTenantbindingArgs;
    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 fooTenantbinding = AviFunctions.getTenantbinding(GetTenantbindingArgs.builder()
                .uuid("tenantbinding-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
                .name("foo")
                .build());
    
        }
    }
    
    variables:
      fooTenantbinding:
        fn::invoke:
          function: avi:getTenantbinding
          arguments:
            uuid: tenantbinding-f9cf6b3e-a411-436f-95e2-2982ba2b217b
            name: foo
    
    Example coming soon!
    

    Using getTenantbinding

    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 getTenantbinding(args: GetTenantbindingArgs, opts?: InvokeOptions): Promise<GetTenantbindingResult>
    function getTenantbindingOutput(args: GetTenantbindingOutputArgs, opts?: InvokeOptions): Output<GetTenantbindingResult>
    def get_tenantbinding(id: Optional[str] = None,
                          name: Optional[str] = None,
                          tenant_ref: Optional[str] = None,
                          uuid: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetTenantbindingResult
    def get_tenantbinding_output(id: pulumi.Input[Optional[str]] = None,
                          name: pulumi.Input[Optional[str]] = None,
                          tenant_ref: pulumi.Input[Optional[str]] = None,
                          uuid: pulumi.Input[Optional[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetTenantbindingResult]
    func LookupTenantbinding(ctx *Context, args *LookupTenantbindingArgs, opts ...InvokeOption) (*LookupTenantbindingResult, error)
    func LookupTenantbindingOutput(ctx *Context, args *LookupTenantbindingOutputArgs, opts ...InvokeOption) LookupTenantbindingResultOutput

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

    public static class GetTenantbinding 
    {
        public static Task<GetTenantbindingResult> InvokeAsync(GetTenantbindingArgs args, InvokeOptions? opts = null)
        public static Output<GetTenantbindingResult> Invoke(GetTenantbindingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTenantbindingResult> getTenantbinding(GetTenantbindingArgs args, InvokeOptions options)
    public static Output<GetTenantbindingResult> getTenantbinding(GetTenantbindingArgs args, InvokeOptions options)
    
    fn::invoke:
      function: avi:index/getTenantbinding:getTenantbinding
      arguments:
        # arguments dictionary
    data "avi_gettenantbinding" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Name string
    Search TenantBinding by name.
    TenantRef string
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Search TenantBinding by uuid.
    Id string
    Name string
    Search TenantBinding by name.
    TenantRef string
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Search TenantBinding by uuid.
    id string
    name string
    Search TenantBinding by name.
    tenant_ref string
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Search TenantBinding by uuid.
    id String
    name String
    Search TenantBinding by name.
    tenantRef String
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Search TenantBinding by uuid.
    id string
    name string
    Search TenantBinding by name.
    tenantRef string
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Search TenantBinding by uuid.
    id str
    name str
    Search TenantBinding by name.
    tenant_ref str
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Search TenantBinding by uuid.
    id String
    name String
    Search TenantBinding by name.
    tenantRef String
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Search TenantBinding by uuid.

    getTenantbinding Result

    The following output properties are available:

    ConfigpbAttributes List<GetTenantbindingConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 32.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Id string
    Name string
    Name of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    SeGroupRef string
    Uuid of the service engine group being shared. It is a reference to an object of type serviceenginegroup. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    SharedTenantRef string
    Uuid of the tenant to which the object is being shared. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ConfigpbAttributes []GetTenantbindingConfigpbAttribute
    Protobuf versioning for config pbs. Field introduced in 32.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Id string
    Name string
    Name of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    SeGroupRef string
    Uuid of the service engine group being shared. It is a reference to an object of type serviceenginegroup. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    SharedTenantRef string
    Uuid of the tenant to which the object is being shared. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpb_attributes list(object)
    Protobuf versioning for config pbs. Field introduced in 32.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id string
    name string
    Name of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    se_group_ref string
    Uuid of the service engine group being shared. It is a reference to an object of type serviceenginegroup. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    shared_tenant_ref string
    Uuid of the tenant to which the object is being shared. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_ref string
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Uuid of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<GetTenantbindingConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 32.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id String
    name String
    Name of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    seGroupRef String
    Uuid of the service engine group being shared. It is a reference to an object of type serviceenginegroup. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    sharedTenantRef String
    Uuid of the tenant to which the object is being shared. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes GetTenantbindingConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 32.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id string
    name string
    Name of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    seGroupRef string
    Uuid of the service engine group being shared. It is a reference to an object of type serviceenginegroup. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    sharedTenantRef string
    Uuid of the tenant to which the object is being shared. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef string
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Uuid of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpb_attributes Sequence[GetTenantbindingConfigpbAttribute]
    Protobuf versioning for config pbs. Field introduced in 32.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id str
    name str
    Name of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    se_group_ref str
    Uuid of the service engine group being shared. It is a reference to an object of type serviceenginegroup. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    shared_tenant_ref str
    Uuid of the tenant to which the object is being shared. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_ref str
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Uuid of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 32.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id String
    name String
    Name of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    seGroupRef String
    Uuid of the service engine group being shared. It is a reference to an object of type serviceenginegroup. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    sharedTenantRef String
    Uuid of the tenant to which the object is being shared. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    Tenant uuid. This field is used for admin tenant context. It is a reference to an object of type tenant. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid of the tenant binding. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.

    Supporting Types

    GetTenantbindingConfigpbAttribute

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

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    Viewing docs for avi 32.1.1
    published on Tuesday, May 19, 2026 by vmware

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial