import * as pulumi from "@pulumi/pulumi"; import { input as inputs } from "../../types"; /** * 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". */ export declare class OrganizationEnvironmentAnalyticExport extends pulumi.CustomResource { /** * Get an existing OrganizationEnvironmentAnalyticExport 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): OrganizationEnvironmentAnalyticExport; /** * Returns true if the given object is an instance of OrganizationEnvironmentAnalyticExport. 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 OrganizationEnvironmentAnalyticExport; /** * 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; /** * 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; /** * 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 OrganizationEnvironmentAnalyticExport 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: OrganizationEnvironmentAnalyticExportArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a OrganizationEnvironmentAnalyticExport resource. */ export interface OrganizationEnvironmentAnalyticExportArgs { /** * 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`). */ readonly csvDelimiter?: pulumi.Input; /** * Required. Name of the preconfigured datastore. */ readonly datastoreName?: pulumi.Input; /** * Required. Date range of the data to export. */ readonly dateRange?: pulumi.Input; /** * Optional. Description of the export job. */ readonly description?: pulumi.Input; readonly environmentsId: pulumi.Input; readonly exportsId: pulumi.Input; /** * Required. Display name of the export job. */ readonly name?: pulumi.Input; readonly organizationsId: 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. */ readonly outputFormat?: pulumi.Input; }