Method | Description | |
---|---|---|
checkPermissions ( $args ) | Permissions won't check if object has environment scope and role Acl::RESOURCE_ANALYTICS_ACCOUNT {@inheritdoc} | |
describeAction ( ) : array | Retrieves the list of the cost centers | |
fetchAction ( string $ccId ) : Scalr\Api\DataType\ResultEnvelope | Fetches detailed info about one project | |
getCostCenter ( string $ccId ) : Scalr\Stats\CostAnalytics\Entity\CostCentreEntity | Gets specified Script taking into account both scope and authentication token | |
getDefaultCriteria ( ) : array | Gets default search criteria | |
getEnvironmentCostCenterId ( ) : mixed | Gets cost center Id from environment platform config |
public checkPermissions ( $args ) |
public describeAction ( ) : array | ||
return | array | Returns describe result |
public fetchAction ( string $ccId ) : Scalr\Api\DataType\ResultEnvelope | ||
$ccId | string | Unique identifier of the Cost-Center |
return | Scalr\Api\DataType\ResultEnvelope |
public getCostCenter ( string $ccId ) : Scalr\Stats\CostAnalytics\Entity\CostCentreEntity | ||
$ccId | string | Unique identifier of the Cost-Center |
return | Scalr\Stats\CostAnalytics\Entity\CostCentreEntity | Returns the Project Entity on success |
public getDefaultCriteria ( ) : array | ||
return | array | Returns array of the search criteria |
public getEnvironmentCostCenterId ( ) : mixed | ||
return | mixed |