getForwardingRules

List all networks in a specified Google Cloud project.

Example Usage

data "google_compute_forwarding_rules" "my-forwarding-rules" {
project = "my-cloud-project"
region = "us-central1"
}

Return

A collection of values returned by getForwardingRules.

Parameters

argument

A collection of arguments for invoking getForwardingRules.


suspend fun getForwardingRules(project: String? = null, region: String? = null): GetForwardingRulesResult

Return

A collection of values returned by getForwardingRules.

Parameters

project

The name of the project.

region

The region you want to get the forwarding rules from. These arguments must be set in either the provider or the resouce in order for the information to be queried.

See also


Return

A collection of values returned by getForwardingRules.

Parameters

argument

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

See also