1. Packages
  2. Avi Provider
  3. API Docs
  4. getUseraccountprofile
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

avi.getUseraccountprofile

Explore with Pulumi AI

<!–

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({
    name: "foo",
    uuid: "useraccountprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
});
Copy
import pulumi
import pulumi_avi as avi

foo_useraccountprofile = avi.get_useraccountprofile(name="foo",
    uuid="useraccountprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
Copy
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.LookupUseraccountprofile(ctx, &avi.LookupUseraccountprofileArgs{
			Name: pulumi.StringRef("foo"),
			Uuid: pulumi.StringRef("useraccountprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Avi = Pulumi.Avi;

return await Deployment.RunAsync(() => 
{
    var fooUseraccountprofile = Avi.GetUseraccountprofile.Invoke(new()
    {
        Name = "foo",
        Uuid = "useraccountprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
    });

});
Copy
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()
            .name("foo")
            .uuid("useraccountprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
            .build());

    }
}
Copy
variables:
  fooUseraccountprofile:
    fn::invoke:
      function: avi:getUseraccountprofile
      arguments:
        name: foo
        uuid: useraccountprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b
Copy

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>
Copy
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: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           uuid: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetUseraccountprofileResult]
Copy
func LookupUseraccountprofile(ctx *Context, args *LookupUseraccountprofileArgs, opts ...InvokeOption) (*LookupUseraccountprofileResult, error)
func LookupUseraccountprofileOutput(ctx *Context, args *LookupUseraccountprofileOutputArgs, opts ...InvokeOption) LookupUseraccountprofileResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetUseraccountprofileResult> getUseraccountprofile(GetUseraccountprofileArgs args, InvokeOptions options)
public static Output<GetUseraccountprofileResult> getUseraccountprofile(GetUseraccountprofileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: avi:index/getUseraccountprofile:getUseraccountprofile
  arguments:
    # arguments dictionary
Copy

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 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:

AccountLockTimeout string
Lock timeout period (in minutes). Default is 30 minutes. Unit is min. Allowed with any value in enterprise, essentials, basic, 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.
CredentialsTimeoutThreshold string
The time period after which credentials expire. Default is 180 days. Unit is days. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Id string
LoginFailureCountExpiryWindow string
The configurable time window beyond which we need to pop all the login failure timestamps from the login_failure_timestamps. Special values are 0 - do not reset login_failure_counts on the basis of time. Field introduced in 22.1.1. Unit is min. 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.
MaxLoginFailureCount string
Number of login attempts before lockout. Default is 3 attempts. Allowed values are 3-20. Special values are 0- unlimited login attempts allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
MaxPasswordHistoryCount string
Maximum number of passwords to be maintained in the password history. Default is 4 passwords. 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.
AccountLockTimeout string
Lock timeout period (in minutes). Default is 30 minutes. Unit is min. Allowed with any value in enterprise, essentials, basic, 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.
CredentialsTimeoutThreshold string
The time period after which credentials expire. Default is 180 days. Unit is days. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Id string
LoginFailureCountExpiryWindow string
The configurable time window beyond which we need to pop all the login failure timestamps from the login_failure_timestamps. Special values are 0 - do not reset login_failure_counts on the basis of time. Field introduced in 22.1.1. Unit is min. 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.
MaxLoginFailureCount string
Number of login attempts before lockout. Default is 3 attempts. Allowed values are 3-20. Special values are 0- unlimited login attempts allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
MaxPasswordHistoryCount string
Maximum number of passwords to be maintained in the password history. Default is 4 passwords. 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.
accountLockTimeout String
Lock timeout period (in minutes). Default is 30 minutes. Unit is min. Allowed with any value in enterprise, essentials, basic, 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.
credentialsTimeoutThreshold String
The time period after which credentials expire. Default is 180 days. Unit is days. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
id String
loginFailureCountExpiryWindow String
The configurable time window beyond which we need to pop all the login failure timestamps from the login_failure_timestamps. Special values are 0 - do not reset login_failure_counts on the basis of time. Field introduced in 22.1.1. Unit is min. 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.
maxLoginFailureCount String
Number of login attempts before lockout. Default is 3 attempts. Allowed values are 3-20. Special values are 0- unlimited login attempts allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
maxPasswordHistoryCount String
Maximum number of passwords to be maintained in the password history. Default is 4 passwords. 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.
accountLockTimeout string
Lock timeout period (in minutes). Default is 30 minutes. Unit is min. Allowed with any value in enterprise, essentials, basic, 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.
credentialsTimeoutThreshold string
The time period after which credentials expire. Default is 180 days. Unit is days. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
id string
loginFailureCountExpiryWindow string
The configurable time window beyond which we need to pop all the login failure timestamps from the login_failure_timestamps. Special values are 0 - do not reset login_failure_counts on the basis of time. Field introduced in 22.1.1. Unit is min. 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.
maxLoginFailureCount string
Number of login attempts before lockout. Default is 3 attempts. Allowed values are 3-20. Special values are 0- unlimited login attempts allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
maxPasswordHistoryCount string
Maximum number of passwords to be maintained in the password history. Default is 4 passwords. 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.
account_lock_timeout str
Lock timeout period (in minutes). Default is 30 minutes. Unit is min. Allowed with any value in enterprise, essentials, basic, 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.
credentials_timeout_threshold str
The time period after which credentials expire. Default is 180 days. Unit is days. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
id str
login_failure_count_expiry_window str
The configurable time window beyond which we need to pop all the login failure timestamps from the login_failure_timestamps. Special values are 0 - do not reset login_failure_counts on the basis of time. Field introduced in 22.1.1. Unit is min. 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.
max_login_failure_count str
Number of login attempts before lockout. Default is 3 attempts. Allowed values are 3-20. Special values are 0- unlimited login attempts allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
max_password_history_count str
Maximum number of passwords to be maintained in the password history. Default is 4 passwords. 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.
accountLockTimeout String
Lock timeout period (in minutes). Default is 30 minutes. Unit is min. 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 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
credentialsTimeoutThreshold String
The time period after which credentials expire. Default is 180 days. Unit is days. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
id String
loginFailureCountExpiryWindow String
The configurable time window beyond which we need to pop all the login failure timestamps from the login_failure_timestamps. Special values are 0 - do not reset login_failure_counts on the basis of time. Field introduced in 22.1.1. Unit is min. 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.
maxLoginFailureCount String
Number of login attempts before lockout. Default is 3 attempts. Allowed values are 3-20. Special values are 0- unlimited login attempts allowed. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
maxPasswordHistoryCount String
Maximum number of passwords to be maintained in the password history. Default is 4 passwords. 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

GetUseraccountprofileConfigpbAttribute

Version This property is required. string
Version This property is required. string
version This property is required. String
version This property is required. string
version This property is required. str
version This property is required. String

Package Details

Repository
avi vmware/terraform-provider-avi
License
Notes
This Pulumi package is based on the avi Terraform Provider.