// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeCapacityReservationInstancesRequestPrivatePoolOptions extends $dara.Model { /** * @remarks * The ID of the capacity reservation. * * This parameter is required. * * @example * crp-bp67acfmxazb4**** */ id?: string; static names(): { [key: string]: string } { return { id: 'Id', }; } static types(): { [key: string]: any } { return { id: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DescribeCapacityReservationInstancesRequest extends $dara.Model { privatePoolOptions?: DescribeCapacityReservationInstancesRequestPrivatePoolOptions; /** * @remarks * The number of entries per page. * * * Valid values: 1 to 100. * * Default value: 10. * * @example * 10 */ maxResults?: number; /** * @remarks * The pagination token that is used in the next request to retrieve a new page of results. You must specify the token that is obtained from the previous query as the value of the NextToken parameter. * * @example * caeba0bbb2be03f84eb48b699f0a4883 */ nextToken?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The region ID of the capacity reservation. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; static names(): { [key: string]: string } { return { privatePoolOptions: 'PrivatePoolOptions', maxResults: 'MaxResults', nextToken: 'NextToken', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', regionId: 'RegionId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', }; } static types(): { [key: string]: any } { return { privatePoolOptions: DescribeCapacityReservationInstancesRequestPrivatePoolOptions, maxResults: 'number', nextToken: 'string', ownerAccount: 'string', ownerId: 'number', regionId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', }; } validate() { if(this.privatePoolOptions && typeof (this.privatePoolOptions as any).validate === 'function') { (this.privatePoolOptions as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }