Unifi v0.0.3 published on Monday, Dec 5, 2022 by Pulumiverse
unifi.getAccount
Explore with Pulumi AI
unifi.Account
data source can be used to retrieve RADIUS user accounts
Using getAccount
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 getAccount(args: GetAccountArgs, opts?: InvokeOptions): Promise<GetAccountResult>
function getAccountOutput(args: GetAccountOutputArgs, opts?: InvokeOptions): Output<GetAccountResult>
def get_account(name: Optional[str] = None,
site: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountResult
def get_account_output(name: Optional[pulumi.Input[str]] = None,
site: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccountResult]
func LookupAccount(ctx *Context, args *LookupAccountArgs, opts ...InvokeOption) (*LookupAccountResult, error)
func LookupAccountOutput(ctx *Context, args *LookupAccountOutputArgs, opts ...InvokeOption) LookupAccountResultOutput
> Note: This function is named LookupAccount
in the Go SDK.
public static class GetAccount
{
public static Task<GetAccountResult> InvokeAsync(GetAccountArgs args, InvokeOptions? opts = null)
public static Output<GetAccountResult> Invoke(GetAccountInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: unifi:index/getAccount:getAccount
arguments:
# arguments dictionary
The following arguments are supported:
getAccount Result
The following output properties are available:
- Id string
- The ID of this account.
- Name string
- The name of the account to look up
- Network
Id string - ID of the network for this account
- Password string
- The password of the account.
- Site string
- The name of the site the account is associated with.
- Tunnel
Medium intType - See RFC2868 section 3.2
- Tunnel
Type int - See RFC2868 section 3.1
- Id string
- The ID of this account.
- Name string
- The name of the account to look up
- Network
Id string - ID of the network for this account
- Password string
- The password of the account.
- Site string
- The name of the site the account is associated with.
- Tunnel
Medium intType - See RFC2868 section 3.2
- Tunnel
Type int - See RFC2868 section 3.1
- id String
- The ID of this account.
- name String
- The name of the account to look up
- network
Id String - ID of the network for this account
- password String
- The password of the account.
- site String
- The name of the site the account is associated with.
- tunnel
Medium IntegerType - See RFC2868 section 3.2
- tunnel
Type Integer - See RFC2868 section 3.1
- id string
- The ID of this account.
- name string
- The name of the account to look up
- network
Id string - ID of the network for this account
- password string
- The password of the account.
- site string
- The name of the site the account is associated with.
- tunnel
Medium numberType - See RFC2868 section 3.2
- tunnel
Type number - See RFC2868 section 3.1
- id str
- The ID of this account.
- name str
- The name of the account to look up
- network_
id str - ID of the network for this account
- password str
- The password of the account.
- site str
- The name of the site the account is associated with.
- tunnel_
medium_ inttype - See RFC2868 section 3.2
- tunnel_
type int - See RFC2868 section 3.1
- id String
- The ID of this account.
- name String
- The name of the account to look up
- network
Id String - ID of the network for this account
- password String
- The password of the account.
- site String
- The name of the site the account is associated with.
- tunnel
Medium NumberType - See RFC2868 section 3.2
- tunnel
Type Number - See RFC2868 section 3.1
Package Details
- Repository
- unifi pulumiverse/pulumi-unifi
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
unifi
Terraform Provider.