import * as $dara from '@darabonba/typescript'; export declare class ApplyScenarioRequest extends $dara.Model { /** * @remarks * The ID of the application. * * This parameter is required. * * @example * b590lhguqs@28f515462f****** */ appId?: string; /** * @remarks * The configuration of the business monitoring job. The value is a JSON string. For more information about this parameter, see the following additional information about the **Config** parameter. * * This parameter is required. * * @example * {"rpcType":"0","nameMatchType":"EQUALS","service":"/api/pop/test","operator":"and","filterItems":[{"type":"HttpHeaders","key":"uid","opt":"==","value":"123456789"}],"group":{"type":"HttpRequestParameters","key":"name"}} */ config?: { [key: string]: any; }; /** * @remarks * The name of the business monitoring job. * * This parameter is required. * * @example * ScenarioName */ name?: string; /** * @remarks * The ID of the region. * * @example * cn-zhangjaikou */ regionId?: string; /** * @remarks * The scenario where you want to use the business monitoring job. Valid values: * * * `USER-DEFINED`: user-defined. This is the default value. * * `EDAS-ROLLOUT`: application release in Enterprise Distributed Application Service (EDAS) * * `OAM-ROLLOUT`: application release based on Open Application Model (OAM) * * `MSC-CANARY`: canary release based on Microservice Engine (MSE) * * @example * USER-DEFINED */ scenario?: string; /** * @remarks * The code of the business monitoring job. This parameter is not required when you create a business monitoring job. However, this parameter is required when you update a business monitoring job. * * @example * a9f8**** */ sign?: string; /** * @remarks * Specifies whether to record business parameters to the trace marked with the coloring sign. * * * `true` * * `false`: This is the default value. * * @example * false */ snDump?: boolean; /** * @remarks * Specifies whether traffic in the trace marked with the coloring sign is all collected. * * * `true` * * `false`: This is the default value. * * @example * false */ snForce?: boolean; /** * @remarks * Specifies whether to count traffic based on the coloring sign. * * * `true` * * `false`: This is the default value. * * @example * false */ snStat?: boolean; /** * @remarks * Specifies whether the coloring sign is transparently passed down to downstream application nodes in the trace. * * * `true` * * `false`: This is the default value. * * @example * false */ snTransfer?: boolean; /** * @remarks * Specifies whether the operation is an update operation. * * * `true`: update * * `false`: insert * * This parameter is required. * * @example * false */ updateOption?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }