get Region Disk
Get information about a Google Compute Regional Persistent disks. the official documentation and its API.
Example Usage
resources:
default:
type: gcp:compute:Instance
properties:
attachedDisks:
- source: ${diskGoogleComputeDisk.selfLink}
variables:
disk:
fn::invoke:
function: gcp:compute:getRegionDisk
arguments:
name: persistent-regional-disk
project: example
region: us-central1
type: pd-ssd
physicalBlockSizeBytes: 4096
replicaZones:
- us-central1-a
- us-central1-f
Content copied to clipboard
Return
A collection of values returned by getRegionDisk.
Parameters
argument
A collection of arguments for invoking getRegionDisk.
suspend fun getRegionDisk(name: String, project: String? = null, region: String? = null): GetRegionDiskResult
Return
A collection of values returned by getRegionDisk.
Parameters
name
The name of a specific disk.
project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
region
A reference to the region where the disk resides.
See also
suspend fun getRegionDisk(argument: suspend GetRegionDiskPlainArgsBuilder.() -> Unit): GetRegionDiskResult
Return
A collection of values returned by getRegionDisk.
Parameters
argument
Builder for com.pulumi.gcp.compute.kotlin.inputs.GetRegionDiskPlainArgs.