import * as $dara from '@darabonba/typescript'; export declare class DescribeClusterResourcesResponseBodyDependencies extends $dara.Model { /** * @remarks * 依赖资源的集群ID。 * * @example * cc5ee03f63e43425cb6f71f1a1756**** */ clusterId?: string; /** * @remarks * 依赖资源类型。 * * @example * ALIYUN::VPC::NatGateway */ resourceType?: string; /** * @remarks * 依赖资源实例ID。 * * @example * ngw-wz9sphwk42sdtjixo**** */ instanceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeClusterResourcesResponseBodyAssociatedObject extends $dara.Model { /** * @remarks * k8s对象类型。 * * @example * Service */ kind?: string; /** * @remarks * k8s对象命名空间。 * * @example * kube-system */ namespace?: string; /** * @remarks * k8s对象名称。 * * @example * nginx-ingress-lb */ name?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeClusterResourcesResponseBodyDeleteBehavior extends $dara.Model { /** * @remarks * 删除集群时是否默认删除该资源。 * * - true:默认删除该资源。 * * - fasle:不删除该资源。 * * @example * false */ deleteByDefault?: boolean; /** * @remarks * `delete_by_default`的默认行为是否可以更改。 * * - true:可以更改。 * * - false:不支持更改。 * * @example * false */ changeable?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeClusterResourcesResponseBody extends $dara.Model { /** * @remarks * 集群ID。 * * @example * cb95aa626a47740afbf6aa099b65**** */ clusterId?: string; /** * @remarks * 资源创建时间。 * * @example * 2023-08-15T14:34:42+08:00 */ created?: string; /** * @remarks * 资源ID。 * * @example * ngw-wz9sphwk42sdtjixo**** */ instanceId?: string; /** * @remarks * 资源信息。关于资源的源信息,请参见[ListStackResources](https://help.aliyun.com/document_detail/133836.html)。 * * @example * {\\"Id\\":\\"KubernetesWorkerRole\\",\\"Name\\":\\"KubernetesWorkerRole\\",\\"Type\\":\\"ALIYUN::RAM::Role\\",\\"Status\\":\\"CREATE_COMPLETE\\",\\"StatusReason\\":\\"state changed\\",\\"Updated\\":\\"2025-04-10T06:21:17\\",\\"PhysicalId\\":\\"KubernetesWorkerRole-7e611193-225f-40f6-bc3c-ea8633******\\"} */ resourceInfo?: string; /** * @remarks * 资源类型。 * * @example * ALIYUN::VPC::NatGateway */ resourceType?: string; /** * @remarks * 资源状态。可选值: * * - `CREATE_COMPLETE`:成功创建资源。 * - `CREATE_FAILED`:创建资源失败。 * - `CREATE_IN_PROGRESS`:创建资源中。 * - `DELETE_FAILED`:删除资源失败。 * - `DELETE_IN_PROGRESS`:删除资源中。 * - `ROLLBACK_COMPLETE`:成功回滚。 * - `ROLLBACK_FAILED`:回滚失败。 * - `ROLLBACK_IN_PROGRESS`:回滚中。 * * @example * CREATE_COMPLETE */ state?: string; /** * @remarks * 资源是否由ACK创建: * * - 1:表示由ACK创建。 * - 0:表示该资源为已有资源。 * * @example * 1 */ autoCreate?: number; /** * @remarks * 依赖资源列表。 */ dependencies?: DescribeClusterResourcesResponseBodyDependencies[]; /** * @remarks * 资源关联的k8s对象。 */ associatedObject?: DescribeClusterResourcesResponseBodyAssociatedObject; /** * @remarks * 删除集群时该资源的删除行为。 */ deleteBehavior?: DescribeClusterResourcesResponseBodyDeleteBehavior; /** * @remarks * 该资源创建者的类型。可能的取值: * - user:由用户自行创建; * - system:由ACK管控系统创建; * - addon:由集群组件创建。 * * @example * addon */ creatorType?: string; /** * @remarks * 资源的其他信息。 * * @example * { "type": "SLS_Data" } */ extraInfo?: { [key: string]: any; }; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeClusterResourcesResponse extends $dara.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: DescribeClusterResourcesResponseBody[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }