1. Packages
  2. Unifi
  3. API Docs
  4. getAccount
Unifi v0.0.3 published on Monday, Dec 5, 2022 by Pulumiverse

unifi.getAccount

Explore with Pulumi AI

unifi logo
Unifi v0.0.3 published on Monday, Dec 5, 2022 by Pulumiverse

    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:

    Name string
    The name of the account to look up
    Site string
    The name of the site the account is associated with.
    Name string
    The name of the account to look up
    Site string
    The name of the site the account is associated with.
    name String
    The name of the account to look up
    site String
    The name of the site the account is associated with.
    name string
    The name of the account to look up
    site string
    The name of the site the account is associated with.
    name str
    The name of the account to look up
    site str
    The name of the site the account is associated with.
    name String
    The name of the account to look up
    site String
    The name of the site the account is associated with.

    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
    NetworkId 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.
    TunnelMediumType int
    See RFC2868 section 3.2
    TunnelType int
    See RFC2868 section 3.1
    Id string
    The ID of this account.
    Name string
    The name of the account to look up
    NetworkId 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.
    TunnelMediumType int
    See RFC2868 section 3.2
    TunnelType int
    See RFC2868 section 3.1
    id String
    The ID of this account.
    name String
    The name of the account to look up
    networkId 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.
    tunnelMediumType Integer
    See RFC2868 section 3.2
    tunnelType Integer
    See RFC2868 section 3.1
    id string
    The ID of this account.
    name string
    The name of the account to look up
    networkId 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.
    tunnelMediumType number
    See RFC2868 section 3.2
    tunnelType 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_type int
    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
    networkId 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.
    tunnelMediumType Number
    See RFC2868 section 3.2
    tunnelType 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.
    unifi logo
    Unifi v0.0.3 published on Monday, Dec 5, 2022 by Pulumiverse