// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListDashboardsRequest extends $dara.Model { /** * @remarks * The ID of the ACK cluster. * * @example * cc7a37ee31aea4ed1a059eff8034b**** */ clusterId?: string; /** * @remarks * Valid values: ACK, ASK, cloud-product-prometheus, and Node. You can query the dashboards of a virtual cluster by specifying the cluster type. For InfluxDB, set this parameter to `cloud-product-prometheus`. * * @example * Node */ clusterType?: string; /** * @remarks * The unique names of the dashboards. You can query dashboards by specifying their names. The **dashboard title** can be changed whereas the **dashboard name** cannot. You can specify multiple names and separate them with commas (,), for example, `k8s-event,k8s-overview`. A dashboard may have multiple versions. If you want to specify a version, you can add version information after the name, for example, `k8s-event:v1,k8s-overview:latest`. * * @example * k8s-node-overview */ dashboardName?: string; /** * @remarks * The language of the returned Grafana dashboard. Valid values: en and zh. Default value: en. * * @example * en */ language?: string; /** * @remarks * The cloud service code. This parameter is required if you set the ClusterType parameter to `cloud-product-prometheus`. The following cloud services are available: Serverless App Engine, Microservices Engine, Message Queue for Apache RocketMQ, Lindorm, Message Queue for Apache Kafka, ApsaraDB for ClickHouse, Data Lake Analytics, Message Queue for RabbitMQ, ApsaraDB for MongoDB, Time Series Database (TSDB) for InfluxDB, MSE Cloud-native Gateway, Grafana Service, SchedulerX, Global Transaction Service, Enterprise Distributed Application Service, Machine Learning Platform for AI - Elastic Algorithm Service (EAS), Application High Availability Service, and Performance Testing. * * @example * xxxx */ product?: string; /** * @remarks * Specifies whether to create or query a virtual cluster. This parameter provides backward compatibility. * * @example * false */ recreateSwitch?: boolean; /** * @remarks * The region ID. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The dashboard title. The dashboard title can be changed. We recommend that you specify the **DashboardName** parameter. * * @example * ApiServer */ title?: string; static names(): { [key: string]: string } { return { clusterId: 'ClusterId', clusterType: 'ClusterType', dashboardName: 'DashboardName', language: 'Language', product: 'Product', recreateSwitch: 'RecreateSwitch', regionId: 'RegionId', title: 'Title', }; } static types(): { [key: string]: any } { return { clusterId: 'string', clusterType: 'string', dashboardName: 'string', language: 'string', product: 'string', recreateSwitch: 'boolean', regionId: 'string', title: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }