powerscale.getUser
Explore with Pulumi AI
This datasource is used to query the existing Users from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block. PowerScale User allows you to authenticate through a local authentication provider. Remote users are restricted to read-only operations.
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(filter: Optional[GetUserFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(filter: Optional[pulumi.Input[GetUserFilterArgs]] = 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: powerscale:index/getUser:getUser
arguments:
# arguments dictionary
The following arguments are supported:
getUser Result
The following output properties are available:
- Id string
- Unique identifier of the user instance.
- Users
List<Get
User User> - List of users.
- Filter
Get
User Filter
- Id string
- Unique identifier of the user instance.
- Users
[]Get
User User - List of users.
- Filter
Get
User Filter
- id String
- Unique identifier of the user instance.
- users
List<Get
User User> - List of users.
- filter
Get
User Filter
- id string
- Unique identifier of the user instance.
- users
Get
User User[] - List of users.
- filter
Get
User Filter
- id str
- Unique identifier of the user instance.
- users
Sequence[Get
User User] - List of users.
- filter
Get
User Filter
- id String
- Unique identifier of the user instance.
- users List<Property Map>
- List of users.
- filter Property Map
Supporting Types
GetUserFilter
- Cached bool
- If true, only return cached objects.
- Domain string
- Filter users by domain.
- Member
Of bool - Enumerate all users that a group is a member of.
- Name
Prefix string - Filter users by name prefix.
- Names
List<Get
User Filter Name> - List of user identity.
- Provider string
- Filter users by provider.
- Zone string
- Filter users by zone.
- Cached bool
- If true, only return cached objects.
- Domain string
- Filter users by domain.
- Member
Of bool - Enumerate all users that a group is a member of.
- Name
Prefix string - Filter users by name prefix.
- Names
[]Get
User Filter Name - List of user identity.
- Provider string
- Filter users by provider.
- Zone string
- Filter users by zone.
- cached Boolean
- If true, only return cached objects.
- domain String
- Filter users by domain.
- member
Of Boolean - Enumerate all users that a group is a member of.
- name
Prefix String - Filter users by name prefix.
- names
List<Get
User Filter Name> - List of user identity.
- provider String
- Filter users by provider.
- zone String
- Filter users by zone.
- cached boolean
- If true, only return cached objects.
- domain string
- Filter users by domain.
- member
Of boolean - Enumerate all users that a group is a member of.
- name
Prefix string - Filter users by name prefix.
- names
Get
User Filter Name[] - List of user identity.
- provider string
- Filter users by provider.
- zone string
- Filter users by zone.
- cached bool
- If true, only return cached objects.
- domain str
- Filter users by domain.
- member_
of bool - Enumerate all users that a group is a member of.
- name_
prefix str - Filter users by name prefix.
- names
Sequence[Get
User Filter Name] - List of user identity.
- provider str
- Filter users by provider.
- zone str
- Filter users by zone.
- cached Boolean
- If true, only return cached objects.
- domain String
- Filter users by domain.
- member
Of Boolean - Enumerate all users that a group is a member of.
- name
Prefix String - Filter users by name prefix.
- names List<Property Map>
- List of user identity.
- provider String
- Filter users by provider.
- zone String
- Filter users by zone.
GetUserFilterName
GetUserUser
- Roles List<string>
- List of roles.
- Dn string
- Specifies a principal name for the user.
- Dns
Domain string - Specifies the DNS domain.
- Domain string
- Specifies the domain that the object is part of.
- Email string
- Specifies an email address.
- Enabled bool
- If true, the authenticated user is enabled.
- Expired bool
- If true, the authenticated user has expired.
- Expiry double
- Specifies the Unix Epoch time at which the authenticated user will expire.
- Gecos string
- Specifies the GECOS value, which is usually the full name.
- Generated
Gid bool - If true, the GID was generated.
- Generated
Uid bool - If true, the UID was generated.
- Generated
Upn bool - If true, the UPN was generated.
- Gid string
- Specifies a group identifier.
- Home
Directory string - Specifies a home directory for the user.
- Id string
- Specifies the user ID.
- Locked bool
- If true, indicates that the account is locked.
- Max
Password doubleAge - Specifies the maximum time in seconds allowed before the password expires.
- Name string
- Specifies a user name.
- Password
Expired bool - If true, the password has expired.
- Password
Expires bool - If true, the password is allowed to expire.
- Password
Expiry double - Specifies the time in Unix Epoch seconds that the password will expire.
- Password
Last doubleSet - Specifies the last time the password was set.
- Primary
Group stringSid - Specifies the persona of the primary group.
- Prompt
Password boolChange - If true, Prompts the user to change their password at the next login.
- Provider string
- Specifies the authentication provider that the object belongs to.
- Sam
Account stringName - Specifies a user name.
- Shell string
- Specifies a path to the shell for the user.
- Sid string
- Specifies a security identifier.
- Type string
- Specifies the object type.
- Uid string
- Specifies a user identifier.
- Upn string
- Specifies a principal name for the user.
- User
Can boolChange Password - Specifies whether the password for the user can be changed.
- Roles []string
- List of roles.
- Dn string
- Specifies a principal name for the user.
- Dns
Domain string - Specifies the DNS domain.
- Domain string
- Specifies the domain that the object is part of.
- Email string
- Specifies an email address.
- Enabled bool
- If true, the authenticated user is enabled.
- Expired bool
- If true, the authenticated user has expired.
- Expiry float64
- Specifies the Unix Epoch time at which the authenticated user will expire.
- Gecos string
- Specifies the GECOS value, which is usually the full name.
- Generated
Gid bool - If true, the GID was generated.
- Generated
Uid bool - If true, the UID was generated.
- Generated
Upn bool - If true, the UPN was generated.
- Gid string
- Specifies a group identifier.
- Home
Directory string - Specifies a home directory for the user.
- Id string
- Specifies the user ID.
- Locked bool
- If true, indicates that the account is locked.
- Max
Password float64Age - Specifies the maximum time in seconds allowed before the password expires.
- Name string
- Specifies a user name.
- Password
Expired bool - If true, the password has expired.
- Password
Expires bool - If true, the password is allowed to expire.
- Password
Expiry float64 - Specifies the time in Unix Epoch seconds that the password will expire.
- Password
Last float64Set - Specifies the last time the password was set.
- Primary
Group stringSid - Specifies the persona of the primary group.
- Prompt
Password boolChange - If true, Prompts the user to change their password at the next login.
- Provider string
- Specifies the authentication provider that the object belongs to.
- Sam
Account stringName - Specifies a user name.
- Shell string
- Specifies a path to the shell for the user.
- Sid string
- Specifies a security identifier.
- Type string
- Specifies the object type.
- Uid string
- Specifies a user identifier.
- Upn string
- Specifies a principal name for the user.
- User
Can boolChange Password - Specifies whether the password for the user can be changed.
- roles List<String>
- List of roles.
- dn String
- Specifies a principal name for the user.
- dns
Domain String - Specifies the DNS domain.
- domain String
- Specifies the domain that the object is part of.
- email String
- Specifies an email address.
- enabled Boolean
- If true, the authenticated user is enabled.
- expired Boolean
- If true, the authenticated user has expired.
- expiry Double
- Specifies the Unix Epoch time at which the authenticated user will expire.
- gecos String
- Specifies the GECOS value, which is usually the full name.
- generated
Gid Boolean - If true, the GID was generated.
- generated
Uid Boolean - If true, the UID was generated.
- generated
Upn Boolean - If true, the UPN was generated.
- gid String
- Specifies a group identifier.
- home
Directory String - Specifies a home directory for the user.
- id String
- Specifies the user ID.
- locked Boolean
- If true, indicates that the account is locked.
- max
Password DoubleAge - Specifies the maximum time in seconds allowed before the password expires.
- name String
- Specifies a user name.
- password
Expired Boolean - If true, the password has expired.
- password
Expires Boolean - If true, the password is allowed to expire.
- password
Expiry Double - Specifies the time in Unix Epoch seconds that the password will expire.
- password
Last DoubleSet - Specifies the last time the password was set.
- primary
Group StringSid - Specifies the persona of the primary group.
- prompt
Password BooleanChange - If true, Prompts the user to change their password at the next login.
- provider String
- Specifies the authentication provider that the object belongs to.
- sam
Account StringName - Specifies a user name.
- shell String
- Specifies a path to the shell for the user.
- sid String
- Specifies a security identifier.
- type String
- Specifies the object type.
- uid String
- Specifies a user identifier.
- upn String
- Specifies a principal name for the user.
- user
Can BooleanChange Password - Specifies whether the password for the user can be changed.
- roles string[]
- List of roles.
- dn string
- Specifies a principal name for the user.
- dns
Domain string - Specifies the DNS domain.
- domain string
- Specifies the domain that the object is part of.
- email string
- Specifies an email address.
- enabled boolean
- If true, the authenticated user is enabled.
- expired boolean
- If true, the authenticated user has expired.
- expiry number
- Specifies the Unix Epoch time at which the authenticated user will expire.
- gecos string
- Specifies the GECOS value, which is usually the full name.
- generated
Gid boolean - If true, the GID was generated.
- generated
Uid boolean - If true, the UID was generated.
- generated
Upn boolean - If true, the UPN was generated.
- gid string
- Specifies a group identifier.
- home
Directory string - Specifies a home directory for the user.
- id string
- Specifies the user ID.
- locked boolean
- If true, indicates that the account is locked.
- max
Password numberAge - Specifies the maximum time in seconds allowed before the password expires.
- name string
- Specifies a user name.
- password
Expired boolean - If true, the password has expired.
- password
Expires boolean - If true, the password is allowed to expire.
- password
Expiry number - Specifies the time in Unix Epoch seconds that the password will expire.
- password
Last numberSet - Specifies the last time the password was set.
- primary
Group stringSid - Specifies the persona of the primary group.
- prompt
Password booleanChange - If true, Prompts the user to change their password at the next login.
- provider string
- Specifies the authentication provider that the object belongs to.
- sam
Account stringName - Specifies a user name.
- shell string
- Specifies a path to the shell for the user.
- sid string
- Specifies a security identifier.
- type string
- Specifies the object type.
- uid string
- Specifies a user identifier.
- upn string
- Specifies a principal name for the user.
- user
Can booleanChange Password - Specifies whether the password for the user can be changed.
- roles Sequence[str]
- List of roles.
- dn str
- Specifies a principal name for the user.
- dns_
domain str - Specifies the DNS domain.
- domain str
- Specifies the domain that the object is part of.
- email str
- Specifies an email address.
- enabled bool
- If true, the authenticated user is enabled.
- expired bool
- If true, the authenticated user has expired.
- expiry float
- Specifies the Unix Epoch time at which the authenticated user will expire.
- gecos str
- Specifies the GECOS value, which is usually the full name.
- generated_
gid bool - If true, the GID was generated.
- generated_
uid bool - If true, the UID was generated.
- generated_
upn bool - If true, the UPN was generated.
- gid str
- Specifies a group identifier.
- home_
directory str - Specifies a home directory for the user.
- id str
- Specifies the user ID.
- locked bool
- If true, indicates that the account is locked.
- max_
password_ floatage - Specifies the maximum time in seconds allowed before the password expires.
- name str
- Specifies a user name.
- password_
expired bool - If true, the password has expired.
- password_
expires bool - If true, the password is allowed to expire.
- password_
expiry float - Specifies the time in Unix Epoch seconds that the password will expire.
- password_
last_ floatset - Specifies the last time the password was set.
- primary_
group_ strsid - Specifies the persona of the primary group.
- prompt_
password_ boolchange - If true, Prompts the user to change their password at the next login.
- provider str
- Specifies the authentication provider that the object belongs to.
- sam_
account_ strname - Specifies a user name.
- shell str
- Specifies a path to the shell for the user.
- sid str
- Specifies a security identifier.
- type str
- Specifies the object type.
- uid str
- Specifies a user identifier.
- upn str
- Specifies a principal name for the user.
- user_
can_ boolchange_ password - Specifies whether the password for the user can be changed.
- roles List<String>
- List of roles.
- dn String
- Specifies a principal name for the user.
- dns
Domain String - Specifies the DNS domain.
- domain String
- Specifies the domain that the object is part of.
- email String
- Specifies an email address.
- enabled Boolean
- If true, the authenticated user is enabled.
- expired Boolean
- If true, the authenticated user has expired.
- expiry Number
- Specifies the Unix Epoch time at which the authenticated user will expire.
- gecos String
- Specifies the GECOS value, which is usually the full name.
- generated
Gid Boolean - If true, the GID was generated.
- generated
Uid Boolean - If true, the UID was generated.
- generated
Upn Boolean - If true, the UPN was generated.
- gid String
- Specifies a group identifier.
- home
Directory String - Specifies a home directory for the user.
- id String
- Specifies the user ID.
- locked Boolean
- If true, indicates that the account is locked.
- max
Password NumberAge - Specifies the maximum time in seconds allowed before the password expires.
- name String
- Specifies a user name.
- password
Expired Boolean - If true, the password has expired.
- password
Expires Boolean - If true, the password is allowed to expire.
- password
Expiry Number - Specifies the time in Unix Epoch seconds that the password will expire.
- password
Last NumberSet - Specifies the last time the password was set.
- primary
Group StringSid - Specifies the persona of the primary group.
- prompt
Password BooleanChange - If true, Prompts the user to change their password at the next login.
- provider String
- Specifies the authentication provider that the object belongs to.
- sam
Account StringName - Specifies a user name.
- shell String
- Specifies a path to the shell for the user.
- sid String
- Specifies a security identifier.
- type String
- Specifies the object type.
- uid String
- Specifies a user identifier.
- upn String
- Specifies a principal name for the user.
- user
Can BooleanChange Password - Specifies whether the password for the user can be changed.
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscale
Terraform Provider.