Package | Description |
---|---|
org.jclouds.openstack.glance.v1_0.features | |
org.jclouds.openstack.glance.v1_0.options |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<? extends ImageDetails> |
ImageAsyncApi.update(String id,
UpdateImageOptions... options) |
ImageDetails |
ImageApi.update(String id,
UpdateImageOptions... options)
Adjust the metadata stored for an existing image
|
com.google.common.util.concurrent.ListenableFuture<? extends ImageDetails> |
ImageAsyncApi.upload(String id,
Payload imageData,
UpdateImageOptions... options) |
ImageDetails |
ImageApi.upload(String id,
Payload imageData,
UpdateImageOptions... options)
Upload image data for a previously-reserved image
If an image was previously reserved, and thus is in the queued state, then image data can be added using this method.
|
Modifier and Type | Class and Description |
---|---|
class |
CreateImageOptions |
Modifier and Type | Method and Description |
---|---|
UpdateImageOptions |
UpdateImageOptions.checksum(String checksum)
MD5 checksum of the image
When present, Glance will verify the checksum generated from the backend store when storing your image against
this value and return a 400 Bad Request if the values do not match.
|
static UpdateImageOptions |
UpdateImageOptions.Builder.checksum(String checksum) |
UpdateImageOptions |
UpdateImageOptions.containerFormat(ContainerFormat containerFormat) |
static UpdateImageOptions |
UpdateImageOptions.Builder.containerFormat(ContainerFormat containerFormat) |
UpdateImageOptions |
UpdateImageOptions.diskFormat(DiskFormat diskFormat) |
static UpdateImageOptions |
UpdateImageOptions.Builder.diskFormat(DiskFormat diskFormat) |
UpdateImageOptions |
UpdateImageOptions.isProtected(boolean isProtected)
Mark the image as protected - if set to true the image cannot be deleted till it is unset.
|
static UpdateImageOptions |
UpdateImageOptions.Builder.isProtected(boolean isProtected) |
UpdateImageOptions |
UpdateImageOptions.isPublic(boolean isPublic)
Mark the image as public, meaning that any user may view its metadata and may read the disk image
from Glance.
|
static UpdateImageOptions |
UpdateImageOptions.Builder.isPublic(boolean isPublic) |
UpdateImageOptions |
UpdateImageOptions.location(String location) |
static UpdateImageOptions |
UpdateImageOptions.Builder.location(String location) |
UpdateImageOptions |
UpdateImageOptions.minDisk(long disk)
The expected minimum disk required in gigabytes to run this image on a server (default 0).
|
static UpdateImageOptions |
UpdateImageOptions.Builder.minDisk(long disk) |
UpdateImageOptions |
UpdateImageOptions.minRam(long ram)
The expected minimum ram required in megabytes to run this image on a server (default 0).
|
static UpdateImageOptions |
UpdateImageOptions.Builder.minRam(long ram) |
UpdateImageOptions |
UpdateImageOptions.name(String name)
Adjust the name of the image
|
static UpdateImageOptions |
UpdateImageOptions.Builder.name(String name) |
UpdateImageOptions |
UpdateImageOptions.owner(String owner)
Glance normally sets the owner of an image to be the tenant or user (depending on the “owner_is_tenant”
configuration option) of the authenticated user issuing the request.
|
static UpdateImageOptions |
UpdateImageOptions.Builder.owner(String owner) |
UpdateImageOptions |
UpdateImageOptions.property(String key,
String value)
Custom, free-form image properties stored with the image.
|
static UpdateImageOptions |
UpdateImageOptions.Builder.property(String key,
String value) |
UpdateImageOptions |
UpdateImageOptions.size(long size)
When present, Glance assumes that the expected size of the request body will be the value of this header.
|
static UpdateImageOptions |
UpdateImageOptions.Builder.size(long size) |
UpdateImageOptions |
UpdateImageOptions.storeType(StoreType storeType)
When present, Glance will attempt to store the disk image data in the backing store indicated by the value of the
header.
|
static UpdateImageOptions |
UpdateImageOptions.Builder.storeType(StoreType storeType) |
Copyright © 2009-2013 jclouds. All Rights Reserved.