public interface NetworkApi
| Modifier and Type | Interface and Description |
|---|---|
static class |
NetworkApi.NetworkPages |
| Modifier and Type | Method and Description |
|---|---|
Operation |
createInIPv4Range(NetworkCreationOptions options)
Creates a persistent network resource in the specified project with the specified range and specified gateway.
|
Operation |
createInIPv4Range(String networkName,
String IPv4Range)
Creates a persistent network resource in the specified project with the specified range.
|
Operation |
delete(String networkName)
Deletes a network by name and returns the operation in progress, or null if not found.
|
Network |
get(String networkName)
Returns a network by name or null if not found.
|
Iterator<ListPage<Network>> |
list() |
Iterator<ListPage<Network>> |
list(ListOptions options) |
ListPage<Network> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of network resources available to the specified project.
|
@Named(value="Networks:get") Network get(String networkName)
@Named(value="Networks:insert") Operation createInIPv4Range(String networkName, String IPv4Range)
networkName - the network nameIPv4Range - the range of the network to be inserted.@Named(value="Networks:insert") Operation createInIPv4Range(NetworkCreationOptions options)
networkName - the network nameIPv4Range - the range of the network to be inserted.gatewayIPv4 - the range of the network to be inserted.@Named(value="Networks:delete") Operation delete(String networkName)
@Named(value="Networks:list") ListPage<Network> listPage(@Nullable String pageToken, ListOptions listOptions)
pageToken - marks the beginning of the next list pagelistOptions - listing options@Named(value="Networks:list") Iterator<ListPage<Network>> list()
listPage(String, ListOptions)@Named(value="Networks:list") Iterator<ListPage<Network>> list(ListOptions options)
listPage(String, ListOptions)Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.