1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/v1
  6. Snapshot

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/v1.Snapshot

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 snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project.

Create Snapshot Resource

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

Constructor syntax

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

@overload
def Snapshot(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             chain_name: Optional[str] = None,
             description: Optional[str] = None,
             labels: Optional[Mapping[str, str]] = None,
             location_hint: Optional[str] = None,
             name: Optional[str] = None,
             project: Optional[str] = None,
             request_id: Optional[str] = None,
             snapshot_encryption_key: Optional[CustomerEncryptionKeyArgs] = None,
             snapshot_type: Optional[SnapshotSnapshotType] = None,
             source_disk: Optional[str] = None,
             source_disk_encryption_key: Optional[CustomerEncryptionKeyArgs] = None,
             source_disk_for_recovery_checkpoint: Optional[str] = None,
             storage_locations: Optional[Sequence[str]] = None)
func NewSnapshot(ctx *Context, name string, args *SnapshotArgs, opts ...ResourceOption) (*Snapshot, error)
public Snapshot(string name, SnapshotArgs? args = null, CustomResourceOptions? opts = null)
public Snapshot(String name, SnapshotArgs args)
public Snapshot(String name, SnapshotArgs args, CustomResourceOptions options)
type: google-native:compute/v1:Snapshot
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 SnapshotArgs
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 SnapshotArgs
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 SnapshotArgs
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 SnapshotArgs
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. SnapshotArgs
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 examplesnapshotResourceResourceFromComputev1 = new GoogleNative.Compute.V1.Snapshot("examplesnapshotResourceResourceFromComputev1", new()
{
    ChainName = "string",
    Description = "string",
    Labels = 
    {
        { "string", "string" },
    },
    LocationHint = "string",
    Name = "string",
    Project = "string",
    RequestId = "string",
    SnapshotEncryptionKey = new GoogleNative.Compute.V1.Inputs.CustomerEncryptionKeyArgs
    {
        KmsKeyName = "string",
        KmsKeyServiceAccount = "string",
        RawKey = "string",
        RsaEncryptedKey = "string",
    },
    SnapshotType = GoogleNative.Compute.V1.SnapshotSnapshotType.Archive,
    SourceDisk = "string",
    SourceDiskEncryptionKey = new GoogleNative.Compute.V1.Inputs.CustomerEncryptionKeyArgs
    {
        KmsKeyName = "string",
        KmsKeyServiceAccount = "string",
        RawKey = "string",
        RsaEncryptedKey = "string",
    },
    SourceDiskForRecoveryCheckpoint = "string",
    StorageLocations = new[]
    {
        "string",
    },
});
Copy
example, err := computev1.NewSnapshot(ctx, "examplesnapshotResourceResourceFromComputev1", &computev1.SnapshotArgs{
	ChainName:   pulumi.String("string"),
	Description: pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	LocationHint: pulumi.String("string"),
	Name:         pulumi.String("string"),
	Project:      pulumi.String("string"),
	RequestId:    pulumi.String("string"),
	SnapshotEncryptionKey: &compute.CustomerEncryptionKeyArgs{
		KmsKeyName:           pulumi.String("string"),
		KmsKeyServiceAccount: pulumi.String("string"),
		RawKey:               pulumi.String("string"),
		RsaEncryptedKey:      pulumi.String("string"),
	},
	SnapshotType: computev1.SnapshotSnapshotTypeArchive,
	SourceDisk:   pulumi.String("string"),
	SourceDiskEncryptionKey: &compute.CustomerEncryptionKeyArgs{
		KmsKeyName:           pulumi.String("string"),
		KmsKeyServiceAccount: pulumi.String("string"),
		RawKey:               pulumi.String("string"),
		RsaEncryptedKey:      pulumi.String("string"),
	},
	SourceDiskForRecoveryCheckpoint: pulumi.String("string"),
	StorageLocations: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var examplesnapshotResourceResourceFromComputev1 = new Snapshot("examplesnapshotResourceResourceFromComputev1", SnapshotArgs.builder()
    .chainName("string")
    .description("string")
    .labels(Map.of("string", "string"))
    .locationHint("string")
    .name("string")
    .project("string")
    .requestId("string")
    .snapshotEncryptionKey(CustomerEncryptionKeyArgs.builder()
        .kmsKeyName("string")
        .kmsKeyServiceAccount("string")
        .rawKey("string")
        .rsaEncryptedKey("string")
        .build())
    .snapshotType("ARCHIVE")
    .sourceDisk("string")
    .sourceDiskEncryptionKey(CustomerEncryptionKeyArgs.builder()
        .kmsKeyName("string")
        .kmsKeyServiceAccount("string")
        .rawKey("string")
        .rsaEncryptedKey("string")
        .build())
    .sourceDiskForRecoveryCheckpoint("string")
    .storageLocations("string")
    .build());
Copy
examplesnapshot_resource_resource_from_computev1 = google_native.compute.v1.Snapshot("examplesnapshotResourceResourceFromComputev1",
    chain_name="string",
    description="string",
    labels={
        "string": "string",
    },
    location_hint="string",
    name="string",
    project="string",
    request_id="string",
    snapshot_encryption_key={
        "kms_key_name": "string",
        "kms_key_service_account": "string",
        "raw_key": "string",
        "rsa_encrypted_key": "string",
    },
    snapshot_type=google_native.compute.v1.SnapshotSnapshotType.ARCHIVE,
    source_disk="string",
    source_disk_encryption_key={
        "kms_key_name": "string",
        "kms_key_service_account": "string",
        "raw_key": "string",
        "rsa_encrypted_key": "string",
    },
    source_disk_for_recovery_checkpoint="string",
    storage_locations=["string"])
Copy
const examplesnapshotResourceResourceFromComputev1 = new google_native.compute.v1.Snapshot("examplesnapshotResourceResourceFromComputev1", {
    chainName: "string",
    description: "string",
    labels: {
        string: "string",
    },
    locationHint: "string",
    name: "string",
    project: "string",
    requestId: "string",
    snapshotEncryptionKey: {
        kmsKeyName: "string",
        kmsKeyServiceAccount: "string",
        rawKey: "string",
        rsaEncryptedKey: "string",
    },
    snapshotType: google_native.compute.v1.SnapshotSnapshotType.Archive,
    sourceDisk: "string",
    sourceDiskEncryptionKey: {
        kmsKeyName: "string",
        kmsKeyServiceAccount: "string",
        rawKey: "string",
        rsaEncryptedKey: "string",
    },
    sourceDiskForRecoveryCheckpoint: "string",
    storageLocations: ["string"],
});
Copy
type: google-native:compute/v1:Snapshot
properties:
    chainName: string
    description: string
    labels:
        string: string
    locationHint: string
    name: string
    project: string
    requestId: string
    snapshotEncryptionKey:
        kmsKeyName: string
        kmsKeyServiceAccount: string
        rawKey: string
        rsaEncryptedKey: string
    snapshotType: ARCHIVE
    sourceDisk: string
    sourceDiskEncryptionKey:
        kmsKeyName: string
        kmsKeyServiceAccount: string
        rawKey: string
        rsaEncryptedKey: string
    sourceDiskForRecoveryCheckpoint: string
    storageLocations:
        - string
Copy

Snapshot 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 Snapshot resource accepts the following input properties:

ChainName string
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
Description string
An optional description of this resource. Provide this property when you create the resource.
Labels Dictionary<string, string>
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
LocationHint string
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
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.
Project Changes to this property will trigger replacement. string
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).
SnapshotEncryptionKey Pulumi.GoogleNative.Compute.V1.Inputs.CustomerEncryptionKey
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
SnapshotType Pulumi.GoogleNative.Compute.V1.SnapshotSnapshotType
Indicates the type of the snapshot.
SourceDisk string
The source disk used to create this snapshot.
SourceDiskEncryptionKey Pulumi.GoogleNative.Compute.V1.Inputs.CustomerEncryptionKey
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
SourceDiskForRecoveryCheckpoint string
The source disk whose recovery checkpoint will be used to create this snapshot.
StorageLocations List<string>
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
ChainName string
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
Description string
An optional description of this resource. Provide this property when you create the resource.
Labels map[string]string
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
LocationHint string
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
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.
Project Changes to this property will trigger replacement. string
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).
SnapshotEncryptionKey CustomerEncryptionKeyArgs
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
SnapshotType SnapshotSnapshotType
Indicates the type of the snapshot.
SourceDisk string
The source disk used to create this snapshot.
SourceDiskEncryptionKey CustomerEncryptionKeyArgs
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
SourceDiskForRecoveryCheckpoint string
The source disk whose recovery checkpoint will be used to create this snapshot.
StorageLocations []string
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
chainName String
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
description String
An optional description of this resource. Provide this property when you create the resource.
labels Map<String,String>
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
locationHint String
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
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.
project Changes to this property will trigger replacement. String
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).
snapshotEncryptionKey CustomerEncryptionKey
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
snapshotType SnapshotSnapshotType
Indicates the type of the snapshot.
sourceDisk String
The source disk used to create this snapshot.
sourceDiskEncryptionKey CustomerEncryptionKey
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
sourceDiskForRecoveryCheckpoint String
The source disk whose recovery checkpoint will be used to create this snapshot.
storageLocations List<String>
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
chainName string
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
description string
An optional description of this resource. Provide this property when you create the resource.
labels {[key: string]: string}
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
locationHint string
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
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.
project Changes to this property will trigger replacement. string
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).
snapshotEncryptionKey CustomerEncryptionKey
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
snapshotType SnapshotSnapshotType
Indicates the type of the snapshot.
sourceDisk string
The source disk used to create this snapshot.
sourceDiskEncryptionKey CustomerEncryptionKey
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
sourceDiskForRecoveryCheckpoint string
The source disk whose recovery checkpoint will be used to create this snapshot.
storageLocations string[]
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
chain_name str
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
description str
An optional description of this resource. Provide this property when you create the resource.
labels Mapping[str, str]
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
location_hint str
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
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.
project Changes to this property will trigger replacement. str
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).
snapshot_encryption_key CustomerEncryptionKeyArgs
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
snapshot_type SnapshotSnapshotType
Indicates the type of the snapshot.
source_disk str
The source disk used to create this snapshot.
source_disk_encryption_key CustomerEncryptionKeyArgs
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
source_disk_for_recovery_checkpoint str
The source disk whose recovery checkpoint will be used to create this snapshot.
storage_locations Sequence[str]
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
chainName String
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
description String
An optional description of this resource. Provide this property when you create the resource.
labels Map<String>
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
locationHint String
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
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.
project Changes to this property will trigger replacement. String
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).
snapshotEncryptionKey Property Map
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
snapshotType "ARCHIVE" | "STANDARD"
Indicates the type of the snapshot.
sourceDisk String
The source disk used to create this snapshot.
sourceDiskEncryptionKey Property Map
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
sourceDiskForRecoveryCheckpoint String
The source disk whose recovery checkpoint will be used to create this snapshot.
storageLocations List<String>
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).

Outputs

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

Architecture string
The architecture of the snapshot. Valid values are ARM64 or X86_64.
AutoCreated bool
Set to true if snapshots are automatically created by applying resource policy on the target disk.
CreationSizeBytes string
Size in bytes of the snapshot at creation time.
CreationTimestamp string
Creation timestamp in RFC3339 text format.
DiskSizeGb string
Size of the source disk, specified in GB.
DownloadBytes string
Number of bytes downloaded to restore a snapshot to a disk.
GuestOsFeatures List<Pulumi.GoogleNative.Compute.V1.Outputs.GuestOsFeatureResponse>
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.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Type of the resource. Always compute#snapshot for Snapshot resources.
LabelFingerprint string
A fingerprint for the labels being applied to this snapshot, 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 snapshot.
LicenseCodes List<string>
Integer license codes indicating which licenses are attached to this snapshot.
Licenses List<string>
A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
SatisfiesPzs bool
Reserved for future use.
SelfLink string
Server-defined URL for the resource.
SourceDiskId string
The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
SourceSnapshotSchedulePolicy string
URL of the resource policy which created this scheduled snapshot.
SourceSnapshotSchedulePolicyId string
ID of the resource policy which created this scheduled snapshot.
Status string
The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.
StorageBytes string
A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
StorageBytesStatus string
An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
Architecture string
The architecture of the snapshot. Valid values are ARM64 or X86_64.
AutoCreated bool
Set to true if snapshots are automatically created by applying resource policy on the target disk.
CreationSizeBytes string
Size in bytes of the snapshot at creation time.
CreationTimestamp string
Creation timestamp in RFC3339 text format.
DiskSizeGb string
Size of the source disk, specified in GB.
DownloadBytes string
Number of bytes downloaded to restore a snapshot to a disk.
GuestOsFeatures []GuestOsFeatureResponse
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.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Type of the resource. Always compute#snapshot for Snapshot resources.
LabelFingerprint string
A fingerprint for the labels being applied to this snapshot, 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 snapshot.
LicenseCodes []string
Integer license codes indicating which licenses are attached to this snapshot.
Licenses []string
A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
SatisfiesPzs bool
Reserved for future use.
SelfLink string
Server-defined URL for the resource.
SourceDiskId string
The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
SourceSnapshotSchedulePolicy string
URL of the resource policy which created this scheduled snapshot.
SourceSnapshotSchedulePolicyId string
ID of the resource policy which created this scheduled snapshot.
Status string
The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.
StorageBytes string
A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
StorageBytesStatus string
An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
architecture String
The architecture of the snapshot. Valid values are ARM64 or X86_64.
autoCreated Boolean
Set to true if snapshots are automatically created by applying resource policy on the target disk.
creationSizeBytes String
Size in bytes of the snapshot at creation time.
creationTimestamp String
Creation timestamp in RFC3339 text format.
diskSizeGb String
Size of the source disk, specified in GB.
downloadBytes String
Number of bytes downloaded to restore a snapshot to a disk.
guestOsFeatures List<GuestOsFeatureResponse>
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.
id String
The provider-assigned unique ID for this managed resource.
kind String
Type of the resource. Always compute#snapshot for Snapshot resources.
labelFingerprint String
A fingerprint for the labels being applied to this snapshot, 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 snapshot.
licenseCodes List<String>
Integer license codes indicating which licenses are attached to this snapshot.
licenses List<String>
A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
satisfiesPzs Boolean
Reserved for future use.
selfLink String
Server-defined URL for the resource.
sourceDiskId String
The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
sourceSnapshotSchedulePolicy String
URL of the resource policy which created this scheduled snapshot.
sourceSnapshotSchedulePolicyId String
ID of the resource policy which created this scheduled snapshot.
status String
The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.
storageBytes String
A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
storageBytesStatus String
An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
architecture string
The architecture of the snapshot. Valid values are ARM64 or X86_64.
autoCreated boolean
Set to true if snapshots are automatically created by applying resource policy on the target disk.
creationSizeBytes string
Size in bytes of the snapshot at creation time.
creationTimestamp string
Creation timestamp in RFC3339 text format.
diskSizeGb string
Size of the source disk, specified in GB.
downloadBytes string
Number of bytes downloaded to restore a snapshot to a disk.
guestOsFeatures GuestOsFeatureResponse[]
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.
id string
The provider-assigned unique ID for this managed resource.
kind string
Type of the resource. Always compute#snapshot for Snapshot resources.
labelFingerprint string
A fingerprint for the labels being applied to this snapshot, 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 snapshot.
licenseCodes string[]
Integer license codes indicating which licenses are attached to this snapshot.
licenses string[]
A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
satisfiesPzs boolean
Reserved for future use.
selfLink string
Server-defined URL for the resource.
sourceDiskId string
The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
sourceSnapshotSchedulePolicy string
URL of the resource policy which created this scheduled snapshot.
sourceSnapshotSchedulePolicyId string
ID of the resource policy which created this scheduled snapshot.
status string
The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.
storageBytes string
A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
storageBytesStatus string
An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
architecture str
The architecture of the snapshot. Valid values are ARM64 or X86_64.
auto_created bool
Set to true if snapshots are automatically created by applying resource policy on the target disk.
creation_size_bytes str
Size in bytes of the snapshot at creation time.
creation_timestamp str
Creation timestamp in RFC3339 text format.
disk_size_gb str
Size of the source disk, specified in GB.
download_bytes str
Number of bytes downloaded to restore a snapshot to a disk.
guest_os_features Sequence[GuestOsFeatureResponse]
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.
id str
The provider-assigned unique ID for this managed resource.
kind str
Type of the resource. Always compute#snapshot for Snapshot resources.
label_fingerprint str
A fingerprint for the labels being applied to this snapshot, 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 snapshot.
license_codes Sequence[str]
Integer license codes indicating which licenses are attached to this snapshot.
licenses Sequence[str]
A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
satisfies_pzs bool
Reserved for future use.
self_link str
Server-defined URL for the resource.
source_disk_id str
The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
source_snapshot_schedule_policy str
URL of the resource policy which created this scheduled snapshot.
source_snapshot_schedule_policy_id str
ID of the resource policy which created this scheduled snapshot.
status str
The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.
storage_bytes str
A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
storage_bytes_status str
An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
architecture String
The architecture of the snapshot. Valid values are ARM64 or X86_64.
autoCreated Boolean
Set to true if snapshots are automatically created by applying resource policy on the target disk.
creationSizeBytes String
Size in bytes of the snapshot at creation time.
creationTimestamp String
Creation timestamp in RFC3339 text format.
diskSizeGb String
Size of the source disk, specified in GB.
downloadBytes String
Number of bytes downloaded to restore a snapshot to a disk.
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.
id String
The provider-assigned unique ID for this managed resource.
kind String
Type of the resource. Always compute#snapshot for Snapshot resources.
labelFingerprint String
A fingerprint for the labels being applied to this snapshot, 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 snapshot.
licenseCodes List<String>
Integer license codes indicating which licenses are attached to this snapshot.
licenses List<String>
A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
satisfiesPzs Boolean
Reserved for future use.
selfLink String
Server-defined URL for the resource.
sourceDiskId String
The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
sourceSnapshotSchedulePolicy String
URL of the resource policy which created this scheduled snapshot.
sourceSnapshotSchedulePolicyId String
ID of the resource policy which created this scheduled snapshot.
status String
The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.
storageBytes String
A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
storageBytesStatus String
An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.

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.

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.

SnapshotSnapshotType
, SnapshotSnapshotTypeArgs

Archive
ARCHIVE
Standard
STANDARD
SnapshotSnapshotTypeArchive
ARCHIVE
SnapshotSnapshotTypeStandard
STANDARD
Archive
ARCHIVE
Standard
STANDARD
Archive
ARCHIVE
Standard
STANDARD
ARCHIVE
ARCHIVE
STANDARD
STANDARD
"ARCHIVE"
ARCHIVE
"STANDARD"
STANDARD

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