@Path(value="/diskTypes")
@Consumes(value="application/json")
public interface DiskTypeApi
Modifier and Type | Interface and Description |
---|---|
static class |
DiskTypeApi.DiskTypePages |
Modifier and Type | Method and Description |
---|---|
DiskType |
get(String diskType)
Returns a disk type by name or null if not found.
|
Iterator<ListPage<DiskType>> |
list() |
Iterator<ListPage<DiskType>> |
list(ListOptions options) |
ListPage<DiskType> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of disk type resources available to the specified project.
|
@Named(value="DiskTypes:get") @GET @Path(value="/{diskType}") DiskType get(@PathParam(value="diskType") String diskType)
@Named(value="DiskTypes:list") @GET ListPage<DiskType> listPage(@Nullable@QueryParam(value="pageToken") String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="DiskTypes:list") @GET Iterator<ListPage<DiskType>> list()
listPage(String, ListOptions)
@Named(value="DiskTypes:list") @GET Iterator<ListPage<DiskType>> list(ListOptions options)
listPage(String, ListOptions)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.