rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
224 lines (223 loc) • 14.2 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciDatabaseMaintenanceRunHistoryConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_maintenance_run_history#id DataOciDatabaseMaintenanceRunHistory#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/data-sources/database_maintenance_run_history#maintenance_run_history_id DataOciDatabaseMaintenanceRunHistory#maintenance_run_history_id}
*/
readonly maintenanceRunHistoryId: string;
}
export interface DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsDbServerPatchingDetails {
}
export declare function dataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsDbServerPatchingDetailsToTerraform(struct?: DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsDbServerPatchingDetails): any;
export declare function dataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsDbServerPatchingDetailsToHclTerraform(struct?: DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsDbServerPatchingDetails): any;
export declare class DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsDbServerPatchingDetailsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsDbServerPatchingDetails | undefined;
set internalValue(value: DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsDbServerPatchingDetails | undefined);
get estimatedPatchDuration(): number;
get patchingStatus(): string;
get timePatchingEnded(): string;
get timePatchingStarted(): string;
}
export declare class DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsDbServerPatchingDetailsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @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): DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsDbServerPatchingDetailsOutputReference;
}
export interface DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetails {
}
export declare function dataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsToTerraform(struct?: DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetails): any;
export declare function dataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsToHclTerraform(struct?: DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetails): any;
export declare class DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetails | undefined;
set internalValue(value: DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetails | undefined);
private _dbServerPatchingDetails;
get dbServerPatchingDetails(): DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsDbServerPatchingDetailsList;
get displayName(): string;
get id(): string;
}
export declare class DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @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): DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsOutputReference;
}
export interface DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsEstimatedPatchingTime {
}
export declare function dataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsEstimatedPatchingTimeToTerraform(struct?: DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsEstimatedPatchingTime): any;
export declare function dataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsEstimatedPatchingTimeToHclTerraform(struct?: DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsEstimatedPatchingTime): any;
export declare class DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsEstimatedPatchingTimeOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsEstimatedPatchingTime | undefined;
set internalValue(value: DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsEstimatedPatchingTime | undefined);
get estimatedDbServerPatchingTime(): number;
get estimatedNetworkSwitchesPatchingTime(): number;
get estimatedStorageServerPatchingTime(): number;
get totalEstimatedPatchingTime(): number;
}
export declare class DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsEstimatedPatchingTimeList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @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): DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsEstimatedPatchingTimeOutputReference;
}
export interface DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetails {
}
export declare function dataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsToTerraform(struct?: DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetails): any;
export declare function dataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsToHclTerraform(struct?: DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetails): any;
export declare class DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetails | undefined;
set internalValue(value: DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetails | undefined);
get compartmentId(): string;
get currentCustomActionTimeoutInMins(): number;
get currentPatchingComponent(): string;
get customActionTimeoutInMins(): number;
get databaseSoftwareImageId(): string;
get description(): string;
get displayName(): string;
get estimatedComponentPatchingStartTime(): string;
private _estimatedPatchingTime;
get estimatedPatchingTime(): DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsEstimatedPatchingTimeList;
get id(): string;
get isCustomActionTimeoutEnabled(): cdktf.IResolvable;
get isDstFileUpdateEnabled(): cdktf.IResolvable;
get lifecycleDetails(): string;
get maintenanceSubtype(): string;
get maintenanceType(): string;
get patchFailureCount(): number;
get patchId(): string;
get patchingEndTime(): string;
get patchingMode(): string;
get patchingStartTime(): string;
get patchingStatus(): string;
get peerMaintenanceRunId(): string;
get state(): string;
get targetDbServerVersion(): string;
get targetResourceId(): string;
get targetResourceType(): string;
get targetStorageServerVersion(): string;
get timeEnded(): string;
get timeScheduled(): string;
get timeStarted(): string;
}
export declare class DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @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): DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_maintenance_run_history oci_database_maintenance_run_history}
*/
export declare class DataOciDatabaseMaintenanceRunHistory extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_database_maintenance_run_history";
/**
* Generates CDKTF code for importing a DataOciDatabaseMaintenanceRunHistory 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 DataOciDatabaseMaintenanceRunHistory to import
* @param importFromId The id of the existing DataOciDatabaseMaintenanceRunHistory that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_maintenance_run_history#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciDatabaseMaintenanceRunHistory 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/data-sources/database_maintenance_run_history oci_database_maintenance_run_history} 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 DataOciDatabaseMaintenanceRunHistoryConfig
*/
constructor(scope: Construct, id: string, config: DataOciDatabaseMaintenanceRunHistoryConfig);
private _dbServersHistoryDetails;
get dbServersHistoryDetails(): DataOciDatabaseMaintenanceRunHistoryDbServersHistoryDetailsList;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _maintenanceRunDetails;
get maintenanceRunDetails(): DataOciDatabaseMaintenanceRunHistoryMaintenanceRunDetailsList;
private _maintenanceRunHistoryId?;
get maintenanceRunHistoryId(): string;
set maintenanceRunHistoryId(value: string);
get maintenanceRunHistoryIdInput(): string | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}