import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single ServiceLbPolicy. */ export declare function getServiceLbPolicy(args: GetServiceLbPolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetServiceLbPolicyArgs { location: string; project?: string; serviceLbPolicyId: string; } export interface GetServiceLbPolicyResult { /** * Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. */ readonly autoCapacityDrain: outputs.networkservices.v1beta1.ServiceLbPolicyAutoCapacityDrainResponse; /** * The timestamp when this resource was created. */ readonly createTime: string; /** * Optional. A free-text description of the resource. Max length 1024 characters. */ readonly description: string; /** * Optional. Configuration related to health based failover. */ readonly failoverConfig: outputs.networkservices.v1beta1.ServiceLbPolicyFailoverConfigResponse; /** * Optional. Set of label tags associated with the ServiceLbPolicy resource. */ readonly labels: { [key: string]: string; }; /** * Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION. */ readonly loadBalancingAlgorithm: string; /** * Name of the ServiceLbPolicy resource. It matches pattern `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. */ readonly name: string; /** * The timestamp when this resource was last updated. */ readonly updateTime: string; } /** * Gets details of a single ServiceLbPolicy. */ export declare function getServiceLbPolicyOutput(args: GetServiceLbPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetServiceLbPolicyOutputArgs { location: pulumi.Input; project?: pulumi.Input; serviceLbPolicyId: pulumi.Input; }