rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
334 lines (333 loc) • 16.7 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface FileStorageFileSystemConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#availability_domain FileStorageFileSystem#availability_domain}
*/
readonly availabilityDomain: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#clone_attach_status FileStorageFileSystem#clone_attach_status}
*/
readonly cloneAttachStatus?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#compartment_id FileStorageFileSystem#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#defined_tags FileStorageFileSystem#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_file_system#detach_clone_trigger FileStorageFileSystem#detach_clone_trigger}
*/
readonly detachCloneTrigger?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#display_name FileStorageFileSystem#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#filesystem_snapshot_policy_id FileStorageFileSystem#filesystem_snapshot_policy_id}
*/
readonly filesystemSnapshotPolicyId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#freeform_tags FileStorageFileSystem#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_file_system#id FileStorageFileSystem#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_file_system#is_lock_override FileStorageFileSystem#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_file_system#kms_key_id FileStorageFileSystem#kms_key_id}
*/
readonly kmsKeyId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#source_snapshot_id FileStorageFileSystem#source_snapshot_id}
*/
readonly sourceSnapshotId?: string;
/**
* locks block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#locks FileStorageFileSystem#locks}
*/
readonly locks?: FileStorageFileSystemLocks[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#timeouts FileStorageFileSystem#timeouts}
*/
readonly timeouts?: FileStorageFileSystemTimeouts;
}
export interface FileStorageFileSystemSourceDetails {
}
export declare function fileStorageFileSystemSourceDetailsToTerraform(struct?: FileStorageFileSystemSourceDetails): any;
export declare function fileStorageFileSystemSourceDetailsToHclTerraform(struct?: FileStorageFileSystemSourceDetails): any;
export declare class FileStorageFileSystemSourceDetailsOutputReference 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(): FileStorageFileSystemSourceDetails | undefined;
set internalValue(value: FileStorageFileSystemSourceDetails | undefined);
get parentFileSystemId(): string;
get sourceSnapshotId(): string;
}
export declare class FileStorageFileSystemSourceDetailsList 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): FileStorageFileSystemSourceDetailsOutputReference;
}
export interface FileStorageFileSystemLocks {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#message FileStorageFileSystem#message}
*/
readonly message?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#related_resource_id FileStorageFileSystem#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_file_system#time_created FileStorageFileSystem#time_created}
*/
readonly timeCreated?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#type FileStorageFileSystem#type}
*/
readonly type: string;
}
export declare function fileStorageFileSystemLocksToTerraform(struct?: FileStorageFileSystemLocks | cdktf.IResolvable): any;
export declare function fileStorageFileSystemLocksToHclTerraform(struct?: FileStorageFileSystemLocks | cdktf.IResolvable): any;
export declare class FileStorageFileSystemLocksOutputReference 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(): FileStorageFileSystemLocks | cdktf.IResolvable | undefined;
set internalValue(value: FileStorageFileSystemLocks | 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 FileStorageFileSystemLocksList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: FileStorageFileSystemLocks[] | 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): FileStorageFileSystemLocksOutputReference;
}
export interface FileStorageFileSystemTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#create FileStorageFileSystem#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#delete FileStorageFileSystem#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#update FileStorageFileSystem#update}
*/
readonly update?: string;
}
export declare function fileStorageFileSystemTimeoutsToTerraform(struct?: FileStorageFileSystemTimeouts | cdktf.IResolvable): any;
export declare function fileStorageFileSystemTimeoutsToHclTerraform(struct?: FileStorageFileSystemTimeouts | cdktf.IResolvable): any;
export declare class FileStorageFileSystemTimeoutsOutputReference 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(): FileStorageFileSystemTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: FileStorageFileSystemTimeouts | 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_file_system oci_file_storage_file_system}
*/
export declare class FileStorageFileSystem extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_file_storage_file_system";
/**
* Generates CDKTF code for importing a FileStorageFileSystem 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 FileStorageFileSystem to import
* @param importFromId The id of the existing FileStorageFileSystem that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_file_system#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the FileStorageFileSystem 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_file_system oci_file_storage_file_system} 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 FileStorageFileSystemConfig
*/
constructor(scope: Construct, id: string, config: FileStorageFileSystemConfig);
private _availabilityDomain?;
get availabilityDomain(): string;
set availabilityDomain(value: string);
get availabilityDomainInput(): string | undefined;
private _cloneAttachStatus?;
get cloneAttachStatus(): string;
set cloneAttachStatus(value: string);
resetCloneAttachStatus(): void;
get cloneAttachStatusInput(): string | undefined;
get cloneCount(): number;
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 _detachCloneTrigger?;
get detachCloneTrigger(): number;
set detachCloneTrigger(value: number);
resetDetachCloneTrigger(): void;
get detachCloneTriggerInput(): number | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _filesystemSnapshotPolicyId?;
get filesystemSnapshotPolicyId(): string;
set filesystemSnapshotPolicyId(value: string);
resetFilesystemSnapshotPolicyId(): void;
get filesystemSnapshotPolicyIdInput(): 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 isCloneParent(): cdktf.IResolvable;
get isHydrated(): cdktf.IResolvable;
private _isLockOverride?;
get isLockOverride(): boolean | cdktf.IResolvable;
set isLockOverride(value: boolean | cdktf.IResolvable);
resetIsLockOverride(): void;
get isLockOverrideInput(): boolean | cdktf.IResolvable | undefined;
get isTargetable(): cdktf.IResolvable;
private _kmsKeyId?;
get kmsKeyId(): string;
set kmsKeyId(value: string);
resetKmsKeyId(): void;
get kmsKeyIdInput(): string | undefined;
get lifecycleDetails(): string;
get meteredBytes(): string;
get replicationTargetId(): string;
private _sourceDetails;
get sourceDetails(): FileStorageFileSystemSourceDetailsList;
private _sourceSnapshotId?;
get sourceSnapshotId(): string;
set sourceSnapshotId(value: string);
resetSourceSnapshotId(): void;
get sourceSnapshotIdInput(): string | undefined;
get state(): string;
get timeCreated(): string;
private _locks;
get locks(): FileStorageFileSystemLocksList;
putLocks(value: FileStorageFileSystemLocks[] | cdktf.IResolvable): void;
resetLocks(): void;
get locksInput(): cdktf.IResolvable | FileStorageFileSystemLocks[] | undefined;
private _timeouts;
get timeouts(): FileStorageFileSystemTimeoutsOutputReference;
putTimeouts(value: FileStorageFileSystemTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | FileStorageFileSystemTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}