Documentation

QuotaManager extends QuotaManagerAbstraction
in package

Table of Contents

$errorLogName  : string
$warningLogName  : string
$apiVersion  : string
API Version
$authenticationManager  : AuthenticationManager
The authentication manager, used to interact with Open Stack APIs
$jobsLogName  : string
The name of the log in which we are going to log actions performed by jobs
$quotaDefaults  : array<string|int, mixed>
$quotaUseDefaults  : bool
__construct()  : mixed
fetch()  : Quota
fromOpenStack()  : Quota
Fill model from OpenStack
getAuthenticationManager()  : AuthenticationManager
getOpenStackQuota()  : Quota
logEntry()  : Activity
logEntryWithoutModel()  : Activity
logError()  : Activity
logWarning()  : Activity
setAuthenticationManager()  : OpenStackObjectManager
toOpenStack()  : Quota
Fill OpenStack from model
update()  : Quota
log()  : array<string|int, Activity>
getNetworkingService()  : Service

Properties

$warningLogName

public static string $warningLogName = "warning"

$jobsLogName

The name of the log in which we are going to log actions performed by jobs

protected string $jobsLogName = "jobs"

$quotaDefaults

private array<string|int, mixed> $quotaDefaults

Methods

fromOpenStack()

Fill model from OpenStack

public fromOpenStack(Quota $quota, Quota $openStackQuota) : Quota
Parameters
$quota : Quota
$openStackQuota : Quota
Return values
Quota

getOpenStackQuota()

public getOpenStackQuota(string $project_id[, bool $retrieve = false ]) : Quota
Parameters
$project_id : string
$retrieve : bool = false
Return values
Quota

logEntry()

public static logEntry(Model $model, array<string|int, mixed> $properties, string $description, string $event, string $logName) : Activity
Parameters
$model : Model
$properties : array<string|int, mixed>
$description : string
$event : string
$logName : string
Return values
Activity

logEntryWithoutModel()

public static logEntryWithoutModel(array<string|int, mixed> $properties, string $description, string $event, string $logName) : Activity
Parameters
$properties : array<string|int, mixed>
$description : string
$event : string
$logName : string
Return values
Activity

logError()

public static logError(Model $model, array<string|int, mixed> $properties, string $description, string $event) : Activity
Parameters
$model : Model
$properties : array<string|int, mixed>
$description : string
$event : string
Return values
Activity

logWarning()

public static logWarning(Model $model, array<string|int, mixed> $properties, string $description, string $event) : Activity
Parameters
$model : Model
$properties : array<string|int, mixed>
$description : string
$event : string
Return values
Activity

toOpenStack()

Fill OpenStack from model

public toOpenStack(Quota $quota, Quota $openStackQuota) : Quota
Parameters
$quota : Quota
$openStackQuota : Quota
Return values
Quota

log()

protected log(Model|array<string|int, mixed> $models, array<string|int, mixed> $properties, string $description[, null $logName = null ]) : array<string|int, Activity>
Parameters
$models : Model|array<string|int, mixed>
$properties : array<string|int, mixed>
$description : string
$logName : null = null
Return values
array<string|int, Activity>

getNetworkingService()

private getNetworkingService() : Service
Return values
Service

Search results