# Class PersistentDisk (0.12.1)

0.12.1 (latest) 0.12.0 0.11.0 0.10.0 0.9.18 0.8.0 0.7.2 0.6.2 0.5.2 0.4.1 0.3.0 0.2.3 0.1.0

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

Configuration for a persistent disk to be attached to the VM.

See <https://cloud.google.com/compute/docs/disks/performance> for
more information about disk type, size, and performance
considerations.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `size_gb` | `int` The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance. If the disk type is specified as `local-ssd`, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance. |
| `type_` | `str` The Compute Engine disk type. If unspecified, `pd-standard` is used. |
| `source_image` | `str` An image to put on the disk before attaching it to the VM. |