import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface BlockStorageVolumeSnapshotConfig extends cdktf.TerraformMetaArguments { /** * Resource labels. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/block_storage_volume_snapshot#labels BlockStorageVolumeSnapshot#labels} */ readonly labels?: { [key: string]: string; }; /** * Volume snapshot name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/block_storage_volume_snapshot#name BlockStorageVolumeSnapshot#name} */ readonly name: string; /** * Volume from which to create a snapshot. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/block_storage_volume_snapshot#volume BlockStorageVolumeSnapshot#volume} */ readonly volume: BlockStorageVolumeSnapshotVolume; /** * ❗ The Exoscale [Zone](https://www.exoscale.com/datacenters/) name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/block_storage_volume_snapshot#zone BlockStorageVolumeSnapshot#zone} */ readonly zone: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/block_storage_volume_snapshot#timeouts BlockStorageVolumeSnapshot#timeouts} */ readonly timeouts?: BlockStorageVolumeSnapshotTimeouts; } export interface BlockStorageVolumeSnapshotVolume { /** * Snapshot ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/block_storage_volume_snapshot#id BlockStorageVolumeSnapshot#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id: string; } export declare function blockStorageVolumeSnapshotVolumeToTerraform(struct?: BlockStorageVolumeSnapshotVolume | cdktf.IResolvable): any; export declare function blockStorageVolumeSnapshotVolumeToHclTerraform(struct?: BlockStorageVolumeSnapshotVolume | cdktf.IResolvable): any; export declare class BlockStorageVolumeSnapshotVolumeOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): BlockStorageVolumeSnapshotVolume | cdktf.IResolvable | undefined; set internalValue(value: BlockStorageVolumeSnapshotVolume | cdktf.IResolvable | undefined); private _id?; get id(): string; set id(value: string); get idInput(): string; } export interface BlockStorageVolumeSnapshotTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/block_storage_volume_snapshot#read BlockStorageVolumeSnapshot#read} */ readonly read?: string; } export declare function blockStorageVolumeSnapshotTimeoutsToTerraform(struct?: BlockStorageVolumeSnapshotTimeouts | cdktf.IResolvable): any; export declare function blockStorageVolumeSnapshotTimeoutsToHclTerraform(struct?: BlockStorageVolumeSnapshotTimeouts | cdktf.IResolvable): any; export declare class BlockStorageVolumeSnapshotTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): BlockStorageVolumeSnapshotTimeouts | cdktf.IResolvable | undefined; set internalValue(value: BlockStorageVolumeSnapshotTimeouts | cdktf.IResolvable | undefined); private _read?; get read(): string; set read(value: string); resetRead(): void; get readInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/block_storage_volume_snapshot exoscale_block_storage_volume_snapshot} */ export declare class BlockStorageVolumeSnapshot extends cdktf.TerraformResource { static readonly tfResourceType = "exoscale_block_storage_volume_snapshot"; /** * Generates CDKTF code for importing a BlockStorageVolumeSnapshot resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the BlockStorageVolumeSnapshot to import * @param importFromId The id of the existing BlockStorageVolumeSnapshot that should be imported. Refer to the {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/block_storage_volume_snapshot#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the BlockStorageVolumeSnapshot to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/block_storage_volume_snapshot exoscale_block_storage_volume_snapshot} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options BlockStorageVolumeSnapshotConfig */ constructor(scope: Construct, id: string, config: BlockStorageVolumeSnapshotConfig); get createdAt(): any; get id(): any; private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; }; private _name?; get name(): string; set name(value: string); get nameInput(): string; get size(): any; get state(): any; private _volume; get volume(): BlockStorageVolumeSnapshotVolumeOutputReference; putVolume(value: BlockStorageVolumeSnapshotVolume): void; get volumeInput(): any; private _zone?; get zone(): string; set zone(value: string); get zoneInput(): string; private _timeouts; get timeouts(): BlockStorageVolumeSnapshotTimeoutsOutputReference; putTimeouts(value: BlockStorageVolumeSnapshotTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }