Viewing docs for avi 31.2.2
published on Tuesday, Feb 10, 2026 by vmware
published on Tuesday, Feb 10, 2026 by vmware
Viewing docs for avi 31.2.2
published on Tuesday, Feb 10, 2026 by vmware
published on Tuesday, Feb 10, 2026 by vmware
<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “AVI:<span pulumi-lang-nodejs=” avi.User"" pulumi-lang-dotnet=" avi.User"" pulumi-lang-go=" User"" pulumi-lang-python=" User"" pulumi-lang-yaml=" avi.User"" pulumi-lang-java=" avi.User""> avi.User" sidebar_current: “docs-avi-datasource-user” description: |- Get information of Avi User.
# avi.User This data source is used to to get avi.User objects.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";
const fooUser = avi.getUser({
uuid: "user-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
name: "foo",
});
import pulumi
import pulumi_avi as avi
foo_user = avi.get_user(uuid="user-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
name="foo")
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.LookupUser(ctx, &avi.LookupUserArgs{
Uuid: pulumi.StringRef("user-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 fooUser = Avi.GetUser.Invoke(new()
{
Uuid = "user-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.GetUserArgs;
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 fooUser = AviFunctions.getUser(GetUserArgs.builder()
.uuid("user-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
.name("foo")
.build());
}
}
variables:
fooUser:
fn::invoke:
function: avi:getUser
arguments:
uuid: user-f9cf6b3e-a411-436f-95e2-2982ba2b217b
name: foo
Using getUser
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 getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>def get_user(id: Optional[str] = None,
name: Optional[str] = None,
uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput> Note: This function is named LookupUser in the Go SDK.
public static class GetUser
{
public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
fn::invoke:
function: avi:index/getUser:getUser
arguments:
# arguments dictionaryThe following arguments are supported:
getUser Result
The following output properties are available:
- Accesses
List<Get
User Access> - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Anonymous
User string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Date
Joined string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Default
Tenant stringRef - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Email string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Enable
Config stringWarnings - Flag to enable or disable config warnings. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Full
Name string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Id string
- Is
Active string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Is
Internal stringUser - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Is
Staff string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Is
Superuser string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Local string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Logged
In string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Name string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Password string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Passwordless string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Recovery
Token string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Service
User string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Token
Expiration stringDate - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Ui
Property string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Unix
Crypt stringPassword - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- User
Profile stringRef - It is a reference to an object of type useraccountprofile. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Username string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Accesses
[]Get
User Access - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Anonymous
User string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Date
Joined string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Default
Tenant stringRef - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Email string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Enable
Config stringWarnings - Flag to enable or disable config warnings. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Full
Name string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Id string
- Is
Active string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Is
Internal stringUser - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Is
Staff string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Is
Superuser string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Local string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Logged
In string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Name string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Password string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Passwordless string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Recovery
Token string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Service
User string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Token
Expiration stringDate - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Ui
Property string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Unix
Crypt stringPassword - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- User
Profile stringRef - It is a reference to an object of type useraccountprofile. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Username string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- accesses
List<Get
User Access> - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- anonymous
User String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- date
Joined String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- default
Tenant StringRef - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- email String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- enable
Config StringWarnings - Flag to enable or disable config warnings. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- full
Name String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- id String
- is
Active String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Internal StringUser - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Staff String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Superuser String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- local String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- logged
In String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- password String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- passwordless String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- recovery
Token String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service
User String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- token
Expiration StringDate - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- ui
Property String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uid String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- unix
Crypt StringPassword - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- user
Profile StringRef - It is a reference to an object of type useraccountprofile. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- username String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- accesses
Get
User Access[] - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- anonymous
User string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- date
Joined string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- default
Tenant stringRef - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- email string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- enable
Config stringWarnings - Flag to enable or disable config warnings. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- full
Name string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- id string
- is
Active string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Internal stringUser - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Staff string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Superuser string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- local string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- logged
In string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- password string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- passwordless string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- recovery
Token string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service
User string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- token
Expiration stringDate - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- ui
Property string - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- unix
Crypt stringPassword - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- user
Profile stringRef - It is a reference to an object of type useraccountprofile. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- username string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- accesses
Sequence[Get
User Access] - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- anonymous_
user str - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- date_
joined str - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- default_
tenant_ strref - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- email str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- enable_
config_ strwarnings - Flag to enable or disable config warnings. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- full_
name str - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- id str
- is_
active str - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is_
internal_ struser - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is_
staff str - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is_
superuser str - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- local str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- logged_
in str - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- password str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- passwordless str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- recovery_
token str - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service_
user str - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- token_
expiration_ strdate - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- ui_
property str - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uid str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- unix_
crypt_ strpassword - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- user_
profile_ strref - It is a reference to an object of type useraccountprofile. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- username str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- accesses List<Property Map>
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- anonymous
User String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- date
Joined String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- default
Tenant StringRef - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- email String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- enable
Config StringWarnings - Flag to enable or disable config warnings. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- full
Name String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- id String
- is
Active String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Internal StringUser - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Staff String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Superuser String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- local String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- logged
In String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- password String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- passwordless String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- recovery
Token String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service
User String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- token
Expiration StringDate - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- ui
Property String - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uid String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- unix
Crypt StringPassword - Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- user
Profile StringRef - It is a reference to an object of type useraccountprofile. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- username String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Supporting Types
GetUserAccess
- All
Tenants string - Role
Ref string - Tenant
Ref string
- All
Tenants string - Role
Ref string - Tenant
Ref string
- all
Tenants String - role
Ref String - tenant
Ref String
- all
Tenants string - role
Ref string - tenant
Ref string
- all_
tenants str - role_
ref str - tenant_
ref str
- all
Tenants String - role
Ref String - tenant
Ref String
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
aviTerraform Provider.
Viewing docs for avi 31.2.2
published on Tuesday, Feb 10, 2026 by vmware
published on Tuesday, Feb 10, 2026 by vmware
