class documentation

class CapacityBlockGroupStatus__State(Enum): (source)

View In Hierarchy

Shows the state of a Capacity Block Group with respect to its quota.

Constant __PROTO_DESCRIPTOR__ Protobuf enum descriptor from the registry.
Constant __PROTO_FULL_NAME__ Fully qualified protobuf enum name.
Constant STATE_ACTIVE Capacity Block Group quota is already allocated and active as one or more capacity intervals are active.
Constant STATE_ALLOCATING Capacity Block Group quota is being allocated as one or more capacity intervals have started.
Constant STATE_INACTIVE Capacity Block Group is inactive due to absence of active intervals at the time.
Constant STATE_SHUTTING Capacity Block Group is being shut down due to absence of active intervals at the time.
Constant STATE_UNSPECIFIED Shouldn't happen.

Inherited from Enum:

Class Method get_descriptor Return the protobuf EnumDescriptor for this enum.
Constant __PB2_DESCRIPTOR__ Alias for code that expects a protobuf descriptor.
Constant __REGISTRY__ Registry for the enum and its descriptor.
Class Method _missing_ Represent unknown open-enum numbers without losing their value.
__PROTO_DESCRIPTOR__ = (source)

Protobuf enum descriptor from the registry.

Value
REGISTRY.enum_descriptor('nebius.capacity.v1.CapacityBlockGroupStatus.State')
__PROTO_FULL_NAME__: str = (source)

Fully qualified protobuf enum name.

Value
'nebius.capacity.v1.CapacityBlockGroupStatus.State'
STATE_ACTIVE: int = (source)

Capacity Block Group quota is already allocated and active as one or more capacity intervals are active.

Value
2
STATE_ALLOCATING: int = (source)

Capacity Block Group quota is being allocated as one or more capacity intervals have started.

Value
1
STATE_INACTIVE: int = (source)

Capacity Block Group is inactive due to absence of active intervals at the time.

Value
4
STATE_SHUTTING: int = (source)

Capacity Block Group is being shut down due to absence of active intervals at the time.

Value
3
STATE_UNSPECIFIED: int = (source)

Shouldn't happen.

Value
0