import * as $dara from '@darabonba/typescript'; export declare class DescribeInstanceHistoryEventsRequestEventPublishTime extends $dara.Model { /** * @remarks * The end of the time range in which to query published system events. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. * * @example * 2017-12-01T06:32:31Z */ end?: string; /** * @remarks * The beginning of the time range in which to query published system events. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. * * @example * 2017-11-30T06:32:31Z */ start?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeInstanceHistoryEventsRequestNotBefore extends $dara.Model { /** * @remarks * The latest scheduled end time for the system event. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. * * @example * 2017-12-01T06:32:31Z */ end?: string; /** * @remarks * The earliest scheduled start time for the system event. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. * * @example * 2017-11-30T06:32:31Z */ start?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeInstanceHistoryEventsRequestTag extends $dara.Model { /** * @remarks * The key of tag N of the resource. * * @example * TestKey */ key?: string; /** * @remarks * The value of tag N of the resource. * * @example * TestValue */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeInstanceHistoryEventsRequest extends $dara.Model { eventPublishTime?: DescribeInstanceHistoryEventsRequestEventPublishTime; notBefore?: DescribeInstanceHistoryEventsRequestNotBefore; /** * @remarks * The lifecycle state of the system event. This parameter takes effect only when InstanceEventCycleStatus.N is not specified. Valid values: * * * Scheduled * * Avoided * * Executing * * Executed * * Canceled * * Failed * * Inquiring * * @example * Executed */ eventCycleStatus?: string; /** * @remarks * The ID of system event N. Valid values of N: 1 to 100. You can repeat this parameter to pass multiple values. * * @example * e-uf64yvznlao4jl2c**** */ eventId?: string[]; /** * @remarks * The type of the system event. This parameter takes effect only when InstanceEventType.N is not specified. Valid values: * * * SystemMaintenance.Reboot: The instance is restarted due to system maintenance. * * SystemMaintenance.Redeploy: The instance is redeployed due to system maintenance. * * SystemFailure.Reboot: The instance is restarted due to a system error. * * SystemFailure.Redeploy: The instance is redeployed due to a system error. * * SystemFailure.Delete: The instance is released due to an instance creation failure. * * InstanceFailure.Reboot: The instance is restarted due to an instance error. * * InstanceExpiration.Stop: The subscription instance is stopped due to expiration. * * InstanceExpiration.Delete: The subscription instance is released due to expiration. * * AccountUnbalanced.Stop: The pay-as-you-go instance is stopped due to an overdue payment. * * AccountUnbalanced.Delete: The pay-as-you-go instance is released due to an overdue payment. * * > For more information, see [Overview](https://help.aliyun.com/document_detail/66574.html). The values of this parameter are applicable only to instance system events, but not to disk system events. * * @example * SystemMaintenance.Reboot */ eventType?: string; /** * @remarks * > This parameter is not publicly available. * * @example * null */ impactLevel?: string; /** * @remarks * The lifecycle state of system event N. Valid values of N: 1 to 7. You can repeat this parameter to pass multiple values. Valid values: * * * Scheduled * * Avoided * * Executing * * Executed * * Canceled * * Failed * * Inquiring * * @example * Executed */ instanceEventCycleStatus?: string[]; /** * @remarks * The type of system event N. Valid values of N: 1 to 30. You can repeat this parameter to pass multiple values. Valid values: * * * SystemMaintenance.Reboot: The instance is restarted due to system maintenance. * * SystemMaintenance.Redeploy: The instance is redeployed due to system maintenance. * * SystemFailure.Reboot: The instance is restarted due to a system error. * * SystemFailure.Redeploy: The instance is redeployed due to a system error. * * SystemFailure.Delete: The instance is released due to an instance creation failure. * * InstanceFailure.Reboot: The instance is restarted due to an instance error. * * InstanceExpiration.Stop: The subscription instance is stopped due to expiration. * * InstanceExpiration.Delete: The subscription instance is released due to expiration. * * AccountUnbalanced.Stop: The pay-as-you-go instance is stopped due to an overdue payment. * * AccountUnbalanced.Delete: The pay-as-you-go instance is released due to an overdue payment. * * > For more information, see [Overview](https://help.aliyun.com/document_detail/66574.html). The values of this parameter are applicable only to instance system events, but not to disk system events. * * @example * SystemMaintenance.Reboot */ instanceEventType?: string[]; /** * @remarks * The ID of the instance. If this parameter is not specified, the system events of all instances in the specified region are queried. * * @example * i-uf678mass4zvr9n1**** */ instanceId?: string; /** * @remarks * The number of entries to return on each page. Valid values: 10 to 100. * * Default values: * * * If you set a value greater than 0 and less than 10, the default value is 10. * * If you set this parameter to a value that is greater than 100, the default value is 100. * * @example * 100 */ 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 NextToken. * * @example * f1c9fa9de5752*** */ nextToken?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * > This parameter is deprecated. We recommend that you specify MaxResults or NextToken for a paged query. * * @example * 1 */ pageNumber?: number; /** * @remarks * > This parameter is deprecated. We recommend that you specify MaxResults or NextToken for a paged query. * * @example * 10 */ pageSize?: number; /** * @remarks * The region ID of the resource. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The ID of the resource group to which the resource belongs. * * @example * rg-bp67acfmxazb4p**** */ resourceGroupId?: string; /** * @remarks * The ID of resource N. Valid values of N: 1 to 100. You can repeat this parameter to pass multiple values. Valid values: * * * When `ResourceType` is set to instance, ResourceId.N specifies the ID of instance N. * * When `ResourceType` is set to ddh, ResourceId.N specifies the ID of dedicated host N. * * When `ResourceType` is set to managedhost, ResourceId.N specifies the ID of physical machine N from a smart hosting pool. * * If this parameter is not specified, the system events of all resources of the type specified by `ResourceType` in the region specified by `RegionId` are queried. * * > We recommend that you use `ResourceId.N` to specify one or more resource IDs. If you specify both `ResourceId.N` and `InstanceId`, `ResourceId.N` takes precedence by default. * * @example * i-uf678mass4zvr9n1**** */ resourceId?: string[]; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * The type of the resource. Valid values: * * * instance: ECS instance * * ddh: dedicated host * * managehost: physical machine in a smart hosting pool * * Default value: instance. * * @example * instance */ resourceType?: string; /** * @remarks * The list of tags. */ tag?: DescribeInstanceHistoryEventsRequestTag[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }