rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
253 lines (252 loc) • 12.1 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface FileStorageSnapshotConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#defined_tags FileStorageSnapshot#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_snapshot#expiration_time FileStorageSnapshot#expiration_time}
*/
readonly expirationTime?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#file_system_id FileStorageSnapshot#file_system_id}
*/
readonly fileSystemId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#freeform_tags FileStorageSnapshot#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_snapshot#id FileStorageSnapshot#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_snapshot#is_lock_override FileStorageSnapshot#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_snapshot#name FileStorageSnapshot#name}
*/
readonly name: string;
/**
* locks block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#locks FileStorageSnapshot#locks}
*/
readonly locks?: FileStorageSnapshotLocks[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#timeouts FileStorageSnapshot#timeouts}
*/
readonly timeouts?: FileStorageSnapshotTimeouts;
}
export interface FileStorageSnapshotLocks {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#message FileStorageSnapshot#message}
*/
readonly message?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#related_resource_id FileStorageSnapshot#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_snapshot#time_created FileStorageSnapshot#time_created}
*/
readonly timeCreated?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#type FileStorageSnapshot#type}
*/
readonly type: string;
}
export declare function fileStorageSnapshotLocksToTerraform(struct?: FileStorageSnapshotLocks | cdktf.IResolvable): any;
export declare function fileStorageSnapshotLocksToHclTerraform(struct?: FileStorageSnapshotLocks | cdktf.IResolvable): any;
export declare class FileStorageSnapshotLocksOutputReference 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(): FileStorageSnapshotLocks | cdktf.IResolvable | undefined;
set internalValue(value: FileStorageSnapshotLocks | 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 FileStorageSnapshotLocksList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: FileStorageSnapshotLocks[] | 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): FileStorageSnapshotLocksOutputReference;
}
export interface FileStorageSnapshotTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#create FileStorageSnapshot#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#delete FileStorageSnapshot#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#update FileStorageSnapshot#update}
*/
readonly update?: string;
}
export declare function fileStorageSnapshotTimeoutsToTerraform(struct?: FileStorageSnapshotTimeouts | cdktf.IResolvable): any;
export declare function fileStorageSnapshotTimeoutsToHclTerraform(struct?: FileStorageSnapshotTimeouts | cdktf.IResolvable): any;
export declare class FileStorageSnapshotTimeoutsOutputReference 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(): FileStorageSnapshotTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: FileStorageSnapshotTimeouts | 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_snapshot oci_file_storage_snapshot}
*/
export declare class FileStorageSnapshot extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_file_storage_snapshot";
/**
* Generates CDKTF code for importing a FileStorageSnapshot 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 FileStorageSnapshot to import
* @param importFromId The id of the existing FileStorageSnapshot that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_snapshot#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the FileStorageSnapshot 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_snapshot oci_file_storage_snapshot} 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 FileStorageSnapshotConfig
*/
constructor(scope: Construct, id: string, config: FileStorageSnapshotConfig);
private _definedTags?;
get definedTags(): {
[key: string]: string;
};
set definedTags(value: {
[key: string]: string;
});
resetDefinedTags(): void;
get definedTagsInput(): {
[key: string]: string;
} | undefined;
private _expirationTime?;
get expirationTime(): string;
set expirationTime(value: string);
resetExpirationTime(): void;
get expirationTimeInput(): string | undefined;
private _fileSystemId?;
get fileSystemId(): string;
set fileSystemId(value: string);
get fileSystemIdInput(): string | undefined;
get filesystemSnapshotPolicyId(): string;
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 isCloneSource(): cdktf.IResolvable;
private _isLockOverride?;
get isLockOverride(): boolean | cdktf.IResolvable;
set isLockOverride(value: boolean | cdktf.IResolvable);
resetIsLockOverride(): void;
get isLockOverrideInput(): boolean | cdktf.IResolvable | undefined;
get lifecycleDetails(): string;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
get provenanceId(): string;
get snapshotTime(): string;
get snapshotType(): string;
get state(): string;
get timeCreated(): string;
private _locks;
get locks(): FileStorageSnapshotLocksList;
putLocks(value: FileStorageSnapshotLocks[] | cdktf.IResolvable): void;
resetLocks(): void;
get locksInput(): cdktf.IResolvable | FileStorageSnapshotLocks[] | undefined;
private _timeouts;
get timeouts(): FileStorageSnapshotTimeoutsOutputReference;
putTimeouts(value: FileStorageSnapshotTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | FileStorageSnapshotTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}