@Path(value="/firewalls")
@Consumes(value="application/json")
public interface FirewallApi
| Modifier and Type | Interface and Description |
|---|---|
static class |
FirewallApi.FirewallPages |
| Modifier and Type | Method and Description |
|---|---|
Operation |
createInNetwork(String name,
URI network,
FirewallOptions firewallOptions)
Creates a firewall resource in the specified project using the data included in the request.
|
Operation |
delete(String firewall)
Deletes a firewall by name and returns the operation in progress, or null if not found.
|
Firewall |
get(String firewall)
Returns a firewall by name or null if not found.
|
Iterator<ListPage<Firewall>> |
list() |
Iterator<ListPage<Firewall>> |
list(ListOptions options) |
ListPage<Firewall> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of firewall resources available to the specified project.
|
Operation |
patch(String firewall,
FirewallOptions firewallOptions)
Updates the specified firewall resource, with patch semantics, with the data included in the request.
|
Operation |
update(String firewall,
FirewallOptions firewallOptions)
Updates the specified firewall resource with the data included in the request.
|
@Named(value="Firewalls:get")
@GET
@Path(value="/{firewall}")
@Nullable
Firewall get(@PathParam(value="firewall")
String firewall)
@Named(value="Firewalls:insert") @POST @Produces(value="application/json") Operation createInNetwork(String name, URI network, FirewallOptions firewallOptions)
name - the name of the firewall to be inserted.network - the network to which to add the firewallfirewallOptions - the options of the firewall to add@Named(value="Firewalls:update")
@PUT
@Produces(value="application/json")
@Path(value="/{firewall}")
Operation update(@PathParam(value="firewall")
String firewall,
FirewallOptions firewallOptions)
firewall - the name firewall to be updated.firewallOptions - the new firewall.@Named(value="Firewalls:patch")
@Produces(value="application/json")
@Path(value="/{firewall}")
Operation patch(@PathParam(value="firewall")
String firewall,
FirewallOptions firewallOptions)
firewall - the name firewall to be updated.firewallOptions - the new firewall.@Named(value="Firewalls:delete")
@DELETE
@Path(value="/{firewall}")
Operation delete(@PathParam(value="firewall")
String firewall)
@Named(value="Firewalls:list") @GET ListPage<Firewall> listPage(@Nullable@QueryParam(value="pageToken") String pageToken, ListOptions listOptions)
pageToken - marks the beginning of the next list pagelistOptions - listing options@Named(value="Firewalls:list") @GET Iterator<ListPage<Firewall>> list()
listPage(String, ListOptions)@Named(value="Firewalls:list") @GET Iterator<ListPage<Firewall>> list(ListOptions options)
listPage(String, ListOptions)Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.