rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
271 lines (270 loc) • 13.2 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface FileStorageReplicationConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#compartment_id FileStorageReplication#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#defined_tags FileStorageReplication#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#display_name FileStorageReplication#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#freeform_tags FileStorageReplication#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#id FileStorageReplication#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/file_storage_replication#is_lock_override FileStorageReplication#is_lock_override}
*/
readonly isLockOverride?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#replication_interval FileStorageReplication#replication_interval}
*/
readonly replicationInterval?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#source_id FileStorageReplication#source_id}
*/
readonly sourceId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#target_id FileStorageReplication#target_id}
*/
readonly targetId: string;
/**
* locks block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#locks FileStorageReplication#locks}
*/
readonly locks?: FileStorageReplicationLocks[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#timeouts FileStorageReplication#timeouts}
*/
readonly timeouts?: FileStorageReplicationTimeouts;
}
export interface FileStorageReplicationLocks {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#message FileStorageReplication#message}
*/
readonly message?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#related_resource_id FileStorageReplication#related_resource_id}
*/
readonly relatedResourceId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#time_created FileStorageReplication#time_created}
*/
readonly timeCreated?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#type FileStorageReplication#type}
*/
readonly type: string;
}
export declare function fileStorageReplicationLocksToTerraform(struct?: FileStorageReplicationLocks | cdktf.IResolvable): any;
export declare function fileStorageReplicationLocksToHclTerraform(struct?: FileStorageReplicationLocks | cdktf.IResolvable): any;
export declare class FileStorageReplicationLocksOutputReference 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(): FileStorageReplicationLocks | cdktf.IResolvable | undefined;
set internalValue(value: FileStorageReplicationLocks | cdktf.IResolvable | undefined);
private _message?;
get message(): string;
set message(value: string);
resetMessage(): void;
get messageInput(): string | undefined;
private _relatedResourceId?;
get relatedResourceId(): string;
set relatedResourceId(value: string);
resetRelatedResourceId(): void;
get relatedResourceIdInput(): string | undefined;
private _timeCreated?;
get timeCreated(): string;
set timeCreated(value: string);
resetTimeCreated(): void;
get timeCreatedInput(): string | undefined;
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
}
export declare class FileStorageReplicationLocksList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: FileStorageReplicationLocks[] | 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): FileStorageReplicationLocksOutputReference;
}
export interface FileStorageReplicationTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#create FileStorageReplication#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#delete FileStorageReplication#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#update FileStorageReplication#update}
*/
readonly update?: string;
}
export declare function fileStorageReplicationTimeoutsToTerraform(struct?: FileStorageReplicationTimeouts | cdktf.IResolvable): any;
export declare function fileStorageReplicationTimeoutsToHclTerraform(struct?: FileStorageReplicationTimeouts | cdktf.IResolvable): any;
export declare class FileStorageReplicationTimeoutsOutputReference 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(): FileStorageReplicationTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: FileStorageReplicationTimeouts | 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/file_storage_replication oci_file_storage_replication}
*/
export declare class FileStorageReplication extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_file_storage_replication";
/**
* Generates CDKTF code for importing a FileStorageReplication 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 FileStorageReplication to import
* @param importFromId The id of the existing FileStorageReplication that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_replication#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the FileStorageReplication 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/file_storage_replication oci_file_storage_replication} 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 FileStorageReplicationConfig
*/
constructor(scope: Construct, id: string, config: FileStorageReplicationConfig);
get availabilityDomain(): string;
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;
get deltaProgress(): string;
get deltaStatus(): string;
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;
private _isLockOverride?;
get isLockOverride(): boolean | cdktf.IResolvable;
set isLockOverride(value: boolean | cdktf.IResolvable);
resetIsLockOverride(): void;
get isLockOverrideInput(): boolean | cdktf.IResolvable | undefined;
get lastSnapshotId(): string;
get lifecycleDetails(): string;
get recoveryPointTime(): string;
private _replicationInterval?;
get replicationInterval(): string;
set replicationInterval(value: string);
resetReplicationInterval(): void;
get replicationIntervalInput(): string | undefined;
get replicationTargetId(): string;
private _sourceId?;
get sourceId(): string;
set sourceId(value: string);
get sourceIdInput(): string | undefined;
get state(): string;
private _targetId?;
get targetId(): string;
set targetId(value: string);
get targetIdInput(): string | undefined;
get timeCreated(): string;
private _locks;
get locks(): FileStorageReplicationLocksList;
putLocks(value: FileStorageReplicationLocks[] | cdktf.IResolvable): void;
resetLocks(): void;
get locksInput(): cdktf.IResolvable | FileStorageReplicationLocks[] | undefined;
private _timeouts;
get timeouts(): FileStorageReplicationTimeoutsOutputReference;
putTimeouts(value: FileStorageReplicationTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | FileStorageReplicationTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}