Méthode | Description | |
---|---|---|
copyAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope | Copies image to different location | |
deregisterAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope | De-registers an Image from this Environment | |
describeAction ( ) | Retrieves the list of the images | |
fetchAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope | Fetches detailed info about one image | |
getImage ( string $imageId, boolean $restrictToCurrentScope = false ) : |
Gets specified Image taking into account both scope and authentication token | |
getImageByCloudId ( string $cloudImageId, string $platform, string $cloudLocation ) : boolean | Checks whether Image does exist in the user's scope | |
modifyAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope | Change image attributes. Only the name be can changed! | |
registerAction ( ) | Register an Image in the Environment |
Méthode | Description | |
---|---|---|
getDefaultCriteria ( ) : array | Gets default search criteria according environment scope |
public copyAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope | ||
$imageId | string | Unique identifier of the image (uuid) |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public deregisterAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope | ||
$imageId | string | Unique identifier of the image (uuid) |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public fetchAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope | ||
$imageId | string | Unique identifier of the image (uuid) |
Résultat | Scalr\Api\DataType\ResultEnvelope |
public getImage ( string $imageId, boolean $restrictToCurrentScope = false ) : |
||
$imageId | string | The unique identifier of the Image (UUID) |
$restrictToCurrentScope | boolean | optional Whether it should additionally check the Image corresponds to current scope |
Résultat | Returns the Image Entity on success |
public getImageByCloudId ( string $cloudImageId, string $platform, string $cloudLocation ) : boolean | ||
$cloudImageId | string | The identifier of the image on the Cloud |
$platform | string | The cloud platform |
$cloudLocation | string | The cloud location |
Résultat | boolean | Returns TRUE if image exists in the user's scope |
public modifyAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope | ||
$imageId | string | Unique identifier of the image (uuid) |
Résultat | Scalr\Api\DataType\ResultEnvelope |