class documentation

Undocumented

Method __dir__ Undocumented
Method __init__ Undocumented
Method ipv4_private_pools.setter Undocumented
Method ipv4_public_pools.setter Undocumented
Method network_id.setter Undocumented
Method route_table_id.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property ipv4_private_pools Private IPv4 address pools for this subnet. If unspecified, pools from the associated network are used.
Property ipv4_public_pools Public IPv4 address pools for this subnet. If unspecified, pools from the associated network are used.
Property network_id ID of the network this subnet belongs to.
Property route_table_id ID of the route table to associate with the subnet. If unspecified, the network's default route table is used.

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, *, network_id: builtins.str | None | unset.UnsetType = unset.Unset, ipv4_private_pools: IPv4PrivateSubnetPools | subnet_pb2.IPv4PrivateSubnetPools | None | unset.UnsetType = unset.Unset, ipv4_public_pools: IPv4PublicSubnetPools | subnet_pb2.IPv4PublicSubnetPools | None | unset.UnsetType = unset.Unset, route_table_id: builtins.str | None | unset.UnsetType = unset.Unset): (source)
@ipv4_private_pools.setter
def ipv4_private_pools(self, value: IPv4PrivateSubnetPools | subnet_pb2.IPv4PrivateSubnetPools | None): (source)

Undocumented

@ipv4_public_pools.setter
def ipv4_public_pools(self, value: IPv4PublicSubnetPools | subnet_pb2.IPv4PublicSubnetPools | None): (source)

Undocumented

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

Undocumented

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

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

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

Undocumented

Value
{'network_id': 'network_id',
 'ipv4_private_pools': 'ipv4_private_pools',
 'ipv4_public_pools': 'ipv4_public_pools',
 'route_table_id': 'route_table_id'}
@builtins.property
ipv4_private_pools: IPv4PrivateSubnetPools = (source)

Private IPv4 address pools for this subnet. If unspecified, pools from the associated network are used.

@builtins.property
ipv4_public_pools: IPv4PublicSubnetPools = (source)

Public IPv4 address pools for this subnet. If unspecified, pools from the associated network are used.

@builtins.property
network_id: builtins.str = (source)

ID of the network this subnet belongs to.

@builtins.property
route_table_id: builtins.str = (source)

ID of the route table to associate with the subnet. If unspecified, the network's default route table is used.