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

부터: 5.11.9 (05.02.2016)
저자: Andrii Penchuk ([email protected])
상속: extends Scalr\Api\Rest\Controller\ApiController
파일 보기 프로젝트 열기: scalr/scalr

공개 메소드들

메소드 설명
createAction ( ) : Scalr\Api\DataType\ResultEnvelope Create a new Custom Scaling Metric in this Environment
deleteAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope Delete custom Scaling Metric from database
describeAction ( ) : Scalr\Api\DataType\ListResultEnvelope Gets the list of the available Scaling Metric
fetchAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope Fetches detailed info about the Scaling Metric
getScalingMetric ( string $metricName, boolean $restrictToCurrentScope = false ) : ScalingMetric Gets Scaling Metric from database
modifyAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope Modifies Custom Scaling Metrics attributes

비공개 메소드들

메소드 설명
getDefaultCriteria ( ) : array Gets default search criteria for Scaling Metric

메소드 상세

createAction() 공개 메소드

Create a new Custom Scaling Metric in this Environment
public createAction ( ) : Scalr\Api\DataType\ResultEnvelope
리턴 Scalr\Api\DataType\ResultEnvelope

deleteAction() 공개 메소드

Delete custom Scaling Metric from database
public deleteAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope
$metricName string Scaling metric's name.
리턴 Scalr\Api\DataType\ResultEnvelope

describeAction() 공개 메소드

Gets the list of the available Scaling Metric
public describeAction ( ) : Scalr\Api\DataType\ListResultEnvelope
리턴 Scalr\Api\DataType\ListResultEnvelope

fetchAction() 공개 메소드

Fetches detailed info about the Scaling Metric
public fetchAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope
$metricName string Scaling metric's name.
리턴 Scalr\Api\DataType\ResultEnvelope

getScalingMetric() 공개 메소드

Gets Scaling Metric from database
public getScalingMetric ( string $metricName, boolean $restrictToCurrentScope = false ) : ScalingMetric
$metricName string Scaling metric's name.
$restrictToCurrentScope boolean optional Whether it should additionally check that role corresponds to current scope
리턴 Scalr\Model\Entity\ScalingMetric

modifyAction() 공개 메소드

Modifies Custom Scaling Metrics attributes
public modifyAction ( string $metricName ) : Scalr\Api\DataType\ResultEnvelope
$metricName string Scaling metric's name.
리턴 Scalr\Api\DataType\ResultEnvelope