class documentation

Describes a public IP address.

Class __OneOfClass_allocation__ Undocumented
Class __OneOfClass_allocation_allocation_id__ Undocumented
Method __dir__ Undocumented
Method __init__ Undocumented
Method allocation_id.setter Undocumented
Method static.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property allocation Describes different methods of public IP address allocation.
Property allocation_id Allocation identifier if it was created before.
Property static If false - Allocation will be created/deleted during NetworkInterface.Allocate/NetworkInterface.Deallocate If true - Allocation will be created/deleted during NetworkInterface.Create/NetworkInterface.

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, *, allocation_id: builtins.str | None | unset.UnsetType = unset.Unset, static: builtins.bool | None | unset.UnsetType = unset.Unset): (source)
@allocation_id.setter
def allocation_id(self, value: builtins.str | 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.compute.v1.PublicIPA
ddress',
                                                   network_interface_pb2.DESCRIPTOR
,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'allocation_id': 'allocation_id',
 'static': 'static',
 'allocation': 'allocation'}

Describes different methods of public IP address allocation.

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

Allocation identifier if it was created before.

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

If false - Allocation will be created/deleted during NetworkInterface.Allocate/NetworkInterface.Deallocate If true - Allocation will be created/deleted during NetworkInterface.Create/NetworkInterface.Delete False by default