rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
213 lines (212 loc) • 12.4 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciDisasterRecoveryDrPlanConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/disaster_recovery_dr_plan#dr_plan_id DataOciDisasterRecoveryDrPlan#dr_plan_id}
*/
readonly drPlanId: string;
}
export interface DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepObjectStorageScriptLocation {
}
export declare function dataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepObjectStorageScriptLocationToTerraform(struct?: DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepObjectStorageScriptLocation): any;
export declare function dataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepObjectStorageScriptLocationToHclTerraform(struct?: DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepObjectStorageScriptLocation): any;
export declare class DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepObjectStorageScriptLocationOutputReference 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(): DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepObjectStorageScriptLocation | undefined;
set internalValue(value: DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepObjectStorageScriptLocation | undefined);
get bucket(): string;
get namespace(): string;
get object(): string;
}
export declare class DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepObjectStorageScriptLocationList 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): DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepObjectStorageScriptLocationOutputReference;
}
export interface DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStep {
}
export declare function dataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepToTerraform(struct?: DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStep): any;
export declare function dataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepToHclTerraform(struct?: DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStep): any;
export declare class DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepOutputReference 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(): DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStep | undefined;
set internalValue(value: DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStep | undefined);
get functionId(): string;
get functionRegion(): string;
private _objectStorageScriptLocation;
get objectStorageScriptLocation(): DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepObjectStorageScriptLocationList;
get requestBody(): string;
get runAsUser(): string;
get runOnInstanceId(): string;
get runOnInstanceRegion(): string;
get scriptCommand(): string;
get stepType(): string;
}
export declare class DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepList 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): DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepOutputReference;
}
export interface DataOciDisasterRecoveryDrPlanPlanGroupsSteps {
}
export declare function dataOciDisasterRecoveryDrPlanPlanGroupsStepsToTerraform(struct?: DataOciDisasterRecoveryDrPlanPlanGroupsSteps): any;
export declare function dataOciDisasterRecoveryDrPlanPlanGroupsStepsToHclTerraform(struct?: DataOciDisasterRecoveryDrPlanPlanGroupsSteps): any;
export declare class DataOciDisasterRecoveryDrPlanPlanGroupsStepsOutputReference 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(): DataOciDisasterRecoveryDrPlanPlanGroupsSteps | undefined;
set internalValue(value: DataOciDisasterRecoveryDrPlanPlanGroupsSteps | undefined);
get displayName(): string;
get errorMode(): string;
get groupId(): string;
get id(): string;
get isEnabled(): cdktf.IResolvable;
get memberId(): string;
get timeout(): number;
get type(): string;
private _userDefinedStep;
get userDefinedStep(): DataOciDisasterRecoveryDrPlanPlanGroupsStepsUserDefinedStepList;
}
export declare class DataOciDisasterRecoveryDrPlanPlanGroupsStepsList 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): DataOciDisasterRecoveryDrPlanPlanGroupsStepsOutputReference;
}
export interface DataOciDisasterRecoveryDrPlanPlanGroups {
}
export declare function dataOciDisasterRecoveryDrPlanPlanGroupsToTerraform(struct?: DataOciDisasterRecoveryDrPlanPlanGroups): any;
export declare function dataOciDisasterRecoveryDrPlanPlanGroupsToHclTerraform(struct?: DataOciDisasterRecoveryDrPlanPlanGroups): any;
export declare class DataOciDisasterRecoveryDrPlanPlanGroupsOutputReference 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(): DataOciDisasterRecoveryDrPlanPlanGroups | undefined;
set internalValue(value: DataOciDisasterRecoveryDrPlanPlanGroups | undefined);
get displayName(): string;
get id(): string;
get isPauseEnabled(): cdktf.IResolvable;
private _steps;
get steps(): DataOciDisasterRecoveryDrPlanPlanGroupsStepsList;
get type(): string;
}
export declare class DataOciDisasterRecoveryDrPlanPlanGroupsList 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): DataOciDisasterRecoveryDrPlanPlanGroupsOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/disaster_recovery_dr_plan oci_disaster_recovery_dr_plan}
*/
export declare class DataOciDisasterRecoveryDrPlan extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_disaster_recovery_dr_plan";
/**
* Generates CDKTF code for importing a DataOciDisasterRecoveryDrPlan 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 DataOciDisasterRecoveryDrPlan to import
* @param importFromId The id of the existing DataOciDisasterRecoveryDrPlan that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/disaster_recovery_dr_plan#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciDisasterRecoveryDrPlan 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/disaster_recovery_dr_plan oci_disaster_recovery_dr_plan} 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 DataOciDisasterRecoveryDrPlanConfig
*/
constructor(scope: Construct, id: string, config: DataOciDisasterRecoveryDrPlanConfig);
get compartmentId(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get displayName(): string;
private _drPlanId?;
get drPlanId(): string;
set drPlanId(value: string);
get drPlanIdInput(): string | undefined;
get drProtectionGroupId(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get lifeCycleDetails(): string;
get peerDrProtectionGroupId(): string;
get peerRegion(): string;
private _planGroups;
get planGroups(): DataOciDisasterRecoveryDrPlanPlanGroupsList;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get timeUpdated(): string;
get type(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}