1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/alpha
  6. RegionDisk

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.compute/alpha.RegionDisk

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a persistent regional disk in the specified project using the data included in the request.

Create RegionDisk Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new RegionDisk(name: string, args: RegionDiskArgs, opts?: CustomResourceOptions);
@overload
def RegionDisk(resource_name: str,
               args: RegionDiskArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def RegionDisk(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               region: Optional[str] = None,
               project: Optional[str] = None,
               disk_encryption_key: Optional[CustomerEncryptionKeyArgs] = None,
               physical_block_size_bytes: Optional[str] = None,
               access_mode: Optional[RegionDiskAccessMode] = None,
               enable_confidential_compute: Optional[bool] = None,
               erase_windows_vss_signature: Optional[bool] = None,
               guest_os_features: Optional[Sequence[GuestOsFeatureArgs]] = None,
               interface: Optional[RegionDiskInterface] = None,
               labels: Optional[Mapping[str, str]] = None,
               license_codes: Optional[Sequence[str]] = None,
               licenses: Optional[Sequence[str]] = None,
               location_hint: Optional[str] = None,
               multi_writer: Optional[bool] = None,
               name: Optional[str] = None,
               options: Optional[str] = None,
               params: Optional[DiskParamsArgs] = None,
               description: Optional[str] = None,
               provisioned_iops: Optional[str] = None,
               async_primary_disk: Optional[DiskAsyncReplicationArgs] = None,
               provisioned_throughput: Optional[str] = None,
               architecture: Optional[RegionDiskArchitecture] = None,
               replica_zones: Optional[Sequence[str]] = None,
               request_id: Optional[str] = None,
               resource_policies: Optional[Sequence[str]] = None,
               size_gb: Optional[str] = None,
               source_disk: Optional[str] = None,
               source_image: Optional[str] = None,
               source_image_encryption_key: Optional[CustomerEncryptionKeyArgs] = None,
               source_instant_snapshot: Optional[str] = None,
               source_snapshot: Optional[str] = None,
               source_snapshot_encryption_key: Optional[CustomerEncryptionKeyArgs] = None,
               source_storage_object: Optional[str] = None,
               storage_pool: Optional[str] = None,
               storage_type: Optional[RegionDiskStorageType] = None,
               type: Optional[str] = None,
               user_licenses: Optional[Sequence[str]] = None)
func NewRegionDisk(ctx *Context, name string, args RegionDiskArgs, opts ...ResourceOption) (*RegionDisk, error)
public RegionDisk(string name, RegionDiskArgs args, CustomResourceOptions? opts = null)
public RegionDisk(String name, RegionDiskArgs args)
public RegionDisk(String name, RegionDiskArgs args, CustomResourceOptions options)
type: google-native:compute/alpha:RegionDisk
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. RegionDiskArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. RegionDiskArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. RegionDiskArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. RegionDiskArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. RegionDiskArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var regionDiskResource = new GoogleNative.Compute.Alpha.RegionDisk("regionDiskResource", new()
{
    Region = "string",
    Project = "string",
    DiskEncryptionKey = new GoogleNative.Compute.Alpha.Inputs.CustomerEncryptionKeyArgs
    {
        KmsKeyName = "string",
        KmsKeyServiceAccount = "string",
        RawKey = "string",
        RsaEncryptedKey = "string",
    },
    PhysicalBlockSizeBytes = "string",
    AccessMode = GoogleNative.Compute.Alpha.RegionDiskAccessMode.ReadOnlyMany,
    EnableConfidentialCompute = false,
    EraseWindowsVssSignature = false,
    GuestOsFeatures = new[]
    {
        new GoogleNative.Compute.Alpha.Inputs.GuestOsFeatureArgs
        {
            Type = GoogleNative.Compute.Alpha.GuestOsFeatureType.BareMetalLinuxCompatible,
        },
    },
    Labels = 
    {
        { "string", "string" },
    },
    LicenseCodes = new[]
    {
        "string",
    },
    Licenses = new[]
    {
        "string",
    },
    LocationHint = "string",
    MultiWriter = false,
    Name = "string",
    Options = "string",
    Params = new GoogleNative.Compute.Alpha.Inputs.DiskParamsArgs
    {
        ResourceManagerTags = 
        {
            { "string", "string" },
        },
    },
    Description = "string",
    ProvisionedIops = "string",
    AsyncPrimaryDisk = new GoogleNative.Compute.Alpha.Inputs.DiskAsyncReplicationArgs
    {
        Disk = "string",
    },
    ProvisionedThroughput = "string",
    Architecture = GoogleNative.Compute.Alpha.RegionDiskArchitecture.ArchitectureUnspecified,
    ReplicaZones = new[]
    {
        "string",
    },
    RequestId = "string",
    ResourcePolicies = new[]
    {
        "string",
    },
    SizeGb = "string",
    SourceDisk = "string",
    SourceImage = "string",
    SourceImageEncryptionKey = new GoogleNative.Compute.Alpha.Inputs.CustomerEncryptionKeyArgs
    {
        KmsKeyName = "string",
        KmsKeyServiceAccount = "string",
        RawKey = "string",
        RsaEncryptedKey = "string",
    },
    SourceInstantSnapshot = "string",
    SourceSnapshot = "string",
    SourceSnapshotEncryptionKey = new GoogleNative.Compute.Alpha.Inputs.CustomerEncryptionKeyArgs
    {
        KmsKeyName = "string",
        KmsKeyServiceAccount = "string",
        RawKey = "string",
        RsaEncryptedKey = "string",
    },
    SourceStorageObject = "string",
    StoragePool = "string",
    Type = "string",
    UserLicenses = new[]
    {
        "string",
    },
});
Copy
example, err := compute.NewRegionDisk(ctx, "regionDiskResource", &compute.RegionDiskArgs{
	Region:  pulumi.String("string"),
	Project: pulumi.String("string"),
	DiskEncryptionKey: &compute.CustomerEncryptionKeyArgs{
		KmsKeyName:           pulumi.String("string"),
		KmsKeyServiceAccount: pulumi.String("string"),
		RawKey:               pulumi.String("string"),
		RsaEncryptedKey:      pulumi.String("string"),
	},
	PhysicalBlockSizeBytes:    pulumi.String("string"),
	AccessMode:                compute.RegionDiskAccessModeReadOnlyMany,
	EnableConfidentialCompute: pulumi.Bool(false),
	EraseWindowsVssSignature:  pulumi.Bool(false),
	GuestOsFeatures: compute.GuestOsFeatureArray{
		&compute.GuestOsFeatureArgs{
			Type: compute.GuestOsFeatureTypeBareMetalLinuxCompatible,
		},
	},
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	LicenseCodes: pulumi.StringArray{
		pulumi.String("string"),
	},
	Licenses: pulumi.StringArray{
		pulumi.String("string"),
	},
	LocationHint: pulumi.String("string"),
	MultiWriter:  pulumi.Bool(false),
	Name:         pulumi.String("string"),
	Options:      pulumi.String("string"),
	Params: &compute.DiskParamsArgs{
		ResourceManagerTags: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
	},
	Description:     pulumi.String("string"),
	ProvisionedIops: pulumi.String("string"),
	AsyncPrimaryDisk: &compute.DiskAsyncReplicationArgs{
		Disk: pulumi.String("string"),
	},
	ProvisionedThroughput: pulumi.String("string"),
	Architecture:          compute.RegionDiskArchitectureArchitectureUnspecified,
	ReplicaZones: pulumi.StringArray{
		pulumi.String("string"),
	},
	RequestId: pulumi.String("string"),
	ResourcePolicies: pulumi.StringArray{
		pulumi.String("string"),
	},
	SizeGb:      pulumi.String("string"),
	SourceDisk:  pulumi.String("string"),
	SourceImage: pulumi.String("string"),
	SourceImageEncryptionKey: &compute.CustomerEncryptionKeyArgs{
		KmsKeyName:           pulumi.String("string"),
		KmsKeyServiceAccount: pulumi.String("string"),
		RawKey:               pulumi.String("string"),
		RsaEncryptedKey:      pulumi.String("string"),
	},
	SourceInstantSnapshot: pulumi.String("string"),
	SourceSnapshot:        pulumi.String("string"),
	SourceSnapshotEncryptionKey: &compute.CustomerEncryptionKeyArgs{
		KmsKeyName:           pulumi.String("string"),
		KmsKeyServiceAccount: pulumi.String("string"),
		RawKey:               pulumi.String("string"),
		RsaEncryptedKey:      pulumi.String("string"),
	},
	SourceStorageObject: pulumi.String("string"),
	StoragePool:         pulumi.String("string"),
	Type:                pulumi.String("string"),
	UserLicenses: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var regionDiskResource = new RegionDisk("regionDiskResource", RegionDiskArgs.builder()
    .region("string")
    .project("string")
    .diskEncryptionKey(CustomerEncryptionKeyArgs.builder()
        .kmsKeyName("string")
        .kmsKeyServiceAccount("string")
        .rawKey("string")
        .rsaEncryptedKey("string")
        .build())
    .physicalBlockSizeBytes("string")
    .accessMode("READ_ONLY_MANY")
    .enableConfidentialCompute(false)
    .eraseWindowsVssSignature(false)
    .guestOsFeatures(GuestOsFeatureArgs.builder()
        .type("BARE_METAL_LINUX_COMPATIBLE")
        .build())
    .labels(Map.of("string", "string"))
    .licenseCodes("string")
    .licenses("string")
    .locationHint("string")
    .multiWriter(false)
    .name("string")
    .options("string")
    .params(DiskParamsArgs.builder()
        .resourceManagerTags(Map.of("string", "string"))
        .build())
    .description("string")
    .provisionedIops("string")
    .asyncPrimaryDisk(DiskAsyncReplicationArgs.builder()
        .disk("string")
        .build())
    .provisionedThroughput("string")
    .architecture("ARCHITECTURE_UNSPECIFIED")
    .replicaZones("string")
    .requestId("string")
    .resourcePolicies("string")
    .sizeGb("string")
    .sourceDisk("string")
    .sourceImage("string")
    .sourceImageEncryptionKey(CustomerEncryptionKeyArgs.builder()
        .kmsKeyName("string")
        .kmsKeyServiceAccount("string")
        .rawKey("string")
        .rsaEncryptedKey("string")
        .build())
    .sourceInstantSnapshot("string")
    .sourceSnapshot("string")
    .sourceSnapshotEncryptionKey(CustomerEncryptionKeyArgs.builder()
        .kmsKeyName("string")
        .kmsKeyServiceAccount("string")
        .rawKey("string")
        .rsaEncryptedKey("string")
        .build())
    .sourceStorageObject("string")
    .storagePool("string")
    .type("string")
    .userLicenses("string")
    .build());
Copy
region_disk_resource = google_native.compute.alpha.RegionDisk("regionDiskResource",
    region="string",
    project="string",
    disk_encryption_key={
        "kms_key_name": "string",
        "kms_key_service_account": "string",
        "raw_key": "string",
        "rsa_encrypted_key": "string",
    },
    physical_block_size_bytes="string",
    access_mode=google_native.compute.alpha.RegionDiskAccessMode.READ_ONLY_MANY,
    enable_confidential_compute=False,
    erase_windows_vss_signature=False,
    guest_os_features=[{
        "type": google_native.compute.alpha.GuestOsFeatureType.BARE_METAL_LINUX_COMPATIBLE,
    }],
    labels={
        "string": "string",
    },
    license_codes=["string"],
    licenses=["string"],
    location_hint="string",
    multi_writer=False,
    name="string",
    options="string",
    params={
        "resource_manager_tags": {
            "string": "string",
        },
    },
    description="string",
    provisioned_iops="string",
    async_primary_disk={
        "disk": "string",
    },
    provisioned_throughput="string",
    architecture=google_native.compute.alpha.RegionDiskArchitecture.ARCHITECTURE_UNSPECIFIED,
    replica_zones=["string"],
    request_id="string",
    resource_policies=["string"],
    size_gb="string",
    source_disk="string",
    source_image="string",
    source_image_encryption_key={
        "kms_key_name": "string",
        "kms_key_service_account": "string",
        "raw_key": "string",
        "rsa_encrypted_key": "string",
    },
    source_instant_snapshot="string",
    source_snapshot="string",
    source_snapshot_encryption_key={
        "kms_key_name": "string",
        "kms_key_service_account": "string",
        "raw_key": "string",
        "rsa_encrypted_key": "string",
    },
    source_storage_object="string",
    storage_pool="string",
    type="string",
    user_licenses=["string"])
Copy
const regionDiskResource = new google_native.compute.alpha.RegionDisk("regionDiskResource", {
    region: "string",
    project: "string",
    diskEncryptionKey: {
        kmsKeyName: "string",
        kmsKeyServiceAccount: "string",
        rawKey: "string",
        rsaEncryptedKey: "string",
    },
    physicalBlockSizeBytes: "string",
    accessMode: google_native.compute.alpha.RegionDiskAccessMode.ReadOnlyMany,
    enableConfidentialCompute: false,
    eraseWindowsVssSignature: false,
    guestOsFeatures: [{
        type: google_native.compute.alpha.GuestOsFeatureType.BareMetalLinuxCompatible,
    }],
    labels: {
        string: "string",
    },
    licenseCodes: ["string"],
    licenses: ["string"],
    locationHint: "string",
    multiWriter: false,
    name: "string",
    options: "string",
    params: {
        resourceManagerTags: {
            string: "string",
        },
    },
    description: "string",
    provisionedIops: "string",
    asyncPrimaryDisk: {
        disk: "string",
    },
    provisionedThroughput: "string",
    architecture: google_native.compute.alpha.RegionDiskArchitecture.ArchitectureUnspecified,
    replicaZones: ["string"],
    requestId: "string",
    resourcePolicies: ["string"],
    sizeGb: "string",
    sourceDisk: "string",
    sourceImage: "string",
    sourceImageEncryptionKey: {
        kmsKeyName: "string",
        kmsKeyServiceAccount: "string",
        rawKey: "string",
        rsaEncryptedKey: "string",
    },
    sourceInstantSnapshot: "string",
    sourceSnapshot: "string",
    sourceSnapshotEncryptionKey: {
        kmsKeyName: "string",
        kmsKeyServiceAccount: "string",
        rawKey: "string",
        rsaEncryptedKey: "string",
    },
    sourceStorageObject: "string",
    storagePool: "string",
    type: "string",
    userLicenses: ["string"],
});
Copy
type: google-native:compute/alpha:RegionDisk
properties:
    accessMode: READ_ONLY_MANY
    architecture: ARCHITECTURE_UNSPECIFIED
    asyncPrimaryDisk:
        disk: string
    description: string
    diskEncryptionKey:
        kmsKeyName: string
        kmsKeyServiceAccount: string
        rawKey: string
        rsaEncryptedKey: string
    enableConfidentialCompute: false
    eraseWindowsVssSignature: false
    guestOsFeatures:
        - type: BARE_METAL_LINUX_COMPATIBLE
    labels:
        string: string
    licenseCodes:
        - string
    licenses:
        - string
    locationHint: string
    multiWriter: false
    name: string
    options: string
    params:
        resourceManagerTags:
            string: string
    physicalBlockSizeBytes: string
    project: string
    provisionedIops: string
    provisionedThroughput: string
    region: string
    replicaZones:
        - string
    requestId: string
    resourcePolicies:
        - string
    sizeGb: string
    sourceDisk: string
    sourceImage: string
    sourceImageEncryptionKey:
        kmsKeyName: string
        kmsKeyServiceAccount: string
        rawKey: string
        rsaEncryptedKey: string
    sourceInstantSnapshot: string
    sourceSnapshot: string
    sourceSnapshotEncryptionKey:
        kmsKeyName: string
        kmsKeyServiceAccount: string
        rawKey: string
        rsaEncryptedKey: string
    sourceStorageObject: string
    storagePool: string
    type: string
    userLicenses:
        - string
Copy

RegionDisk Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The RegionDisk resource accepts the following input properties:

Region
This property is required.
Changes to this property will trigger replacement.
string
AccessMode Pulumi.GoogleNative.Compute.Alpha.RegionDiskAccessMode
The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid for Hyperdisk disk types.
Architecture Pulumi.GoogleNative.Compute.Alpha.RegionDiskArchitecture
The architecture of the disk. Valid values are ARM64 or X86_64.
AsyncPrimaryDisk Pulumi.GoogleNative.Compute.Alpha.Inputs.DiskAsyncReplication
Disk asynchronously replicated into this disk.
Description string
An optional description of this resource. Provide this property when you create the resource.
DiskEncryptionKey Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomerEncryptionKey
Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key version name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later.
EnableConfidentialCompute bool
Whether this disk is using confidential compute mode.
EraseWindowsVssSignature bool
Specifies whether the disk restored from a source snapshot should erase Windows specific VSS signature.
GuestOsFeatures List<Pulumi.GoogleNative.Compute.Alpha.Inputs.GuestOsFeature>
A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
Interface Pulumi.GoogleNative.Compute.Alpha.RegionDiskInterface
[Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

Deprecated: [Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

Labels Dictionary<string, string>
Labels to apply to this disk. These can be later modified by the setLabels method.
LicenseCodes List<string>
Integer license codes indicating which licenses are attached to this disk.
Licenses List<string>
A list of publicly visible licenses. Reserved for Google's use.
LocationHint string
An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API.
MultiWriter bool
Indicates whether or not the disk can be read/write attached to more than one instance.
Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Options string
Internal use only.
Params Pulumi.GoogleNative.Compute.Alpha.Inputs.DiskParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
PhysicalBlockSizeBytes string
Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.
Project Changes to this property will trigger replacement. string
ProvisionedIops string
Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
ProvisionedThroughput string
Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
ReplicaZones List<string>
URLs of the zones where the disk should be replicated to. Only applicable for regional resources.
RequestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
ResourcePolicies List<string>
Resource policies applied to this disk for automatic snapshot creations.
SizeGb string
Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are greater than 0.
SourceDisk string
The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
SourceImage string
The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family
SourceImageEncryptionKey Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomerEncryptionKey
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
SourceInstantSnapshot string
The source instant snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
SourceSnapshot string
The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot
SourceSnapshotEncryptionKey Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomerEncryptionKey
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
SourceStorageObject string
The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead.
StoragePool string
The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
StorageType Pulumi.GoogleNative.Compute.Alpha.RegionDiskStorageType
[Deprecated] Storage type of the persistent disk.

Deprecated: [Deprecated] Storage type of the persistent disk.

Type string
URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types.
UserLicenses List<string>
A list of publicly visible user-licenses. Unlike regular licenses, user provided licenses can be modified after the disk is created. This includes a list of URLs to the license resource. For example, to provide a debian license: https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-9-stretch
Region
This property is required.
Changes to this property will trigger replacement.
string
AccessMode RegionDiskAccessMode
The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid for Hyperdisk disk types.
Architecture RegionDiskArchitecture
The architecture of the disk. Valid values are ARM64 or X86_64.
AsyncPrimaryDisk DiskAsyncReplicationArgs
Disk asynchronously replicated into this disk.
Description string
An optional description of this resource. Provide this property when you create the resource.
DiskEncryptionKey CustomerEncryptionKeyArgs
Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key version name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later.
EnableConfidentialCompute bool
Whether this disk is using confidential compute mode.
EraseWindowsVssSignature bool
Specifies whether the disk restored from a source snapshot should erase Windows specific VSS signature.
GuestOsFeatures []GuestOsFeatureArgs
A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
Interface RegionDiskInterface
[Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

Deprecated: [Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

Labels map[string]string
Labels to apply to this disk. These can be later modified by the setLabels method.
LicenseCodes []string
Integer license codes indicating which licenses are attached to this disk.
Licenses []string
A list of publicly visible licenses. Reserved for Google's use.
LocationHint string
An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API.
MultiWriter bool
Indicates whether or not the disk can be read/write attached to more than one instance.
Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Options string
Internal use only.
Params DiskParamsArgs
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
PhysicalBlockSizeBytes string
Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.
Project Changes to this property will trigger replacement. string
ProvisionedIops string
Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
ProvisionedThroughput string
Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
ReplicaZones []string
URLs of the zones where the disk should be replicated to. Only applicable for regional resources.
RequestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
ResourcePolicies []string
Resource policies applied to this disk for automatic snapshot creations.
SizeGb string
Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are greater than 0.
SourceDisk string
The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
SourceImage string
The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family
SourceImageEncryptionKey CustomerEncryptionKeyArgs
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
SourceInstantSnapshot string
The source instant snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
SourceSnapshot string
The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot
SourceSnapshotEncryptionKey CustomerEncryptionKeyArgs
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
SourceStorageObject string
The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead.
StoragePool string
The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
StorageType RegionDiskStorageType
[Deprecated] Storage type of the persistent disk.

Deprecated: [Deprecated] Storage type of the persistent disk.

Type string
URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types.
UserLicenses []string
A list of publicly visible user-licenses. Unlike regular licenses, user provided licenses can be modified after the disk is created. This includes a list of URLs to the license resource. For example, to provide a debian license: https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-9-stretch
region
This property is required.
Changes to this property will trigger replacement.
String
accessMode RegionDiskAccessMode
The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid for Hyperdisk disk types.
architecture RegionDiskArchitecture
The architecture of the disk. Valid values are ARM64 or X86_64.
asyncPrimaryDisk DiskAsyncReplication
Disk asynchronously replicated into this disk.
description String
An optional description of this resource. Provide this property when you create the resource.
diskEncryptionKey CustomerEncryptionKey
Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key version name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later.
enableConfidentialCompute Boolean
Whether this disk is using confidential compute mode.
eraseWindowsVssSignature Boolean
Specifies whether the disk restored from a source snapshot should erase Windows specific VSS signature.
guestOsFeatures List<GuestOsFeature>
A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
interface_ RegionDiskInterface
[Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

Deprecated: [Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

labels Map<String,String>
Labels to apply to this disk. These can be later modified by the setLabels method.
licenseCodes List<String>
Integer license codes indicating which licenses are attached to this disk.
licenses List<String>
A list of publicly visible licenses. Reserved for Google's use.
locationHint String
An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API.
multiWriter Boolean
Indicates whether or not the disk can be read/write attached to more than one instance.
name String
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
options String
Internal use only.
params DiskParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
physicalBlockSizeBytes String
Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.
project Changes to this property will trigger replacement. String
provisionedIops String
Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
provisionedThroughput String
Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
replicaZones List<String>
URLs of the zones where the disk should be replicated to. Only applicable for regional resources.
requestId String
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
resourcePolicies List<String>
Resource policies applied to this disk for automatic snapshot creations.
sizeGb String
Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are greater than 0.
sourceDisk String
The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
sourceImage String
The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family
sourceImageEncryptionKey CustomerEncryptionKey
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
sourceInstantSnapshot String
The source instant snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
sourceSnapshot String
The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot
sourceSnapshotEncryptionKey CustomerEncryptionKey
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
sourceStorageObject String
The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead.
storagePool String
The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
storageType RegionDiskStorageType
[Deprecated] Storage type of the persistent disk.

Deprecated: [Deprecated] Storage type of the persistent disk.

type String
URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types.
userLicenses List<String>
A list of publicly visible user-licenses. Unlike regular licenses, user provided licenses can be modified after the disk is created. This includes a list of URLs to the license resource. For example, to provide a debian license: https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-9-stretch
region
This property is required.
Changes to this property will trigger replacement.
string
accessMode RegionDiskAccessMode
The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid for Hyperdisk disk types.
architecture RegionDiskArchitecture
The architecture of the disk. Valid values are ARM64 or X86_64.
asyncPrimaryDisk DiskAsyncReplication
Disk asynchronously replicated into this disk.
description string
An optional description of this resource. Provide this property when you create the resource.
diskEncryptionKey CustomerEncryptionKey
Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key version name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later.
enableConfidentialCompute boolean
Whether this disk is using confidential compute mode.
eraseWindowsVssSignature boolean
Specifies whether the disk restored from a source snapshot should erase Windows specific VSS signature.
guestOsFeatures GuestOsFeature[]
A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
interface RegionDiskInterface
[Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

Deprecated: [Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

labels {[key: string]: string}
Labels to apply to this disk. These can be later modified by the setLabels method.
licenseCodes string[]
Integer license codes indicating which licenses are attached to this disk.
licenses string[]
A list of publicly visible licenses. Reserved for Google's use.
locationHint string
An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API.
multiWriter boolean
Indicates whether or not the disk can be read/write attached to more than one instance.
name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
options string
Internal use only.
params DiskParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
physicalBlockSizeBytes string
Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.
project Changes to this property will trigger replacement. string
provisionedIops string
Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
provisionedThroughput string
Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
replicaZones string[]
URLs of the zones where the disk should be replicated to. Only applicable for regional resources.
requestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
resourcePolicies string[]
Resource policies applied to this disk for automatic snapshot creations.
sizeGb string
Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are greater than 0.
sourceDisk string
The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
sourceImage string
The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family
sourceImageEncryptionKey CustomerEncryptionKey
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
sourceInstantSnapshot string
The source instant snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
sourceSnapshot string
The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot
sourceSnapshotEncryptionKey CustomerEncryptionKey
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
sourceStorageObject string
The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead.
storagePool string
The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
storageType RegionDiskStorageType
[Deprecated] Storage type of the persistent disk.

Deprecated: [Deprecated] Storage type of the persistent disk.

type string
URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types.
userLicenses string[]
A list of publicly visible user-licenses. Unlike regular licenses, user provided licenses can be modified after the disk is created. This includes a list of URLs to the license resource. For example, to provide a debian license: https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-9-stretch
region
This property is required.
Changes to this property will trigger replacement.
str
access_mode RegionDiskAccessMode
The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid for Hyperdisk disk types.
architecture RegionDiskArchitecture
The architecture of the disk. Valid values are ARM64 or X86_64.
async_primary_disk DiskAsyncReplicationArgs
Disk asynchronously replicated into this disk.
description str
An optional description of this resource. Provide this property when you create the resource.
disk_encryption_key CustomerEncryptionKeyArgs
Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key version name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later.
enable_confidential_compute bool
Whether this disk is using confidential compute mode.
erase_windows_vss_signature bool
Specifies whether the disk restored from a source snapshot should erase Windows specific VSS signature.
guest_os_features Sequence[GuestOsFeatureArgs]
A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
interface RegionDiskInterface
[Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

Deprecated: [Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

labels Mapping[str, str]
Labels to apply to this disk. These can be later modified by the setLabels method.
license_codes Sequence[str]
Integer license codes indicating which licenses are attached to this disk.
licenses Sequence[str]
A list of publicly visible licenses. Reserved for Google's use.
location_hint str
An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API.
multi_writer bool
Indicates whether or not the disk can be read/write attached to more than one instance.
name str
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
options str
Internal use only.
params DiskParamsArgs
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
physical_block_size_bytes str
Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.
project Changes to this property will trigger replacement. str
provisioned_iops str
Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
provisioned_throughput str
Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
replica_zones Sequence[str]
URLs of the zones where the disk should be replicated to. Only applicable for regional resources.
request_id str
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
resource_policies Sequence[str]
Resource policies applied to this disk for automatic snapshot creations.
size_gb str
Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are greater than 0.
source_disk str
The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
source_image str
The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family
source_image_encryption_key CustomerEncryptionKeyArgs
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
source_instant_snapshot str
The source instant snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
source_snapshot str
The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot
source_snapshot_encryption_key CustomerEncryptionKeyArgs
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
source_storage_object str
The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead.
storage_pool str
The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
storage_type RegionDiskStorageType
[Deprecated] Storage type of the persistent disk.

Deprecated: [Deprecated] Storage type of the persistent disk.

type str
URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types.
user_licenses Sequence[str]
A list of publicly visible user-licenses. Unlike regular licenses, user provided licenses can be modified after the disk is created. This includes a list of URLs to the license resource. For example, to provide a debian license: https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-9-stretch
region
This property is required.
Changes to this property will trigger replacement.
String
accessMode "READ_ONLY_MANY" | "READ_WRITE_MANY" | "READ_WRITE_SINGLE"
The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid for Hyperdisk disk types.
architecture "ARCHITECTURE_UNSPECIFIED" | "ARM64" | "X86_64"
The architecture of the disk. Valid values are ARM64 or X86_64.
asyncPrimaryDisk Property Map
Disk asynchronously replicated into this disk.
description String
An optional description of this resource. Provide this property when you create the resource.
diskEncryptionKey Property Map
Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key version name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later.
enableConfidentialCompute Boolean
Whether this disk is using confidential compute mode.
eraseWindowsVssSignature Boolean
Specifies whether the disk restored from a source snapshot should erase Windows specific VSS signature.
guestOsFeatures List<Property Map>
A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
interface "NVME" | "SCSI" | "UNSPECIFIED"
[Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

Deprecated: [Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

labels Map<String>
Labels to apply to this disk. These can be later modified by the setLabels method.
licenseCodes List<String>
Integer license codes indicating which licenses are attached to this disk.
licenses List<String>
A list of publicly visible licenses. Reserved for Google's use.
locationHint String
An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API.
multiWriter Boolean
Indicates whether or not the disk can be read/write attached to more than one instance.
name String
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
options String
Internal use only.
params Property Map
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
physicalBlockSizeBytes String
Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.
project Changes to this property will trigger replacement. String
provisionedIops String
Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
provisionedThroughput String
Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.
replicaZones List<String>
URLs of the zones where the disk should be replicated to. Only applicable for regional resources.
requestId String
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
resourcePolicies List<String>
Resource policies applied to this disk for automatic snapshot creations.
sizeGb String
Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are greater than 0.
sourceDisk String
The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
sourceImage String
The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family
sourceImageEncryptionKey Property Map
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
sourceInstantSnapshot String
The source instant snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
sourceSnapshot String
The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot
sourceSnapshotEncryptionKey Property Map
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
sourceStorageObject String
The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead.
storagePool String
The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
storageType "HDD" | "SSD"
[Deprecated] Storage type of the persistent disk.

Deprecated: [Deprecated] Storage type of the persistent disk.

type String
URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types.
userLicenses List<String>
A list of publicly visible user-licenses. Unlike regular licenses, user provided licenses can be modified after the disk is created. This includes a list of URLs to the license resource. For example, to provide a debian license: https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-9-stretch

Outputs

All input properties are implicitly available as output properties. Additionally, the RegionDisk resource produces the following output properties:

AsyncSecondaryDisks Dictionary<string, string>
A list of disks this disk is asynchronously replicated to.
CreationTimestamp string
Creation timestamp in RFC3339 text format.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Type of the resource. Always compute#disk for disks.
LabelFingerprint string
A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk.
LastAttachTimestamp string
Last attach timestamp in RFC3339 text format.
LastDetachTimestamp string
Last detach timestamp in RFC3339 text format.
Locked bool
The field indicates if the disk is created from a locked source image. Attachment of a disk created from a locked source image will cause the following operations to become irreversibly prohibited: - R/W or R/O disk attachment to any other instance - Disk detachment. And the disk can only be deleted when the instance is deleted - Creation of images or snapshots - Disk cloning Furthermore, the instance with at least one disk with locked flag set to true will be prohibited from performing the operations below: - Further attachment of secondary disks. - Detachment of any disks - Create machine images - Create instance template - Delete the instance with --keep-disk parameter set to true for locked disks - Attach a locked disk with --auto-delete parameter set to false
ResourceStatus Pulumi.GoogleNative.Compute.Alpha.Outputs.DiskResourceStatusResponse
Status information for the disk resource.
SatisfiesPzs bool
Reserved for future use.
SelfLink string
Server-defined fully-qualified URL for this resource.
SelfLinkWithId string
Server-defined URL for this resource's resource id.
SourceConsistencyGroupPolicy string
URL of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
SourceConsistencyGroupPolicyId string
ID of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
SourceDiskId string
The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used.
SourceImageId string
The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.
SourceInstantSnapshotId string
The unique ID of the instant snapshot used to create this disk. This value identifies the exact instant snapshot that was used to create this persistent disk. For example, if you created the persistent disk from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact version of the instant snapshot that was used.
SourceSnapshotId string
The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used.
Status string
The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting.
Users List<string>
Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance
Zone string
URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
AsyncSecondaryDisks map[string]string
A list of disks this disk is asynchronously replicated to.
CreationTimestamp string
Creation timestamp in RFC3339 text format.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Type of the resource. Always compute#disk for disks.
LabelFingerprint string
A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk.
LastAttachTimestamp string
Last attach timestamp in RFC3339 text format.
LastDetachTimestamp string
Last detach timestamp in RFC3339 text format.
Locked bool
The field indicates if the disk is created from a locked source image. Attachment of a disk created from a locked source image will cause the following operations to become irreversibly prohibited: - R/W or R/O disk attachment to any other instance - Disk detachment. And the disk can only be deleted when the instance is deleted - Creation of images or snapshots - Disk cloning Furthermore, the instance with at least one disk with locked flag set to true will be prohibited from performing the operations below: - Further attachment of secondary disks. - Detachment of any disks - Create machine images - Create instance template - Delete the instance with --keep-disk parameter set to true for locked disks - Attach a locked disk with --auto-delete parameter set to false
ResourceStatus DiskResourceStatusResponse
Status information for the disk resource.
SatisfiesPzs bool
Reserved for future use.
SelfLink string
Server-defined fully-qualified URL for this resource.
SelfLinkWithId string
Server-defined URL for this resource's resource id.
SourceConsistencyGroupPolicy string
URL of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
SourceConsistencyGroupPolicyId string
ID of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
SourceDiskId string
The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used.
SourceImageId string
The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.
SourceInstantSnapshotId string
The unique ID of the instant snapshot used to create this disk. This value identifies the exact instant snapshot that was used to create this persistent disk. For example, if you created the persistent disk from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact version of the instant snapshot that was used.
SourceSnapshotId string
The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used.
Status string
The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting.
Users []string
Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance
Zone string
URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
asyncSecondaryDisks Map<String,String>
A list of disks this disk is asynchronously replicated to.
creationTimestamp String
Creation timestamp in RFC3339 text format.
id String
The provider-assigned unique ID for this managed resource.
kind String
Type of the resource. Always compute#disk for disks.
labelFingerprint String
A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk.
lastAttachTimestamp String
Last attach timestamp in RFC3339 text format.
lastDetachTimestamp String
Last detach timestamp in RFC3339 text format.
locked Boolean
The field indicates if the disk is created from a locked source image. Attachment of a disk created from a locked source image will cause the following operations to become irreversibly prohibited: - R/W or R/O disk attachment to any other instance - Disk detachment. And the disk can only be deleted when the instance is deleted - Creation of images or snapshots - Disk cloning Furthermore, the instance with at least one disk with locked flag set to true will be prohibited from performing the operations below: - Further attachment of secondary disks. - Detachment of any disks - Create machine images - Create instance template - Delete the instance with --keep-disk parameter set to true for locked disks - Attach a locked disk with --auto-delete parameter set to false
resourceStatus DiskResourceStatusResponse
Status information for the disk resource.
satisfiesPzs Boolean
Reserved for future use.
selfLink String
Server-defined fully-qualified URL for this resource.
selfLinkWithId String
Server-defined URL for this resource's resource id.
sourceConsistencyGroupPolicy String
URL of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
sourceConsistencyGroupPolicyId String
ID of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
sourceDiskId String
The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used.
sourceImageId String
The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.
sourceInstantSnapshotId String
The unique ID of the instant snapshot used to create this disk. This value identifies the exact instant snapshot that was used to create this persistent disk. For example, if you created the persistent disk from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact version of the instant snapshot that was used.
sourceSnapshotId String
The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used.
status String
The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting.
users List<String>
Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance
zone String
URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
asyncSecondaryDisks {[key: string]: string}
A list of disks this disk is asynchronously replicated to.
creationTimestamp string
Creation timestamp in RFC3339 text format.
id string
The provider-assigned unique ID for this managed resource.
kind string
Type of the resource. Always compute#disk for disks.
labelFingerprint string
A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk.
lastAttachTimestamp string
Last attach timestamp in RFC3339 text format.
lastDetachTimestamp string
Last detach timestamp in RFC3339 text format.
locked boolean
The field indicates if the disk is created from a locked source image. Attachment of a disk created from a locked source image will cause the following operations to become irreversibly prohibited: - R/W or R/O disk attachment to any other instance - Disk detachment. And the disk can only be deleted when the instance is deleted - Creation of images or snapshots - Disk cloning Furthermore, the instance with at least one disk with locked flag set to true will be prohibited from performing the operations below: - Further attachment of secondary disks. - Detachment of any disks - Create machine images - Create instance template - Delete the instance with --keep-disk parameter set to true for locked disks - Attach a locked disk with --auto-delete parameter set to false
resourceStatus DiskResourceStatusResponse
Status information for the disk resource.
satisfiesPzs boolean
Reserved for future use.
selfLink string
Server-defined fully-qualified URL for this resource.
selfLinkWithId string
Server-defined URL for this resource's resource id.
sourceConsistencyGroupPolicy string
URL of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
sourceConsistencyGroupPolicyId string
ID of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
sourceDiskId string
The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used.
sourceImageId string
The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.
sourceInstantSnapshotId string
The unique ID of the instant snapshot used to create this disk. This value identifies the exact instant snapshot that was used to create this persistent disk. For example, if you created the persistent disk from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact version of the instant snapshot that was used.
sourceSnapshotId string
The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used.
status string
The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting.
users string[]
Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance
zone string
URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
async_secondary_disks Mapping[str, str]
A list of disks this disk is asynchronously replicated to.
creation_timestamp str
Creation timestamp in RFC3339 text format.
id str
The provider-assigned unique ID for this managed resource.
kind str
Type of the resource. Always compute#disk for disks.
label_fingerprint str
A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk.
last_attach_timestamp str
Last attach timestamp in RFC3339 text format.
last_detach_timestamp str
Last detach timestamp in RFC3339 text format.
locked bool
The field indicates if the disk is created from a locked source image. Attachment of a disk created from a locked source image will cause the following operations to become irreversibly prohibited: - R/W or R/O disk attachment to any other instance - Disk detachment. And the disk can only be deleted when the instance is deleted - Creation of images or snapshots - Disk cloning Furthermore, the instance with at least one disk with locked flag set to true will be prohibited from performing the operations below: - Further attachment of secondary disks. - Detachment of any disks - Create machine images - Create instance template - Delete the instance with --keep-disk parameter set to true for locked disks - Attach a locked disk with --auto-delete parameter set to false
resource_status DiskResourceStatusResponse
Status information for the disk resource.
satisfies_pzs bool
Reserved for future use.
self_link str
Server-defined fully-qualified URL for this resource.
self_link_with_id str
Server-defined URL for this resource's resource id.
source_consistency_group_policy str
URL of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
source_consistency_group_policy_id str
ID of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
source_disk_id str
The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used.
source_image_id str
The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.
source_instant_snapshot_id str
The unique ID of the instant snapshot used to create this disk. This value identifies the exact instant snapshot that was used to create this persistent disk. For example, if you created the persistent disk from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact version of the instant snapshot that was used.
source_snapshot_id str
The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used.
status str
The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting.
users Sequence[str]
Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance
zone str
URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
asyncSecondaryDisks Map<String>
A list of disks this disk is asynchronously replicated to.
creationTimestamp String
Creation timestamp in RFC3339 text format.
id String
The provider-assigned unique ID for this managed resource.
kind String
Type of the resource. Always compute#disk for disks.
labelFingerprint String
A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk.
lastAttachTimestamp String
Last attach timestamp in RFC3339 text format.
lastDetachTimestamp String
Last detach timestamp in RFC3339 text format.
locked Boolean
The field indicates if the disk is created from a locked source image. Attachment of a disk created from a locked source image will cause the following operations to become irreversibly prohibited: - R/W or R/O disk attachment to any other instance - Disk detachment. And the disk can only be deleted when the instance is deleted - Creation of images or snapshots - Disk cloning Furthermore, the instance with at least one disk with locked flag set to true will be prohibited from performing the operations below: - Further attachment of secondary disks. - Detachment of any disks - Create machine images - Create instance template - Delete the instance with --keep-disk parameter set to true for locked disks - Attach a locked disk with --auto-delete parameter set to false
resourceStatus Property Map
Status information for the disk resource.
satisfiesPzs Boolean
Reserved for future use.
selfLink String
Server-defined fully-qualified URL for this resource.
selfLinkWithId String
Server-defined URL for this resource's resource id.
sourceConsistencyGroupPolicy String
URL of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
sourceConsistencyGroupPolicyId String
ID of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.
sourceDiskId String
The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used.
sourceImageId String
The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.
sourceInstantSnapshotId String
The unique ID of the instant snapshot used to create this disk. This value identifies the exact instant snapshot that was used to create this persistent disk. For example, if you created the persistent disk from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact version of the instant snapshot that was used.
sourceSnapshotId String
The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used.
status String
The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting.
users List<String>
Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance
zone String
URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Supporting Types

CustomerEncryptionKey
, CustomerEncryptionKeyArgs

KmsKeyName string
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
KmsKeyServiceAccount string
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
RawKey string
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
RsaEncryptedKey string
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
KmsKeyName string
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
KmsKeyServiceAccount string
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
RawKey string
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
RsaEncryptedKey string
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
kmsKeyName String
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
kmsKeyServiceAccount String
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
rawKey String
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
rsaEncryptedKey String
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
kmsKeyName string
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
kmsKeyServiceAccount string
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
rawKey string
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
rsaEncryptedKey string
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
kms_key_name str
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
kms_key_service_account str
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
raw_key str
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
rsa_encrypted_key str
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
kmsKeyName String
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
kmsKeyServiceAccount String
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
rawKey String
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
rsaEncryptedKey String
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem

CustomerEncryptionKeyResponse
, CustomerEncryptionKeyResponseArgs

KmsKeyName This property is required. string
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
KmsKeyServiceAccount This property is required. string
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
RawKey This property is required. string
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
RsaEncryptedKey This property is required. string
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
Sha256 This property is required. string
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
KmsKeyName This property is required. string
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
KmsKeyServiceAccount This property is required. string
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
RawKey This property is required. string
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
RsaEncryptedKey This property is required. string
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
Sha256 This property is required. string
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
kmsKeyName This property is required. String
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
kmsKeyServiceAccount This property is required. String
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
rawKey This property is required. String
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
rsaEncryptedKey This property is required. String
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
sha256 This property is required. String
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
kmsKeyName This property is required. string
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
kmsKeyServiceAccount This property is required. string
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
rawKey This property is required. string
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
rsaEncryptedKey This property is required. string
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
sha256 This property is required. string
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
kms_key_name This property is required. str
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
kms_key_service_account This property is required. str
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
raw_key This property is required. str
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
rsa_encrypted_key This property is required. str
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
sha256 This property is required. str
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
kmsKeyName This property is required. String
The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
kmsKeyServiceAccount This property is required. String
The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
rawKey This property is required. String
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
rsaEncryptedKey This property is required. String
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. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
sha256 This property is required. String
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.

DiskAsyncReplication
, DiskAsyncReplicationArgs

Disk string
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
Disk string
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
disk String
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
disk string
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
disk str
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
disk String
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk

DiskAsyncReplicationResponse
, DiskAsyncReplicationResponseArgs

ConsistencyGroupPolicy This property is required. string
URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
ConsistencyGroupPolicyId This property is required. string
ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
Disk This property is required. string
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
DiskId This property is required. string
The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
ConsistencyGroupPolicy This property is required. string
URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
ConsistencyGroupPolicyId This property is required. string
ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
Disk This property is required. string
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
DiskId This property is required. string
The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
consistencyGroupPolicy This property is required. String
URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
consistencyGroupPolicyId This property is required. String
ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
disk This property is required. String
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
diskId This property is required. String
The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
consistencyGroupPolicy This property is required. string
URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
consistencyGroupPolicyId This property is required. string
ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
disk This property is required. string
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
diskId This property is required. string
The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
consistency_group_policy This property is required. str
URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
consistency_group_policy_id This property is required. str
ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
disk This property is required. str
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
disk_id This property is required. str
The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.
consistencyGroupPolicy This property is required. String
URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
consistencyGroupPolicyId This property is required. String
ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.
disk This property is required. String
The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
diskId This property is required. String
The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.

DiskParams
, DiskParamsArgs

ResourceManagerTags Dictionary<string, string>
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
ResourceManagerTags map[string]string
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
resourceManagerTags Map<String,String>
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
resourceManagerTags {[key: string]: string}
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
resource_manager_tags Mapping[str, str]
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
resourceManagerTags Map<String>
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.

DiskParamsResponse
, DiskParamsResponseArgs

ResourceManagerTags This property is required. Dictionary<string, string>
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
ResourceManagerTags This property is required. map[string]string
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
resourceManagerTags This property is required. Map<String,String>
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
resourceManagerTags This property is required. {[key: string]: string}
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
resource_manager_tags This property is required. Mapping[str, str]
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
resourceManagerTags This property is required. Map<String>
Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.

DiskResourceStatusAsyncReplicationStatusResponse
, DiskResourceStatusAsyncReplicationStatusResponseArgs

State This property is required. string
State This property is required. string
state This property is required. String
state This property is required. string
state This property is required. str
state This property is required. String

DiskResourceStatusResponse
, DiskResourceStatusResponseArgs

AsyncPrimaryDisk This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.DiskResourceStatusAsyncReplicationStatusResponse
AsyncSecondaryDisks This property is required. Dictionary<string, string>
Key: disk, value: AsyncReplicationStatus message
UsedBytes This property is required. string
Space used by data stored in the disk (in bytes). Note that this field is set only when the disk is in a storage pool.
AsyncPrimaryDisk This property is required. DiskResourceStatusAsyncReplicationStatusResponse
AsyncSecondaryDisks This property is required. map[string]string
Key: disk, value: AsyncReplicationStatus message
UsedBytes This property is required. string
Space used by data stored in the disk (in bytes). Note that this field is set only when the disk is in a storage pool.
asyncPrimaryDisk This property is required. DiskResourceStatusAsyncReplicationStatusResponse
asyncSecondaryDisks This property is required. Map<String,String>
Key: disk, value: AsyncReplicationStatus message
usedBytes This property is required. String
Space used by data stored in the disk (in bytes). Note that this field is set only when the disk is in a storage pool.
asyncPrimaryDisk This property is required. DiskResourceStatusAsyncReplicationStatusResponse
asyncSecondaryDisks This property is required. {[key: string]: string}
Key: disk, value: AsyncReplicationStatus message
usedBytes This property is required. string
Space used by data stored in the disk (in bytes). Note that this field is set only when the disk is in a storage pool.
async_primary_disk This property is required. DiskResourceStatusAsyncReplicationStatusResponse
async_secondary_disks This property is required. Mapping[str, str]
Key: disk, value: AsyncReplicationStatus message
used_bytes This property is required. str
Space used by data stored in the disk (in bytes). Note that this field is set only when the disk is in a storage pool.
asyncPrimaryDisk This property is required. Property Map
asyncSecondaryDisks This property is required. Map<String>
Key: disk, value: AsyncReplicationStatus message
usedBytes This property is required. String
Space used by data stored in the disk (in bytes). Note that this field is set only when the disk is in a storage pool.

GuestOsFeature
, GuestOsFeatureArgs

Type Pulumi.GoogleNative.Compute.Alpha.GuestOsFeatureType
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
Type GuestOsFeatureType
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
type GuestOsFeatureType
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
type GuestOsFeatureType
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
type GuestOsFeatureType
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
type "BARE_METAL_LINUX_COMPATIBLE" | "FEATURE_TYPE_UNSPECIFIED" | "GVNIC" | "IDPF" | "MULTI_IP_SUBNET" | "SECURE_BOOT" | "SEV_CAPABLE" | "SEV_LIVE_MIGRATABLE" | "SEV_LIVE_MIGRATABLE_V2" | "SEV_SNP_CAPABLE" | "TDX_CAPABLE" | "UEFI_COMPATIBLE" | "VIRTIO_SCSI_MULTIQUEUE" | "WINDOWS"
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.

GuestOsFeatureResponse
, GuestOsFeatureResponseArgs

Type This property is required. string
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
Type This property is required. string
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
type This property is required. String
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
type This property is required. string
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
type This property is required. str
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
type This property is required. String
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.

GuestOsFeatureType
, GuestOsFeatureTypeArgs

BareMetalLinuxCompatible
BARE_METAL_LINUX_COMPATIBLE
FeatureTypeUnspecified
FEATURE_TYPE_UNSPECIFIED
Gvnic
GVNIC
Idpf
IDPF
MultiIpSubnet
MULTI_IP_SUBNET
SecureBoot
SECURE_BOOT
SevCapable
SEV_CAPABLE
SevLiveMigratable
SEV_LIVE_MIGRATABLE
SevLiveMigratableV2
SEV_LIVE_MIGRATABLE_V2
SevSnpCapable
SEV_SNP_CAPABLE
TdxCapable
TDX_CAPABLE
UefiCompatible
UEFI_COMPATIBLE
VirtioScsiMultiqueue
VIRTIO_SCSI_MULTIQUEUE
Windows
WINDOWS
GuestOsFeatureTypeBareMetalLinuxCompatible
BARE_METAL_LINUX_COMPATIBLE
GuestOsFeatureTypeFeatureTypeUnspecified
FEATURE_TYPE_UNSPECIFIED
GuestOsFeatureTypeGvnic
GVNIC
GuestOsFeatureTypeIdpf
IDPF
GuestOsFeatureTypeMultiIpSubnet
MULTI_IP_SUBNET
GuestOsFeatureTypeSecureBoot
SECURE_BOOT
GuestOsFeatureTypeSevCapable
SEV_CAPABLE
GuestOsFeatureTypeSevLiveMigratable
SEV_LIVE_MIGRATABLE
GuestOsFeatureTypeSevLiveMigratableV2
SEV_LIVE_MIGRATABLE_V2
GuestOsFeatureTypeSevSnpCapable
SEV_SNP_CAPABLE
GuestOsFeatureTypeTdxCapable
TDX_CAPABLE
GuestOsFeatureTypeUefiCompatible
UEFI_COMPATIBLE
GuestOsFeatureTypeVirtioScsiMultiqueue
VIRTIO_SCSI_MULTIQUEUE
GuestOsFeatureTypeWindows
WINDOWS
BareMetalLinuxCompatible
BARE_METAL_LINUX_COMPATIBLE
FeatureTypeUnspecified
FEATURE_TYPE_UNSPECIFIED
Gvnic
GVNIC
Idpf
IDPF
MultiIpSubnet
MULTI_IP_SUBNET
SecureBoot
SECURE_BOOT
SevCapable
SEV_CAPABLE
SevLiveMigratable
SEV_LIVE_MIGRATABLE
SevLiveMigratableV2
SEV_LIVE_MIGRATABLE_V2
SevSnpCapable
SEV_SNP_CAPABLE
TdxCapable
TDX_CAPABLE
UefiCompatible
UEFI_COMPATIBLE
VirtioScsiMultiqueue
VIRTIO_SCSI_MULTIQUEUE
Windows
WINDOWS
BareMetalLinuxCompatible
BARE_METAL_LINUX_COMPATIBLE
FeatureTypeUnspecified
FEATURE_TYPE_UNSPECIFIED
Gvnic
GVNIC
Idpf
IDPF
MultiIpSubnet
MULTI_IP_SUBNET
SecureBoot
SECURE_BOOT
SevCapable
SEV_CAPABLE
SevLiveMigratable
SEV_LIVE_MIGRATABLE
SevLiveMigratableV2
SEV_LIVE_MIGRATABLE_V2
SevSnpCapable
SEV_SNP_CAPABLE
TdxCapable
TDX_CAPABLE
UefiCompatible
UEFI_COMPATIBLE
VirtioScsiMultiqueue
VIRTIO_SCSI_MULTIQUEUE
Windows
WINDOWS
BARE_METAL_LINUX_COMPATIBLE
BARE_METAL_LINUX_COMPATIBLE
FEATURE_TYPE_UNSPECIFIED
FEATURE_TYPE_UNSPECIFIED
GVNIC
GVNIC
IDPF
IDPF
MULTI_IP_SUBNET
MULTI_IP_SUBNET
SECURE_BOOT
SECURE_BOOT
SEV_CAPABLE
SEV_CAPABLE
SEV_LIVE_MIGRATABLE
SEV_LIVE_MIGRATABLE
SEV_LIVE_MIGRATABLE_V2
SEV_LIVE_MIGRATABLE_V2
SEV_SNP_CAPABLE
SEV_SNP_CAPABLE
TDX_CAPABLE
TDX_CAPABLE
UEFI_COMPATIBLE
UEFI_COMPATIBLE
VIRTIO_SCSI_MULTIQUEUE
VIRTIO_SCSI_MULTIQUEUE
WINDOWS
WINDOWS
"BARE_METAL_LINUX_COMPATIBLE"
BARE_METAL_LINUX_COMPATIBLE
"FEATURE_TYPE_UNSPECIFIED"
FEATURE_TYPE_UNSPECIFIED
"GVNIC"
GVNIC
"IDPF"
IDPF
"MULTI_IP_SUBNET"
MULTI_IP_SUBNET
"SECURE_BOOT"
SECURE_BOOT
"SEV_CAPABLE"
SEV_CAPABLE
"SEV_LIVE_MIGRATABLE"
SEV_LIVE_MIGRATABLE
"SEV_LIVE_MIGRATABLE_V2"
SEV_LIVE_MIGRATABLE_V2
"SEV_SNP_CAPABLE"
SEV_SNP_CAPABLE
"TDX_CAPABLE"
TDX_CAPABLE
"UEFI_COMPATIBLE"
UEFI_COMPATIBLE
"VIRTIO_SCSI_MULTIQUEUE"
VIRTIO_SCSI_MULTIQUEUE
"WINDOWS"
WINDOWS

RegionDiskAccessMode
, RegionDiskAccessModeArgs

ReadOnlyMany
READ_ONLY_MANYThe AccessMode means the disk can be attached to multiple instances in RO mode.
ReadWriteMany
READ_WRITE_MANYThe AccessMode means the disk can be attached to multiple instances in RW mode.
ReadWriteSingle
READ_WRITE_SINGLEThe default AccessMode, means the disk can be attached to single instance in RW mode.
RegionDiskAccessModeReadOnlyMany
READ_ONLY_MANYThe AccessMode means the disk can be attached to multiple instances in RO mode.
RegionDiskAccessModeReadWriteMany
READ_WRITE_MANYThe AccessMode means the disk can be attached to multiple instances in RW mode.
RegionDiskAccessModeReadWriteSingle
READ_WRITE_SINGLEThe default AccessMode, means the disk can be attached to single instance in RW mode.
ReadOnlyMany
READ_ONLY_MANYThe AccessMode means the disk can be attached to multiple instances in RO mode.
ReadWriteMany
READ_WRITE_MANYThe AccessMode means the disk can be attached to multiple instances in RW mode.
ReadWriteSingle
READ_WRITE_SINGLEThe default AccessMode, means the disk can be attached to single instance in RW mode.
ReadOnlyMany
READ_ONLY_MANYThe AccessMode means the disk can be attached to multiple instances in RO mode.
ReadWriteMany
READ_WRITE_MANYThe AccessMode means the disk can be attached to multiple instances in RW mode.
ReadWriteSingle
READ_WRITE_SINGLEThe default AccessMode, means the disk can be attached to single instance in RW mode.
READ_ONLY_MANY
READ_ONLY_MANYThe AccessMode means the disk can be attached to multiple instances in RO mode.
READ_WRITE_MANY
READ_WRITE_MANYThe AccessMode means the disk can be attached to multiple instances in RW mode.
READ_WRITE_SINGLE
READ_WRITE_SINGLEThe default AccessMode, means the disk can be attached to single instance in RW mode.
"READ_ONLY_MANY"
READ_ONLY_MANYThe AccessMode means the disk can be attached to multiple instances in RO mode.
"READ_WRITE_MANY"
READ_WRITE_MANYThe AccessMode means the disk can be attached to multiple instances in RW mode.
"READ_WRITE_SINGLE"
READ_WRITE_SINGLEThe default AccessMode, means the disk can be attached to single instance in RW mode.

RegionDiskArchitecture
, RegionDiskArchitectureArgs

ArchitectureUnspecified
ARCHITECTURE_UNSPECIFIEDDefault value indicating Architecture is not set.
Arm64
ARM64Machines with architecture ARM64
X8664
X86_64Machines with architecture X86_64
RegionDiskArchitectureArchitectureUnspecified
ARCHITECTURE_UNSPECIFIEDDefault value indicating Architecture is not set.
RegionDiskArchitectureArm64
ARM64Machines with architecture ARM64
RegionDiskArchitectureX8664
X86_64Machines with architecture X86_64
ArchitectureUnspecified
ARCHITECTURE_UNSPECIFIEDDefault value indicating Architecture is not set.
Arm64
ARM64Machines with architecture ARM64
X8664
X86_64Machines with architecture X86_64
ArchitectureUnspecified
ARCHITECTURE_UNSPECIFIEDDefault value indicating Architecture is not set.
Arm64
ARM64Machines with architecture ARM64
X8664
X86_64Machines with architecture X86_64
ARCHITECTURE_UNSPECIFIED
ARCHITECTURE_UNSPECIFIEDDefault value indicating Architecture is not set.
ARM64
ARM64Machines with architecture ARM64
X8664
X86_64Machines with architecture X86_64
"ARCHITECTURE_UNSPECIFIED"
ARCHITECTURE_UNSPECIFIEDDefault value indicating Architecture is not set.
"ARM64"
ARM64Machines with architecture ARM64
"X86_64"
X86_64Machines with architecture X86_64

RegionDiskInterface
, RegionDiskInterfaceArgs

Nvme
NVME
Scsi
SCSI
Unspecified
UNSPECIFIED
RegionDiskInterfaceNvme
NVME
RegionDiskInterfaceScsi
SCSI
RegionDiskInterfaceUnspecified
UNSPECIFIED
Nvme
NVME
Scsi
SCSI
Unspecified
UNSPECIFIED
Nvme
NVME
Scsi
SCSI
Unspecified
UNSPECIFIED
NVME
NVME
SCSI
SCSI
UNSPECIFIED
UNSPECIFIED
"NVME"
NVME
"SCSI"
SCSI
"UNSPECIFIED"
UNSPECIFIED

RegionDiskStorageType
, RegionDiskStorageTypeArgs

Hdd
HDD
Ssd
SSD
RegionDiskStorageTypeHdd
HDD
RegionDiskStorageTypeSsd
SSD
Hdd
HDD
Ssd
SSD
Hdd
HDD
Ssd
SSD
HDD
HDD
SSD
SSD
"HDD"
HDD
"SSD"
SSD

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi