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