import * as $dara from '@darabonba/typescript'; export declare class CreateDeliveryTaskRequestSinkList extends $dara.Model { /** * @remarks * The detailed configuration of the delivery destination. The meanings of the key and value vary based on the sinkType. For more information, see the following descriptions. */ sinkConfigs?: { [key: string]: string; }; /** * @remarks * The type of the delivery destination. * * This parameter is required. * * @example * Prometheus */ sinkType?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateDeliveryTaskRequestTags extends $dara.Model { /** * @remarks * The key of the resource tag. * * @example * _cms_workspace */ key?: string; /** * @remarks * The value of the resource tag. * * @example * test */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateDeliveryTaskRequest extends $dara.Model { /** * @remarks * The ID of the data source, which is the ID of the Prometheus instance. * * This parameter is required. * * @example * rw-xxxxxx */ dataSourceId?: string; /** * @remarks * The additional labels attached to all delivered metrics. The key is the label name, and the value is the label value. */ externalLabels?: { [key: string]: string; }; /** * @remarks * The metric filtering conditions. This parameter is used together with labelFiltersType. The key is the metric label name, and the value is the match value. */ labelFilters?: { [key: string]: string; }; /** * @remarks * The metric filtering mode. * * @example * Allow */ labelFiltersType?: string; /** * @remarks * The ID of the resource group. * * @example * rg-ae******ey */ resourceGroupId?: string; /** * @remarks * The list of delivery destinations. * * This parameter is required. */ sinkList?: CreateDeliveryTaskRequestSinkList[]; /** * @remarks * The tags of the resource. */ tags?: CreateDeliveryTaskRequestTags[]; /** * @remarks * The description of the task. * * @example * my delivery task */ taskDescription?: string; /** * @remarks * The name of the task. The name can contain Chinese characters, English letters, underscores (_), and hyphens (-). * * This parameter is required. * * @example * my-task */ taskName?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }