PHP 클래스 Scalr\Api\Service\Account\V1beta0\Controller\Environments

저자: N.V.
상속: extends Scalr\Api\Rest\Controller\ApiController
파일 보기 프로젝트 열기: scalr/scalr

공개 메소드들

메소드 설명
allowTeamAction ( integer $envId ) : Scalr\Api\DataType\ResultEnvelope Allows team access to environment
attachCredentialsAction ( integer $envId, string $cloud ) : Scalr\Api\DataType\ResultEnvelope Configures cloud credentials
createAction ( ) Create a new Environment in this Account
deleteAction ( string $envId ) : Scalr\Api\DataType\ResultEnvelope Delete an Environment from this Account
denyTeamAction ( integer $envId, integer $teamId ) : Scalr\Api\DataType\ResultEnvelope Revoke team access to specified environment
describeAction ( ) : array Retrieves the list of the Environments
describeCloudsAction ( string $envId ) : Scalr\Api\DataType\ListResultEnvelope Lists configured clouds for specified Environment
describeTeamsAction ( integer $envId ) : Scalr\Api\DataType\ListResultEnvelope Describes teams that have access to specified environment
detachCredentialsAction ( integer $envId, string $cloud ) : Scalr\Api\DataType\ResultEnvelope Detach configured cloud configuration from specified environment
fetchAction ( string $envId ) : Scalr\Api\DataType\ResultEnvelope Fetches detailed info about one environment
fetchCloudCredentialsAction ( integer $envId, string $cloud ) : Scalr\Api\DataType\ResultEnvelope Fetch detailed info about specified cloud configuration
getCloudCredentials ( string $cloudCredentialsId ) : CloudCredentials Gets CloudCredentials entity
getCloudCredsController ( ) : CloudCredentials Gets CloudCredentials controller
getCostCenter ( string $ccId ) : Scalr\Stats\CostAnalytics\Entity\CostCentreEntity Gets CostCentre entity
getCostCentersController ( ) : CostCenters Gets CostCenters controller
getEnv ( string $envId ) : Environment Gets specified Environment
getTeam ( string $teamId ) : Team Gets Team entity
getTeamsController ( ) : Teams Gets Teams controller
modifyAction ( integer $envId ) : Scalr\Api\DataType\ResultEnvelope Change environment attributes.

비공개 메소드들

메소드 설명
getDefaultCriteria ( ) : array Gets default search criteria according current account

메소드 상세

allowTeamAction() 공개 메소드

Allows team access to environment
public allowTeamAction ( integer $envId ) : Scalr\Api\DataType\ResultEnvelope
$envId integer Environment ID
리턴 Scalr\Api\DataType\ResultEnvelope

attachCredentialsAction() 공개 메소드

Configures cloud credentials
public attachCredentialsAction ( integer $envId, string $cloud ) : Scalr\Api\DataType\ResultEnvelope
$envId integer Environment ID
$cloud string Cloud platform name
리턴 Scalr\Api\DataType\ResultEnvelope

createAction() 공개 메소드

Create a new Environment in this Account
public createAction ( )

deleteAction() 공개 메소드

Delete an Environment from this Account
public deleteAction ( string $envId ) : Scalr\Api\DataType\ResultEnvelope
$envId string Unique identifier of the Environment
리턴 Scalr\Api\DataType\ResultEnvelope

denyTeamAction() 공개 메소드

Revoke team access to specified environment
public denyTeamAction ( integer $envId, integer $teamId ) : Scalr\Api\DataType\ResultEnvelope
$envId integer Environment ID
$teamId integer Team ID
리턴 Scalr\Api\DataType\ResultEnvelope

describeAction() 공개 메소드

Retrieves the list of the Environments
public describeAction ( ) : array
리턴 array Returns describe result

describeCloudsAction() 공개 메소드

Lists configured clouds for specified Environment
public describeCloudsAction ( string $envId ) : Scalr\Api\DataType\ListResultEnvelope
$envId string Unique identifier of the Environment
리턴 Scalr\Api\DataType\ListResultEnvelope

describeTeamsAction() 공개 메소드

Describes teams that have access to specified environment
public describeTeamsAction ( integer $envId ) : Scalr\Api\DataType\ListResultEnvelope
$envId integer Environment ID
리턴 Scalr\Api\DataType\ListResultEnvelope

detachCredentialsAction() 공개 메소드

Detach configured cloud configuration from specified environment
public detachCredentialsAction ( integer $envId, string $cloud ) : Scalr\Api\DataType\ResultEnvelope
$envId integer Environment ID
$cloud string Cloud platform name
리턴 Scalr\Api\DataType\ResultEnvelope

fetchAction() 공개 메소드

Fetches detailed info about one environment
public fetchAction ( string $envId ) : Scalr\Api\DataType\ResultEnvelope
$envId string Numeric identifier of the environment
리턴 Scalr\Api\DataType\ResultEnvelope

fetchCloudCredentialsAction() 공개 메소드

Fetch detailed info about specified cloud configuration
public fetchCloudCredentialsAction ( integer $envId, string $cloud ) : Scalr\Api\DataType\ResultEnvelope
$envId integer Environment ID
$cloud string Cloud platform name
리턴 Scalr\Api\DataType\ResultEnvelope

getCloudCredentials() 공개 메소드

Gets CloudCredentials entity
public getCloudCredentials ( string $cloudCredentialsId ) : CloudCredentials
$cloudCredentialsId string Unique identifier of the CloudCredentials
리턴 Scalr\Model\Entity\CloudCredentials

getCloudCredsController() 공개 메소드

Gets CloudCredentials controller
public getCloudCredsController ( ) : CloudCredentials
리턴 Scalr\Api\Service\User\V1beta0\Controller\CloudCredentials

getCostCenter() 공개 메소드

Gets CostCentre entity
public getCostCenter ( string $ccId ) : Scalr\Stats\CostAnalytics\Entity\CostCentreEntity
$ccId string Unique identifier of the CostCentre
리턴 Scalr\Stats\CostAnalytics\Entity\CostCentreEntity

getCostCentersController() 공개 메소드

Gets CostCenters controller
public getCostCentersController ( ) : CostCenters
리턴 Scalr\Api\Service\User\V1beta0\Controller\CostCenters

getEnv() 공개 메소드

Gets specified Environment
public getEnv ( string $envId ) : Environment
$envId string Numeric identifier of the Environment
리턴 Scalr\Model\Entity\Account\Environment Returns the Environment Entity on success

getTeam() 공개 메소드

Gets Team entity
public getTeam ( string $teamId ) : Team
$teamId string Unique identifier of the Team
리턴 Scalr\Model\Entity\Account\Team

getTeamsController() 공개 메소드

Gets Teams controller
public getTeamsController ( ) : Teams
리턴 Teams

modifyAction() 공개 메소드

Change environment attributes.
public modifyAction ( integer $envId ) : Scalr\Api\DataType\ResultEnvelope
$envId integer Unique identifier of the environment
리턴 Scalr\Api\DataType\ResultEnvelope