// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeInstanceAutoRenewAttributeRequest extends $dara.Model { /** * @remarks * The instance IDs. You can specify up to 100 subscription instances at a time. Separate multiple instance IDs with commas. * * > You must specify either `InstanceId` or `RenewalStatus`. * * @example * i-bp18x3z4hc7bixhx****,i-bp1g6zv0ce8oghu7**** */ instanceId?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The number of the page to return. * * Minimum value: 1. * * Default value: 1. * * @example * 1 */ pageNumber?: string; /** * @remarks * The number of entries per page. * * Maximum value: 100. * * Default value: 10. * * @example * 10 */ pageSize?: string; /** * @remarks * The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to view the latest list of Alibaba Cloud regions. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The auto-renewal status of the instance. Valid values: * * - AutoRenewal: Auto-renewal is enabled. * * - Normal: Auto-renewal is disabled. * * - NotRenewal: The instance will not be renewed. The system does not send expiration reminders but sends a non-renewal reminder three days before the expiration date. To renew an ECS instance with this status, you must first call [ModifyInstanceAutoRenewAttribute](https://help.aliyun.com/document_detail/52843.html) to change its status to `Normal`. You can then manually renew the instance or enable auto-renewal. * * @example * AutoRenewal */ renewalStatus?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; static names(): { [key: string]: string } { return { instanceId: 'InstanceId', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', pageNumber: 'PageNumber', pageSize: 'PageSize', regionId: 'RegionId', renewalStatus: 'RenewalStatus', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', }; } static types(): { [key: string]: any } { return { instanceId: 'string', ownerAccount: 'string', ownerId: 'number', pageNumber: 'string', pageSize: 'string', regionId: 'string', renewalStatus: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }