import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * POST /v1/projects/{project_id}/deviceSessions * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class DeviceSession extends pulumi.CustomResource { /** * Get an existing DeviceSession resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DeviceSession; /** * Returns true if the given object is an instance of DeviceSession. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DeviceSession; /** * The timestamp that the session first became ACTIVE. */ readonly activeStartTime: pulumi.Output; /** * The requested device */ readonly androidDevice: pulumi.Output; /** * The time that the Session was created. */ readonly createTime: pulumi.Output; /** * The title of the DeviceSession to be presented in the UI. */ readonly displayName: pulumi.Output; /** * Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED. */ readonly expireTime: pulumi.Output; /** * The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY. */ readonly inactivityTimeout: pulumi.Output; /** * Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}" */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Current state of the DeviceSession. */ readonly state: pulumi.Output; /** * The historical state transitions of the session_state message including the current session state. */ readonly stateHistories: pulumi.Output; /** * Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 30 minutes. */ readonly ttl: pulumi.Output; /** * Create a DeviceSession resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DeviceSessionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DeviceSession resource. */ export interface DeviceSessionArgs { /** * The requested device */ androidDevice: pulumi.Input; /** * Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED. */ expireTime?: pulumi.Input; /** * Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}" */ name?: pulumi.Input; project?: pulumi.Input; /** * Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 30 minutes. */ ttl?: pulumi.Input; }