class documentation

Undocumented

Method __dir__ Undocumented
Method __init__ Undocumented
Method cidr.setter Undocumented
Method max_mask_length.setter Undocumented
Method state.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property cidr A CIDR block (e.g., "10.1.2.0/24") or a prefix length (e.g., "/24"). If prefix length is specified, the CIDR block will be auto-allocated from the available space in the parent pool.
Property max_mask_length Maximum mask length for this pool child pools and allocations. Default max_mask_length is 32 for IPv4.
Property state Controls provisioning of IP addresses from the CIDR block to other pools or allocations. Defaults to AVAILABLE.

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, *, cidr: builtins.str | None | unset.UnsetType = unset.Unset, state: AddressBlockState | pool_pb2.AddressBlockState | None | unset.UnsetType = unset.Unset, max_mask_length: builtins.int | None | unset.UnsetType = unset.Unset): (source)
@cidr.setter
def cidr(self, value: builtins.str | None): (source)

Undocumented

@max_mask_length.setter
def max_mask_length(self, value: builtins.int | None): (source)

Undocumented

@state.setter
def state(self, value: AddressBlockState | pool_pb2.AddressBlockState | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.vpc.v1.PoolCidr',
                                                   pool_pb2.DESCRIPTOR,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'cidr': 'cidr', 'state': 'state', 'max_mask_length': 'max_mask_length'}
@builtins.property
cidr: builtins.str = (source)

A CIDR block (e.g., "10.1.2.0/24") or a prefix length (e.g., "/24"). If prefix length is specified, the CIDR block will be auto-allocated from the available space in the parent pool.

@builtins.property
max_mask_length: builtins.int = (source)

Maximum mask length for this pool child pools and allocations. Default max_mask_length is 32 for IPv4.

@builtins.property
state: AddressBlockState = (source)

Controls provisioning of IP addresses from the CIDR block to other pools or allocations. Defaults to AVAILABLE.