import * as pulumi from "@pulumi/pulumi"; /** * Gets details of a single GatewaySecurityPolicyRule. */ export declare function getRule(args: GetRuleArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetRuleArgs { gatewaySecurityPolicyId: string; location: string; project?: string; ruleId: string; } export interface GetRuleResult { /** * Optional. CEL expression for matching on L7/application level criteria. */ readonly applicationMatcher: string; /** * Profile which tells what the primitive action should be. */ readonly basicProfile: string; /** * Time when the rule was created. */ readonly createTime: string; /** * Optional. Free-text description of the resource. */ readonly description: string; /** * Whether the rule is enforced. */ readonly enabled: boolean; /** * Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$). */ readonly name: string; /** * Priority of the rule. Lower number corresponds to higher precedence. */ readonly priority: number; /** * CEL expression for matching on session criteria. */ readonly sessionMatcher: string; /** * Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig. */ readonly tlsInspectionEnabled: boolean; /** * Time when the rule was updated. */ readonly updateTime: string; } /** * Gets details of a single GatewaySecurityPolicyRule. */ export declare function getRuleOutput(args: GetRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetRuleOutputArgs { gatewaySecurityPolicyId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; ruleId: pulumi.Input; }