class SubnetServiceClient(ClientWithOperations[
Constructor: SubnetServiceClient(channel)
SubnetService provides operations for managing subnets.
This class provides client methods for the nebius.vpc.v1.SubnetService service.
| Class Method | get |
Return the protobuf service descriptor from the registry. |
| Method | create |
Creates a new subnet with the specified configuration. |
| Method | delete |
Deletes a subnet by its ID. |
| Method | get |
Retrieves a subnet by its ID. |
| Method | get |
Retrieves a subnet by its name within a specified parent. |
| Method | list |
Lists subnets within a specified parent. |
| Method | list |
Lists subnets across regions for the specified parent. |
| Method | list |
Lists subnets that belong to a specified network. |
| Method | operation |
Return the client that manages long-running operations. |
| Method | update |
Updates an existing subnet with new configuration parameters. |
| Constant | __PB2 |
Alias for code that expects a protobuf service descriptor. |
| Class Variable | __api |
API gateway name for service routes. |
| Class Variable | __operation |
RPC method that supplies the operation route. |
| Class Variable | __operation |
Message type representing a long-running operation. |
| Class Variable | __service |
Fully qualified protobuf service name for RPC routes. |
| Instance Variable | __operation |
Undocumented |
Inherited from ClientWithOperations:
| Method | __init__ |
Initialize the client-with-operations. |
| Class Variable | __operation |
the client class used to manage operations. |
Inherited from Client (via ClientWithOperations):
| Method | request |
Construct a nebius.aio.request.Request for an RPC. |
| Method | stream |
Construct a native async request for a streaming RPC shape. |
| Class Variable | __registry__ |
Descriptor registry for request metadata. |
| Class Variable | __service |
Optional deprecation message. The client writes this message to the warning log when it starts. |
| Instance Variable | _channel |
Undocumented |
CreateSubnetRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ CreateSubnetRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Creates a new subnet with the specified configuration.
The request object is returned without starting the RPC.
DeleteSubnetRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ DeleteSubnetRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Deletes a subnet by its ID.
The request object is returned without starting the RPC.
GetSubnetRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ GetSubnetRequest, Subnet]:
(source)
¶
Retrieves a subnet by its ID.
The request object is returned without starting the RPC.
GetSubnetByNameRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ GetSubnetByNameRequest, Subnet]:
(source)
¶
Retrieves a subnet by its name within a specified parent.
The request object is returned without starting the RPC.
ListSubnetsRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ ListSubnetsRequest, ListSubnetsResponse]:
(source)
¶
Lists subnets within a specified parent.
The request object is returned without starting the RPC.
ListAggregatedSubnetsRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ ListAggregatedSubnetsRequest, ListSubnetsResponse]:
(source)
¶
Lists subnets across regions for the specified parent.
The request object is returned without starting the RPC.
ListSubnetsByNetworkRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ ListSubnetsByNetworkRequest, ListSubnetsResponse]:
(source)
¶
Lists subnets that belong to a specified network.
The request object is returned without starting the RPC.
UpdateSubnetRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ UpdateSubnetRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Updates an existing subnet with new configuration parameters.
The request object is returned without starting the RPC.
Alias for code that expects a protobuf service descriptor.
| Value |
|