Interface DiskTypeApi
-
@Path("/diskTypes") @Consumes("application/json") public interface DiskTypeApi
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDiskTypeApi.DiskTypePages
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DiskTypeget(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.
-
-
-
Method Detail
-
get
@Named("DiskTypes:get") @GET @Path("/{diskType}") DiskType get(@PathParam("diskType") String diskType)Returns a disk type by name or null if not found.
-
listPage
@Named("DiskTypes:list") @GET ListPage<DiskType> listPage(@Nullable @QueryParam("pageToken") String pageToken, ListOptions listOptions)Retrieves the list of disk type resources available to the specified project. By default the list as a maximum size of 100, if no options are provided or ListOptions#getMaxResults() has not been set.- Parameters:
pageToken- marks the beginning of the next list pagelistOptions- listing options- Returns:
- a page of the list
-
list
@Named("DiskTypes:list") @GET Iterator<ListPage<DiskType>> list()- See Also:
listPage(String, ListOptions)
-
list
@Named("DiskTypes:list") @GET Iterator<ListPage<DiskType>> list(ListOptions options)- See Also:
listPage(String, ListOptions)
-
-