import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataYandexComputeSnapshotScheduleConfig extends cdktf.TerraformMetaArguments { /** * The resource description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#description DataYandexComputeSnapshotSchedule#description} */ readonly description?: string; /** * IDs of the disk for snapshot schedule. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#disk_ids DataYandexComputeSnapshotSchedule#disk_ids} */ readonly diskIds?: 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/data-sources/compute_snapshot_schedule#folder_id DataYandexComputeSnapshotSchedule#folder_id} */ readonly folderId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#id DataYandexComputeSnapshotSchedule#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/data-sources/compute_snapshot_schedule#labels DataYandexComputeSnapshotSchedule#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/data-sources/compute_snapshot_schedule#name DataYandexComputeSnapshotSchedule#name} */ readonly name?: string; /** * Time duration applied to snapshots created by this snapshot schedule. This is a signed sequence of decimal numbers, each with optional fraction and a unit suffix. Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. Examples: `300ms`, `1.5h` or `2h45m`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#retention_period DataYandexComputeSnapshotSchedule#retention_period} */ readonly retentionPeriod?: string; /** * Maximum number of snapshots for every disk of the snapshot schedule. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#snapshot_count DataYandexComputeSnapshotSchedule#snapshot_count} */ readonly snapshotCount?: number; /** * The ID of a specific snapshot schedule. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#snapshot_schedule_id DataYandexComputeSnapshotSchedule#snapshot_schedule_id} */ readonly snapshotScheduleId?: string; /** * schedule_policy block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#schedule_policy DataYandexComputeSnapshotSchedule#schedule_policy} */ readonly schedulePolicy?: DataYandexComputeSnapshotScheduleSchedulePolicy[] | cdktf.IResolvable; /** * snapshot_spec block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#snapshot_spec DataYandexComputeSnapshotSchedule#snapshot_spec} */ readonly snapshotSpec?: DataYandexComputeSnapshotScheduleSnapshotSpec[] | cdktf.IResolvable; } export interface DataYandexComputeSnapshotScheduleSchedulePolicy { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#expression DataYandexComputeSnapshotSchedule#expression} */ readonly expression?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#start_at DataYandexComputeSnapshotSchedule#start_at} */ readonly startAt?: string; } export declare function dataYandexComputeSnapshotScheduleSchedulePolicyToTerraform(struct?: DataYandexComputeSnapshotScheduleSchedulePolicy | cdktf.IResolvable): any; export declare function dataYandexComputeSnapshotScheduleSchedulePolicyToHclTerraform(struct?: DataYandexComputeSnapshotScheduleSchedulePolicy | cdktf.IResolvable): any; export declare class DataYandexComputeSnapshotScheduleSchedulePolicyOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DataYandexComputeSnapshotScheduleSchedulePolicy | cdktf.IResolvable | undefined; set internalValue(value: DataYandexComputeSnapshotScheduleSchedulePolicy | cdktf.IResolvable | undefined); private _expression?; get expression(): string; set expression(value: string); resetExpression(): void; get expressionInput(): string; private _startAt?; get startAt(): string; set startAt(value: string); resetStartAt(): void; get startAtInput(): string; } export declare class DataYandexComputeSnapshotScheduleSchedulePolicyList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataYandexComputeSnapshotScheduleSchedulePolicy[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DataYandexComputeSnapshotScheduleSchedulePolicyOutputReference; } export interface DataYandexComputeSnapshotScheduleSnapshotSpec { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#description DataYandexComputeSnapshotSchedule#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#labels DataYandexComputeSnapshotSchedule#labels} */ readonly labels?: { [key: string]: string; }; } export declare function dataYandexComputeSnapshotScheduleSnapshotSpecToTerraform(struct?: DataYandexComputeSnapshotScheduleSnapshotSpec | cdktf.IResolvable): any; export declare function dataYandexComputeSnapshotScheduleSnapshotSpecToHclTerraform(struct?: DataYandexComputeSnapshotScheduleSnapshotSpec | cdktf.IResolvable): any; export declare class DataYandexComputeSnapshotScheduleSnapshotSpecOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DataYandexComputeSnapshotScheduleSnapshotSpec | cdktf.IResolvable | undefined; set internalValue(value: DataYandexComputeSnapshotScheduleSnapshotSpec | cdktf.IResolvable | undefined); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; }; } export declare class DataYandexComputeSnapshotScheduleSnapshotSpecList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataYandexComputeSnapshotScheduleSnapshotSpec[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DataYandexComputeSnapshotScheduleSnapshotSpecOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule yandex_compute_snapshot_schedule} */ export declare class DataYandexComputeSnapshotSchedule extends cdktf.TerraformDataSource { static readonly tfResourceType = "yandex_compute_snapshot_schedule"; /** * Generates CDKTF code for importing a DataYandexComputeSnapshotSchedule 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 DataYandexComputeSnapshotSchedule to import * @param importFromId The id of the existing DataYandexComputeSnapshotSchedule that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/compute_snapshot_schedule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataYandexComputeSnapshotSchedule 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/data-sources/compute_snapshot_schedule yandex_compute_snapshot_schedule} Data Source * * @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 DataYandexComputeSnapshotScheduleConfig = {} */ constructor(scope: Construct, id: string, config?: DataYandexComputeSnapshotScheduleConfig); get createdAt(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _diskIds?; get diskIds(): string[]; set diskIds(value: string[]); resetDiskIds(): void; get diskIdsInput(): string[]; 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 _retentionPeriod?; get retentionPeriod(): string; set retentionPeriod(value: string); resetRetentionPeriod(): void; get retentionPeriodInput(): string; private _snapshotCount?; get snapshotCount(): number; set snapshotCount(value: number); resetSnapshotCount(): void; get snapshotCountInput(): number; private _snapshotScheduleId?; get snapshotScheduleId(): string; set snapshotScheduleId(value: string); resetSnapshotScheduleId(): void; get snapshotScheduleIdInput(): string; get status(): any; private _schedulePolicy; get schedulePolicy(): DataYandexComputeSnapshotScheduleSchedulePolicyList; putSchedulePolicy(value: DataYandexComputeSnapshotScheduleSchedulePolicy[] | cdktf.IResolvable): void; resetSchedulePolicy(): void; get schedulePolicyInput(): any; private _snapshotSpec; get snapshotSpec(): DataYandexComputeSnapshotScheduleSnapshotSpecList; putSnapshotSpec(value: DataYandexComputeSnapshotScheduleSnapshotSpec[] | cdktf.IResolvable): void; resetSnapshotSpec(): void; get snapshotSpecInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }