class NetworkServiceClient(ClientWithOperations[
Constructor: NetworkServiceClient(channel)
NetworkService provides operations for managing networks.
This class provides client methods for the nebius.vpc.v1.NetworkService service.
| Class Method | get |
Return the protobuf service descriptor from the registry. |
| Method | create |
Creates a new network with the specified configuration. |
| Method | create |
Creates a default network, subnet, pools, and route table for a specified project. Creates a default security group when that feature is enabled for the project. |
| Method | delete |
Deletes a network by its ID. |
| Method | get |
Retrieves a network by its ID. |
| Method | get |
Retrieves a network by its name within a specified parent. |
| Method | list |
Lists networks within a specified parent. |
| Method | list |
Lists networks across regions for the specified parent. |
| Method | operation |
Return the client that manages long-running operations. |
| Method | update |
Updates an existing network 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 |
CreateNetworkRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ CreateNetworkRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Creates a new network with the specified configuration.
The request object is returned without starting the RPC.
CreateDefaultNetworkRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ CreateDefaultNetworkRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Creates a default network, subnet, pools, and route table for a specified project. Creates a default security group when that feature is enabled for the project.
The request object is returned without starting the RPC.
DeleteNetworkRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ DeleteNetworkRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Deletes a network by its ID.
The request object is returned without starting the RPC.
GetNetworkRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ GetNetworkRequest, Network]:
(source)
¶
Retrieves a network by its ID.
The request object is returned without starting the RPC.
GetNetworkByNameRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ GetNetworkByNameRequest, Network]:
(source)
¶
Retrieves a network by its name within a specified parent.
The request object is returned without starting the RPC.
ListNetworksRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ ListNetworksRequest, ListNetworksResponse]:
(source)
¶
Lists networks within a specified parent.
The request object is returned without starting the RPC.
ListAggregatedNetworksRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ ListAggregatedNetworksRequest, ListNetworksResponse]:
(source)
¶
Lists networks across regions for the specified parent.
The request object is returned without starting the RPC.
UpdateNetworkRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ UpdateNetworkRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Updates an existing network with new configuration parameters.
The request object is returned without starting the RPC.
Alias for code that expects a protobuf service descriptor.
| Value |
|