import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::CLB::NLBSecurityPolicy */ export declare function getNlbSecurityPolicy(args: GetNlbSecurityPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNlbSecurityPolicy. */ export interface GetNlbSecurityPolicyArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getNlbSecurityPolicy. */ export interface GetNlbSecurityPolicyResult { /** * Account ID associated with the TLS security policy */ readonly accountId: string; /** * Cipher suites for the TLS custom security policy. Supported cipher suites for different TLS protocol versions are as follows: TLSv1.0 & TLSv1.1: ECDHE-ECDSA-AES128-SHA, ECDHE-ECDSA-AES256-SHA, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, AES128-SHA, AES256-SHA, DES-CBC3-SHA. TLSv1.2: ECDHE-ECDSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-SHA256, ECDHE-RSA-AES256-SHA384, AES128-GCM-SHA256, AES256-GCM-SHA384, AES128-SHA256, AES256-SHA256. TLSv1.3: TLS*CHACHA20*POLY1305*SHA256, TLS*AES*256*GCM*SHA384, TLS*AES*128*GCM*SHA256, TLS*AES*128*CCM*8*SHA256, TLS*AES*128*CCM*SHA256, TLS*SM4*GCM*SM3, TLS*SM4*CCM*SM3. When specifying this parameter, you must provide all supported cipher suites. Adding or removing cipher suites individually is not supported via this interface. If only Ciphers.N is provided and TlsVersions.N is not, validation is based on the TLS protocol versions supported by the current listener and the cipher suites specified in the request. If both TlsVersions.N and Ciphers.N are provided, validation is based on the TLS protocol versions and cipher suites specified in the request. TLS*SM4*GCM*SM3 and TLS*SM4*CCM*SM3 are currently in pilot testing. To request access, please contact your account manager */ readonly ciphers: string[]; /** * Creation time */ readonly createdTime: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Name of the project to which the TLS custom security policy belongs. If not specified, defaults to default */ readonly projectName: string; /** * Listener associated with the TLS security policy */ readonly relatedListenerIds: string[]; /** * Security policy ID */ readonly securityPolicyId: string; /** * Security policy name. Must start with a letter, number, or Chinese character, and can include the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not specified, defaults to the policy ID */ readonly securityPolicyName: string; /** * TLS custom security policy status. Creating: Being created. Configuring: Being configured. Active: Active. Deleting: Being deleted. */ readonly status: string; /** * Tag list */ readonly tags: outputs.clb.GetNlbSecurityPolicyTag[]; /** * Update the TLS protocol versions for the TLS custom security policy. Valid values: TLSv1.0, TLSv1.1, TLSv1.2, TLSv1.3. When specifying this parameter, you must provide all supported TLS versions. Adding or removing TLS protocol versions individually is not supported via this interface. If only TlsVersions.N is provided and Ciphers.N is not, validation is based on the TLS protocol versions in the request and the cipher suites supported by the current listener. If both TlsVersions.N and Ciphers.N are provided, validation is based on the TLS protocol versions and cipher suites specified in the request */ readonly tlsVersions: string[]; /** * Update time */ readonly updatedTime: string; } /** * Data Source schema for Volcengine::CLB::NLBSecurityPolicy */ export declare function getNlbSecurityPolicyOutput(args: GetNlbSecurityPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNlbSecurityPolicy. */ export interface GetNlbSecurityPolicyOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }