getHealthCheck

Get information about a HealthCheck.

Example Usage

data "google_compute_health_check" "health_check" {
name = "my-hc"
}

Return

A collection of values returned by getHealthCheck.

Parameters

argument

A collection of arguments for invoking getHealthCheck.


suspend fun getHealthCheck(name: String, project: String? = null): GetHealthCheckResult

Return

A collection of values returned by getHealthCheck.

Parameters

name

Name of the resource.

project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

See also


Return

A collection of values returned by getHealthCheck.

Parameters

argument

Builder for com.pulumi.gcp.compute.kotlin.inputs.GetHealthCheckPlainArgs.

See also