import * as $dara from '@darabonba/typescript'; export declare class CreateSecurityPolicyRequestTag extends $dara.Model { /** * @remarks * The tag key. The key can be up to 128 characters long, cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`. * * @example * env */ key?: string; /** * @remarks * The tag value. The value can be up to 128 characters long, cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`. * * @example * product */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateSecurityPolicyRequest extends $dara.Model { /** * @remarks * The supported cipher suites. * * This parameter is required. */ ciphers?: string[]; /** * @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 and cannot exceed 64 characters in length. * * > If you do not specify this parameter, the system automatically uses the RequestId as the ClientToken. The RequestId of each API request may be different. * * @example * 593B0448-D13E-4C56-AC0D-FDF0F****** */ clientToken?: string; /** * @remarks * Specifies whether to perform a dry run. Valid values: * * - **true**: performs a dry run. The system checks the required parameters, the request format, and business limits. If the request fails the check, an error message is returned. If the request passes the check, the `DryRunOperation` error code is returned. * * - **false** (default): sends a normal request. After the request passes the check, a 2xx HTTP status code is returned and the operation is performed. * * @example * true */ dryRun?: boolean; /** * @remarks * The ID of the resource group. * * @example * rg-atstuj3rtop**** */ resourceGroupId?: string; /** * @remarks * The name of the security policy. * * The name must be 2 to 128 characters in length, and can contain letters, digits, Chinese characters, periods (.), underscores (_), hyphens (-), and spaces. The name must start with a letter, a Chinese character, or a digit. * * This parameter is required. * * @example * test-secrity */ securityPolicyName?: string; /** * @remarks * The TLS protocol versions that are supported. * * This parameter is required. */ TLSVersions?: string[]; /** * @remarks * The tags. */ tag?: CreateSecurityPolicyRequestTag[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }