getNetworks

List all networks in a specified Google Cloud project.

Example Usage

data "google_compute_networks" "my-networks" {
project = "my-cloud-project"
}

Return

A collection of values returned by getNetworks.

Parameters

argument

A collection of arguments for invoking getNetworks.


suspend fun getNetworks(project: String? = null): GetNetworksResult

Return

A collection of values returned by getNetworks.

Parameters

project

The name of the project.

See also


suspend fun getNetworks(argument: suspend GetNetworksPlainArgsBuilder.() -> Unit): GetNetworksResult

Return

A collection of values returned by getNetworks.

Parameters

argument

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

See also