import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Backend Set Health resource in Oracle Cloud Infrastructure Load Balancer service. * * Gets the health status for the specified backend set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBackendSetHealth = oci.loadbalancer.getBackendSetHealth({ * backendSetName: testBackendSet.name, * loadBalancerId: testLoadBalancer.id, * }); * ``` */ export declare function getBackendSetHealth(args: GetBackendSetHealthArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBackendSetHealth. */ export interface GetBackendSetHealthArgs { /** * The name of the backend set to retrieve the health status for. Example: `exampleBackendSet` */ backendSetName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set health status to be retrieved. */ loadBalancerId: string; } /** * A collection of values returned by getBackendSetHealth. */ export interface GetBackendSetHealthResult { readonly backendSetName: string; /** * A list of backend servers that are currently in the `CRITICAL` health state. The list identifies each backend server by IP address and port. Example: `10.0.0.4:8080` */ readonly criticalStateBackendNames: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly loadBalancerId: string; /** * Overall health status of the backend set. * * **OK:** All backend servers in the backend set return a status of `OK`. * * **WARNING:** Half or more of the backend set's backend servers return a status of `OK` and at least one backend server returns a status of `WARNING`, `CRITICAL`, or `UNKNOWN`. * * **CRITICAL:** Fewer than half of the backend set's backend servers return a status of `OK`. * * **UNKNOWN:** More than half of the backend set's backend servers return a status of `UNKNOWN`, the system was unable to retrieve metrics, or the backend set does not have a listener attached. */ readonly status: string; /** * The total number of backend servers in this backend set. Example: `7` */ readonly totalBackendCount: number; /** * A list of backend servers that are currently in the `UNKNOWN` health state. The list identifies each backend server by IP address and port. Example: `10.0.0.5:8080` */ readonly unknownStateBackendNames: string[]; /** * A list of backend servers that are currently in the `WARNING` health state. The list identifies each backend server by IP address and port. Example: `10.0.0.3:8080` */ readonly warningStateBackendNames: string[]; } /** * This data source provides details about a specific Backend Set Health resource in Oracle Cloud Infrastructure Load Balancer service. * * Gets the health status for the specified backend set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBackendSetHealth = oci.loadbalancer.getBackendSetHealth({ * backendSetName: testBackendSet.name, * loadBalancerId: testLoadBalancer.id, * }); * ``` */ export declare function getBackendSetHealthOutput(args: GetBackendSetHealthOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBackendSetHealth. */ export interface GetBackendSetHealthOutputArgs { /** * The name of the backend set to retrieve the health status for. Example: `exampleBackendSet` */ backendSetName: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set health status to be retrieved. */ loadBalancerId: pulumi.Input; } //# sourceMappingURL=getBackendSetHealth.d.ts.map