@Path(value="/resourcegroups") @Consumes(value="application/json") public interface ResourceGroupApi extends Closeable
| Modifier and Type | Method and Description |
|---|---|
ResourceGroup |
create(String name,
String location,
Map<String,String> tags) |
URI |
delete(String name) |
ResourceGroup |
get(String name) |
List<ResourceGroup> |
list() |
List<Resource> |
resources(String name) |
ResourceGroup |
update(String name,
Map<String,String> tags) |
@Named(value="resourcegroup:list") @GET List<ResourceGroup> list()
@Named(value="resourcegroup:create")
@PUT
@Path(value="/{name}")
ResourceGroup create(@PathParam(value="name")
String name,
String location,
@Nullable
Map<String,String> tags)
@Named(value="resourcegroup:get")
@GET
@Path(value="/{name}")
@Nullable
ResourceGroup get(@PathParam(value="name")
String name)
@Named(value="resourcegroup:resources")
@GET
@Path(value="/{name}/resources")
List<Resource> resources(@PathParam(value="name")
String name)
@Named(value="resourcegroup:update")
@Path(value="/{name}")
ResourceGroup update(@PathParam(value="name")
String name,
@Nullable
Map<String,String> tags)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.