public interface GoldenImageClient extends SearchableResource<GoldenImage>, DeletableResource
SearchableResource.GetByNameRequestInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
GOLDEN_IMAGE_ARCHIVED_URI |
static String |
GOLDEN_IMAGE_DOWNLOAD_URI |
static String |
GOLDEN_IMAGE_URI |
Modifier and Type | Method and Description |
---|---|
String |
create(GoldenImage resource)
Creates a resource according to the provided
resource object. |
String |
create(GoldenImageFile goldenImage)
Creates a golden image resource from the file that is uploaded from a local drive.
|
String |
download(String resourceId,
RequestOption... options)
Downloads the content of the specified golden image.
|
String |
getArchivedLogs(String resourceId,
RequestOption... options)
Download the details of the golden image capture logs which has been
archived based on the specific
resourceId . |
GoldenImage |
update(String resourceId,
GoldenImage resource)
Updates the resource identified by
resourceId according to the
provided resource object. |
getByName
get, get, getAll, getAll, getById
delete
static final String GOLDEN_IMAGE_URI
static final String GOLDEN_IMAGE_DOWNLOAD_URI
static final String GOLDEN_IMAGE_ARCHIVED_URI
String create(GoldenImage resource)
resource
object.resource
- object containing the details of the resource that should be created.String
object containing the result of this request.String create(GoldenImageFile goldenImage)
Only the .zip format file can be used for upload.
goldenImage
- object containing the details of the golden image that should be created.
Details include the file (.zip format, name and description that should
be used to identify the golden image).String
containing the result of this request.String getArchivedLogs(String resourceId, RequestOption... options)
resourceId
.resourceId
- golden image identifier.options
- varargs of RequestOption
which can be used to specify
some request options.String
containing the result of this request.String download(String resourceId, RequestOption... options)
resourceId
- golden image identifier.options
- varargs of RequestOption
which can be used to specify
some request options.String
representing the path to the downloaded golden image.GoldenImage update(String resourceId, GoldenImage resource)
resourceId
according to the
provided resource
object.resourceId
- golden image identifier.resource
- object containing the details of the resource that should be updated.GoldenImage
object containing the result of this request.Copyright © 2016. All rights reserved.