import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CvmImportImageConfig extends cdktf.TerraformMetaArguments { /** * OS architecture of the image to be imported, `x86_64` or `i386`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#architecture CvmImportImage#architecture} */ readonly architecture: string; /** * Boot mode. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#boot_mode CvmImportImage#boot_mode} */ readonly bootMode?: string; /** * Dry run to check the parameters without performing the operation. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#dry_run CvmImportImage#dry_run} */ readonly dryRun?: boolean | cdktf.IResolvable; /** * Whether to force import the image. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#force CvmImportImage#force} */ readonly force?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#id CvmImportImage#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; /** * Image description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#image_description CvmImportImage#image_description} */ readonly imageDescription?: string; /** * Image name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#image_name CvmImportImage#image_name} */ readonly imageName: string; /** * Address on COS where the image to be imported is stored. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#image_url CvmImportImage#image_url} */ readonly imageUrl: string; /** * The license type used to activate the OS after importing an image. Valid values: TencentCloud: Tencent Cloud official license BYOL: Bring Your Own License. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#license_type CvmImportImage#license_type} */ readonly licenseType?: string; /** * OS type of the image to be imported. You can call `DescribeImportImageOs` to obtain the list of supported operating systems. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#os_type CvmImportImage#os_type} */ readonly osType: string; /** * OS version of the image to be imported. You can call `DescribeImportImageOs` to obtain the list of supported operating systems. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#os_version CvmImportImage#os_version} */ readonly osVersion: string; /** * tag_specification block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#tag_specification CvmImportImage#tag_specification} */ readonly tagSpecification?: CvmImportImageTagSpecification[] | cdktf.IResolvable; } export interface CvmImportImageTagSpecificationTags { /** * Tag key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#key CvmImportImage#key} */ readonly key: string; /** * Tag value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#value CvmImportImage#value} */ readonly value: string; } export declare function cvmImportImageTagSpecificationTagsToTerraform(struct?: CvmImportImageTagSpecificationTags | cdktf.IResolvable): any; export declare function cvmImportImageTagSpecificationTagsToHclTerraform(struct?: CvmImportImageTagSpecificationTags | cdktf.IResolvable): any; export declare class CvmImportImageTagSpecificationTagsOutputReference 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(): CvmImportImageTagSpecificationTags | cdktf.IResolvable | undefined; set internalValue(value: CvmImportImageTagSpecificationTags | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class CvmImportImageTagSpecificationTagsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CvmImportImageTagSpecificationTags[] | 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): CvmImportImageTagSpecificationTagsOutputReference; } export interface CvmImportImageTagSpecification { /** * Resource type. Valid values: instance (CVM), host (CDH), image (for image), and keypair (for key). Note: This field may return null, indicating that no valid values can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#resource_type CvmImportImage#resource_type} */ readonly resourceType: string; /** * tags block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#tags CvmImportImage#tags} */ readonly tags: CvmImportImageTagSpecificationTags[] | cdktf.IResolvable; } export declare function cvmImportImageTagSpecificationToTerraform(struct?: CvmImportImageTagSpecification | cdktf.IResolvable): any; export declare function cvmImportImageTagSpecificationToHclTerraform(struct?: CvmImportImageTagSpecification | cdktf.IResolvable): any; export declare class CvmImportImageTagSpecificationOutputReference 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(): CvmImportImageTagSpecification | cdktf.IResolvable | undefined; set internalValue(value: CvmImportImageTagSpecification | cdktf.IResolvable | undefined); private _resourceType?; get resourceType(): string; set resourceType(value: string); get resourceTypeInput(): string; private _tags; get tags(): CvmImportImageTagSpecificationTagsList; putTags(value: CvmImportImageTagSpecificationTags[] | cdktf.IResolvable): void; get tagsInput(): any; } export declare class CvmImportImageTagSpecificationList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CvmImportImageTagSpecification[] | 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): CvmImportImageTagSpecificationOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image tencentcloud_cvm_import_image} */ export declare class CvmImportImage extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cvm_import_image"; /** * Generates CDKTF code for importing a CvmImportImage 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 CvmImportImage to import * @param importFromId The id of the existing CvmImportImage that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CvmImportImage 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/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_import_image tencentcloud_cvm_import_image} 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 CvmImportImageConfig */ constructor(scope: Construct, id: string, config: CvmImportImageConfig); private _architecture?; get architecture(): string; set architecture(value: string); get architectureInput(): string; private _bootMode?; get bootMode(): string; set bootMode(value: string); resetBootMode(): void; get bootModeInput(): string; private _dryRun?; get dryRun(): boolean | cdktf.IResolvable; set dryRun(value: boolean | cdktf.IResolvable); resetDryRun(): void; get dryRunInput(): any; private _force?; get force(): boolean | cdktf.IResolvable; set force(value: boolean | cdktf.IResolvable); resetForce(): void; get forceInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _imageDescription?; get imageDescription(): string; set imageDescription(value: string); resetImageDescription(): void; get imageDescriptionInput(): string; private _imageName?; get imageName(): string; set imageName(value: string); get imageNameInput(): string; private _imageUrl?; get imageUrl(): string; set imageUrl(value: string); get imageUrlInput(): string; private _licenseType?; get licenseType(): string; set licenseType(value: string); resetLicenseType(): void; get licenseTypeInput(): string; private _osType?; get osType(): string; set osType(value: string); get osTypeInput(): string; private _osVersion?; get osVersion(): string; set osVersion(value: string); get osVersionInput(): string; private _tagSpecification; get tagSpecification(): CvmImportImageTagSpecificationList; putTagSpecification(value: CvmImportImageTagSpecification[] | cdktf.IResolvable): void; resetTagSpecification(): void; get tagSpecificationInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }