PHP Класс Scalr\Api\Service\Account\V1beta0\Controller\Environments

Автор: N.V.
Наследование: extends Scalr\Api\Rest\Controller\ApiController
Показать файл Открыть проект

Открытые методы

Метод Описание
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