// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeDiagnosticMetricsRequest extends $dara.Model { /** * @remarks * The number of entries per page. Valid values: 1 to 100. * * Default value: * * * If this parameter is left empty, the default value is 10. * * If you set this parameter to a value that is greater than 100, the default value is 100. * * @example * 10 */ maxResults?: number; /** * @remarks * The ID of diagnostic metrics. */ metricIds?: string[]; /** * @remarks * The pagination token that is used in the request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`. * * @example * caeba0bbb2be03f84eb48b699f0a4883 */ nextToken?: string; /** * @remarks * The region ID pf the diagnostic metric. 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; /** * @remarks * The resource type supported by the diagnostic metric. * * @example * instance */ resourceType?: string; static names(): { [key: string]: string } { return { maxResults: 'MaxResults', metricIds: 'MetricIds', nextToken: 'NextToken', regionId: 'RegionId', resourceType: 'ResourceType', }; } static types(): { [key: string]: any } { return { maxResults: 'number', metricIds: { 'type': 'array', 'itemType': 'string' }, nextToken: 'string', regionId: 'string', resourceType: 'string', }; } validate() { if(Array.isArray(this.metricIds)) { $dara.Model.validateArray(this.metricIds); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }