import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class File extends pulumi.CustomResource { /** * Get an existing File 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FileState, opts?: pulumi.CustomResourceOptions): File; /** * Returns true if the given object is an instance of File. 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 File; /** * A content file to upload encoded by base64. */ readonly base64content: pulumi.Output; /** * Time at which the object was created. Measured in seconds since the Unix epoch. */ readonly created: pulumi.Output; /** * The file expires and isn’t available at this time in epoch seconds. */ readonly expiresAt: pulumi.Output; /** * The suitable name for saving the file to a filesystem. */ readonly filename: pulumi.Output; /** * Optional parameters that automatically create a file link for the newly created file. */ readonly linkData: pulumi.Output; readonly links: pulumi.Output; /** * String representing the object’s type. Objects of the same type share the same value. */ readonly object: pulumi.Output; /** * The purpose of the uploaded file. */ readonly purpose: pulumi.Output; /** * The size of the file object in bytes. */ readonly size: pulumi.Output; /** * The returned file type (for example, csv, pdf, jpg, or png). */ readonly type: pulumi.Output; /** * Use your live secret API key to download the file from this URL. */ readonly url: pulumi.Output; /** * Create a File 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: FileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering File resources. */ export interface FileState { /** * A content file to upload encoded by base64. */ base64content?: pulumi.Input; /** * Time at which the object was created. Measured in seconds since the Unix epoch. */ created?: pulumi.Input; /** * The file expires and isn’t available at this time in epoch seconds. */ expiresAt?: pulumi.Input; /** * The suitable name for saving the file to a filesystem. */ filename?: pulumi.Input; /** * Optional parameters that automatically create a file link for the newly created file. */ linkData?: pulumi.Input; links?: pulumi.Input[]>; /** * String representing the object’s type. Objects of the same type share the same value. */ object?: pulumi.Input; /** * The purpose of the uploaded file. */ purpose?: pulumi.Input; /** * The size of the file object in bytes. */ size?: pulumi.Input; /** * The returned file type (for example, csv, pdf, jpg, or png). */ type?: pulumi.Input; /** * Use your live secret API key to download the file from this URL. */ url?: pulumi.Input; } /** * The set of arguments for constructing a File resource. */ export interface FileArgs { /** * A content file to upload encoded by base64. */ base64content: pulumi.Input; /** * The suitable name for saving the file to a filesystem. */ filename: pulumi.Input; /** * Optional parameters that automatically create a file link for the newly created file. */ linkData?: pulumi.Input; /** * The purpose of the uploaded file. */ purpose: pulumi.Input; }