Class PersistentDiskResourceCommitment (0.12.1)

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

Commitment for a particular persistent disk resource.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
amount int
Required. The amount of the resource to commit to, in GiB. This field is a member of oneof_ _amount.
dimension_type str
The specific dimension of the product for this amount. Check the DimensionType enum for the list of possible values. This field is a member of oneof_ _dimension_type.
product_type str
The PD product being committed to. All entries in a Commitment.persistent_disk_resources list must have the same product_type. Check the ProductType enum for the list of possible values. This field is a member of oneof_ _product_type.

Classes

DimensionType

DimensionType(value)

The specific dimension of the product for this amount.

ProductType

ProductType(value)

The PD product being committed to. All entries in a Commitment.persistent_disk_resources list must have the same product_type.