PHP 클래스 Scalr\Api\Service\User\V1beta0\Controller\Images

부터: 5.4.0 (03.03.2015)
저자: Vitaliy Demidov ([email protected])
상속: extends Scalr\Api\Rest\Controller\ApiController
파일 보기 프로젝트 열기: scalr/scalr

공개 메소드들

메소드 설명
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 ) : Image 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

비공개 메소드들

메소드 설명
getDefaultCriteria ( ) : array Gets default search criteria according environment scope

메소드 상세

copyAction() 공개 메소드

Copies image to different location
public copyAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope
$imageId string Unique identifier of the image (uuid)
리턴 Scalr\Api\DataType\ResultEnvelope

deregisterAction() 공개 메소드

De-registers an Image from this Environment
public deregisterAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope
$imageId string Unique identifier of the image (uuid)
리턴 Scalr\Api\DataType\ResultEnvelope

describeAction() 공개 메소드

Retrieves the list of the images
public describeAction ( )

fetchAction() 공개 메소드

Fetches detailed info about one image
public fetchAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope
$imageId string Unique identifier of the image (uuid)
리턴 Scalr\Api\DataType\ResultEnvelope

getImage() 공개 메소드

Gets specified Image taking into account both scope and authentication token
public getImage ( string $imageId, boolean $restrictToCurrentScope = false ) : Image
$imageId string The unique identifier of the Image (UUID)
$restrictToCurrentScope boolean optional Whether it should additionally check the Image corresponds to current scope
리턴 Scalr\Model\Entity\Image Returns the Image Entity on success

getImageByCloudId() 공개 메소드

Checks whether Image does exist in the user's scope
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
리턴 boolean Returns TRUE if image exists in the user's scope

modifyAction() 공개 메소드

Change image attributes. Only the name be can changed!
public modifyAction ( string $imageId ) : Scalr\Api\DataType\ResultEnvelope
$imageId string Unique identifier of the image (uuid)
리턴 Scalr\Api\DataType\ResultEnvelope

registerAction() 공개 메소드

Register an Image in the Environment
public registerAction ( )