import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; /** * Submit a data export job to be processed in the background. If the request is successful, the API returns a 201 status, a URI that can be used to retrieve the status of the export job, and the `state` value of "enqueued". * 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 Export extends pulumi.CustomResource { /** * Get an existing Export 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): Export; /** * Returns true if the given object is an instance of Export. 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 Export; /** * Time the export job was created. */ readonly created: pulumi.Output; /** * Name of the datastore that is the destination of the export job [datastore] */ readonly datastoreName: pulumi.Output; /** * Description of the export job. */ readonly description: pulumi.Output; readonly environmentId: pulumi.Output; /** * Error is set when export fails */ readonly error: pulumi.Output; /** * Execution time for this export job. If the job is still in progress, it will be set to the amount of time that has elapsed since`created`, in seconds. Else, it will set to (`updated` - `created`), in seconds. */ readonly executionTime: pulumi.Output; /** * Display name of the export job. */ readonly name: pulumi.Output; readonly organizationId: pulumi.Output; /** * Self link of the export job. A URI that can be used to retrieve the status of an export job. Example: `/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd` */ readonly self: pulumi.Output; /** * Status of the export job. Valid values include `enqueued`, `running`, `completed`, and `failed`. */ readonly state: pulumi.Output; /** * Time the export job was last updated. */ readonly updated: pulumi.Output; /** * Create a Export 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: ExportArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Export resource. */ export interface ExportArgs { /** * Optional. Delimiter used in the CSV file, if `outputFormat` is set to `csv`. Defaults to the `,` (comma) character. Supported delimiter characters include comma (`,`), pipe (`|`), and tab (`\t`). */ csvDelimiter?: pulumi.Input; /** * Name of the preconfigured datastore. */ datastoreName: pulumi.Input; /** * Date range of the data to export. */ dateRange: pulumi.Input; /** * Optional. Description of the export job. */ description?: pulumi.Input; environmentId: pulumi.Input; /** * Display name of the export job. */ name?: pulumi.Input; organizationId: pulumi.Input; /** * Optional. Output format of the export. Valid values include: `csv` or `json`. Defaults to `json`. Note: Configure the delimiter for CSV output using the `csvDelimiter` property. */ outputFormat?: pulumi.Input; }