Viewing docs for avi 32.1.4
published on Friday, Oct 23, 2026 by vmware
published on Friday, Oct 23, 2026 by vmware
avi
Viewing docs for avi 32.1.4
published on Friday, Oct 23, 2026 by vmware
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 dictionarydata "avi_get_labelprofile" "name" {
# arguments
}The following arguments are supported:
- 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 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.
getLabelprofile Result
The following output properties are available:
- Configpb
Attributes List<GetLabelprofile Configpb Attribute> - 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<GetLabelprofile Label Definition> - 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.
- Configpb
Attributes []GetLabelprofile Configpb Attribute - 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 []GetLabelprofile Label Definition - 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.
- 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.
- configpb
Attributes List<GetLabelprofile Configpb Attribute> - 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<GetLabelprofile Label Definition> - 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.
- configpb
Attributes GetLabelprofile Configpb Attribute[] - 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 GetLabelprofile Label Definition[] - 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.
- configpb_
attributes Sequence[GetLabelprofile Configpb Attribute] - 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[GetLabelprofile Label Definition] - 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.
- configpb
Attributes 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
- label
Definitions 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.
- 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.
Supporting Types
GetLabelprofileConfigpbAttribute
- created_
by string - version string
- created_
by str - version str
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.
- Match
Action List<string>Scopes - 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 []stringScopes - 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_ list(string)scopes - 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 List<String>Scopes - 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 string[]Scopes - 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_ Sequence[str]scopes - 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.
- match
Action List<String>Scopes - 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
aviTerraform Provider.
avi
Viewing docs for avi 32.1.4
published on Friday, Oct 23, 2026 by vmware
published on Friday, Oct 23, 2026 by vmware