UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

82 lines (81 loc) 2.4 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides details about a specific Linode account login. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-account-login). * * ## Example Usage * * The following example shows how one might use this data source to access information about a Linode account login. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const myAccountLogin = linode.getAccountLogin({ * id: 123456, * }); * ``` */ export declare function getAccountLogin(args: GetAccountLoginArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountLoginResult>; /** * A collection of arguments for invoking getAccountLogin. */ export interface GetAccountLoginArgs { /** * The unique ID of this login object. */ id: number; } /** * A collection of values returned by getAccountLogin. */ export interface GetAccountLoginResult { /** * When the login was initiated. */ readonly datetime: string; /** * The unique ID of this login object. */ readonly id: number; /** * The remote IP address that requested the login. */ readonly ip: string; /** * True if the User that was logged into was a restricted User, false otherwise. */ readonly restricted: boolean; readonly status: string; /** * The username of the User that was logged into. */ readonly username: string; } /** * Provides details about a specific Linode account login. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-account-login). * * ## Example Usage * * The following example shows how one might use this data source to access information about a Linode account login. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const myAccountLogin = linode.getAccountLogin({ * id: 123456, * }); * ``` */ export declare function getAccountLoginOutput(args: GetAccountLoginOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountLoginResult>; /** * A collection of arguments for invoking getAccountLogin. */ export interface GetAccountLoginOutputArgs { /** * The unique ID of this login object. */ id: pulumi.Input<number>; }