import * as pulumi from "@pulumi/pulumi"; export declare class StorageFile extends pulumi.CustomResource { /** * Get an existing StorageFile 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?: StorageFileState, opts?: pulumi.CustomResourceOptions): StorageFile; /** * Returns true if the given object is an instance of StorageFile. 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 StorageFile; /** * The SHA-256 hash of the stored file. */ readonly checksum: pulumi.Output; /** * The to be stored in the file. Use source to upload files from the local disk. */ readonly content: pulumi.Output; /** * Specifies the content type of the file. */ readonly contentType: pulumi.Output; /** * The date and time when the file was created. */ readonly dateCreated: pulumi.Output; /** * The date and time when the file was last modified. */ readonly dateModified: pulumi.Output; /** * The path of the file within the storage zone. */ readonly path: pulumi.Output; /** * The size of the file in bytes. */ readonly size: pulumi.Output; /** * The path in the local disk for the file to be uploaded to the storage zone. Use content to define the content directly. */ readonly source: pulumi.Output; /** * The ID of the storage zone where the file is stored. */ readonly zone: pulumi.Output; /** * Create a StorageFile 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: StorageFileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StorageFile resources. */ export interface StorageFileState { /** * The SHA-256 hash of the stored file. */ checksum?: pulumi.Input; /** * The to be stored in the file. Use source to upload files from the local disk. */ content?: pulumi.Input; /** * Specifies the content type of the file. */ contentType?: pulumi.Input; /** * The date and time when the file was created. */ dateCreated?: pulumi.Input; /** * The date and time when the file was last modified. */ dateModified?: pulumi.Input; /** * The path of the file within the storage zone. */ path?: pulumi.Input; /** * The size of the file in bytes. */ size?: pulumi.Input; /** * The path in the local disk for the file to be uploaded to the storage zone. Use content to define the content directly. */ source?: pulumi.Input; /** * The ID of the storage zone where the file is stored. */ zone?: pulumi.Input; } /** * The set of arguments for constructing a StorageFile resource. */ export interface StorageFileArgs { /** * The to be stored in the file. Use source to upload files from the local disk. */ content?: pulumi.Input; /** * Specifies the content type of the file. */ contentType?: pulumi.Input; /** * The path of the file within the storage zone. */ path: pulumi.Input; /** * The path in the local disk for the file to be uploaded to the storage zone. Use content to define the content directly. */ source?: pulumi.Input; /** * The ID of the storage zone where the file is stored. */ zone: pulumi.Input; }