import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::GTM::Rule */ export declare function getRule(args: GetRuleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRule. */ export interface GetRuleArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getRule. */ export interface GetRuleResult { /** * Route rule creation time. */ readonly createTime: string; /** * Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled. */ readonly disable: boolean; /** * Index of the effective address pool set. */ readonly effectivePoolSetIndex: number; /** * UUID of the GTM instance. */ readonly gtmId: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Route rule applicable lines. */ readonly line: string; /** * Route rule name. */ readonly name: string; /** * The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing. */ readonly policyType: string; /** * Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter. */ readonly poolSetMode: string; /** * Address pool collection list. */ readonly poolSets: outputs.gtm.GetRulePoolSet[]; /** * Health check parameters for the route rule. */ readonly probe: outputs.gtm.GetRuleProbe; /** * Health check mode. */ readonly probeMode: string; /** * Route rule remarks. */ readonly remark: string; /** * Routing rule ID. */ readonly ruleId: string; /** * Route rule update time. */ readonly updateTime: string; /** * Whether to inherit instance-level health check nodes. */ readonly usePolicyProbeNodes: boolean; /** * Whether to use route rule-level probe configuration. */ readonly useRuleProbeConfig: boolean; /** * Routing rule weight. */ readonly weight: number; } /** * Data Source schema for Volcengine::GTM::Rule */ export declare function getRuleOutput(args: GetRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRule. */ export interface GetRuleOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }