class documentation

Private IPv4 address configuration for the allocation.

Class __OneOfClass_pool__ Undocumented
Class __OneOfClass_pool_pool_id__ Undocumented
Class __OneOfClass_pool_subnet_id__ Undocumented
Method __dir__ Undocumented
Method __init__ Undocumented
Method cidr.setter Undocumented
Method pool_id.setter Undocumented
Method subnet_id.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property cidr A single IP address (e.g 10.1.2.1), a CIDR block (e.g., "10.1.2.0/24") or a prefix length (e.g., "/32"). If prefix length is specified, the CIDR block will be auto-allocated from the available space in the pool or subnet...
Property pool Undocumented
Property pool_id ID of the pool that allocation will receive its IP address from.
Property subnet_id ID of the subnet that allocation will be associated with. IP address of the allocation must be within a CIDR block associated with this subnet. In order to assign an allocation to a resource (i.e. network interface) both must be associated with the same subnet.

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, subnet_id: builtins.str | None | unset.UnsetType = unset.Unset, pool_id: builtins.str | None | unset.UnsetType = unset.Unset): (source)
@cidr.setter
def cidr(self, value: builtins.str | None): (source)

Undocumented

@pool_id.setter
def pool_id(self, value: builtins.str | None): (source)

Undocumented

@subnet_id.setter
def subnet_id(self, value: builtins.str | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

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

Undocumented

Value
{'cidr': 'cidr', 'subnet_id': 'subnet_id', 'pool_id': 'pool_id', 'pool': 'pool'}
@builtins.property
cidr: builtins.str = (source)

A single IP address (e.g 10.1.2.1), a CIDR block (e.g., "10.1.2.0/24") or a prefix length (e.g., "/32"). If prefix length is specified, the CIDR block will be auto-allocated from the available space in the pool or subnet. If not specified, defaults to "/32".

@builtins.property
pool_id: builtins.str | None = (source)

ID of the pool that allocation will receive its IP address from.

@builtins.property
subnet_id: builtins.str | None = (source)

ID of the subnet that allocation will be associated with. IP address of the allocation must be within a CIDR block associated with this subnet. In order to assign an allocation to a resource (i.e. network interface) both must be associated with the same subnet.