class documentation

Undocumented

Class State Enumeration of possible states of the Allocation.
Method __dir__ Undocumented
Method __init__ Undocumented
Method assignment.setter Undocumented
Method details.setter Undocumented
Method state.setter Undocumented
Method static.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property assignment Information about the assignment associated with the allocation, such as network interface or load balancer assignment.
Property details Detailed information about the allocation status, including the allocated CIDR, pool ID, scope type, and IP version.
Property state This field represents the current state of the allocation.
Property static If false - Lifecycle of allocation depends on resource that using it.

Inherited from Message:

Class Method get_descriptor Undocumented
Class Method is_credentials Undocumented
Class Method is_sensitive Undocumented
Method __repr__ Undocumented
Method check_presence Undocumented
Method get_full_update_reset_mask Undocumented
Method get_mask Undocumented
Method is_default Undocumented
Method set_mask Undocumented
Method which_field_in_oneof Undocumented
Class Variable __PB2_CLASS__ Undocumented
Instance Variable __pb2_message__ Undocumented
Method _clear_field Undocumented
Method _get_field Undocumented
Method _set_field Undocumented
Class Variable __credentials_fields Undocumented
Class Variable __default Undocumented
Class Variable __sensitive_fields Undocumented
Instance Variable __recorded_reset_mask Undocumented
def __dir__(self) -> abc.Iterable[builtins.str]: (source)

Undocumented

def __init__(self, initial_message: message_1.Message | None = None, *, state: AllocationStatus.State | allocation_pb2.AllocationStatus.State | None | unset.UnsetType = unset.Unset, details: AllocationDetails | allocation_pb2.AllocationDetails | None | unset.UnsetType = unset.Unset, assignment: Assignment | allocation_pb2.Assignment | None | unset.UnsetType = unset.Unset, static: builtins.bool | None | unset.UnsetType = unset.Unset): (source)
@assignment.setter
def assignment(self, value: Assignment | allocation_pb2.Assignment | None): (source)

Undocumented

@details.setter
def details(self, value: AllocationDetails | allocation_pb2.AllocationDetails | None): (source)

Undocumented

@state.setter
def state(self, value: AllocationStatus.State | allocation_pb2.AllocationStatus.State | None): (source)

Undocumented

@static.setter
def static(self, value: builtins.bool | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.vpc.v1alpha1.Allocat
ionStatus',
                                                   allocation_pb2.DESCRIPTOR,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'state': 'state',
 'details': 'details',
 'assignment': 'assignment',
 'static': 'static',
 'State': 'State'}
@builtins.property
assignment: Assignment = (source)

Information about the assignment associated with the allocation, such as network interface or load balancer assignment.

@builtins.property
details: AllocationDetails = (source)

Detailed information about the allocation status, including the allocated CIDR, pool ID, scope type, and IP version.

@builtins.property
state: AllocationStatus.State = (source)

This field represents the current state of the allocation.

@builtins.property
static: builtins.bool = (source)

If false - Lifecycle of allocation depends on resource that using it.