// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListPrometheusInstanceByTagAndResourceGroupIdRequestTag extends $dara.Model { /** * @remarks * The key of the tag. * * @example * fpx-tag */ key?: string; /** * @remarks * The value of the tag. * * @example * fvt-tag-value */ value?: string; static names(): { [key: string]: string } { return { key: 'Key', value: 'Value', }; } static types(): { [key: string]: any } { return { key: 'string', value: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListPrometheusInstanceByTagAndResourceGroupIdRequest extends $dara.Model { /** * @remarks * The region ID of the Prometheus instance. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The ID of the resource group. * * @example * rg-acfmxyexli2**** */ resourceGroupId?: string; /** * @remarks * The tags. */ tag?: ListPrometheusInstanceByTagAndResourceGroupIdRequestTag[]; static names(): { [key: string]: string } { return { regionId: 'RegionId', resourceGroupId: 'ResourceGroupId', tag: 'Tag', }; } static types(): { [key: string]: any } { return { regionId: 'string', resourceGroupId: 'string', tag: { 'type': 'array', 'itemType': ListPrometheusInstanceByTagAndResourceGroupIdRequestTag }, }; } validate() { if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }