rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
442 lines (441 loc) • 22 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface CoreBootVolumeConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#availability_domain CoreBootVolume#availability_domain}
*/
readonly availabilityDomain: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#backup_policy_id CoreBootVolume#backup_policy_id}
*/
readonly backupPolicyId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#boot_volume_replicas_deletion CoreBootVolume#boot_volume_replicas_deletion}
*/
readonly bootVolumeReplicasDeletion?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#cluster_placement_group_id CoreBootVolume#cluster_placement_group_id}
*/
readonly clusterPlacementGroupId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#compartment_id CoreBootVolume#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#defined_tags CoreBootVolume#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#display_name CoreBootVolume#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#freeform_tags CoreBootVolume#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#id CoreBootVolume#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#is_auto_tune_enabled CoreBootVolume#is_auto_tune_enabled}
*/
readonly isAutoTuneEnabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#kms_key_id CoreBootVolume#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#size_in_gbs CoreBootVolume#size_in_gbs}
*/
readonly sizeInGbs?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#vpus_per_gb CoreBootVolume#vpus_per_gb}
*/
readonly vpusPerGb?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#xrc_kms_key_id CoreBootVolume#xrc_kms_key_id}
*/
readonly xrcKmsKeyId?: string;
/**
* autotune_policies block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#autotune_policies CoreBootVolume#autotune_policies}
*/
readonly autotunePolicies?: CoreBootVolumeAutotunePolicies[] | cdktf.IResolvable;
/**
* boot_volume_replicas block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#boot_volume_replicas CoreBootVolume#boot_volume_replicas}
*/
readonly bootVolumeReplicas?: CoreBootVolumeBootVolumeReplicas[] | cdktf.IResolvable;
/**
* source_details block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#source_details CoreBootVolume#source_details}
*/
readonly sourceDetails: CoreBootVolumeSourceDetails;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#timeouts CoreBootVolume#timeouts}
*/
readonly timeouts?: CoreBootVolumeTimeouts;
}
export interface CoreBootVolumeAutotunePolicies {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#autotune_type CoreBootVolume#autotune_type}
*/
readonly autotuneType: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#max_vpus_per_gb CoreBootVolume#max_vpus_per_gb}
*/
readonly maxVpusPerGb?: string;
}
export declare function coreBootVolumeAutotunePoliciesToTerraform(struct?: CoreBootVolumeAutotunePolicies | cdktf.IResolvable): any;
export declare function coreBootVolumeAutotunePoliciesToHclTerraform(struct?: CoreBootVolumeAutotunePolicies | cdktf.IResolvable): any;
export declare class CoreBootVolumeAutotunePoliciesOutputReference 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(): CoreBootVolumeAutotunePolicies | cdktf.IResolvable | undefined;
set internalValue(value: CoreBootVolumeAutotunePolicies | cdktf.IResolvable | undefined);
private _autotuneType?;
get autotuneType(): string;
set autotuneType(value: string);
get autotuneTypeInput(): string | undefined;
private _maxVpusPerGb?;
get maxVpusPerGb(): string;
set maxVpusPerGb(value: string);
resetMaxVpusPerGb(): void;
get maxVpusPerGbInput(): string | undefined;
}
export declare class CoreBootVolumeAutotunePoliciesList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: CoreBootVolumeAutotunePolicies[] | 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): CoreBootVolumeAutotunePoliciesOutputReference;
}
export interface CoreBootVolumeBootVolumeReplicas {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#availability_domain CoreBootVolume#availability_domain}
*/
readonly availabilityDomain: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#display_name CoreBootVolume#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#xrr_kms_key_id CoreBootVolume#xrr_kms_key_id}
*/
readonly xrrKmsKeyId?: string;
}
export declare function coreBootVolumeBootVolumeReplicasToTerraform(struct?: CoreBootVolumeBootVolumeReplicas | cdktf.IResolvable): any;
export declare function coreBootVolumeBootVolumeReplicasToHclTerraform(struct?: CoreBootVolumeBootVolumeReplicas | cdktf.IResolvable): any;
export declare class CoreBootVolumeBootVolumeReplicasOutputReference 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(): CoreBootVolumeBootVolumeReplicas | cdktf.IResolvable | undefined;
set internalValue(value: CoreBootVolumeBootVolumeReplicas | cdktf.IResolvable | undefined);
private _availabilityDomain?;
get availabilityDomain(): string;
set availabilityDomain(value: string);
get availabilityDomainInput(): string | undefined;
get bootVolumeReplicaId(): string;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
get kmsKeyId(): string;
private _xrrKmsKeyId?;
get xrrKmsKeyId(): string;
set xrrKmsKeyId(value: string);
resetXrrKmsKeyId(): void;
get xrrKmsKeyIdInput(): string | undefined;
}
export declare class CoreBootVolumeBootVolumeReplicasList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: CoreBootVolumeBootVolumeReplicas[] | 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): CoreBootVolumeBootVolumeReplicasOutputReference;
}
export interface CoreBootVolumeSourceDetails {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#change_block_size_in_bytes CoreBootVolume#change_block_size_in_bytes}
*/
readonly changeBlockSizeInBytes?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#first_backup_id CoreBootVolume#first_backup_id}
*/
readonly firstBackupId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#id CoreBootVolume#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#second_backup_id CoreBootVolume#second_backup_id}
*/
readonly secondBackupId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#type CoreBootVolume#type}
*/
readonly type: string;
}
export declare function coreBootVolumeSourceDetailsToTerraform(struct?: CoreBootVolumeSourceDetailsOutputReference | CoreBootVolumeSourceDetails): any;
export declare function coreBootVolumeSourceDetailsToHclTerraform(struct?: CoreBootVolumeSourceDetailsOutputReference | CoreBootVolumeSourceDetails): any;
export declare class CoreBootVolumeSourceDetailsOutputReference 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(): CoreBootVolumeSourceDetails | undefined;
set internalValue(value: CoreBootVolumeSourceDetails | undefined);
private _changeBlockSizeInBytes?;
get changeBlockSizeInBytes(): string;
set changeBlockSizeInBytes(value: string);
resetChangeBlockSizeInBytes(): void;
get changeBlockSizeInBytesInput(): string | undefined;
private _firstBackupId?;
get firstBackupId(): string;
set firstBackupId(value: string);
resetFirstBackupId(): void;
get firstBackupIdInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _secondBackupId?;
get secondBackupId(): string;
set secondBackupId(value: string);
resetSecondBackupId(): void;
get secondBackupIdInput(): string | undefined;
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
}
export interface CoreBootVolumeTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#create CoreBootVolume#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#delete CoreBootVolume#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#update CoreBootVolume#update}
*/
readonly update?: string;
}
export declare function coreBootVolumeTimeoutsToTerraform(struct?: CoreBootVolumeTimeouts | cdktf.IResolvable): any;
export declare function coreBootVolumeTimeoutsToHclTerraform(struct?: CoreBootVolumeTimeouts | cdktf.IResolvable): any;
export declare class CoreBootVolumeTimeoutsOutputReference 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(): CoreBootVolumeTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: CoreBootVolumeTimeouts | 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 oci_core_boot_volume}
*/
export declare class CoreBootVolume extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_core_boot_volume";
/**
* Generates CDKTF code for importing a CoreBootVolume 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 CoreBootVolume to import
* @param importFromId The id of the existing CoreBootVolume that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_boot_volume#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CoreBootVolume 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 oci_core_boot_volume} 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 CoreBootVolumeConfig
*/
constructor(scope: Construct, id: string, config: CoreBootVolumeConfig);
get autoTunedVpusPerGb(): string;
private _availabilityDomain?;
get availabilityDomain(): string;
set availabilityDomain(value: string);
get availabilityDomainInput(): string | undefined;
private _backupPolicyId?;
get backupPolicyId(): string;
set backupPolicyId(value: string);
resetBackupPolicyId(): void;
get backupPolicyIdInput(): string | undefined;
private _bootVolumeReplicasDeletion?;
get bootVolumeReplicasDeletion(): boolean | cdktf.IResolvable;
set bootVolumeReplicasDeletion(value: boolean | cdktf.IResolvable);
resetBootVolumeReplicasDeletion(): void;
get bootVolumeReplicasDeletionInput(): boolean | cdktf.IResolvable | undefined;
private _clusterPlacementGroupId?;
get clusterPlacementGroupId(): string;
set clusterPlacementGroupId(value: string);
resetClusterPlacementGroupId(): void;
get clusterPlacementGroupIdInput(): string | undefined;
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
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;
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 _isAutoTuneEnabled?;
get isAutoTuneEnabled(): boolean | cdktf.IResolvable;
set isAutoTuneEnabled(value: boolean | cdktf.IResolvable);
resetIsAutoTuneEnabled(): void;
get isAutoTuneEnabledInput(): boolean | cdktf.IResolvable | undefined;
get isHydrated(): cdktf.IResolvable;
private _kmsKeyId?;
get kmsKeyId(): string;
set kmsKeyId(value: string);
resetKmsKeyId(): void;
get kmsKeyIdInput(): string | undefined;
private _sizeInGbs?;
get sizeInGbs(): string;
set sizeInGbs(value: string);
resetSizeInGbs(): void;
get sizeInGbsInput(): string | undefined;
get sizeInMbs(): string;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get volumeGroupId(): string;
private _vpusPerGb?;
get vpusPerGb(): string;
set vpusPerGb(value: string);
resetVpusPerGb(): void;
get vpusPerGbInput(): string | undefined;
private _xrcKmsKeyId?;
get xrcKmsKeyId(): string;
set xrcKmsKeyId(value: string);
resetXrcKmsKeyId(): void;
get xrcKmsKeyIdInput(): string | undefined;
private _autotunePolicies;
get autotunePolicies(): CoreBootVolumeAutotunePoliciesList;
putAutotunePolicies(value: CoreBootVolumeAutotunePolicies[] | cdktf.IResolvable): void;
resetAutotunePolicies(): void;
get autotunePoliciesInput(): cdktf.IResolvable | CoreBootVolumeAutotunePolicies[] | undefined;
private _bootVolumeReplicas;
get bootVolumeReplicas(): CoreBootVolumeBootVolumeReplicasList;
putBootVolumeReplicas(value: CoreBootVolumeBootVolumeReplicas[] | cdktf.IResolvable): void;
resetBootVolumeReplicas(): void;
get bootVolumeReplicasInput(): cdktf.IResolvable | CoreBootVolumeBootVolumeReplicas[] | undefined;
private _sourceDetails;
get sourceDetails(): CoreBootVolumeSourceDetailsOutputReference;
putSourceDetails(value: CoreBootVolumeSourceDetails): void;
get sourceDetailsInput(): CoreBootVolumeSourceDetails | undefined;
private _timeouts;
get timeouts(): CoreBootVolumeTimeoutsOutputReference;
putTimeouts(value: CoreBootVolumeTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | CoreBootVolumeTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}