rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
238 lines (237 loc) • 11.2 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface CoreBootVolumeBackupConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#boot_volume_id CoreBootVolumeBackup#boot_volume_id}
*/
readonly bootVolumeId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#compartment_id CoreBootVolumeBackup#compartment_id}
*/
readonly compartmentId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#defined_tags CoreBootVolumeBackup#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#display_name CoreBootVolumeBackup#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#freeform_tags CoreBootVolumeBackup#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#id CoreBootVolumeBackup#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/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#kms_key_id CoreBootVolumeBackup#kms_key_id}
*/
readonly kmsKeyId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#type CoreBootVolumeBackup#type}
*/
readonly type?: string;
/**
* source_details block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#source_details CoreBootVolumeBackup#source_details}
*/
readonly sourceDetails?: CoreBootVolumeBackupSourceDetails;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#timeouts CoreBootVolumeBackup#timeouts}
*/
readonly timeouts?: CoreBootVolumeBackupTimeouts;
}
export interface CoreBootVolumeBackupSourceDetails {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#boot_volume_backup_id CoreBootVolumeBackup#boot_volume_backup_id}
*/
readonly bootVolumeBackupId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#kms_key_id CoreBootVolumeBackup#kms_key_id}
*/
readonly kmsKeyId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#region CoreBootVolumeBackup#region}
*/
readonly region: string;
}
export declare function coreBootVolumeBackupSourceDetailsToTerraform(struct?: CoreBootVolumeBackupSourceDetailsOutputReference | CoreBootVolumeBackupSourceDetails): any;
export declare function coreBootVolumeBackupSourceDetailsToHclTerraform(struct?: CoreBootVolumeBackupSourceDetailsOutputReference | CoreBootVolumeBackupSourceDetails): any;
export declare class CoreBootVolumeBackupSourceDetailsOutputReference 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(): CoreBootVolumeBackupSourceDetails | undefined;
set internalValue(value: CoreBootVolumeBackupSourceDetails | undefined);
private _bootVolumeBackupId?;
get bootVolumeBackupId(): string;
set bootVolumeBackupId(value: string);
get bootVolumeBackupIdInput(): string | undefined;
private _kmsKeyId?;
get kmsKeyId(): string;
set kmsKeyId(value: string);
resetKmsKeyId(): void;
get kmsKeyIdInput(): string | undefined;
private _region?;
get region(): string;
set region(value: string);
get regionInput(): string | undefined;
}
export interface CoreBootVolumeBackupTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#create CoreBootVolumeBackup#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#delete CoreBootVolumeBackup#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#update CoreBootVolumeBackup#update}
*/
readonly update?: string;
}
export declare function coreBootVolumeBackupTimeoutsToTerraform(struct?: CoreBootVolumeBackupTimeouts | cdktf.IResolvable): any;
export declare function coreBootVolumeBackupTimeoutsToHclTerraform(struct?: CoreBootVolumeBackupTimeouts | cdktf.IResolvable): any;
export declare class CoreBootVolumeBackupTimeoutsOutputReference 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(): CoreBootVolumeBackupTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: CoreBootVolumeBackupTimeouts | cdktf.IResolvable | undefined);
private _create?;
get create(): string;
set create(value: string);
resetCreate(): void;
get createInput(): string | undefined;
private _delete?;
get delete(): string;
set delete(value: string);
resetDelete(): void;
get deleteInput(): string | undefined;
private _update?;
get update(): string;
set update(value: string);
resetUpdate(): void;
get updateInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup oci_core_boot_volume_backup}
*/
export declare class CoreBootVolumeBackup extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_core_boot_volume_backup";
/**
* Generates CDKTF code for importing a CoreBootVolumeBackup 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 CoreBootVolumeBackup to import
* @param importFromId The id of the existing CoreBootVolumeBackup that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CoreBootVolumeBackup to import is found
*/
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
/**
* Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume_backup oci_core_boot_volume_backup} 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 CoreBootVolumeBackupConfig = {}
*/
constructor(scope: Construct, id: string, config?: CoreBootVolumeBackupConfig);
private _bootVolumeId?;
get bootVolumeId(): string;
set bootVolumeId(value: string);
resetBootVolumeId(): void;
get bootVolumeIdInput(): string | undefined;
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
resetCompartmentId(): void;
get compartmentIdInput(): string | undefined;
private _definedTags?;
get definedTags(): {
[key: string]: string;
};
set definedTags(value: {
[key: string]: string;
});
resetDefinedTags(): void;
get definedTagsInput(): {
[key: string]: string;
} | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
get expirationTime(): string;
private _freeformTags?;
get freeformTags(): {
[key: string]: string;
};
set freeformTags(value: {
[key: string]: string;
});
resetFreeformTags(): void;
get freeformTagsInput(): {
[key: string]: string;
} | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
get imageId(): string;
private _kmsKeyId?;
get kmsKeyId(): string;
set kmsKeyId(value: string);
resetKmsKeyId(): void;
get kmsKeyIdInput(): string | undefined;
get sizeInGbs(): string;
get sourceBootVolumeBackupId(): string;
get sourceType(): string;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get timeRequestReceived(): string;
private _type?;
get type(): string;
set type(value: string);
resetType(): void;
get typeInput(): string | undefined;
get uniqueSizeInGbs(): string;
private _sourceDetails;
get sourceDetails(): CoreBootVolumeBackupSourceDetailsOutputReference;
putSourceDetails(value: CoreBootVolumeBackupSourceDetails): void;
resetSourceDetails(): void;
get sourceDetailsInput(): CoreBootVolumeBackupSourceDetails | undefined;
private _timeouts;
get timeouts(): CoreBootVolumeBackupTimeoutsOutputReference;
putTimeouts(value: CoreBootVolumeBackupTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | CoreBootVolumeBackupTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}