// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeDiskMonitorDataRequest extends $dara.Model { /** * @remarks * The ID of the disk to query. * * This parameter is required. * * @example * d-bp1bq5g3dxxo1x4o**** */ diskId?: string; /** * @remarks * The end time of the data. 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. If the value of seconds (ss) is not 00, the end time is automatically set to the beginning of the next minute. * * This parameter is required. * * @example * 2014-07-23T12:09:00Z */ endTime?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The granularity of the data. Unit: seconds. Valid values: * * - 60. * - 600. * - 3600. * * Default value: 60. * * > The value of (EndTime – StartTime) / Period must be less than or equal to 400. A maximum of 400 data entries can be returned at a time. * * @example * 60 */ period?: number; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * The start time of the data. 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. If the value of seconds (ss) is not 00, the start time is automatically set to the beginning of the next minute. * * > You can query the monitoring information of up to the last 30 days. The `StartTime` parameter cannot be more than 30 days earlier than the current time. * * This parameter is required. * * @example * 2014-07-23T12:07:00Z */ startTime?: string; static names(): { [key: string]: string } { return { diskId: 'DiskId', endTime: 'EndTime', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', period: 'Period', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', startTime: 'StartTime', }; } static types(): { [key: string]: any } { return { diskId: 'string', endTime: 'string', ownerAccount: 'string', ownerId: 'number', period: 'number', resourceOwnerAccount: 'string', resourceOwnerId: 'number', startTime: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }