get Backend Service
Provide access to a Backend Service's attribute. For more information see the official documentation and the API.
Example Usage
data "google_compute_backend_service" "baz" {
name = "foobar"
}
resource "google_compute_backend_service" "default" {
name = "backend-service"
health_checks = [tolist(data.google_compute_backend_service.baz.health_checks)[0]]
}
Content copied to clipboard
Return
A collection of values returned by getBackendService.
Parameters
argument
A collection of arguments for invoking getBackendService.
Return
A collection of values returned by getBackendService.
Parameters
name
The name of the Backend Service.
project
The project in which the resource belongs. If it is not provided, the provider project is used.
See also
suspend fun getBackendService(argument: suspend GetBackendServicePlainArgsBuilder.() -> Unit): GetBackendServiceResult
Return
A collection of values returned by getBackendService.
Parameters
argument
Builder for com.pulumi.gcp.compute.kotlin.inputs.GetBackendServicePlainArgs.