org.jclouds.googlecomputeengine.features
Interface RegionOperationApi


public interface RegionOperationApi

Provides access to Operations via their REST API.

See Also:

Method Summary
 void deleteInRegion(String region, String operationName)
          Deletes the specified operation resource.
 Operation getInRegion(String region, String operationName)
          Retrieves the specified operation resource.
 ListPage<Operation> listAtMarkerInRegion(String region, String marker)
           
 ListPage<Operation> listAtMarkerInRegion(String region, String marker, ListOptions listOptions)
          Retrieves the listFirstPage of operation resources contained within the specified project.
 ListPage<Operation> listFirstPageInRegion(String region)
           
 org.jclouds.collect.PagedIterable<Operation> listInRegion(String region)
           
 org.jclouds.collect.PagedIterable<Operation> listInRegion(String region, ListOptions listOptions)
          A paged version of RegionOperationApi#listFirstPageInRegion(String)
 

Method Detail

getInRegion

@Named(value="RegionOperations:get")
Operation getInRegion(String region,
                            String operationName)
Retrieves the specified operation resource.

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

deleteInRegion

@Named(value="RegionOperations:delete")
void deleteInRegion(String region,
                          String operationName)
Deletes the specified operation resource.

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

listFirstPageInRegion

@Named(value="RegionOperations:list")
ListPage<Operation> listFirstPageInRegion(String region)
See Also:
listAtMarkerInRegion(String, String, org.jclouds.googlecomputeengine.options.ListOptions)

listAtMarkerInRegion

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

listAtMarkerInRegion

@Named(value="RegionOperations:list")
ListPage<Operation> listAtMarkerInRegion(String region,
                                               @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:
region - the region 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

listInRegion

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

listInRegion

@Named(value="RegionOperations:list")
org.jclouds.collect.PagedIterable<Operation> listInRegion(String region,
                                                                ListOptions listOptions)
A paged version of RegionOperationApi#listFirstPageInRegion(String)

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


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