import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * A Fly.io volume provides persistent storage for your applications. */ export declare class Volume extends pulumi.CustomResource { /** * Get an existing Volume 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): Volume; /** * Returns true if the given object is an instance of Volume. 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 Volume; /** * The Fly.io application the volume is attached to. */ readonly app: pulumi.Output; readonly attachedAllocId: pulumi.Output; readonly attachedMachineId: pulumi.Output; readonly autoBackupEnabled: pulumi.Output; readonly blockSize: pulumi.Output; readonly blocks: pulumi.Output; readonly blocksAvail: pulumi.Output; readonly blocksFree: pulumi.Output; readonly createdAt: pulumi.Output; readonly encrypted: pulumi.Output; readonly flyId: pulumi.Output; readonly fstype: pulumi.Output; readonly hostStatus: pulumi.Output; /** * The input arguments used to create the volume. */ readonly input: pulumi.Output; readonly name: pulumi.Output; readonly region: pulumi.Output; readonly sizeGb: pulumi.Output; readonly snapshotRetention: pulumi.Output; readonly state: pulumi.Output; readonly zone: pulumi.Output; /** * Create a Volume 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: VolumeArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Volume resource. */ export interface VolumeArgs { /** * The Fly.io application to attach the volume to. */ app: pulumi.Input; /** * Whether to enable automatic backups for the volume. */ autoBackupEnabled?: pulumi.Input; compute?: pulumi.Input; computeImage?: pulumi.Input; encrypted?: pulumi.Input; fstype?: pulumi.Input; name?: pulumi.Input; region?: pulumi.Input; requireUniqueZone?: pulumi.Input; sizeGb?: pulumi.Input; snapshotId?: pulumi.Input; snapshotRetention?: pulumi.Input; sourceVolumeId?: pulumi.Input; uniqueZoneAppWide?: pulumi.Input; }