import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ComputeSnapshotConfig extends cdktf.TerraformMetaArguments { /** * The resource description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#description ComputeSnapshot#description} */ readonly description?: string; /** * The folder identifier that resource belongs to. If it is not provided, the default provider `folder-id` is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#folder_id ComputeSnapshot#folder_id} */ readonly folderId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#id ComputeSnapshot#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; /** * A set of key/value label pairs which assigned to resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#labels ComputeSnapshot#labels} */ readonly labels?: { [key: string]: string; }; /** * The resource name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#name ComputeSnapshot#name} */ readonly name?: string; /** * ID of the disk to create a snapshot from. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#source_disk_id ComputeSnapshot#source_disk_id} */ readonly sourceDiskId: string; /** * hardware_generation block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#hardware_generation ComputeSnapshot#hardware_generation} */ readonly hardwareGeneration?: ComputeSnapshotHardwareGeneration; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#timeouts ComputeSnapshot#timeouts} */ readonly timeouts?: ComputeSnapshotTimeouts; } export interface ComputeSnapshotHardwareGenerationGeneration2Features { } export declare function computeSnapshotHardwareGenerationGeneration2FeaturesToTerraform(struct?: ComputeSnapshotHardwareGenerationGeneration2FeaturesOutputReference | ComputeSnapshotHardwareGenerationGeneration2Features): any; export declare function computeSnapshotHardwareGenerationGeneration2FeaturesToHclTerraform(struct?: ComputeSnapshotHardwareGenerationGeneration2FeaturesOutputReference | ComputeSnapshotHardwareGenerationGeneration2Features): any; export declare class ComputeSnapshotHardwareGenerationGeneration2FeaturesOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): ComputeSnapshotHardwareGenerationGeneration2Features | undefined; set internalValue(value: ComputeSnapshotHardwareGenerationGeneration2Features | undefined); } export interface ComputeSnapshotHardwareGenerationLegacyFeatures { /** * A variant of PCI topology, one of `PCI_TOPOLOGY_V1` or `PCI_TOPOLOGY_V2`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#pci_topology ComputeSnapshot#pci_topology} */ readonly pciTopology?: string; } export declare function computeSnapshotHardwareGenerationLegacyFeaturesToTerraform(struct?: ComputeSnapshotHardwareGenerationLegacyFeaturesOutputReference | ComputeSnapshotHardwareGenerationLegacyFeatures): any; export declare function computeSnapshotHardwareGenerationLegacyFeaturesToHclTerraform(struct?: ComputeSnapshotHardwareGenerationLegacyFeaturesOutputReference | ComputeSnapshotHardwareGenerationLegacyFeatures): any; export declare class ComputeSnapshotHardwareGenerationLegacyFeaturesOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): ComputeSnapshotHardwareGenerationLegacyFeatures | undefined; set internalValue(value: ComputeSnapshotHardwareGenerationLegacyFeatures | undefined); private _pciTopology?; get pciTopology(): string; set pciTopology(value: string); resetPciTopology(): void; get pciTopologyInput(): string; } export interface ComputeSnapshotHardwareGeneration { /** * generation2_features block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#generation2_features ComputeSnapshot#generation2_features} */ readonly generation2Features?: ComputeSnapshotHardwareGenerationGeneration2Features; /** * legacy_features block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#legacy_features ComputeSnapshot#legacy_features} */ readonly legacyFeatures?: ComputeSnapshotHardwareGenerationLegacyFeatures; } export declare function computeSnapshotHardwareGenerationToTerraform(struct?: ComputeSnapshotHardwareGenerationOutputReference | ComputeSnapshotHardwareGeneration): any; export declare function computeSnapshotHardwareGenerationToHclTerraform(struct?: ComputeSnapshotHardwareGenerationOutputReference | ComputeSnapshotHardwareGeneration): any; export declare class ComputeSnapshotHardwareGenerationOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): ComputeSnapshotHardwareGeneration | undefined; set internalValue(value: ComputeSnapshotHardwareGeneration | undefined); private _generation2Features; get generation2Features(): ComputeSnapshotHardwareGenerationGeneration2FeaturesOutputReference; putGeneration2Features(value: ComputeSnapshotHardwareGenerationGeneration2Features): void; resetGeneration2Features(): void; get generation2FeaturesInput(): ComputeSnapshotHardwareGenerationGeneration2Features; private _legacyFeatures; get legacyFeatures(): ComputeSnapshotHardwareGenerationLegacyFeaturesOutputReference; putLegacyFeatures(value: ComputeSnapshotHardwareGenerationLegacyFeatures): void; resetLegacyFeatures(): void; get legacyFeaturesInput(): ComputeSnapshotHardwareGenerationLegacyFeatures; } export interface ComputeSnapshotTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#create ComputeSnapshot#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#delete ComputeSnapshot#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#update ComputeSnapshot#update} */ readonly update?: string; } export declare function computeSnapshotTimeoutsToTerraform(struct?: ComputeSnapshotTimeouts | cdktf.IResolvable): any; export declare function computeSnapshotTimeoutsToHclTerraform(struct?: ComputeSnapshotTimeouts | cdktf.IResolvable): any; export declare class ComputeSnapshotTimeoutsOutputReference 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(): ComputeSnapshotTimeouts | cdktf.IResolvable | undefined; set internalValue(value: ComputeSnapshotTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot yandex_compute_snapshot} */ export declare class ComputeSnapshot extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_compute_snapshot"; /** * Generates CDKTF code for importing a ComputeSnapshot 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 ComputeSnapshot to import * @param importFromId The id of the existing ComputeSnapshot that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ComputeSnapshot 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/yandex-cloud/yandex/0.177.0/docs/resources/compute_snapshot yandex_compute_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 ComputeSnapshotConfig */ constructor(scope: Construct, id: string, config: ComputeSnapshotConfig); get createdAt(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; get diskSize(): any; private _folderId?; get folderId(): string; set folderId(value: string); resetFolderId(): void; get folderIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; 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); resetName(): void; get nameInput(): string; private _sourceDiskId?; get sourceDiskId(): string; set sourceDiskId(value: string); get sourceDiskIdInput(): string; get storageSize(): any; private _hardwareGeneration; get hardwareGeneration(): ComputeSnapshotHardwareGenerationOutputReference; putHardwareGeneration(value: ComputeSnapshotHardwareGeneration): void; resetHardwareGeneration(): void; get hardwareGenerationInput(): ComputeSnapshotHardwareGeneration; private _timeouts; get timeouts(): ComputeSnapshotTimeoutsOutputReference; putTimeouts(value: ComputeSnapshotTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }