import * as $dara from '@darabonba/typescript'; export declare class CreateRulesRequestRulesRuleActionsCorsConfig extends $dara.Model { /** * @remarks * Specifies whether to allow credentials. Valid values: * * - **on**: Allowed. * - **off**: Not allowed. * * @example * on */ allowCredentials?: string; /** * @remarks * The list of headers allowed for CORS requests. */ allowHeaders?: string[]; /** * @remarks * The HTTP methods allowed for CORS requests. */ allowMethods?: string[]; /** * @remarks * The allowed origins. */ allowOrigin?: string[]; /** * @remarks * The list of headers that can be exposed. */ exposeHeaders?: string[]; /** * @remarks * The maximum cache time of preflight requests in the browser. Unit: seconds. * * Valid values: **-1** to **172800**. * * @example * 600 */ maxAge?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsFixedResponseConfig extends $dara.Model { /** * @remarks * The fixed content to return. The content can be up to 1 KB in size and can contain only ASCII characters. * * @example * test */ content?: string; /** * @remarks * The format of the fixed content to return. * * Valid values: **text/plain**, **text/css**, **text/html**, **application/javascript**, and **application/json**. * * @example * text/plain */ contentType?: string; /** * @remarks * The HTTP response code to return. Only **2xx**, **4xx**, and **5xx** numeric strings are supported, where **x** is any digit. * * @example * 200 */ httpCode?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession extends $dara.Model { /** * @remarks * Specifies whether to enable session persistence. Valid values: * * - **true**: Enabled. * - **false** (default): Disabled. * * @example * false */ enabled?: boolean; /** * @remarks * The timeout period. Unit: seconds. Valid values: **1** to **86400**. Default value: **1000**. * * @example * 30 */ timeout?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupTuples extends $dara.Model { /** * @remarks * The ID of the server group. * * @example * sgp-ffm94ovy7lqw****** */ serverGroupId?: string; /** * @remarks * The weight. A larger value specifies a higher weight, which means more requests are forwarded to the server group. Valid values: **0** to **100**. * * - If only one destination server group is specified, the default weight is **100** when no weight is specified. * * - If more than one destination server group is specified, you must specify the weight value. * * @example * 100 */ weight?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsForwardGroupConfig extends $dara.Model { /** * @remarks * The session persistence configuration between server groups. */ serverGroupStickySession?: CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupStickySession; /** * @remarks * The list of destination server groups to which requests are forwarded. */ serverGroupTuples?: CreateRulesRequestRulesRuleActionsForwardGroupConfigServerGroupTuples[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsInsertHeaderConfig extends $dara.Model { /** * @remarks * The name of the header field to insert. The name must be 1 to 40 characters in length and can contain lowercase and uppercase letters a to z, digits, underscores (_), and hyphens (-). The header field name specified in **InsertHeaderConfig** must be unique. * * > You cannot set the header field name to the following values (case-insensitive): `slb-id`, `slb-ip`, `x-forwarded-for`, `x-forwarded-proto`, `x-forwarded-eip`, `x-forwarded-port`, `x-forwarded-client-srcport`, `connection`, `upgrade`, `content-length`, `transfer-encoding`, `keep-alive`, `te`, `host`, `cookie`, `remoteip`, `authority`, `x-forwarded-host`. * * @example * key */ key?: string; /** * @remarks * The value of the header field to insert. * * - If **ValueType** is set to **SystemDefined**, valid values are: * - **ClientSrcPort**: the client port. * - **ClientSrcIp**: the client IP address. * - **Protocol**: the protocol used by the client request (HTTP or HTTPS). * - **SLBId**: the instance ID of the ALB instance. * - **SLBPort**: the listening port of the ALB instance. * - If **ValueType** is set to **UserDefined**: you can specify a custom header value. The value must be 1 to 128 characters in length and can contain wildcards asterisks (\\*), question marks (?), and printable characters in the ASCII range `ch >= 32 && ch < 127`. The value cannot contain `"`. The value cannot start or end with a space. The value cannot end with `\\`. * - If **ValueType** is set to **ReferenceHeader**: you can reference a field in the request header. The value must be 1 to 128 characters in length and can contain lowercase letters a to z, digits, hyphens (-), and underscores (_). * * @example * value */ value?: string; /** * @remarks * The content type of the header field value. Valid values: * * - **UserDefined**: a custom value. * * - **ReferenceHeader**: references a value from a request header field. * * - **SystemDefined**: a system-defined value. * * @example * SystemDefined */ valueType?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsRedirectConfig extends $dara.Model { /** * @remarks * The host to which requests are redirected. Valid values: * - **${host}** (default): This value cannot be concatenated with other characters. * - Other values. Character set and format requirements: * - The hostname must be 3 to 256 characters in length and can contain lowercase letters a to z, digits, hyphens (-), periods (.), and wildcards asterisks (\\*), equal signs (=), tildes (~), underscores (_), plus signs (+), backslashes (\\), carets (^), exclamation marks (!), dollar signs ($), ampersands (&), vertical bars (|), parentheses (()), brackets ([\\]), and question marks (?). * - The hostname must contain at least one period (.). Periods (.) cannot appear at the beginning or end. * - The rightmost domain label can contain only letters and wildcards, and cannot contain digits or hyphens (-). The leftmost domain label can be an asterisk (\\*). * - Hyphens (-) cannot appear at the beginning or end of other domain labels. * - Wildcards asterisks (\\*) and question marks (?) can appear at any position of a domain label. * * @example * ${host} */ host?: string; /** * @remarks * The redirect type. Valid values: **301**, **302**, **303**, **307**, and **308**. * * @example * 301 */ httpCode?: string; /** * @remarks * The path to which requests are redirected. Valid values: * - **${path}** (default): You can reference **${host}**, **${protocol}**, and **${port}**. Each variable can appear at most once. These variables can be used together or concatenated with characters within the valid value range described below. * - Other values. Character set and format requirements: * - The value must be 1 to 256 characters in length, case-sensitive, and can contain wildcards asterisks (\\*) and question marks (?) as wildcards. * - The value must start with a forward slash (/), and can contain uppercase and lowercase letters, digits, and the following special characters: `$-_.+/&~@:\\"*?`. The value cannot contain `"%#;!()[]^,"\\"`. Wildcards asterisks (\\*) and question marks (?) are supported. * * @example * / */ path?: string; /** * @remarks * The port to which requests are redirected. * - **${port}** (default): This value cannot be used together with other characters. * - Other values: **1 to 63335**. * * @example * 443 */ port?: string; /** * @remarks * The protocol to which requests are redirected. Valid values: * - **${protocol}** (default): This value can only be used alone and cannot be modified or concatenated with other characters. * - **HTTP** * - **HTTPS** * > * > - HTTPS listeners support only redirects to HTTPS. * > - HTTP listeners support redirects to HTTP and HTTPS. * * @example * HTTPS */ protocol?: string; /** * @remarks * The query string to which requests are redirected. * - **${query}** (default): You can reference **${host}**, **${protocol}**, and **${port}**. Each variable can appear at most once. These variables can be used together or concatenated with characters within the valid value range described below. * - Other values. Character set and format requirements: * - The value must be 1 to 128 characters in length. * - The value can contain printable characters but cannot contain spaces or `#[]{}\\|<>"`. Letters must be lowercase. * * @example * ${query} */ query?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsRemoveHeaderConfig extends $dara.Model { /** * @remarks * The name of the header field to remove. The name must be 1 to 40 characters in length and can contain uppercase and lowercase letters a to z, digits, underscores (_), and hyphens (-). The header field name cannot be duplicated in RemoveHeader. * * - Request direction (Direction set to Request): You cannot set the header field name to the following values (case-insensitive): `slb-id`, `slb-ip`, `x-forwarded-for`, `x-forwarded-proto`, `x-forwarded-eip`, `x-forwarded-port`, `x-forwarded-client-srcport`, `connection`, `upgrade`, `content-length`, `transfer-encoding`, `keep-alive`, `te`, `host`, `cookie`, `remoteip`, `authority`, `x-forwarded-host`. * - Response direction (Direction set to Response): You cannot set the header field name to the following values (case-insensitive): `connection`, `upgrade`, `content-length`, `transfer-encoding`. * * @example * key */ key?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsRewriteConfig extends $dara.Model { /** * @remarks * The destination hostname for internal redirects. Valid values: * - **${host}** (default): This value cannot be concatenated with other characters. * * - Other values. Character set and format requirements: * * - The hostname must be 3 to 256 characters in length and can contain lowercase letters a to z, digits, hyphens (-), periods (.), and wildcards asterisks (\\*), equal signs (=), tildes (~), underscores (_), plus signs (+), backslashes (\\), carets (^), exclamation marks (!), dollar signs ($), ampersands (&), vertical bars (|), parentheses (()), brackets ([\\]), and question marks (?). * * - The hostname must contain at least one period (.). Periods (.) cannot appear at the beginning or end. * * - The rightmost domain label can contain only letters and wildcards, and cannot contain digits or hyphens (-). The leftmost domain label can be an asterisk (\\*). * * - Hyphens (-) cannot appear at the beginning or end of other domain labels. Wildcards asterisks (\\*) and question marks (?) can appear at any position of a domain label. * * @example * www.rewrite.alb */ host?: string; /** * @remarks * The path to which requests are redirected. Valid values: * - **${path}** (default): You can reference **${host}**, **${protocol}**, and **${port}**. Each variable can appear at most once. These variables can be used together or concatenated with characters within the valid value range described below. * - Other values. Character set and format requirements: * - The value must be 1 to 256 characters in length, case-sensitive, and can contain wildcards asterisks (\\*) and question marks (?) as wildcards. * - The value must start with a forward slash (/), and can contain uppercase and lowercase letters, digits, and the following special characters: `$-_.+/&~@:\\"*?`. The value cannot contain `"%#;!()[]^,"\\"`. Wildcards asterisks (\\*) and question marks (?) are supported. * * @example * /tea */ path?: string; /** * @remarks * The query string for internal redirects. * - **${query}** (default): You can reference **${host}**, **${protocol}**, and **${port}**. Each variable can appear at most once. These variables can be used together or concatenated with characters within the valid value range described below. * - Other values. Character set and format requirements: * - The value must be 1 to 128 characters in length. * - The value can contain printable characters but cannot contain spaces or `#[]{}\\|<>"`. Letters must be lowercase. * * @example * ${query} */ query?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsTrafficLimitConfig extends $dara.Model { /** * @remarks * The number of requests per second per IP address. Valid values: **1** to **1000000**. * * > If you configure both the **QPS** and **PerIpQps** parameters, the value of **PerIpQps** must be less than the value of **QPS**. * * @example * 100 */ perIpQps?: number; /** * @remarks * The number of requests per second. Valid values: **1** to **1000000**. * * @example * 5000 */ QPS?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples extends $dara.Model { /** * @remarks * The ID of the server group. * * @example * sgp-u9cmf16iu69****** */ serverGroupId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig extends $dara.Model { /** * @remarks * The server group to which traffic is mirrored. */ serverGroupTuples?: CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfigServerGroupTuples[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActionsTrafficMirrorConfig extends $dara.Model { /** * @remarks * The configuration for mirroring traffic to a server group. */ mirrorGroupConfig?: CreateRulesRequestRulesRuleActionsTrafficMirrorConfigMirrorGroupConfig; /** * @remarks * The type of the mirror target. Valid values: * - **ForwardGroupMirror**: mirrors traffic to a server group. * * @example * ForwardGroupMirror */ targetType?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleActions extends $dara.Model { /** * @remarks * The CORS configuration. */ corsConfig?: CreateRulesRequestRulesRuleActionsCorsConfig; /** * @remarks * The configuration of the fixed response action. */ fixedResponseConfig?: CreateRulesRequestRulesRuleActionsFixedResponseConfig; /** * @remarks * The configuration of the forward group action. */ forwardGroupConfig?: CreateRulesRequestRulesRuleActionsForwardGroupConfig; /** * @remarks * The configuration of the insert header action. */ insertHeaderConfig?: CreateRulesRequestRulesRuleActionsInsertHeaderConfig; /** * @remarks * The order in which the forwarding rule action is executed. Valid values: **1 to 50000**. Actions are executed in ascending order of their values. This parameter cannot be left empty and the value cannot be duplicated. * * This parameter is required. * * @example * 1 */ order?: number; /** * @remarks * The redirect configuration. * * > For the parameters in **RedirectConfig**, you cannot set all parameters except **httpCode** to default values. */ redirectConfig?: CreateRulesRequestRulesRuleActionsRedirectConfig; /** * @remarks * The configuration for removing an HTTP header. */ removeHeaderConfig?: CreateRulesRequestRulesRuleActionsRemoveHeaderConfig; /** * @remarks * The rewrite configuration. * * > When you configure multiple actions for the same forwarding rule, the **RewriteConfig** action must be used together with the **ForwardGroup** action type. */ rewriteConfig?: CreateRulesRequestRulesRuleActionsRewriteConfig; /** * @remarks * The traffic throttling configuration. */ trafficLimitConfig?: CreateRulesRequestRulesRuleActionsTrafficLimitConfig; /** * @remarks * The traffic mirroring configuration. */ trafficMirrorConfig?: CreateRulesRequestRulesRuleActionsTrafficMirrorConfig; /** * @remarks * The action type. Valid values: * * - **ForwardGroup**: forwards requests to multiple virtual services. * * - **Redirect**: redirects requests. * * - **FixedResponse**: returns a fixed response. * * - **Rewrite**: rewrites requests. * * - **InsertHeader**: inserts a header field. * * - **RemoveHeader**: deletes a header field. * * - **TrafficLimit**: throttles traffic. * * - **TrafficMirror**: mirrors traffic. * * - **Cors**: enables cross-origin resource sharing (CORS). * * > A forwarding rule must contain one **ForwardGroup** (forward to), **Redirect** (redirect), or **FixedResponse** (return a fixed response) action. When this action coexists with other action types, it must be executed last. * * This parameter is required. * * @example * ForwardGroup */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditionsCookieConfigValues extends $dara.Model { /** * @remarks * The cookie condition key. * * - The value must be 1 to 100 characters in length. * * - The value can contain printable characters, wildcards asterisks (\\*), and question marks (?). Letters must be lowercase. * * - The value cannot contain spaces or `;#[]{}\\|<>&"`. * * @example * key */ key?: string; /** * @remarks * The cookie condition value. * * - The value must be 1 to 100 characters in length. * * - The value can contain printable characters, wildcards asterisks (\\*), and question marks (?). Letters must be lowercase. * * - The value cannot contain spaces or `;#[]{}\\|<>&"`. * * @example * value */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditionsCookieConfig extends $dara.Model { /** * @remarks * The list of cookie key-value pairs. */ values?: CreateRulesRequestRulesRuleConditionsCookieConfigValues[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditionsHeaderConfig extends $dara.Model { /** * @remarks * The HTTP header key. * * - The value must be 1 to 40 characters in length. * * - The value can contain letters a to z, digits, hyphens (-), and underscores (_). * * - Cookie and Host are not supported. * * @example * port */ key?: string; /** * @remarks * The list of HTTP header values. */ values?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditionsHostConfig extends $dara.Model { /** * @remarks * The list of hostnames. */ values?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditionsMethodConfig extends $dara.Model { /** * @remarks * The list of HTTP request methods. */ values?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditionsPathConfig extends $dara.Model { /** * @remarks * The list of path conditions. */ values?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditionsQueryStringConfigValues extends $dara.Model { /** * @remarks * The query string condition key. * - The value must be 1 to 100 characters in length. * - Printable characters, wildcards asterisks (\\*) and question marks (?) are supported. Letters must be lowercase. Spaces and `#[]{}\\|<>&"` are not supported. * * @example * key */ key?: string; /** * @remarks * The query string condition value. * * - The value must be 1 to 128 characters in length. * - Lowercase letters, printable characters, and wildcards asterisks (\\*) and question marks (?) are supported. Spaces and `#[]{}\\|<>&"` are not supported. * * @example * value */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditionsQueryStringConfig extends $dara.Model { /** * @remarks * The list of query string condition key-value pairs. */ values?: CreateRulesRequestRulesRuleConditionsQueryStringConfigValues[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditionsResponseHeaderConfig extends $dara.Model { /** * @remarks * The response HTTP header key. * - The value must be 1 to 40 characters in length. * - Letters a to z, digits, hyphens (-), and underscores (_) are supported. * - Cookie and Host are not supported. * * @example * key */ key?: string; /** * @remarks * The list of response HTTP header values. */ values?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditionsResponseStatusCodeConfig extends $dara.Model { /** * @remarks * The list of response status codes. */ values?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditionsSourceIpConfig extends $dara.Model { /** * @remarks * The source IP-based service traffic matching configuration. */ values?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesRuleConditions extends $dara.Model { /** * @remarks * The cookie condition configuration. */ cookieConfig?: CreateRulesRequestRulesRuleConditionsCookieConfig; /** * @remarks * The HTTP header condition configuration. */ headerConfig?: CreateRulesRequestRulesRuleConditionsHeaderConfig; /** * @remarks * The host condition configuration. */ hostConfig?: CreateRulesRequestRulesRuleConditionsHostConfig; /** * @remarks * The HTTP request method condition configuration. */ methodConfig?: CreateRulesRequestRulesRuleConditionsMethodConfig; /** * @remarks * The path condition configuration. */ pathConfig?: CreateRulesRequestRulesRuleConditionsPathConfig; /** * @remarks * The query string condition configuration. */ queryStringConfig?: CreateRulesRequestRulesRuleConditionsQueryStringConfig; /** * @remarks * The response HTTP header configuration. */ responseHeaderConfig?: CreateRulesRequestRulesRuleConditionsResponseHeaderConfig; /** * @remarks * The response status code configuration. */ responseStatusCodeConfig?: CreateRulesRequestRulesRuleConditionsResponseStatusCodeConfig; /** * @remarks * The source IP-based service traffic matching configuration. */ sourceIpConfig?: CreateRulesRequestRulesRuleConditionsSourceIpConfig; /** * @remarks * The type of forwarding condition. Valid values: * * - Host: host. * * - Path: path. * * - Header: HTTP header field. * * - QueryString: query string. * * - Method: request method. * * - Cookie: cookie. * * - SourceIp: source IP address. * * - ResponseHeader: response HTTP header field. * * - ResponseStatusCode: response status code. * * This parameter is required. * * @example * SourceIp */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRulesTag extends $dara.Model { /** * @remarks * The tag key. The tag key can be up to 128 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://. * * @example * test_tag_key */ key?: string; /** * @remarks * The tag value. The tag value can be up to 128 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://. * * @example * test_tag_value */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequestRules extends $dara.Model { /** * @remarks * The direction of the forwarding rule. * * @example * Request */ direction?: string; /** * @remarks * The priority of the forwarding rule. * * This parameter is required. * * @example * 1 */ priority?: number; /** * @remarks * The list of forwarding rule actions. * * This parameter is required. */ ruleActions?: CreateRulesRequestRulesRuleActions[]; /** * @remarks * The list of forwarding rule conditions. * * This parameter is required. */ ruleConditions?: CreateRulesRequestRulesRuleConditions[]; /** * @remarks * The name of the forwarding rule. * * This parameter is required. * * @example * rule-443-64 */ ruleName?: string; /** * @remarks * The list of tags. */ tag?: CreateRulesRequestRulesTag[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateRulesRequest extends $dara.Model { /** * @remarks * The client token that is used to ensure the idempotence of the request. * * You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters. * * > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may be different for each API request. * * @example * 5A2CFF0E-5718-45B5-9D4D-70B3FF3898 */ clientToken?: string; /** * @remarks * Specifies whether to perform only a dry run, without performing the actual request. Valid values: * * - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned. * * - **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, an `HTTP 2xx` status code is returned and the operation is performed. * * @example * false */ dryRun?: boolean; /** * @remarks * The listener ID of the Application Load Balancer (ALB) instance. * * This parameter is required. * * @example * lsn-l16uo9y****** */ listenerId?: string; /** * @remarks * The list of forwarding rules. * * This parameter is required. */ rules?: CreateRulesRequestRules[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }