Class NetworksApi
java.lang.Object
io.github.alersrt.pod4j.openapi.api.NetworksApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidnetworkConnectLibpod(String name, NetworkConnectOptions create) Connect container to network Connect a container to a network.okhttp3.CallnetworkConnectLibpodAsync(String name, NetworkConnectOptions create, ApiCallback<Void> _callback) Connect container to network (asynchronously) Connect a container to a network.okhttp3.CallnetworkConnectLibpodCall(String name, NetworkConnectOptions create, ApiCallback _callback) Build call for networkConnectLibpodnetworkConnectLibpodWithHttpInfo(@NotNull String name, NetworkConnectOptions create) Connect container to network Connect a container to a network.Create network Create a new network configurationokhttp3.CallnetworkCreateLibpodAsync(NetworkCreateLibpod create, ApiCallback<Network> _callback) Create network (asynchronously) Create a new network configurationokhttp3.CallnetworkCreateLibpodCall(NetworkCreateLibpod create, ApiCallback _callback) Build call for networkCreateLibpodCreate network Create a new network configurationnetworkDeleteLibpod(String name, Boolean force) Remove a network Remove a configured networkokhttp3.CallnetworkDeleteLibpodAsync(String name, Boolean force, ApiCallback<List<NetworkRmReport>> _callback) Remove a network (asynchronously) Remove a configured networkokhttp3.CallnetworkDeleteLibpodCall(String name, Boolean force, ApiCallback _callback) Build call for networkDeleteLibpodnetworkDeleteLibpodWithHttpInfo(@NotNull String name, Boolean force) Remove a network Remove a configured networkvoidnetworkDisconnectLibpod(String name, DisconnectOptions create) Disconnect container from network Disconnect a container from a network.okhttp3.CallnetworkDisconnectLibpodAsync(String name, DisconnectOptions create, ApiCallback<Void> _callback) Disconnect container from network (asynchronously) Disconnect a container from a network.okhttp3.CallnetworkDisconnectLibpodCall(String name, DisconnectOptions create, ApiCallback _callback) Build call for networkDisconnectLibpodnetworkDisconnectLibpodWithHttpInfo(@NotNull String name, DisconnectOptions create) Disconnect container from network Disconnect a container from a network.voidnetworkExistsLibpod(String name) Network exists Check if network existsokhttp3.CallnetworkExistsLibpodAsync(String name, ApiCallback<Void> _callback) Network exists (asynchronously) Check if network existsokhttp3.CallnetworkExistsLibpodCall(String name, ApiCallback _callback) Build call for networkExistsLibpodnetworkExistsLibpodWithHttpInfo(@NotNull String name) Network exists Check if network existsnetworkInspectLibpod(String name) Inspect a network Display configuration for a network.okhttp3.CallnetworkInspectLibpodAsync(String name, ApiCallback<NetworkInspectReport> _callback) Inspect a network (asynchronously) Display configuration for a network.okhttp3.CallnetworkInspectLibpodCall(String name, ApiCallback _callback) Build call for networkInspectLibpodnetworkInspectLibpodWithHttpInfo(@NotNull String name) Inspect a network Display configuration for a network.networkListLibpod(String filters) List networks Display summary of network configurations.okhttp3.CallnetworkListLibpodAsync(String filters, ApiCallback<List<Network>> _callback) List networks (asynchronously) Display summary of network configurations.okhttp3.CallnetworkListLibpodCall(String filters, ApiCallback _callback) Build call for networkListLibpodnetworkListLibpodWithHttpInfo(String filters) List networks Display summary of network configurations.networkPruneLibpod(String filters) Delete unused networks Remove networks that do not have containersokhttp3.CallnetworkPruneLibpodAsync(String filters, ApiCallback<List<NetworkPruneReport>> _callback) Delete unused networks (asynchronously) Remove networks that do not have containersokhttp3.CallnetworkPruneLibpodCall(String filters, ApiCallback _callback) Build call for networkPruneLibpodnetworkPruneLibpodWithHttpInfo(String filters) Delete unused networks Remove networks that do not have containersvoidnetworkUpdateLibpod(String name, NetworkUpdateOptions update) Update existing podman network Update existing podman networkokhttp3.CallnetworkUpdateLibpodAsync(String name, NetworkUpdateOptions update, ApiCallback<Void> _callback) Update existing podman network (asynchronously) Update existing podman networkokhttp3.CallnetworkUpdateLibpodCall(String name, NetworkUpdateOptions update, ApiCallback _callback) Build call for networkUpdateLibpodnetworkUpdateLibpodWithHttpInfo(@NotNull String name, NetworkUpdateOptions update) Update existing podman network Update existing podman networkvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
NetworksApi
public NetworksApi() -
NetworksApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
networkConnectLibpodCall
public okhttp3.Call networkConnectLibpodCall(String name, NetworkConnectOptions create, ApiCallback _callback) throws ApiException Build call for networkConnectLibpod- Parameters:
name- the name of the network (required)create- attributes for connecting a container to a network (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 OK - 404 No such network - 500 Internal server error -
-
networkConnectLibpod
Connect container to network Connect a container to a network.- Parameters:
name- the name of the network (required)create- attributes for connecting a container to a network (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 OK - 404 No such network - 500 Internal server error -
-
networkConnectLibpodWithHttpInfo
public ApiResponse<Void> networkConnectLibpodWithHttpInfo(@NotNull @NotNull String name, NetworkConnectOptions create) throws ApiException Connect container to network Connect a container to a network.- Parameters:
name- the name of the network (required)create- attributes for connecting a container to a network (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 OK - 404 No such network - 500 Internal server error -
-
networkConnectLibpodAsync
public okhttp3.Call networkConnectLibpodAsync(String name, NetworkConnectOptions create, ApiCallback<Void> _callback) throws ApiException Connect container to network (asynchronously) Connect a container to a network.- Parameters:
name- the name of the network (required)create- attributes for connecting a container to a network (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 OK - 404 No such network - 500 Internal server error -
-
networkCreateLibpodCall
public okhttp3.Call networkCreateLibpodCall(NetworkCreateLibpod create, ApiCallback _callback) throws ApiException Build call for networkCreateLibpod- Parameters:
create- attributes for creating a network (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 Network create - 400 Bad parameter in request - 409 Conflict error in operation - 500 Internal server error -
-
networkCreateLibpod
Create network Create a new network configuration- Parameters:
create- attributes for creating a network (optional)- Returns:
- Network
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 Network create - 400 Bad parameter in request - 409 Conflict error in operation - 500 Internal server error -
-
networkCreateLibpodWithHttpInfo
public ApiResponse<Network> networkCreateLibpodWithHttpInfo(NetworkCreateLibpod create) throws ApiException Create network Create a new network configuration- Parameters:
create- attributes for creating a network (optional)- Returns:
- ApiResponse<Network>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 Network create - 400 Bad parameter in request - 409 Conflict error in operation - 500 Internal server error -
-
networkCreateLibpodAsync
public okhttp3.Call networkCreateLibpodAsync(NetworkCreateLibpod create, ApiCallback<Network> _callback) throws ApiException Create network (asynchronously) Create a new network configuration- Parameters:
create- attributes for creating a network (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 Network create - 400 Bad parameter in request - 409 Conflict error in operation - 500 Internal server error -
-
networkDeleteLibpodCall
public okhttp3.Call networkDeleteLibpodCall(String name, Boolean force, ApiCallback _callback) throws ApiException Build call for networkDeleteLibpod- Parameters:
name- the name of the network (required)force- remove containers associated with network (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 Network Delete - 404 No such network - 500 Internal server error -
-
networkDeleteLibpod
Remove a network Remove a configured network- Parameters:
name- the name of the network (required)force- remove containers associated with network (optional)- Returns:
- List<NetworkRmReport>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 Network Delete - 404 No such network - 500 Internal server error -
-
networkDeleteLibpodWithHttpInfo
public ApiResponse<List<NetworkRmReport>> networkDeleteLibpodWithHttpInfo(@NotNull @NotNull String name, Boolean force) throws ApiException Remove a network Remove a configured network- Parameters:
name- the name of the network (required)force- remove containers associated with network (optional)- Returns:
- ApiResponse<List<NetworkRmReport>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 Network Delete - 404 No such network - 500 Internal server error -
-
networkDeleteLibpodAsync
public okhttp3.Call networkDeleteLibpodAsync(String name, Boolean force, ApiCallback<List<NetworkRmReport>> _callback) throws ApiException Remove a network (asynchronously) Remove a configured network- Parameters:
name- the name of the network (required)force- remove containers associated with network (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 Network Delete - 404 No such network - 500 Internal server error -
-
networkDisconnectLibpodCall
public okhttp3.Call networkDisconnectLibpodCall(String name, DisconnectOptions create, ApiCallback _callback) throws ApiException Build call for networkDisconnectLibpod- Parameters:
name- the name of the network (required)create- attributes for disconnecting a container from a network (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 OK - 404 No such network - 500 Internal server error -
-
networkDisconnectLibpod
Disconnect container from network Disconnect a container from a network.- Parameters:
name- the name of the network (required)create- attributes for disconnecting a container from a network (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 OK - 404 No such network - 500 Internal server error -
-
networkDisconnectLibpodWithHttpInfo
public ApiResponse<Void> networkDisconnectLibpodWithHttpInfo(@NotNull @NotNull String name, DisconnectOptions create) throws ApiException Disconnect container from network Disconnect a container from a network.- Parameters:
name- the name of the network (required)create- attributes for disconnecting a container from a network (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 OK - 404 No such network - 500 Internal server error -
-
networkDisconnectLibpodAsync
public okhttp3.Call networkDisconnectLibpodAsync(String name, DisconnectOptions create, ApiCallback<Void> _callback) throws ApiException Disconnect container from network (asynchronously) Disconnect a container from a network.- Parameters:
name- the name of the network (required)create- attributes for disconnecting a container from a network (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 OK - 404 No such network - 500 Internal server error -
-
networkExistsLibpodCall
Build call for networkExistsLibpod- Parameters:
name- the name or ID of the network (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 204 network exists - 404 No such network - 500 Internal server error -
-
networkExistsLibpod
Network exists Check if network exists- Parameters:
name- the name or ID of the network (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 204 network exists - 404 No such network - 500 Internal server error -
-
networkExistsLibpodWithHttpInfo
public ApiResponse<Void> networkExistsLibpodWithHttpInfo(@NotNull @NotNull String name) throws ApiException Network exists Check if network exists- Parameters:
name- the name or ID of the network (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 204 network exists - 404 No such network - 500 Internal server error -
-
networkExistsLibpodAsync
public okhttp3.Call networkExistsLibpodAsync(String name, ApiCallback<Void> _callback) throws ApiException Network exists (asynchronously) Check if network exists- Parameters:
name- the name or ID of the network (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 204 network exists - 404 No such network - 500 Internal server error -
-
networkInspectLibpodCall
public okhttp3.Call networkInspectLibpodCall(String name, ApiCallback _callback) throws ApiException Build call for networkInspectLibpod- Parameters:
name- the name of the network (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 Network inspect - 404 No such network - 500 Internal server error -
-
networkInspectLibpod
Inspect a network Display configuration for a network.- Parameters:
name- the name of the network (required)- Returns:
- NetworkInspectReport
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 Network inspect - 404 No such network - 500 Internal server error -
-
networkInspectLibpodWithHttpInfo
public ApiResponse<NetworkInspectReport> networkInspectLibpodWithHttpInfo(@NotNull @NotNull String name) throws ApiException Inspect a network Display configuration for a network.- Parameters:
name- the name of the network (required)- Returns:
- ApiResponse<NetworkInspectReport>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 Network inspect - 404 No such network - 500 Internal server error -
-
networkInspectLibpodAsync
public okhttp3.Call networkInspectLibpodAsync(String name, ApiCallback<NetworkInspectReport> _callback) throws ApiException Inspect a network (asynchronously) Display configuration for a network.- Parameters:
name- the name of the network (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 Network inspect - 404 No such network - 500 Internal server error -
-
networkListLibpodCall
public okhttp3.Call networkListLibpodCall(String filters, ApiCallback _callback) throws ApiException Build call for networkListLibpod- Parameters:
filters- JSON encoded value of the filters (a `map[string][]string`) to process on the network list. Available filters: - `name=[name]` Matches network name (accepts regex). - `id=[id]` Matches for full or partial ID. - `driver=[driver]` Only bridge is supported. - `label=[key]` or `label=[key=value]` Matches networks based on the presence of a label alone or a label and a value. - `until=[timestamp]` Matches all networks that were created before the given timestamp. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 Network list - 500 Internal server error -
-
networkListLibpod
List networks Display summary of network configurations. - In a 200 response, all of the fields named Bytes are returned as a Base64 encoded string.- Parameters:
filters- JSON encoded value of the filters (a `map[string][]string`) to process on the network list. Available filters: - `name=[name]` Matches network name (accepts regex). - `id=[id]` Matches for full or partial ID. - `driver=[driver]` Only bridge is supported. - `label=[key]` or `label=[key=value]` Matches networks based on the presence of a label alone or a label and a value. - `until=[timestamp]` Matches all networks that were created before the given timestamp. (optional)- Returns:
- List<Network>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 Network list - 500 Internal server error -
-
networkListLibpodWithHttpInfo
List networks Display summary of network configurations. - In a 200 response, all of the fields named Bytes are returned as a Base64 encoded string.- Parameters:
filters- JSON encoded value of the filters (a `map[string][]string`) to process on the network list. Available filters: - `name=[name]` Matches network name (accepts regex). - `id=[id]` Matches for full or partial ID. - `driver=[driver]` Only bridge is supported. - `label=[key]` or `label=[key=value]` Matches networks based on the presence of a label alone or a label and a value. - `until=[timestamp]` Matches all networks that were created before the given timestamp. (optional)- Returns:
- ApiResponse<List<Network>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 Network list - 500 Internal server error -
-
networkListLibpodAsync
public okhttp3.Call networkListLibpodAsync(String filters, ApiCallback<List<Network>> _callback) throws ApiException List networks (asynchronously) Display summary of network configurations. - In a 200 response, all of the fields named Bytes are returned as a Base64 encoded string.- Parameters:
filters- JSON encoded value of the filters (a `map[string][]string`) to process on the network list. Available filters: - `name=[name]` Matches network name (accepts regex). - `id=[id]` Matches for full or partial ID. - `driver=[driver]` Only bridge is supported. - `label=[key]` or `label=[key=value]` Matches networks based on the presence of a label alone or a label and a value. - `until=[timestamp]` Matches all networks that were created before the given timestamp. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 Network list - 500 Internal server error -
-
networkPruneLibpodCall
public okhttp3.Call networkPruneLibpodCall(String filters, ApiCallback _callback) throws ApiException Build call for networkPruneLibpod- Parameters:
filters- Filters to process on the prune list, encoded as JSON (a `map[string][]string`). Available filters: - `until=<timestamp>` Prune networks created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time. - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune networks with (or without, in case `label!=...` is used) the specified labels. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 Network prune - 500 Internal server error -
-
networkPruneLibpod
Delete unused networks Remove networks that do not have containers- Parameters:
filters- Filters to process on the prune list, encoded as JSON (a `map[string][]string`). Available filters: - `until=<timestamp>` Prune networks created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time. - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune networks with (or without, in case `label!=...` is used) the specified labels. (optional)- Returns:
- List<NetworkPruneReport>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 Network prune - 500 Internal server error -
-
networkPruneLibpodWithHttpInfo
public ApiResponse<List<NetworkPruneReport>> networkPruneLibpodWithHttpInfo(String filters) throws ApiException Delete unused networks Remove networks that do not have containers- Parameters:
filters- Filters to process on the prune list, encoded as JSON (a `map[string][]string`). Available filters: - `until=<timestamp>` Prune networks created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time. - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune networks with (or without, in case `label!=...` is used) the specified labels. (optional)- Returns:
- ApiResponse<List<NetworkPruneReport>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 Network prune - 500 Internal server error -
-
networkPruneLibpodAsync
public okhttp3.Call networkPruneLibpodAsync(String filters, ApiCallback<List<NetworkPruneReport>> _callback) throws ApiException Delete unused networks (asynchronously) Remove networks that do not have containers- Parameters:
filters- Filters to process on the prune list, encoded as JSON (a `map[string][]string`). Available filters: - `until=<timestamp>` Prune networks created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time. - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune networks with (or without, in case `label!=...` is used) the specified labels. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 Network prune - 500 Internal server error -
-
networkUpdateLibpodCall
public okhttp3.Call networkUpdateLibpodCall(String name, NetworkUpdateOptions update, ApiCallback _callback) throws ApiException Build call for networkUpdateLibpod- Parameters:
name- the name or ID of the network (required)update- attributes for updating a netavark network (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 OK - 400 Bad parameter in request - 500 Internal server error -
-
networkUpdateLibpod
Update existing podman network Update existing podman network- Parameters:
name- the name or ID of the network (required)update- attributes for updating a netavark network (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 OK - 400 Bad parameter in request - 500 Internal server error -
-
networkUpdateLibpodWithHttpInfo
public ApiResponse<Void> networkUpdateLibpodWithHttpInfo(@NotNull @NotNull String name, NetworkUpdateOptions update) throws ApiException Update existing podman network Update existing podman network- Parameters:
name- the name or ID of the network (required)update- attributes for updating a netavark network (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 OK - 400 Bad parameter in request - 500 Internal server error -
-
networkUpdateLibpodAsync
public okhttp3.Call networkUpdateLibpodAsync(String name, NetworkUpdateOptions update, ApiCallback<Void> _callback) throws ApiException Update existing podman network (asynchronously) Update existing podman network- Parameters:
name- the name or ID of the network (required)update- attributes for updating a netavark network (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 OK - 400 Bad parameter in request - 500 Internal server error -
-