1. Packages
  2. Packages
  3. Avi Provider
  4. API Docs
  5. getUseraccountprofile
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.Useraccountprofile” sidebar_current: “docs-avi-datasource-useraccountprofile” description: |- Get information of Avi UserAccountProfile.

    avi.Useraccountprofile

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const fooUseraccountprofile = avi.getUseraccountprofile({
        uuid: "useraccountprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
        name: "foo",
    });
    
    import pulumi
    import pulumi_avi as avi
    
    foo_useraccountprofile = avi.get_useraccountprofile(uuid="useraccountprofile-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.LookupUseraccountprofile(ctx, &avi.LookupUseraccountprofileArgs{
    			Uuid: pulumi.StringRef("useraccountprofile-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 fooUseraccountprofile = Avi.GetUseraccountprofile.Invoke(new()
        {
            Uuid = "useraccountprofile-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.GetUseraccountprofileArgs;
    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 fooUseraccountprofile = AviFunctions.getUseraccountprofile(GetUseraccountprofileArgs.builder()
                .uuid("useraccountprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
                .name("foo")
                .build());
    
        }
    }
    
    variables:
      fooUseraccountprofile:
        fn::invoke:
          function: avi:getUseraccountprofile
          arguments:
            uuid: useraccountprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b
            name: foo
    
    Example coming soon!
    

    Using getUseraccountprofile

    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 getUseraccountprofile(args: GetUseraccountprofileArgs, opts?: InvokeOptions): Promise<GetUseraccountprofileResult>
    function getUseraccountprofileOutput(args: GetUseraccountprofileOutputArgs, opts?: InvokeOptions): Output<GetUseraccountprofileResult>
    def get_useraccountprofile(id: Optional[str] = None,
                               name: Optional[str] = None,
                               uuid: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetUseraccountprofileResult
    def get_useraccountprofile_output(id: pulumi.Input[Optional[str]] = None,
                               name: pulumi.Input[Optional[str]] = None,
                               uuid: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetUseraccountprofileResult]
    func LookupUseraccountprofile(ctx *Context, args *LookupUseraccountprofileArgs, opts ...InvokeOption) (*LookupUseraccountprofileResult, error)
    func LookupUseraccountprofileOutput(ctx *Context, args *LookupUseraccountprofileOutputArgs, opts ...InvokeOption) LookupUseraccountprofileResultOutput

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

    public static class GetUseraccountprofile 
    {
        public static Task<GetUseraccountprofileResult> InvokeAsync(GetUseraccountprofileArgs args, InvokeOptions? opts = null)
        public static Output<GetUseraccountprofileResult> Invoke(GetUseraccountprofileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUseraccountprofileResult> getUseraccountprofile(GetUseraccountprofileArgs args, InvokeOptions options)
    public static Output<GetUseraccountprofileResult> getUseraccountprofile(GetUseraccountprofileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: avi:index/getUseraccountprofile:getUseraccountprofile
      arguments:
        # arguments dictionary
    data "avi_getuseraccountprofile" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Name string
    Search UserAccountProfile by name.
    Uuid string
    Search UserAccountProfile by uuid.
    Id string
    Name string
    Search UserAccountProfile by name.
    Uuid string
    Search UserAccountProfile by uuid.
    id string
    name string
    Search UserAccountProfile by name.
    uuid string
    Search UserAccountProfile by uuid.
    id String
    name String
    Search UserAccountProfile by name.
    uuid String
    Search UserAccountProfile by uuid.
    id string
    name string
    Search UserAccountProfile by name.
    uuid string
    Search UserAccountProfile by uuid.
    id str
    name str
    Search UserAccountProfile by name.
    uuid str
    Search UserAccountProfile by uuid.
    id String
    name String
    Search UserAccountProfile by name.
    uuid String
    Search UserAccountProfile by uuid.

    getUseraccountprofile Result

    The following output properties are available:

    ComplexityConstraints List<GetUseraccountprofileComplexityConstraint>
    Password complexity constraints for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ConfigpbAttributes List<GetUseraccountprofileConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ExpirationConstraints List<GetUseraccountprofileExpirationConstraint>
    Password expiration settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Id string
    LockoutConstraints List<GetUseraccountprofileLockoutConstraint>
    Account lockout settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    MaxConcurrentSessions string
    Maximum number of concurrent sessions allowed. There are unlimited sessions by default. 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.
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ComplexityConstraints []GetUseraccountprofileComplexityConstraint
    Password complexity constraints for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ConfigpbAttributes []GetUseraccountprofileConfigpbAttribute
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ExpirationConstraints []GetUseraccountprofileExpirationConstraint
    Password expiration settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Id string
    LockoutConstraints []GetUseraccountprofileLockoutConstraint
    Account lockout settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    MaxConcurrentSessions string
    Maximum number of concurrent sessions allowed. There are unlimited sessions by default. 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.
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    complexity_constraints list(object)
    Password complexity constraints for the user account profile. 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 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    expiration_constraints list(object)
    Password expiration settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id string
    lockout_constraints list(object)
    Account lockout settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    max_concurrent_sessions string
    Maximum number of concurrent sessions allowed. There are unlimited sessions by default. 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.
    uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    complexityConstraints List<GetUseraccountprofileComplexityConstraint>
    Password complexity constraints for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<GetUseraccountprofileConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    expirationConstraints List<GetUseraccountprofileExpirationConstraint>
    Password expiration settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id String
    lockoutConstraints List<GetUseraccountprofileLockoutConstraint>
    Account lockout settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    maxConcurrentSessions String
    Maximum number of concurrent sessions allowed. There are unlimited sessions by default. 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.
    uuid String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    complexityConstraints GetUseraccountprofileComplexityConstraint[]
    Password complexity constraints for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes GetUseraccountprofileConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    expirationConstraints GetUseraccountprofileExpirationConstraint[]
    Password expiration settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id string
    lockoutConstraints GetUseraccountprofileLockoutConstraint[]
    Account lockout settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    maxConcurrentSessions string
    Maximum number of concurrent sessions allowed. There are unlimited sessions by default. 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.
    uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    complexity_constraints Sequence[GetUseraccountprofileComplexityConstraint]
    Password complexity constraints for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpb_attributes Sequence[GetUseraccountprofileConfigpbAttribute]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    expiration_constraints Sequence[GetUseraccountprofileExpirationConstraint]
    Password expiration settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id str
    lockout_constraints Sequence[GetUseraccountprofileLockoutConstraint]
    Account lockout settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    max_concurrent_sessions str
    Maximum number of concurrent sessions allowed. There are unlimited sessions by default. 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.
    uuid str
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    complexityConstraints List<Property Map>
    Password complexity constraints for the user account profile. 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 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    expirationConstraints List<Property Map>
    Password expiration settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id String
    lockoutConstraints List<Property Map>
    Account lockout settings for the user account profile. Field introduced in 32.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    maxConcurrentSessions String
    Maximum number of concurrent sessions allowed. There are unlimited sessions by default. 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.
    uuid String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    Supporting Types

    GetUseraccountprofileComplexityConstraint

    GetUseraccountprofileConfigpbAttribute

    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

    GetUseraccountprofileExpirationConstraint

    GetUseraccountprofileLockoutConstraint

    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