import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::WAF::Domain */ export declare function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDomain. */ export interface GetDomainArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getDomain. */ export interface GetDomainResult { /** * Access mode. 10: CNAME access, 11: Layer 7 load balancing (CLB) access. */ readonly accessMode: number; /** * High defense instance IP. Displayed for high-defense WAF access; otherwise blank. */ readonly advancedDefenseIp: string; /** * High defense instance IPv6. Displayed for high-defense WAF access; otherwise blank. */ readonly advancedDefenseIpv6: string; /** * API protection policy enabled. 0: Off, 1: On */ readonly apiEnable: number; /** * Attack status. 0: No attack detected, 1: Attack detected. */ readonly attackStatus: number; /** * Whether to enable intelligent CC protection policy. 0: Disabled, 1: Enabled. */ readonly autoCcEnable: number; /** * Whether to enable automatic blocking. 0: Disabled, 1: Enabled. */ readonly automaticBlackEnable: number; /** * Origin configuration. */ readonly backendGroups: outputs.waf.GetDomainBackendGroup[]; /** * Denylist policy enabled. 0: Off, 1: On */ readonly blackIpEnable: number; /** * Whether to enable regional blocking policy. 0: Disabled; 1: Enabled. */ readonly blackLctEnable: number; /** * Dynamic token protection enabled */ readonly botDytokenEnable: number; /** * Bot rate limit policy enabled. * 0: Off * 1: On */ readonly botFrequencyEnable: number; /** * Bot statistics protection policy enabled. * 0: Off * 1: On */ readonly botRepeatEnable: number; /** * Set the default action for the bot behavior map policy. Effective when BotSequenceEnable = 1 is enabled. Default is 0 (Observe). * 0: Observe * 2: Intercept * 6: JS Challenge * 7: CAPTCHA. */ readonly botSequenceDefaultAction: number; /** * Whether to enable bot behavior map. * 0: Off * 1: On. */ readonly botSequenceEnable: number; /** * Whether to enable CC protection policy. * 0: Disabled * 1: Enabled. */ readonly ccEnable: number; /** * Certificate ID managed in Certificate Center */ readonly certificateId: string; /** * Certificate name. Displayed when protocol type includes HTTPS. */ readonly certificateName: string; /** * Certificate hosting platform: waf/certificate_service. */ readonly certificatePlatform: string; /** * CLB instance ID. */ readonly clbInstanceIds: string; /** * CLB listener ID. */ readonly clbListenerId: string; /** * CLB backend server group ID. */ readonly clbPoolId: string; /** * CLB backend server ID */ readonly clbServerId: string; /** * Client IP acquisition method. 0: Custom header field, 1: Use the first public IP address in the X-Forwarded-For (XFF) field as the real client IP address. */ readonly clientIpLocation: number; /** * Maximum client request body size (MB). */ readonly clientMaxBodySize: number; /** * LB access parameters. */ readonly cloudAccessConfigs: outputs.waf.GetDomainCloudAccessConfig[]; /** * CNAME record. */ readonly cname: string; /** * Whether to enable custom bot protection. */ readonly customBotEnable: number; /** * Custom header. */ readonly customHeaders: string[]; /** * Whether to enable custom response. */ readonly customRspEnable: number; /** * Custom SNI. */ readonly customSni: string; /** * Set protection mode for exception ALB instances. * 1: Enable protection. The configured protection policies take effect. * 2: Pause protection. Only forwarding is performed without inspection; the configured protection policies do not take effect. * 3: Origin mode. Requests are sent directly to the origin server and are no longer forwarded to the WAF instance. * After configuring exception protection instances, the domain may also have the following protection statuses: * 5: Partially enabled. The default protection mode is enabled, but some exception instances are in paused protection or origin mode. * 6: Partially paused. The default protection mode is paused, but some exception instances are in enabled protection or origin mode. * 7: Partially origin. The default protection mode is origin mode, but some exception instances are in enabled protection or paused protection. */ readonly defenceMode: number; /** * Data leakage protection enabled */ readonly dlpEnable: number; /** * Protected domain information. Supports wildcard and exact domains */ readonly domain: string; /** * User-defined redirection enabled. 0: Off, 1: On */ readonly enableCustomRedirect: number; /** * Whether to enable HTTP/2.0. 0: Disabled, 1: Enabled. */ readonly enableHttp2: number; /** * IPv6 request protection supported. 0: Off, 1: On */ readonly enableIpv6: number; /** * Whether to enable SNI configuration. 0: Off, 1: On. */ readonly enableSni: number; /** * Uniquely identifies the resource. */ readonly id: string; /** * Persistent connection reuse count */ readonly keepAliveRequest: number; /** * Persistent connection keep-alive time (seconds) */ readonly keepAliveTimeout: number; /** * Load balancing algorithm type. wrr: Weighted round robin, wlc: Weighted least connections, sh: Source address hash. */ readonly lbAlgorithm: string; /** * Port number */ readonly port: number; /** * Project name. */ readonly projectName: string; /** * Protocol following enabled. 0: Off, 1: On */ readonly protocolFollow: number; /** * Access port information */ readonly protocolPorts: outputs.waf.GetDomainProtocolPorts; /** * Access protocol type: supports HTTP/HTTPS */ readonly protocols: string[]; /** * Proxy configuration enabled. 0: Off, 1: On */ readonly proxyConfig: number; /** * Connection timeout between WAF and backend server (seconds). */ readonly proxyConnectTimeout: number; /** * Number of reusable WAF origin persistent connections. */ readonly proxyKeepAlive: number; /** * Idle persistent connection timeout (seconds) */ readonly proxyKeepAliveTimeout: number; /** * Timeout for WAF to read response from backend server (seconds). */ readonly proxyReadTimeout: number; /** * WAF origin retry count. */ readonly proxyRetry: number; /** * Timeout for WAF to transmit request to backend server (seconds). */ readonly proxyWriteTimeout: number; /** * CNAME access origin method. 0: Private network origin, 1: Public network origin. */ readonly publicRealServer: number; /** * Whether to enable abnormal response protection. */ readonly rspAbnormalEnable: number; /** * Service IP */ readonly serverIps: string; /** * WAF origin IP. */ readonly srcIps: string; /** * Origin protocol. */ readonly srcProtocol: string; /** * Cipher suite */ readonly sslCiphers: string[]; /** * TLS protocol version. For example: TLSv1, TLSv1.1, TLSv1.2, TLSv1.3 */ readonly sslProtocols: string[]; /** * Access status. 0: Normal, 1: DNS not resolved, 2: Configuring, 3: Configuration failed, 4: Configuration not effective, 5: Updating, 6: Instance deleted. */ readonly status: number; /** * Whether to enable managed bot protection. */ readonly systemBotEnable: number; /** * Whether to enable anti-tampering. */ readonly tamperProofEnable: number; /** * TCP listener configuration. */ readonly tcpListenerConfigs: outputs.waf.GetDomainTcpListenerConfig[]; /** * Log service enabled. 0: Off, 1: On */ readonly tlsEnable: number; /** * Log field configuration details */ readonly tlsFieldsConfig: outputs.waf.GetDomainTlsFieldsConfig; /** * Update time */ readonly updateTime: string; /** * VPC ID。 */ readonly vpcId: string; /** * WAF protection enabled */ readonly wafEnable: number; /** * Allowlist request protection enabled */ readonly wafWhiteReqEnable: number; /** * Whether to enable allowlist protection. */ readonly whiteEnable: number; /** * Field allowlist protection enabled */ readonly whiteFieldEnable: number; } /** * Data Source schema for Volcengine::WAF::Domain */ export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDomain. */ export interface GetDomainOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }