Class PersistentDiskDefaults (1.12.0)

PersistentDiskDefaults(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Details for creation of a Persistent Disk.

Attributes

Name Description
source_disk_number int
Required. The ordinal number of the source VM disk.
disk_name str
Optional. The name of the Persistent Disk to create.
disk_type google.cloud.vmmigration_v1.types.ComputeEngineDiskType
The disk type to use.
additional_labels MutableMapping[str, str]
A map of labels to associate with the Persistent Disk.
encryption google.cloud.vmmigration_v1.types.Encryption
Optional. The encryption to apply to the disk.
vm_attachment_details google.cloud.vmmigration_v1.types.VmAttachmentDetails
Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM.

Classes

AdditionalLabelsEntry

AdditionalLabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.