import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::PrivateZone::ResolverRule */ export declare function getResolverRule(args: GetResolverRuleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getResolverRule. */ export interface GetResolverRuleArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getResolverRule. */ export interface GetResolverRuleResult { /** * Creation time of the forwarding rule */ readonly createdTime: string; /** * Whether the forwarding rule is enabled. true: enabled. false: disabled */ readonly enable: boolean; /** * Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND */ readonly endpointId: number; /** * IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND */ readonly forwardIPs: outputs.privatezone.GetResolverRuleForwardIP[]; /** * Uniquely identifies the resource. */ readonly id: string; /** * Account ID of the last update to the forwarding rule */ readonly lastOperator: string; /** * Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom */ readonly line: string; /** * Name of the forwarding rule. Supports UTF-8 format */ readonly name: string; /** * Project name associated with the forwarding rule. Default is default */ readonly projectName: string; /** * Forwarding rule ID */ readonly ruleId: string; /** * One or more tags associated with the forwarding rule */ readonly tags: outputs.privatezone.GetResolverRuleTag[]; /** * Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server */ readonly type: string; /** * Update time of the forwarding rule */ readonly updatedTime: string; /** * VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint */ readonly vpCs: outputs.privatezone.GetResolverRuleVpC[]; /** * Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC */ readonly zoneName: string; } /** * Data Source schema for Volcengine::PrivateZone::ResolverRule */ export declare function getResolverRuleOutput(args: GetResolverRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getResolverRule. */ export interface GetResolverRuleOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }