// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DeleteLoadBalancerRequest extends $dara.Model { /** * @remarks * The client token used to ensure the idempotence of the request. * * You can generate a token by using your client. The token must be unique across requests and contain only ASCII characters. * * @example * 5A2CFF0E-5718-45B5-9D4D-70B3FF3898 */ clientToken?: string; /** * @remarks * Specifies whether to perform a dry run. Valid values: * * - **true**: Performs a dry run to check the request\\"s validity without deleting the Application Load Balancer instance. The system checks the required parameters, request format, and service limits. If the request fails the dry run, an error is returned. If the request passes the dry run, the `DryRunOperation` error code is returned. * * - **false** (default): sends a normal request. After the request passes the check, an `HTTP 2xx` status code is returned and the instance is deleted. * * @example * true */ dryRun?: boolean; /** * @remarks * The ID of the Application Load Balancer instance. * * This parameter is required. * * @example * alb-o9ulmq5hgn68jk**** */ loadBalancerId?: string; retainResourceType?: string[]; static names(): { [key: string]: string } { return { clientToken: 'ClientToken', dryRun: 'DryRun', loadBalancerId: 'LoadBalancerId', retainResourceType: 'RetainResourceType', }; } static types(): { [key: string]: any } { return { clientToken: 'string', dryRun: 'boolean', loadBalancerId: 'string', retainResourceType: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.retainResourceType)) { $dara.Model.validateArray(this.retainResourceType); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }