published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi
Get information about a Google Compute Regional Persistent disks.
the official documentation and its API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const disk = gcp.compute.getRegionDisk({
name: "persistent-regional-disk",
project: "example",
region: "us-central1",
type: "pd-ssd",
physicalBlockSizeBytes: 4096,
replicaZones: [
"us-central1-a",
"us-central1-f",
],
});
const _default = new gcp.compute.Instance("default", {attachedDisks: [{
source: diskGoogleComputeDisk.selfLink,
}]});
import pulumi
import pulumi_gcp as gcp
disk = gcp.compute.get_region_disk(name="persistent-regional-disk",
project="example",
region="us-central1",
type="pd-ssd",
physical_block_size_bytes=4096,
replica_zones=[
"us-central1-a",
"us-central1-f",
])
default = gcp.compute.Instance("default", attached_disks=[{
"source": disk_google_compute_disk["selfLink"],
}])
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.LookupRegionDisk(ctx, &compute.LookupRegionDiskArgs{
Name: "persistent-regional-disk",
Project: pulumi.StringRef("example"),
Region: pulumi.StringRef("us-central1"),
Type: "pd-ssd",
PhysicalBlockSizeBytes: 4096,
ReplicaZones: []string{
"us-central1-a",
"us-central1-f",
},
}, nil)
if err != nil {
return err
}
_, err = compute.NewInstance(ctx, "default", &compute.InstanceArgs{
AttachedDisks: compute.InstanceAttachedDiskArray{
&compute.InstanceAttachedDiskArgs{
Source: pulumi.Any(diskGoogleComputeDisk.SelfLink),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var disk = Gcp.Compute.GetRegionDisk.Invoke(new()
{
Name = "persistent-regional-disk",
Project = "example",
Region = "us-central1",
Type = "pd-ssd",
PhysicalBlockSizeBytes = 4096,
ReplicaZones = new[]
{
"us-central1-a",
"us-central1-f",
},
});
var @default = new Gcp.Compute.Instance("default", new()
{
AttachedDisks = new[]
{
new Gcp.Compute.Inputs.InstanceAttachedDiskArgs
{
Source = diskGoogleComputeDisk.SelfLink,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetRegionDiskArgs;
import com.pulumi.gcp.compute.Instance;
import com.pulumi.gcp.compute.InstanceArgs;
import com.pulumi.gcp.compute.inputs.InstanceAttachedDiskArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var disk = ComputeFunctions.getRegionDisk(GetRegionDiskArgs.builder()
.name("persistent-regional-disk")
.project("example")
.region("us-central1")
.type("pd-ssd")
.physicalBlockSizeBytes(4096)
.replicaZones(Arrays.asList(
"us-central1-a",
"us-central1-f"))
.build());
var default_ = new Instance("default", InstanceArgs.builder()
.attachedDisks(InstanceAttachedDiskArgs.builder()
.source(diskGoogleComputeDisk.get("selfLink"))
.build())
.build());
}
}
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
terraform {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
data "gcp_compute_region_disk" "disk" {
name = "persistent-regional-disk"
project = "example"
region = "us-central1"
type = "pd-ssd"
physical_block_size_bytes = 4096
replica_zones = ["us-central1-a", "us-central1-f"]
}
resource "gcp_compute_instance" "default" {
lifecycle {
create_before_destroy = true
}
attached_disks {
source = diskGoogleComputeDisk.selfLink
}
}
Using getRegionDisk
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRegionDisk(args: GetRegionDiskArgs, opts?: InvokeOptions): Promise<GetRegionDiskResult>
function getRegionDiskOutput(args: GetRegionDiskOutputArgs, opts?: InvokeOutputOptions): Output<GetRegionDiskResult>def get_region_disk(name: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegionDiskResult
def get_region_disk_output(name: pulumi.Input[Optional[str]] = None,
project: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetRegionDiskResult]func LookupRegionDisk(ctx *Context, args *LookupRegionDiskArgs, opts ...InvokeOption) (*LookupRegionDiskResult, error)
func LookupRegionDiskOutput(ctx *Context, args *LookupRegionDiskOutputArgs, opts ...InvokeOption) LookupRegionDiskResultOutput> Note: This function is named LookupRegionDisk in the Go SDK.
public static class GetRegionDisk
{
public static Task<GetRegionDiskResult> InvokeAsync(GetRegionDiskArgs args, InvokeOptions? opts = null)
public static Output<GetRegionDiskResult> Invoke(GetRegionDiskInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetRegionDiskResult> Invoke(GetRegionDiskInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetRegionDiskResult> getRegionDisk(GetRegionDiskArgs args, InvokeOptions options)
public static Output<GetRegionDiskResult> getRegionDisk(GetRegionDiskArgs args, InvokeOptions options)
public static Output<GetRegionDiskResult> getRegionDisk(GetRegionDiskArgs args, InvokeOutputOptions options)
fn::invoke:
function: gcp:compute/getRegionDisk:getRegionDisk
arguments:
# arguments dictionarydata "gcp_compute_get_region_disk" "name" {
# arguments
}The following arguments are supported:
getRegionDisk Result
The following output properties are available:
- Access
Mode string - Async
Primary List<GetDisks Region Disk Async Primary Disk> - Create
Snapshot boolBefore Destroy - Create
Snapshot stringBefore Destroy Prefix - Creation
Timestamp string - Deletion
Policy string - Description string
- Disk
Encryption List<GetKeys Region Disk Disk Encryption Key> - Disk
Id string - Effective
Labels Dictionary<string, string> - Erase
Windows boolVss Signature - Guest
Os List<GetFeatures Region Disk Guest Os Feature> - Id string
- The provider-assigned unique ID for this managed resource.
- Image string
- Interface string
- Label
Fingerprint string - Labels Dictionary<string, string>
- Last
Attach stringTimestamp - Last
Detach stringTimestamp - Licenses List<string>
- Name string
- Physical
Block intSize Bytes - Provisioned
Iops int - Provisioned
Throughput int - Pulumi
Labels Dictionary<string, string> - Replica
Zones List<string> - Self
Link string - Size int
- Snapshot string
- Source
Disk string - Source
Disk stringId - Source
Image List<GetEncryption Keys Region Disk Source Image Encryption Key> - Source
Image stringId - Source
Snapshot List<GetEncryption Keys Region Disk Source Snapshot Encryption Key> - Source
Snapshot stringId - Type string
- Users List<string>
- Project string
- Region string
- Access
Mode string - Async
Primary []GetDisks Region Disk Async Primary Disk - Create
Snapshot boolBefore Destroy - Create
Snapshot stringBefore Destroy Prefix - Creation
Timestamp string - Deletion
Policy string - Description string
- Disk
Encryption []GetKeys Region Disk Disk Encryption Key - Disk
Id string - Effective
Labels map[string]string - Erase
Windows boolVss Signature - Guest
Os []GetFeatures Region Disk Guest Os Feature - Id string
- The provider-assigned unique ID for this managed resource.
- Image string
- Interface string
- Label
Fingerprint string - Labels map[string]string
- Last
Attach stringTimestamp - Last
Detach stringTimestamp - Licenses []string
- Name string
- Physical
Block intSize Bytes - Provisioned
Iops int - Provisioned
Throughput int - Pulumi
Labels map[string]string - Replica
Zones []string - Self
Link string - Size int
- Snapshot string
- Source
Disk string - Source
Disk stringId - Source
Image []GetEncryption Keys Region Disk Source Image Encryption Key - Source
Image stringId - Source
Snapshot []GetEncryption Keys Region Disk Source Snapshot Encryption Key - Source
Snapshot stringId - Type string
- Users []string
- Project string
- Region string
- access_
mode string - async_
primary_ list(object)disks - create_
snapshot_ boolbefore_ destroy - create_
snapshot_ stringbefore_ destroy_ prefix - creation_
timestamp string - deletion_
policy string - description string
- disk_
encryption_ list(object)keys - disk_
id string - effective_
labels map(string) - erase_
windows_ boolvss_ signature - guest_
os_ list(object)features - id string
- The provider-assigned unique ID for this managed resource.
- image string
- interface string
- label_
fingerprint string - labels map(string)
- last_
attach_ stringtimestamp - last_
detach_ stringtimestamp - licenses list(string)
- name string
- physical_
block_ numbersize_ bytes - provisioned_
iops number - provisioned_
throughput number - pulumi_
labels map(string) - replica_
zones list(string) - self_
link string - size number
- snapshot string
- source_
disk string - source_
disk_ stringid - source_
image_ list(object)encryption_ keys - source_
image_ stringid - source_
snapshot_ list(object)encryption_ keys - source_
snapshot_ stringid - type string
- users list(string)
- project string
- region string
- access
Mode String - async
Primary List<GetDisks Region Disk Async Primary Disk> - create
Snapshot BooleanBefore Destroy - create
Snapshot StringBefore Destroy Prefix - creation
Timestamp String - deletion
Policy String - description String
- disk
Encryption List<GetKeys Region Disk Disk Encryption Key> - disk
Id String - effective
Labels Map<String,String> - erase
Windows BooleanVss Signature - guest
Os List<GetFeatures Region Disk Guest Os Feature> - id String
- The provider-assigned unique ID for this managed resource.
- image String
- interface_ String
- label
Fingerprint String - labels Map<String,String>
- last
Attach StringTimestamp - last
Detach StringTimestamp - licenses List<String>
- name String
- physical
Block IntegerSize Bytes - provisioned
Iops Integer - provisioned
Throughput Integer - pulumi
Labels Map<String,String> - replica
Zones List<String> - self
Link String - size Integer
- snapshot String
- source
Disk String - source
Disk StringId - source
Image List<GetEncryption Keys Region Disk Source Image Encryption Key> - source
Image StringId - source
Snapshot List<GetEncryption Keys Region Disk Source Snapshot Encryption Key> - source
Snapshot StringId - type String
- users List<String>
- project String
- region String
- access
Mode string - async
Primary GetDisks Region Disk Async Primary Disk[] - create
Snapshot booleanBefore Destroy - create
Snapshot stringBefore Destroy Prefix - creation
Timestamp string - deletion
Policy string - description string
- disk
Encryption GetKeys Region Disk Disk Encryption Key[] - disk
Id string - effective
Labels {[key: string]: string} - erase
Windows booleanVss Signature - guest
Os GetFeatures Region Disk Guest Os Feature[] - id string
- The provider-assigned unique ID for this managed resource.
- image string
- interface string
- label
Fingerprint string - labels {[key: string]: string}
- last
Attach stringTimestamp - last
Detach stringTimestamp - licenses string[]
- name string
- physical
Block numberSize Bytes - provisioned
Iops number - provisioned
Throughput number - pulumi
Labels {[key: string]: string} - replica
Zones string[] - self
Link string - size number
- snapshot string
- source
Disk string - source
Disk stringId - source
Image GetEncryption Keys Region Disk Source Image Encryption Key[] - source
Image stringId - source
Snapshot GetEncryption Keys Region Disk Source Snapshot Encryption Key[] - source
Snapshot stringId - type string
- users string[]
- project string
- region string
- access_
mode str - async_
primary_ Sequence[Getdisks Region Disk Async Primary Disk] - create_
snapshot_ boolbefore_ destroy - create_
snapshot_ strbefore_ destroy_ prefix - creation_
timestamp str - deletion_
policy str - description str
- disk_
encryption_ Sequence[Getkeys Region Disk Disk Encryption Key] - disk_
id str - effective_
labels Mapping[str, str] - erase_
windows_ boolvss_ signature - guest_
os_ Sequence[Getfeatures Region Disk Guest Os Feature] - id str
- The provider-assigned unique ID for this managed resource.
- image str
- interface str
- label_
fingerprint str - labels Mapping[str, str]
- last_
attach_ strtimestamp - last_
detach_ strtimestamp - licenses Sequence[str]
- name str
- physical_
block_ intsize_ bytes - provisioned_
iops int - provisioned_
throughput int - pulumi_
labels Mapping[str, str] - replica_
zones Sequence[str] - self_
link str - size int
- snapshot str
- source_
disk str - source_
disk_ strid - source_
image_ Sequence[Getencryption_ keys Region Disk Source Image Encryption Key] - source_
image_ strid - source_
snapshot_ Sequence[Getencryption_ keys Region Disk Source Snapshot Encryption Key] - source_
snapshot_ strid - type str
- users Sequence[str]
- project str
- region str
- access
Mode String - async
Primary List<Property Map>Disks - create
Snapshot BooleanBefore Destroy - create
Snapshot StringBefore Destroy Prefix - creation
Timestamp String - deletion
Policy String - description String
- disk
Encryption List<Property Map>Keys - disk
Id String - effective
Labels Map<String> - erase
Windows BooleanVss Signature - guest
Os List<Property Map>Features - id String
- The provider-assigned unique ID for this managed resource.
- image String
- interface String
- label
Fingerprint String - labels Map<String>
- last
Attach StringTimestamp - last
Detach StringTimestamp - licenses List<String>
- name String
- physical
Block NumberSize Bytes - provisioned
Iops Number - provisioned
Throughput Number - pulumi
Labels Map<String> - replica
Zones List<String> - self
Link String - size Number
- snapshot String
- source
Disk String - source
Disk StringId - source
Image List<Property Map>Encryption Keys - source
Image StringId - source
Snapshot List<Property Map>Encryption Keys - source
Snapshot StringId - type String
- users List<String>
- project String
- region String
Supporting Types
GetRegionDiskAsyncPrimaryDisk
- Disk string
- Primary disk for asynchronous disk replication.
- Disk string
- Primary disk for asynchronous disk replication.
- disk string
- Primary disk for asynchronous disk replication.
- disk String
- Primary disk for asynchronous disk replication.
- disk string
- Primary disk for asynchronous disk replication.
- disk str
- Primary disk for asynchronous disk replication.
- disk String
- Primary disk for asynchronous disk replication.
GetRegionDiskDiskEncryptionKey
- Kms
Key stringName The name of the encryption key that is stored in Google Cloud KMS.
Specify the key without a '/cryptoKeyVersions/' suffix.
- Raw
Key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- Raw
Key stringWo - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- Raw
Key stringWo Version - Triggers update of 'raw_key_wo' write-only. Increment this value when an update to 'raw_key_wo' is needed. For more info see updating write-only arguments
- Rsa
Encrypted stringKey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- Rsa
Encrypted stringKey Wo - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- Rsa
Encrypted stringKey Wo Version - Triggers update of 'rsa_encrypted_key_wo' write-only. Increment this value when an update to 'rsa_encrypted_key_wo' is needed. For more info see updating write-only arguments
- Sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- Kms
Key stringName The name of the encryption key that is stored in Google Cloud KMS.
Specify the key without a '/cryptoKeyVersions/' suffix.
- Raw
Key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- Raw
Key stringWo - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- Raw
Key stringWo Version - Triggers update of 'raw_key_wo' write-only. Increment this value when an update to 'raw_key_wo' is needed. For more info see updating write-only arguments
- Rsa
Encrypted stringKey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- Rsa
Encrypted stringKey Wo - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- Rsa
Encrypted stringKey Wo Version - Triggers update of 'rsa_encrypted_key_wo' write-only. Increment this value when an update to 'rsa_encrypted_key_wo' is needed. For more info see updating write-only arguments
- Sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms_
key_ stringname The name of the encryption key that is stored in Google Cloud KMS.
Specify the key without a '/cryptoKeyVersions/' suffix.
- raw_
key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- raw_
key_ stringwo - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- raw_
key_ stringwo_ version - Triggers update of 'raw_key_wo' write-only. Increment this value when an update to 'raw_key_wo' is needed. For more info see updating write-only arguments
- rsa_
encrypted_ stringkey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- rsa_
encrypted_ stringkey_ wo - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- rsa_
encrypted_ stringkey_ wo_ version - Triggers update of 'rsa_encrypted_key_wo' write-only. Increment this value when an update to 'rsa_encrypted_key_wo' is needed. For more info see updating write-only arguments
- sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms
Key StringName The name of the encryption key that is stored in Google Cloud KMS.
Specify the key without a '/cryptoKeyVersions/' suffix.
- raw
Key String - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- raw
Key StringWo - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- raw
Key StringWo Version - Triggers update of 'raw_key_wo' write-only. Increment this value when an update to 'raw_key_wo' is needed. For more info see updating write-only arguments
- rsa
Encrypted StringKey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- rsa
Encrypted StringKey Wo - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- rsa
Encrypted StringKey Wo Version - Triggers update of 'rsa_encrypted_key_wo' write-only. Increment this value when an update to 'rsa_encrypted_key_wo' is needed. For more info see updating write-only arguments
- sha256 String
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms
Key stringName The name of the encryption key that is stored in Google Cloud KMS.
Specify the key without a '/cryptoKeyVersions/' suffix.
- raw
Key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- raw
Key stringWo - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- raw
Key stringWo Version - Triggers update of 'raw_key_wo' write-only. Increment this value when an update to 'raw_key_wo' is needed. For more info see updating write-only arguments
- rsa
Encrypted stringKey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- rsa
Encrypted stringKey Wo - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- rsa
Encrypted stringKey Wo Version - Triggers update of 'rsa_encrypted_key_wo' write-only. Increment this value when an update to 'rsa_encrypted_key_wo' is needed. For more info see updating write-only arguments
- sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms_
key_ strname The name of the encryption key that is stored in Google Cloud KMS.
Specify the key without a '/cryptoKeyVersions/' suffix.
- raw_
key str - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- raw_
key_ strwo - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- raw_
key_ strwo_ version - Triggers update of 'raw_key_wo' write-only. Increment this value when an update to 'raw_key_wo' is needed. For more info see updating write-only arguments
- rsa_
encrypted_ strkey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- rsa_
encrypted_ strkey_ wo - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- rsa_
encrypted_ strkey_ wo_ version - Triggers update of 'rsa_encrypted_key_wo' write-only. Increment this value when an update to 'rsa_encrypted_key_wo' is needed. For more info see updating write-only arguments
- sha256 str
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms
Key StringName The name of the encryption key that is stored in Google Cloud KMS.
Specify the key without a '/cryptoKeyVersions/' suffix.
- raw
Key String - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- raw
Key StringWo - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- raw
Key StringWo Version - Triggers update of 'raw_key_wo' write-only. Increment this value when an update to 'raw_key_wo' is needed. For more info see updating write-only arguments
- rsa
Encrypted StringKey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- rsa
Encrypted StringKey Wo - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- rsa
Encrypted StringKey Wo Version - Triggers update of 'rsa_encrypted_key_wo' write-only. Increment this value when an update to 'rsa_encrypted_key_wo' is needed. For more info see updating write-only arguments
- sha256 String
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
GetRegionDiskGuestOsFeature
- Type string
- The type of supported feature. Read Enabling guest operating system features to see a list of available options. Possible values: ["MULTI_IP_SUBNET", "SECURE_BOOT", "SEV_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", "GVNIC", "IDPF", "SEV_LIVE_MIGRATABLE", "SEV_SNP_CAPABLE", "SUSPEND_RESUME_COMPATIBLE", "TDX_CAPABLE", "SEV_LIVE_MIGRATABLE_V2", "SNP_SVSM_CAPABLE", "SUSPEND_SAFE_FPR"]
- Type string
- The type of supported feature. Read Enabling guest operating system features to see a list of available options. Possible values: ["MULTI_IP_SUBNET", "SECURE_BOOT", "SEV_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", "GVNIC", "IDPF", "SEV_LIVE_MIGRATABLE", "SEV_SNP_CAPABLE", "SUSPEND_RESUME_COMPATIBLE", "TDX_CAPABLE", "SEV_LIVE_MIGRATABLE_V2", "SNP_SVSM_CAPABLE", "SUSPEND_SAFE_FPR"]
- type string
- The type of supported feature. Read Enabling guest operating system features to see a list of available options. Possible values: ["MULTI_IP_SUBNET", "SECURE_BOOT", "SEV_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", "GVNIC", "IDPF", "SEV_LIVE_MIGRATABLE", "SEV_SNP_CAPABLE", "SUSPEND_RESUME_COMPATIBLE", "TDX_CAPABLE", "SEV_LIVE_MIGRATABLE_V2", "SNP_SVSM_CAPABLE", "SUSPEND_SAFE_FPR"]
- type String
- The type of supported feature. Read Enabling guest operating system features to see a list of available options. Possible values: ["MULTI_IP_SUBNET", "SECURE_BOOT", "SEV_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", "GVNIC", "IDPF", "SEV_LIVE_MIGRATABLE", "SEV_SNP_CAPABLE", "SUSPEND_RESUME_COMPATIBLE", "TDX_CAPABLE", "SEV_LIVE_MIGRATABLE_V2", "SNP_SVSM_CAPABLE", "SUSPEND_SAFE_FPR"]
- type string
- The type of supported feature. Read Enabling guest operating system features to see a list of available options. Possible values: ["MULTI_IP_SUBNET", "SECURE_BOOT", "SEV_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", "GVNIC", "IDPF", "SEV_LIVE_MIGRATABLE", "SEV_SNP_CAPABLE", "SUSPEND_RESUME_COMPATIBLE", "TDX_CAPABLE", "SEV_LIVE_MIGRATABLE_V2", "SNP_SVSM_CAPABLE", "SUSPEND_SAFE_FPR"]
- type str
- The type of supported feature. Read Enabling guest operating system features to see a list of available options. Possible values: ["MULTI_IP_SUBNET", "SECURE_BOOT", "SEV_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", "GVNIC", "IDPF", "SEV_LIVE_MIGRATABLE", "SEV_SNP_CAPABLE", "SUSPEND_RESUME_COMPATIBLE", "TDX_CAPABLE", "SEV_LIVE_MIGRATABLE_V2", "SNP_SVSM_CAPABLE", "SUSPEND_SAFE_FPR"]
- type String
- The type of supported feature. Read Enabling guest operating system features to see a list of available options. Possible values: ["MULTI_IP_SUBNET", "SECURE_BOOT", "SEV_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", "GVNIC", "IDPF", "SEV_LIVE_MIGRATABLE", "SEV_SNP_CAPABLE", "SUSPEND_RESUME_COMPATIBLE", "TDX_CAPABLE", "SEV_LIVE_MIGRATABLE_V2", "SNP_SVSM_CAPABLE", "SUSPEND_SAFE_FPR"]
GetRegionDiskSourceImageEncryptionKey
- Kms
Key stringName - The name of the encryption key that is stored in Google Cloud KMS.
- Kms
Key stringService Account - The service account used for the encryption request for the given KMS key. If absent, the Compute Engine Service Agent service account is used.
- Raw
Key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- Rsa
Encrypted stringKey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- Sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- Kms
Key stringName - The name of the encryption key that is stored in Google Cloud KMS.
- Kms
Key stringService Account - The service account used for the encryption request for the given KMS key. If absent, the Compute Engine Service Agent service account is used.
- Raw
Key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- Rsa
Encrypted stringKey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- Sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms_
key_ stringname - The name of the encryption key that is stored in Google Cloud KMS.
- kms_
key_ stringservice_ account - The service account used for the encryption request for the given KMS key. If absent, the Compute Engine Service Agent service account is used.
- raw_
key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- rsa_
encrypted_ stringkey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms
Key StringName - The name of the encryption key that is stored in Google Cloud KMS.
- kms
Key StringService Account - The service account used for the encryption request for the given KMS key. If absent, the Compute Engine Service Agent service account is used.
- raw
Key String - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- rsa
Encrypted StringKey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- sha256 String
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms
Key stringName - The name of the encryption key that is stored in Google Cloud KMS.
- kms
Key stringService Account - The service account used for the encryption request for the given KMS key. If absent, the Compute Engine Service Agent service account is used.
- raw
Key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- rsa
Encrypted stringKey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms_
key_ strname - The name of the encryption key that is stored in Google Cloud KMS.
- kms_
key_ strservice_ account - The service account used for the encryption request for the given KMS key. If absent, the Compute Engine Service Agent service account is used.
- raw_
key str - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- rsa_
encrypted_ strkey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- sha256 str
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms
Key StringName - The name of the encryption key that is stored in Google Cloud KMS.
- kms
Key StringService Account - The service account used for the encryption request for the given KMS key. If absent, the Compute Engine Service Agent service account is used.
- raw
Key String - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- rsa
Encrypted StringKey - Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey.
- sha256 String
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
GetRegionDiskSourceSnapshotEncryptionKey
- Kms
Key stringName - The name of the encryption key that is stored in Google Cloud KMS.
- Raw
Key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- Sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- Kms
Key stringName - The name of the encryption key that is stored in Google Cloud KMS.
- Raw
Key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- Sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms_
key_ stringname - The name of the encryption key that is stored in Google Cloud KMS.
- raw_
key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms
Key StringName - The name of the encryption key that is stored in Google Cloud KMS.
- raw
Key String - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- sha256 String
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms
Key stringName - The name of the encryption key that is stored in Google Cloud KMS.
- raw
Key string - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- sha256 string
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms_
key_ strname - The name of the encryption key that is stored in Google Cloud KMS.
- raw_
key str - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- sha256 str
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
- kms
Key StringName - The name of the encryption key that is stored in Google Cloud KMS.
- raw
Key String - Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
- sha256 String
- The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
Package Details
- Repository
- Google Cloud (GCP) pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
published on Wednesday, Nov 18, 2026 by Pulumi