rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
336 lines (335 loc) • 17.4 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface FileStorageExportConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#export_set_id FileStorageExport#export_set_id}
*/
readonly exportSetId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#file_system_id FileStorageExport#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_export#id FileStorageExport#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_export#is_idmap_groups_for_sys_auth FileStorageExport#is_idmap_groups_for_sys_auth}
*/
readonly isIdmapGroupsForSysAuth?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#is_lock_override FileStorageExport#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_export#path FileStorageExport#path}
*/
readonly path: string;
/**
* export_options block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#export_options FileStorageExport#export_options}
*/
readonly exportOptions?: FileStorageExportExportOptions[] | cdktf.IResolvable;
/**
* locks block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#locks FileStorageExport#locks}
*/
readonly locks?: FileStorageExportLocks[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#timeouts FileStorageExport#timeouts}
*/
readonly timeouts?: FileStorageExportTimeouts;
}
export interface FileStorageExportExportOptions {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#access FileStorageExport#access}
*/
readonly access?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#allowed_auth FileStorageExport#allowed_auth}
*/
readonly allowedAuth?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#anonymous_gid FileStorageExport#anonymous_gid}
*/
readonly anonymousGid?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#anonymous_uid FileStorageExport#anonymous_uid}
*/
readonly anonymousUid?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#identity_squash FileStorageExport#identity_squash}
*/
readonly identitySquash?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#is_anonymous_access_allowed FileStorageExport#is_anonymous_access_allowed}
*/
readonly isAnonymousAccessAllowed?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#require_privileged_source_port FileStorageExport#require_privileged_source_port}
*/
readonly requirePrivilegedSourcePort?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#source FileStorageExport#source}
*/
readonly source: string;
}
export declare function fileStorageExportExportOptionsToTerraform(struct?: FileStorageExportExportOptions | cdktf.IResolvable): any;
export declare function fileStorageExportExportOptionsToHclTerraform(struct?: FileStorageExportExportOptions | cdktf.IResolvable): any;
export declare class FileStorageExportExportOptionsOutputReference 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(): FileStorageExportExportOptions | cdktf.IResolvable | undefined;
set internalValue(value: FileStorageExportExportOptions | cdktf.IResolvable | undefined);
private _access?;
get access(): string;
set access(value: string);
resetAccess(): void;
get accessInput(): string | undefined;
private _allowedAuth?;
get allowedAuth(): string[];
set allowedAuth(value: string[]);
resetAllowedAuth(): void;
get allowedAuthInput(): string[] | undefined;
private _anonymousGid?;
get anonymousGid(): string;
set anonymousGid(value: string);
resetAnonymousGid(): void;
get anonymousGidInput(): string | undefined;
private _anonymousUid?;
get anonymousUid(): string;
set anonymousUid(value: string);
resetAnonymousUid(): void;
get anonymousUidInput(): string | undefined;
private _identitySquash?;
get identitySquash(): string;
set identitySquash(value: string);
resetIdentitySquash(): void;
get identitySquashInput(): string | undefined;
private _isAnonymousAccessAllowed?;
get isAnonymousAccessAllowed(): boolean | cdktf.IResolvable;
set isAnonymousAccessAllowed(value: boolean | cdktf.IResolvable);
resetIsAnonymousAccessAllowed(): void;
get isAnonymousAccessAllowedInput(): boolean | cdktf.IResolvable | undefined;
private _requirePrivilegedSourcePort?;
get requirePrivilegedSourcePort(): boolean | cdktf.IResolvable;
set requirePrivilegedSourcePort(value: boolean | cdktf.IResolvable);
resetRequirePrivilegedSourcePort(): void;
get requirePrivilegedSourcePortInput(): boolean | cdktf.IResolvable | undefined;
private _source?;
get source(): string;
set source(value: string);
get sourceInput(): string | undefined;
}
export declare class FileStorageExportExportOptionsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: FileStorageExportExportOptions[] | 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): FileStorageExportExportOptionsOutputReference;
}
export interface FileStorageExportLocks {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#message FileStorageExport#message}
*/
readonly message?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#related_resource_id FileStorageExport#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_export#time_created FileStorageExport#time_created}
*/
readonly timeCreated?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#type FileStorageExport#type}
*/
readonly type: string;
}
export declare function fileStorageExportLocksToTerraform(struct?: FileStorageExportLocks | cdktf.IResolvable): any;
export declare function fileStorageExportLocksToHclTerraform(struct?: FileStorageExportLocks | cdktf.IResolvable): any;
export declare class FileStorageExportLocksOutputReference 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(): FileStorageExportLocks | cdktf.IResolvable | undefined;
set internalValue(value: FileStorageExportLocks | 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 FileStorageExportLocksList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: FileStorageExportLocks[] | 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): FileStorageExportLocksOutputReference;
}
export interface FileStorageExportTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#create FileStorageExport#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#delete FileStorageExport#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#update FileStorageExport#update}
*/
readonly update?: string;
}
export declare function fileStorageExportTimeoutsToTerraform(struct?: FileStorageExportTimeouts | cdktf.IResolvable): any;
export declare function fileStorageExportTimeoutsToHclTerraform(struct?: FileStorageExportTimeouts | cdktf.IResolvable): any;
export declare class FileStorageExportTimeoutsOutputReference 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(): FileStorageExportTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: FileStorageExportTimeouts | 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_export oci_file_storage_export}
*/
export declare class FileStorageExport extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_file_storage_export";
/**
* Generates CDKTF code for importing a FileStorageExport 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 FileStorageExport to import
* @param importFromId The id of the existing FileStorageExport that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/file_storage_export#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the FileStorageExport 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_export oci_file_storage_export} 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 FileStorageExportConfig
*/
constructor(scope: Construct, id: string, config: FileStorageExportConfig);
private _exportSetId?;
get exportSetId(): string;
set exportSetId(value: string);
get exportSetIdInput(): string | undefined;
private _fileSystemId?;
get fileSystemId(): string;
set fileSystemId(value: string);
get fileSystemIdInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _isIdmapGroupsForSysAuth?;
get isIdmapGroupsForSysAuth(): boolean | cdktf.IResolvable;
set isIdmapGroupsForSysAuth(value: boolean | cdktf.IResolvable);
resetIsIdmapGroupsForSysAuth(): void;
get isIdmapGroupsForSysAuthInput(): boolean | cdktf.IResolvable | undefined;
private _isLockOverride?;
get isLockOverride(): boolean | cdktf.IResolvable;
set isLockOverride(value: boolean | cdktf.IResolvable);
resetIsLockOverride(): void;
get isLockOverrideInput(): boolean | cdktf.IResolvable | undefined;
private _path?;
get path(): string;
set path(value: string);
get pathInput(): string | undefined;
get state(): string;
get timeCreated(): string;
private _exportOptions;
get exportOptions(): FileStorageExportExportOptionsList;
putExportOptions(value: FileStorageExportExportOptions[] | cdktf.IResolvable): void;
resetExportOptions(): void;
get exportOptionsInput(): cdktf.IResolvable | FileStorageExportExportOptions[] | undefined;
private _locks;
get locks(): FileStorageExportLocksList;
putLocks(value: FileStorageExportLocks[] | cdktf.IResolvable): void;
resetLocks(): void;
get locksInput(): cdktf.IResolvable | FileStorageExportLocks[] | undefined;
private _timeouts;
get timeouts(): FileStorageExportTimeoutsOutputReference;
putTimeouts(value: FileStorageExportTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | FileStorageExportTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}