// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DeleteClusterShrinkRequest extends $dara.Model { /** * @remarks * The deletion options for cluster-associated resources. */ deleteOptionsShrink?: string; /** * @remarks * Specifies whether to retain SLB resources. Valid values: * * - `true`: retains the created SLB resources. * - `false`: does not retain the created SLB resources. * * Default value: `false`. * Use `SLB` in `delete_options` to manage this setting. * * @example * false * * @deprecated */ keepSlb?: boolean; /** * @remarks * Specifies whether to retain all resources. If this parameter is set to `true`, `retain_resources` is ignored, and cloud resources created through the cluster that are queried by the `DescribeClusterResources` operation are retained. If this parameter is set to `false`, resources that are retained by default in `delete_options` are still retained. To delete these resources, set `delete_mode` to `delete` in `delete_options`. * * - `true`: retains all resources, including all cloud resources created through the cluster. * - `false`: does not retain all resources, except resources defined as retained by default in `delete_options`. For example, `ALB` resources are still retained when this parameter is set to `false`. * * Default value: `false`. * * @example * false */ retainAllResources?: boolean; /** * @remarks * The resource list. To retain resources when you delete a cluster, specify the IDs of the resources to retain. */ retainResourcesShrink?: string; static names(): { [key: string]: string } { return { deleteOptionsShrink: 'delete_options', keepSlb: 'keep_slb', retainAllResources: 'retain_all_resources', retainResourcesShrink: 'retain_resources', }; } static types(): { [key: string]: any } { return { deleteOptionsShrink: 'string', keepSlb: 'boolean', retainAllResources: 'boolean', retainResourcesShrink: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }