# Class PersistentDiskDefaults (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.3 1.10.0 1.9.1 1.8.5 1.7.0 1.6.2 1.5.1 1.4.0 1.3.3 1.2.0 1.1.2 1.0.0 0.1.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` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/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` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.Encryption` Optional. The encryption to apply to the disk. |
| `vm_attachment_details` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/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. |