rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
181 lines (180 loc) • 8.96 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface RecoveryProtectionPolicyConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#backup_retention_period_in_days RecoveryProtectionPolicy#backup_retention_period_in_days}
*/
readonly backupRetentionPeriodInDays: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#compartment_id RecoveryProtectionPolicy#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#defined_tags RecoveryProtectionPolicy#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#display_name RecoveryProtectionPolicy#display_name}
*/
readonly displayName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#freeform_tags RecoveryProtectionPolicy#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#id RecoveryProtectionPolicy#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/recovery_protection_policy#must_enforce_cloud_locality RecoveryProtectionPolicy#must_enforce_cloud_locality}
*/
readonly mustEnforceCloudLocality?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#policy_locked_date_time RecoveryProtectionPolicy#policy_locked_date_time}
*/
readonly policyLockedDateTime?: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#timeouts RecoveryProtectionPolicy#timeouts}
*/
readonly timeouts?: RecoveryProtectionPolicyTimeouts;
}
export interface RecoveryProtectionPolicyTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#create RecoveryProtectionPolicy#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#delete RecoveryProtectionPolicy#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#update RecoveryProtectionPolicy#update}
*/
readonly update?: string;
}
export declare function recoveryProtectionPolicyTimeoutsToTerraform(struct?: RecoveryProtectionPolicyTimeouts | cdktf.IResolvable): any;
export declare function recoveryProtectionPolicyTimeoutsToHclTerraform(struct?: RecoveryProtectionPolicyTimeouts | cdktf.IResolvable): any;
export declare class RecoveryProtectionPolicyTimeoutsOutputReference 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(): RecoveryProtectionPolicyTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: RecoveryProtectionPolicyTimeouts | 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/recovery_protection_policy oci_recovery_protection_policy}
*/
export declare class RecoveryProtectionPolicy extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_recovery_protection_policy";
/**
* Generates CDKTF code for importing a RecoveryProtectionPolicy 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 RecoveryProtectionPolicy to import
* @param importFromId The id of the existing RecoveryProtectionPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/recovery_protection_policy#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the RecoveryProtectionPolicy 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/recovery_protection_policy oci_recovery_protection_policy} 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 RecoveryProtectionPolicyConfig
*/
constructor(scope: Construct, id: string, config: RecoveryProtectionPolicyConfig);
private _backupRetentionPeriodInDays?;
get backupRetentionPeriodInDays(): number;
set backupRetentionPeriodInDays(value: number);
get backupRetentionPeriodInDaysInput(): number | 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);
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 isPredefinedPolicy(): cdktf.IResolvable;
get lifecycleDetails(): string;
private _mustEnforceCloudLocality?;
get mustEnforceCloudLocality(): boolean | cdktf.IResolvable;
set mustEnforceCloudLocality(value: boolean | cdktf.IResolvable);
resetMustEnforceCloudLocality(): void;
get mustEnforceCloudLocalityInput(): boolean | cdktf.IResolvable | undefined;
private _policyLockedDateTime?;
get policyLockedDateTime(): string;
set policyLockedDateTime(value: string);
resetPolicyLockedDateTime(): void;
get policyLockedDateTimeInput(): string | undefined;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get timeUpdated(): string;
private _timeouts;
get timeouts(): RecoveryProtectionPolicyTimeoutsOutputReference;
putTimeouts(value: RecoveryProtectionPolicyTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | RecoveryProtectionPolicyTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}