@Path(value="/subnetworks")
@Consumes(value="application/json")
public interface SubnetworkApi
Modifier and Type | Interface and Description |
---|---|
static class |
SubnetworkApi.SubnetworkPages |
Modifier and Type | Method and Description |
---|---|
Operation |
createInNetwork(SubnetworkCreationOptions newSubnetwork)
Creates a persistent network resource in the specified project with the specified range and specified gateway.
|
Operation |
delete(String subnetworkName)
Deletes a network by name and returns the operation in progress, or null if not found.
|
Subnetwork |
get(String subnetworkName)
Returns a network by name or null if not found.
|
Iterator<ListPage<Subnetwork>> |
list() |
Iterator<ListPage<Subnetwork>> |
list(ListOptions options) |
ListPage<Subnetwork> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of network resources available to the specified project.
|
@Named(value="Subnetworks:get") @GET @Path(value="/{subnetwork}") Subnetwork get(@PathParam(value="subnetwork") String subnetworkName)
@Named(value="Subnetworks:insert") @POST @Produces(value="application/json") Operation createInNetwork(SubnetworkCreationOptions newSubnetwork)
newSubnetwork
- definition of the subnetwork.@Named(value="Subnetworks:delete") @DELETE @Path(value="/{subnetwork}") Operation delete(@PathParam(value="subnetwork") String subnetworkName)
@Named(value="Subnetworks:list") @GET ListPage<Subnetwork> listPage(@Nullable@QueryParam(value="pageToken") String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="Subnetworks:list") @GET Iterator<ListPage<Subnetwork>> list()
listPage(String, ListOptions)
@Named(value="Subnetworks:list") @GET Iterator<ListPage<Subnetwork>> list(ListOptions options)
listPage(String, ListOptions)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.