Allocation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Repesents Allocation which is part of aggregated reservations data response of "QueryReservations".
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
specific_allocation |
google.cloud.capacityplanner_v1beta.types.Allocation.SpecificSKUAllocation
Reservation for instances with specific machine shapes. This field is a member of oneof _ type .
|
id |
int
The unique identifier for the resource. This identifier is defined by the server. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
The creation timestamp for this allocation. |
zone |
str
Zone in which the reservation resides. |
description |
str
A description while creating reservation. |
allocation |
str
The reservation resource name. |
status |
google.cloud.capacityplanner_v1beta.types.Allocation.Status
The status of the reservation. |
share_settings |
google.cloud.capacityplanner_v1beta.types.Allocation.ShareSettings
Specify share-settings to create a shared reservation. |
auto_delete_time |
google.protobuf.timestamp_pb2.Timestamp
Absolute time in future when the reservation will be auto-deleted by Compute Engine. |
Classes
ShareSettings
ShareSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The share setting for reservation.
SpecificSKUAllocation
SpecificSKUAllocation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
This reservation type allows to pre allocate specific instance configuration.
Status
Status(value)
The status of the reservation.