1. Registry
  2. Packages
  3. Avi Provider
  4. API Docs
  5. getLabelprofile
Viewing docs for avi 32.1.4
published on Friday, Oct 23, 2026 by vmware
avi
Viewing docs for avi 32.1.4
published on Friday, Oct 23, 2026 by vmware

    <!–

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

    –>

    layout: “avi”

    page_title: “AVI: avi.Labelprofile” sidebar_current: “docs-avi-datasource-labelprofile” description: |- Get information of Avi LabelProfile.

    avi.Labelprofile

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const fooLabelprofile = avi.getLabelprofile({
        uuid: "labelprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
        name: "foo",
    });
    
    import pulumi
    import pulumi_avi as avi
    
    foo_labelprofile = avi.get_labelprofile(uuid="labelprofile-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.LookupLabelprofile(ctx, &avi.LookupLabelprofileArgs{
    			Uuid: pulumi.StringRef("labelprofile-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 fooLabelprofile = Avi.GetLabelprofile.Invoke(new()
        {
            Uuid = "labelprofile-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.GetLabelprofileArgs;
    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 fooLabelprofile = AviFunctions.getLabelprofile(GetLabelprofileArgs.builder()
                .uuid("labelprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
                .name("foo")
                .build());
    
        }
    }
    
    variables:
      fooLabelprofile:
        fn::invoke:
          function: avi:getLabelprofile
          arguments:
            uuid: labelprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b
            name: foo
    
    Example coming soon!
    

    Using getLabelprofile

    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 getLabelprofile(args: GetLabelprofileArgs, opts?: InvokeOptions): Promise<GetLabelprofileResult>
    function getLabelprofileOutput(args: GetLabelprofileOutputArgs, opts?: InvokeOutputOptions): Output<GetLabelprofileResult>
    def get_labelprofile(id: Optional[str] = None,
                         name: Optional[str] = None,
                         tenant_ref: Optional[str] = None,
                         uuid: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetLabelprofileResult
    def get_labelprofile_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[InvokeOutputOptions] = None) -> Output[GetLabelprofileResult]
    func LookupLabelprofile(ctx *Context, args *LookupLabelprofileArgs, opts ...InvokeOption) (*LookupLabelprofileResult, error)
    func LookupLabelprofileOutput(ctx *Context, args *LookupLabelprofileOutputArgs, opts ...InvokeOption) LookupLabelprofileResultOutput

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

    public static class GetLabelprofile 
    {
        public static Task<GetLabelprofileResult> InvokeAsync(GetLabelprofileArgs args, InvokeOptions? opts = null)
        public static Output<GetLabelprofileResult> Invoke(GetLabelprofileInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetLabelprofileResult> Invoke(GetLabelprofileInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetLabelprofileResult> getLabelprofile(GetLabelprofileArgs args, InvokeOptions options)
    public static Output<GetLabelprofileResult> getLabelprofile(GetLabelprofileArgs args, InvokeOptions options)
    public static Output<GetLabelprofileResult> getLabelprofile(GetLabelprofileArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: avi:index/getLabelprofile:getLabelprofile
      arguments:
        # arguments dictionary
    data "avi_get_labelprofile" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Name string
    Search LabelProfile by name.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Search LabelProfile by uuid.
    Id string
    Name string
    Search LabelProfile by name.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Search LabelProfile by uuid.
    id string
    name string
    Search LabelProfile by name.
    tenant_ref string
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    Search LabelProfile by uuid.
    id String
    name String
    Search LabelProfile by name.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Search LabelProfile by uuid.
    id string
    name string
    Search LabelProfile by name.
    tenantRef string
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    Search LabelProfile by uuid.
    id str
    name str
    Search LabelProfile by name.
    tenant_ref str
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    Search LabelProfile by uuid.
    id String
    name String
    Search LabelProfile by name.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Search LabelProfile by uuid.

    getLabelprofile Result

    The following output properties are available:

    ConfigpbAttributes List<GetLabelprofileConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Id string
    LabelDefinitions List<GetLabelprofileLabelDefinition>
    Labels available in this profile. Label names must be unique (case-insensitive). Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    LogLabels string
    Enables logging of waap labels effective for a request into apilog.effective_labels in the application log. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes []GetLabelprofileConfigpbAttribute
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Description string
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Id string
    LabelDefinitions []GetLabelprofileLabelDefinition
    Labels available in this profile. Label names must be unique (case-insensitive). Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    LogLabels string
    Enables logging of waap labels effective for a request into apilog.effective_labels in the application log. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpb_attributes list(object)
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id string
    label_definitions list(object)
    Labels available in this profile. Label names must be unique (case-insensitive). Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    log_labels string
    Enables logging of waap labels effective for a request into apilog.effective_labels in the application log. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenant_ref string
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<GetLabelprofileConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id String
    labelDefinitions List<GetLabelprofileLabelDefinition>
    Labels available in this profile. Label names must be unique (case-insensitive). Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    logLabels String
    Enables logging of waap labels effective for a request into apilog.effective_labels in the application log. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes GetLabelprofileConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description string
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id string
    labelDefinitions GetLabelprofileLabelDefinition[]
    Labels available in this profile. Label names must be unique (case-insensitive). Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    logLabels string
    Enables logging of waap labels effective for a request into apilog.effective_labels in the application log. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name string
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef string
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpb_attributes Sequence[GetLabelprofileConfigpbAttribute]
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description str
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id str
    label_definitions Sequence[GetLabelprofileLabelDefinition]
    Labels available in this profile. Label names must be unique (case-insensitive). Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    log_labels str
    Enables logging of waap labels effective for a request into apilog.effective_labels in the application log. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name str
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenant_ref str
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    description String
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id String
    labelDefinitions List<Property Map>
    Labels available in this profile. Label names must be unique (case-insensitive). Field introduced in 32.1.4. Maximum of 256 items allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    logLabels String
    Enables logging of waap labels effective for a request into apilog.effective_labels in the application log. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Name of this object, unique per tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    The object uuid. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    Supporting Types

    GetLabelprofileConfigpbAttribute

    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

    GetLabelprofileLabelDefinition

    Description string
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MatchActionScopes List<string>
    Name string
    Search LabelProfile by name.
    Type string
    Description string
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MatchActionScopes []string
    Name string
    Search LabelProfile by name.
    Type string
    description string
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    match_action_scopes list(string)
    name string
    Search LabelProfile by name.
    type string
    description String
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    matchActionScopes List<String>
    name String
    Search LabelProfile by name.
    type String
    description string
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    matchActionScopes string[]
    name string
    Search LabelProfile by name.
    type string
    description str
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    match_action_scopes Sequence[str]
    name str
    Search LabelProfile by name.
    type str
    description String
    Description of this label profile. Field introduced in 32.1.4. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    matchActionScopes List<String>
    name String
    Search LabelProfile by name.
    type String

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    avi
    Viewing docs for avi 32.1.4
    published on Friday, Oct 23, 2026 by vmware

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial