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") MachineType get(String machineType)
@Named(value="MachineTypes:list") ListPage<MachineType> listPage(@Nullable String pageToken, ListOptions listOptions)
pageToken - marks the beginning of the next list pagelistOptions - listing options@Named(value="MachineTypes:list") Iterator<ListPage<MachineType>> list()
listPage(String, ListOptions)@Named(value="MachineTypes:list") Iterator<ListPage<MachineType>> list(ListOptions options)
listPage(String, ListOptions)Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.