import * as $dara from '@darabonba/typescript'; export declare class QuerySavingsPlansDiscountResponseBodyDataItems extends $dara.Model { /** * @remarks * The details of the service. * * @example * Pay-as-you-go Elastic Compute Service (ECS) instance */ commodityName?: string; /** * @remarks * The contracted discount. * * @example * 0.85 */ contractDiscountRate?: string; /** * @remarks * The cycle based on which queries were performed. * * @example * 1:Year */ cycle?: string; /** * @remarks * The discount provided by the official website. * * @example * 0.85 */ discountRate?: string; /** * @remarks * The name of the pricing module. * * @example * Instance */ moduleName?: string; /** * @remarks * The payment mode. Valid values: * * * total: all upfront * * half: half upfront * * zero: no upfront * * @example * total */ payMode?: string; /** * @remarks * The ID of the region. * * @example * cn-zhangjiakou-na62-a01 */ region?: string; /** * @remarks * The region ID of the instance. You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/26231.html) operation to query the region ID of the instance. * * @example * cn-hangzhou */ regionCode?: string; /** * @remarks * The type of the resource. * * @example * ecs.g6 */ spec?: string; /** * @remarks * The type of the savings plan. * * @example * universal */ spnType?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class QuerySavingsPlansDiscountResponseBodyData extends $dara.Model { /** * @remarks * The IP address of the request. * * @example * 100.104.180.109 */ hostId?: string; /** * @remarks * The information about the discounts on saving plans. */ items?: QuerySavingsPlansDiscountResponseBodyDataItems[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class QuerySavingsPlansDiscountResponseBody extends $dara.Model { /** * @remarks * The error code returned. * * @example * PARAM_ERROR */ code?: string; /** * @remarks * data */ data?: QuerySavingsPlansDiscountResponseBodyData; /** * @remarks * The error message returned. * * @example * This API is not applicable for caller. */ message?: string; /** * @remarks * The ID of the request. * * @example * 6000EE23-274B-4E07-A697-FF2E999520A4 */ requestId?: string; /** * @remarks * Indicates whether the request is successful. * * @example * true */ success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }