public interface Resources
Modifier and Type | Method and Description |
---|---|
Operation |
delete(URI selfLink)
Deletes any resource by self-link and returns the operation in progress, or null if not found.
|
Disk |
disk(URI selfLink)
Returns a disk by self-link or null if not found.
|
Image |
image(URI selfLink)
Returns an image by self-link or null if not found.
|
Instance |
instance(URI selfLink)
Returns an instance by self-link or null if not found.
|
Network |
network(URI selfLink)
Returns an network by self-link or null if not found.
|
Operation |
operation(URI selfLink)
Returns an operation by self-link or null if not found.
|
Operation |
resetInstance(URI selfLink)
Hard-resets the instance by self-link and returns the operation in progress
|
Operation |
startInstance(URI selfLink)
Starts the instance by self-link and returns the operation in progress
|
Operation |
stopInstance(URI selfLink)
Stops the instance by self-link and returns the operation in progress
|
@Named(value="Instances:get") @Nullable Instance instance(URI selfLink)
@Named(value="Networks:get") @Nullable Network network(URI selfLink)
@Named(value="Operations:get") @Nullable Operation operation(URI selfLink)
@Named(value="Resources:delete") @Nullable Operation delete(URI selfLink)
@Named(value="Instances:reset") Operation resetInstance(URI selfLink)
@Named(value="Instances:start") Operation startInstance(URI selfLink)
@Named(value="Instances:stop") Operation stopInstance(URI selfLink)
@Named(value="Disks:get") @Nullable Disk disk(URI selfLink)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.