import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ChdfsAccessRuleConfig extends cdktf.TerraformMetaArguments { /** * access group id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_access_rule#access_group_id ChdfsAccessRule#access_group_id} */ readonly accessGroupId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_access_rule#id ChdfsAccessRule#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; /** * access_rule block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_access_rule#access_rule ChdfsAccessRule#access_rule} */ readonly accessRule: ChdfsAccessRuleAccessRule; } export interface ChdfsAccessRuleAccessRule { /** * rule access mode, 1: read only, 2: read & wirte. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_access_rule#access_mode ChdfsAccessRule#access_mode} */ readonly accessMode?: number; /** * rule address, IP OR IP SEG. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_access_rule#address ChdfsAccessRule#address} */ readonly address?: string; /** * rule priority, range 1 - 100, value less higher priority. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_access_rule#priority ChdfsAccessRule#priority} */ readonly priority?: number; } export declare function chdfsAccessRuleAccessRuleToTerraform(struct?: ChdfsAccessRuleAccessRuleOutputReference | ChdfsAccessRuleAccessRule): any; export declare function chdfsAccessRuleAccessRuleToHclTerraform(struct?: ChdfsAccessRuleAccessRuleOutputReference | ChdfsAccessRuleAccessRule): any; export declare class ChdfsAccessRuleAccessRuleOutputReference 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(): ChdfsAccessRuleAccessRule | undefined; set internalValue(value: ChdfsAccessRuleAccessRule | undefined); private _accessMode?; get accessMode(): number; set accessMode(value: number); resetAccessMode(): void; get accessModeInput(): number; get accessRuleId(): any; private _address?; get address(): string; set address(value: string); resetAddress(): void; get addressInput(): string; get createTime(): any; private _priority?; get priority(): number; set priority(value: number); resetPriority(): void; get priorityInput(): number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_access_rule tencentcloud_chdfs_access_rule} */ export declare class ChdfsAccessRule extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_chdfs_access_rule"; /** * Generates CDKTF code for importing a ChdfsAccessRule 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 ChdfsAccessRule to import * @param importFromId The id of the existing ChdfsAccessRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_access_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ChdfsAccessRule 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/tencentcloudstack/tencentcloud/1.82.49/docs/resources/chdfs_access_rule tencentcloud_chdfs_access_rule} 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 ChdfsAccessRuleConfig */ constructor(scope: Construct, id: string, config: ChdfsAccessRuleConfig); private _accessGroupId?; get accessGroupId(): string; set accessGroupId(value: string); get accessGroupIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _accessRule; get accessRule(): ChdfsAccessRuleAccessRuleOutputReference; putAccessRule(value: ChdfsAccessRuleAccessRule): void; get accessRuleInput(): ChdfsAccessRuleAccessRule; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }