import * as $dara from '@darabonba/typescript'; export declare class CreateOrUpdateSilencePolicyResponseBodySilencePolicyMatchingRulesMatchingConditions extends $dara.Model { /** * @remarks * The key of the matching condition. * * @example * altertname */ key?: string; /** * @remarks * The logical operator of the matching condition. Valid values: * * * `eq`: equal to * * `neq`: not equal to * * `in`: contains * * `nin`: does not contain * * `re`: regular expression match * * `nre`: regular expression mismatch * * @example * eq */ operator?: string; /** * @remarks * The value of the matching condition. * * @example * test */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateOrUpdateSilencePolicyResponseBodySilencePolicyMatchingRules extends $dara.Model { /** * @remarks * A list of matching conditions. */ matchingConditions?: CreateOrUpdateSilencePolicyResponseBodySilencePolicyMatchingRulesMatchingConditions[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateOrUpdateSilencePolicyResponseBodySilencePolicy extends $dara.Model { /** * @remarks * The effective type. Valid values: PERMANENT: The policy is effective permanently. CYCLE_EFFECT: The policy is effective cyclically. CUSTOM_TIME: The policy is effective during a custom time period. * * @example * PERMANENT */ effectiveTimeType?: string; /** * @remarks * The ID of the silence policy. * * @example * 1234 */ id?: number; /** * @remarks * A list of matching rules. */ matchingRules?: CreateOrUpdateSilencePolicyResponseBodySilencePolicyMatchingRules[]; /** * @remarks * The name of the silence policy. * * @example * silencepolicy_test */ name?: string; /** * @remarks * Specifies whether to enable the silence policy. Valid values: enable and disable. * * @example * enable */ state?: string; /** * @remarks * Effective period. Valid values: DAY: daily WEEK: weekly * * @example * WEEK */ timePeriod?: string; /** * @remarks * The time period during which the silence policy is effective. * * @example * [{startWeek: "1", startTime: "00:00", endTime: "11:59", endWeek:"7"}] */ timeSlots?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateOrUpdateSilencePolicyResponseBody extends $dara.Model { /** * @remarks * The ID of the request. * * @example * A5EC8221-08F2-4C95-9AF1-49FD998C**** */ requestId?: string; /** * @remarks * The silence policy. */ silencePolicy?: CreateOrUpdateSilencePolicyResponseBodySilencePolicy; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }