Class PD (0.3.2)

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

Represents a GCP persistent disk

Attributes

NameDescription
disk str
PD disk name, e.g. pd-1.
device str
PD device name, e.g. persistent-disk-1.
existing bool
Whether this is an existing PD. Default is false. If false, i.e., new PD, we will format it into ext4 and mount to the given path. If true, i.e., existing PD, it should be in ext4 format and we will mount it to the given path.