UNPKG

@cdktf-providers/community-terraform-providers-ignition

Version:

Prebuilt community-terraform-providers/ignition Provider for Terraform CDK (cdktf)

188 lines (187 loc) 9.38 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataIgnitionDiskConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#device DataIgnitionDisk#device} */ readonly device: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#id DataIgnitionDisk#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; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#wipe_table DataIgnitionDisk#wipe_table} */ readonly wipeTable?: boolean | cdktf.IResolvable; /** * partition block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#partition DataIgnitionDisk#partition} */ readonly partition?: DataIgnitionDiskPartition[] | cdktf.IResolvable; } export interface DataIgnitionDiskPartition { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#guid DataIgnitionDisk#guid} */ readonly guid?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#label DataIgnitionDisk#label} */ readonly label?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#number DataIgnitionDisk#number} */ readonly number?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#resize DataIgnitionDisk#resize} */ readonly resize?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#should_exist DataIgnitionDisk#should_exist} */ readonly shouldExist?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#sizemib DataIgnitionDisk#sizemib} */ readonly sizemib?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#startmib DataIgnitionDisk#startmib} */ readonly startmib?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#type_guid DataIgnitionDisk#type_guid} */ readonly typeGuid?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#wipe_partition_entry DataIgnitionDisk#wipe_partition_entry} */ readonly wipePartitionEntry?: boolean | cdktf.IResolvable; } export declare function dataIgnitionDiskPartitionToTerraform(struct?: DataIgnitionDiskPartition | cdktf.IResolvable): any; export declare function dataIgnitionDiskPartitionToHclTerraform(struct?: DataIgnitionDiskPartition | cdktf.IResolvable): any; export declare class DataIgnitionDiskPartitionOutputReference 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(): DataIgnitionDiskPartition | cdktf.IResolvable | undefined; set internalValue(value: DataIgnitionDiskPartition | cdktf.IResolvable | undefined); private _guid?; get guid(): string; set guid(value: string); resetGuid(): void; get guidInput(): string; private _label?; get label(): string; set label(value: string); resetLabel(): void; get labelInput(): string; private _number?; get number(): number; set number(value: number); resetNumber(): void; get numberInput(): number; private _resize?; get resize(): boolean | cdktf.IResolvable; set resize(value: boolean | cdktf.IResolvable); resetResize(): void; get resizeInput(): any; private _shouldExist?; get shouldExist(): boolean | cdktf.IResolvable; set shouldExist(value: boolean | cdktf.IResolvable); resetShouldExist(): void; get shouldExistInput(): any; private _sizemib?; get sizemib(): number; set sizemib(value: number); resetSizemib(): void; get sizemibInput(): number; private _startmib?; get startmib(): number; set startmib(value: number); resetStartmib(): void; get startmibInput(): number; private _typeGuid?; get typeGuid(): string; set typeGuid(value: string); resetTypeGuid(): void; get typeGuidInput(): string; private _wipePartitionEntry?; get wipePartitionEntry(): boolean | cdktf.IResolvable; set wipePartitionEntry(value: boolean | cdktf.IResolvable); resetWipePartitionEntry(): void; get wipePartitionEntryInput(): any; } export declare class DataIgnitionDiskPartitionList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataIgnitionDiskPartition[] | 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): DataIgnitionDiskPartitionOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk ignition_disk} */ export declare class DataIgnitionDisk extends cdktf.TerraformDataSource { static readonly tfResourceType = "ignition_disk"; /** * Generates CDKTF code for importing a DataIgnitionDisk resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DataIgnitionDisk to import * @param importFromId The id of the existing DataIgnitionDisk that should be imported. Refer to the {@link https://registry.terraform.io/providers/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataIgnitionDisk 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/community-terraform-providers/ignition/2.5.1/docs/data-sources/disk ignition_disk} 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 DataIgnitionDiskConfig */ constructor(scope: Construct, id: string, config: DataIgnitionDiskConfig); private _device?; get device(): string; set device(value: string); get deviceInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get rendered(): any; private _wipeTable?; get wipeTable(): boolean | cdktf.IResolvable; set wipeTable(value: boolean | cdktf.IResolvable); resetWipeTable(): void; get wipeTableInput(): any; private _partition; get partition(): DataIgnitionDiskPartitionList; putPartition(value: DataIgnitionDiskPartition[] | cdktf.IResolvable): void; resetPartition(): void; get partitionInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }