public class CreateImageOptions extends UpdateImageOptions
import static org.jclouds.openstack.glance.v1_0.options.CreateImageOptions.Builder.*
// this will create an image with the name "imageName", minimum required disk of 10GB, etc.
details = api.create("imageName", minDisk(10), isPublic(true), property("mykey", "somevalue"));
Modifier and Type | Class and Description |
---|---|
static class |
CreateImageOptions.Builder |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateImageOptions() |
Modifier and Type | Method and Description |
---|---|
CreateImageOptions |
id(String id)
When present, Glance will use the supplied identifier for the image instead of generating one.
|
checksum, containerFormat, diskFormat, isProtected, isPublic, location, minDisk, minRam, name, owner, property, size, storeType
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public CreateImageOptions id(String id)
Copyright © 2009-2013 jclouds. All Rights Reserved.