import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get information about a HealthCheck. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const healthCheck = gcp.compute.getHealthCheck({ * name: "my-hc", * }); * ``` */ export declare function getHealthCheck(args: GetHealthCheckArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHealthCheck. */ export interface GetHealthCheckArgs { /** * Name of the resource. * * - - - */ name: string; /** * The ID of the project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: string; } /** * A collection of values returned by getHealthCheck. */ export interface GetHealthCheckResult { readonly checkIntervalSec: number; readonly creationTimestamp: string; readonly description: string; readonly grpcHealthChecks: outputs.compute.GetHealthCheckGrpcHealthCheck[]; readonly grpcTlsHealthChecks: outputs.compute.GetHealthCheckGrpcTlsHealthCheck[]; readonly healthyThreshold: number; readonly http2HealthChecks: outputs.compute.GetHealthCheckHttp2HealthCheck[]; readonly httpHealthChecks: outputs.compute.GetHealthCheckHttpHealthCheck[]; readonly httpsHealthChecks: outputs.compute.GetHealthCheckHttpsHealthCheck[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly logConfigs: outputs.compute.GetHealthCheckLogConfig[]; readonly name: string; readonly project?: string; readonly selfLink: string; readonly sourceRegions: string[]; readonly sslHealthChecks: outputs.compute.GetHealthCheckSslHealthCheck[]; readonly tcpHealthChecks: outputs.compute.GetHealthCheckTcpHealthCheck[]; readonly timeoutSec: number; readonly type: string; readonly unhealthyThreshold: number; } /** * Get information about a HealthCheck. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const healthCheck = gcp.compute.getHealthCheck({ * name: "my-hc", * }); * ``` */ export declare function getHealthCheckOutput(args: GetHealthCheckOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHealthCheck. */ export interface GetHealthCheckOutputArgs { /** * Name of the resource. * * - - - */ name: pulumi.Input; /** * The ID of the project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: pulumi.Input; }