import * as $dara from '@darabonba/typescript'; export declare class DescribeUserPermissionResponseBody extends $dara.Model { /** * @remarks * 集群访问配置,格式为: * * - 当是集群维度授权时,格式为:`{cluster_id}`。 * - 当是命名空间维度授权时,格式为:`{cluster_id}/{namespace}`。 * - 当是所有集群授权时,值固定为:`all-clusters`。 * * @example * c1b542**** */ resourceId?: string; /** * @remarks * 授权类型,取值: * * - `cluster`:集群维度。 * - `namespace`:命名空间维度。 * - `console`:所有集群维度的授权。 * * @example * cluster */ resourceType?: string; /** * @remarks * 自定义角色名称,当授权自定义角色时,该字段为指定的自定义集群管理角色名称。 * * @example * terway-pod-reader */ roleName?: string; /** * @remarks * 预置的角色类型,取值: * * - `admin`:管理员。 * - `ops`:运维人员。 * - `dev`:开发人员。 * - `restricted`:受限用户。 * - `custom`:使用自定义的集群管理角色。 * * @example * admin */ roleType?: string; /** * @remarks * 是否为集群创建者的授权,取值: * * - `0`:代表不是集群创建者的授权记录。 * - `1`:代表该授权记录为集群创建者的管理员权限。 * * @example * 1 */ isOwner?: number; /** * @remarks * 是否为RAM角色授权,取值: * * - `0`:代表当前记录不是RAM角色授权。 * - `1`:代表当前记录是RAM角色授权。 * * @example * 1 */ isRamRole?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeUserPermissionResponse extends $dara.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: DescribeUserPermissionResponseBody[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }