/** * 配置中心 webconsole-iaas iaas-global */ export interface IaasGlobalConfig { /** * 是否查询所有的rg */ support_all_resource_standards?: boolean; /** * 是否默认计费模式为包年包月 */ default_monthly?: boolean; /** * 前端数据过滤 */ filter_config?: { /** * 过滤的数据 */ type: string; /** * 过滤方案集合 */ formula: { /** * 触发过滤的条件 */ factor: { /** * 触发的key(user.xxx | zone) */ key: string; /** * 匹配key的正则 */ RegExp: string; }; /** * 被过滤的目标 */ target: { /** * 判断的字段(如果被过滤数据非对象则不需要) */ key?: string; /** * 被过滤的值的集合 */ values: string[]; /** * 取反(非命中的字段会被过滤) */ not?: boolean; }; }[]; }[]; } /** * @deprecated 请使用 window.IAAS?.global * @returns */ export declare const useIaasGlobalConfig: () => { data: IaasGlobalConfig | undefined; };