org.jclouds.googlecomputeengine.features
Interface ZoneOperationApi


public interface ZoneOperationApi

Provides access to Operations via their REST API.

See Also:

Method Summary
 void deleteInZone(String zone, String operationName)
          Deletes the specified operation resource.
 Operation getInZone(String zone, String operationName)
          Retrieves the specified operation resource.
 ListPage<Operation> listAtMarkerInZone(String zone, String marker)
           
 ListPage<Operation> listAtMarkerInZone(String zone, String marker, ListOptions listOptions)
          Retrieves the listFirstPage of operation resources contained within the specified project.
 ListPage<Operation> listFirstPageInZone(String zone)
           
 org.jclouds.collect.PagedIterable<Operation> listInZone(String zone)
           
 org.jclouds.collect.PagedIterable<Operation> listInZone(String zone, ListOptions listOptions)
          A paged version of ZoneOperationApi#listFirstPageInZone(String)
 

Method Detail

getInZone

@Named(value="ZoneOperations:get")
Operation getInZone(String zone,
                          String operationName)
Retrieves the specified operation resource.

Parameters:
zone - the zone the operation is in
operationName - name of the operation resource to return.
Returns:
If successful, this method returns an Operation resource

deleteInZone

@Named(value="ZoneOperations:delete")
void deleteInZone(String zone,
                        String operationName)
Deletes the specified operation resource.

Parameters:
zone - the zone the operation is in
operationName - name of the operation resource to delete.

listFirstPageInZone

@Named(value="ZoneOperations:list")
ListPage<Operation> listFirstPageInZone(String zone)
See Also:
listAtMarkerInZone(String, String, org.jclouds.googlecomputeengine.options.ListOptions)

listAtMarkerInZone

@Named(value="ZoneOperations:list")
ListPage<Operation> listAtMarkerInZone(String zone,
                                             @Nullable
                                             String marker)
See Also:
listAtMarkerInZone(String, String, org.jclouds.googlecomputeengine.options.ListOptions)

listAtMarkerInZone

@Named(value="ZoneOperations:list")
ListPage<Operation> listAtMarkerInZone(String zone,
                                             @Nullable
                                             String marker,
                                             ListOptions listOptions)
Retrieves the listFirstPage of operation resources contained within the specified project. By default the listFirstPage as a maximum size of 100, if no options are provided or ListOptions#getMaxResults() has not been set.

Parameters:
zone - the zone to list in
marker - marks the beginning of the next list page
listOptions - listing options
Returns:
a page of the list, starting at marker
See Also:
ListOptions, ListPage

listInZone

@Named(value="ZoneOperations:list")
org.jclouds.collect.PagedIterable<Operation> listInZone(String zone)
See Also:
listInZone(String, org.jclouds.googlecomputeengine.options.ListOptions)

listInZone

@Named(value="ZoneOperations:list")
org.jclouds.collect.PagedIterable<Operation> listInZone(String zone,
                                                              ListOptions listOptions)
A paged version of ZoneOperationApi#listFirstPageInZone(String)

Returns:
a Paged, Fluent Iterable that is able to fetch additional pages when required
See Also:
PagedIterable, listAtMarkerInZone(String, String, org.jclouds.googlecomputeengine.options.ListOptions)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.