import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataGcoreFileShareConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#id DataGcoreFileShare#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; /** * The name of the file share. It must be unique within the project and region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#name DataGcoreFileShare#name} */ readonly name: string; /** * Project ID, only one of project_id or project_name should be set * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#project_id DataGcoreFileShare#project_id} */ readonly projectId?: number; /** * Project name, only one of project_id or project_name should be set * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#project_name DataGcoreFileShare#project_name} */ readonly projectName?: string; /** * Region ID, only one of region_id or region_name should be set * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#region_id DataGcoreFileShare#region_id} */ readonly regionId?: number; /** * Region name, only one of region_id or region_name should be set * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#region_name DataGcoreFileShare#region_name} */ readonly regionName?: string; /** * share_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#share_settings DataGcoreFileShare#share_settings} */ readonly shareSettings?: DataGcoreFileShareShareSettings; } export interface DataGcoreFileShareShareSettings { /** * Allowed characters in file names. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#allowed_characters DataGcoreFileShare#allowed_characters} */ readonly allowedCharacters?: string; /** * Affects the maximum limit of file path component name length. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#path_length DataGcoreFileShare#path_length} */ readonly pathLength?: string; /** * Indicates if root squash is enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#root_squash DataGcoreFileShare#root_squash} */ readonly rootSquash?: boolean | cdktf.IResolvable; /** * The type of the file share (standard or vast). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#type_name DataGcoreFileShare#type_name} */ readonly typeName?: string; } export declare function dataGcoreFileShareShareSettingsToTerraform(struct?: DataGcoreFileShareShareSettingsOutputReference | DataGcoreFileShareShareSettings): any; export declare function dataGcoreFileShareShareSettingsToHclTerraform(struct?: DataGcoreFileShareShareSettingsOutputReference | DataGcoreFileShareShareSettings): any; export declare class DataGcoreFileShareShareSettingsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): DataGcoreFileShareShareSettings | undefined; set internalValue(value: DataGcoreFileShareShareSettings | undefined); private _allowedCharacters?; get allowedCharacters(): string; set allowedCharacters(value: string); resetAllowedCharacters(): void; get allowedCharactersInput(): string; private _pathLength?; get pathLength(): string; set pathLength(value: string); resetPathLength(): void; get pathLengthInput(): string; private _rootSquash?; get rootSquash(): boolean | cdktf.IResolvable; set rootSquash(value: boolean | cdktf.IResolvable); resetRootSquash(): void; get rootSquashInput(): any; private _typeName?; get typeName(): string; set typeName(value: string); resetTypeName(): void; get typeNameInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share gcore_file_share} */ export declare class DataGcoreFileShare extends cdktf.TerraformDataSource { static readonly tfResourceType = "gcore_file_share"; /** * Generates CDKTF code for importing a DataGcoreFileShare resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DataGcoreFileShare to import * @param importFromId The id of the existing DataGcoreFileShare that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataGcoreFileShare to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/file_share gcore_file_share} Data Source * * @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 DataGcoreFileShareConfig */ constructor(scope: Construct, id: string, config: DataGcoreFileShareConfig); get connectionPoint(): any; get createdAt(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; get networkId(): any; get networkName(): any; private _projectId?; get projectId(): number; set projectId(value: number); resetProjectId(): void; get projectIdInput(): number; private _projectName?; get projectName(): string; set projectName(value: string); resetProjectName(): void; get projectNameInput(): string; get protocol(): any; private _regionId?; get regionId(): number; set regionId(value: number); resetRegionId(): void; get regionIdInput(): number; private _regionName?; get regionName(): string; set regionName(value: string); resetRegionName(): void; get regionNameInput(): string; get shareNetworkName(): any; get size(): any; get status(): any; get subnetId(): any; get subnetName(): any; private _tags; get tags(): any; get typeName(): any; private _shareSettings; get shareSettings(): DataGcoreFileShareShareSettingsOutputReference; putShareSettings(value: DataGcoreFileShareShareSettings): void; resetShareSettings(): void; get shareSettingsInput(): DataGcoreFileShareShareSettings; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }