getResourcePolicy

Return

A collection of values returned by getResourcePolicy.

Parameters

argument

A collection of arguments for invoking getResourcePolicy.


suspend fun getResourcePolicy(name: String, project: String? = null, region: String? = null): GetResourcePolicyResult

Return

A collection of values returned by getResourcePolicy.

See also

Parameters

name

The name of the Resource Policy.

project

Project from which to list the Resource Policy. Defaults to project declared in the provider.

region

Region where the Resource Policy resides.


Return

A collection of values returned by getResourcePolicy.

See also

Parameters

argument

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