Метод | Описание | |
---|---|---|
createAction ( ) | Create page | |
defaultAction ( ) | Forwards the controller to the default action | |
editAction ( string $cloudLocation, string $dBClusterIdentifier = null, string $vpcId = null ) | Edit page | |
hasAccess ( ) | ||
restoreAction ( string $snapshot, string $cloudLocation ) | ||
viewAction ( ) | List page | |
xDeleteAction ( string $cloudLocation, |
xDeleteAction | |
xGetDbClustersStatusAction ( string $cloudLocation, |
Action for polling db clusters' statuses | |
xListAction ( string $cloudLocation, string $dBClusterIdentifier = null ) | xListAction | |
xModifyAction ( string $DBClusterIdentifier, string $cloudLocation, |
Modifies selected cluster | |
xRestoreClusterAction ( string $cloudLocation, string $DBClusterIdentifier, string $DBSnapshotIdentifier, string $Engine, string $VpcId, integer $Port, string $DBInstanceClass, boolean $PublicAccessible, Scalr\UI\Request\RawData $MasterUserPassword, |
xRestoreClusterAction | |
xSaveAction ( string $cloudLocation, string $DBClusterIdentifier, string $Engine, string $MasterUsername, Scalr\UI\Request\RawData $MasterUserPassword, string $VpcId = null, integer $Port = null, string $DBName = null, string $CharacterSetName = null, string $DBParameterGroup = null, string $OptionGroupName = null, |
Creates new DB Cluster from request data |
Метод | Описание | |
---|---|---|
getAwsClient ( string $cloudLocation ) : |
Gets AWS Client for the current environment |
public defaultAction ( ) |
protected getAwsClient ( string $cloudLocation ) : |
||
$cloudLocation | string | Cloud location |
Результат | Returns Aws client for current environment |
public restoreAction ( string $snapshot, string $cloudLocation ) | ||
$snapshot | string | |
$cloudLocation | string |
public xDeleteAction ( string $cloudLocation, |
||
$cloudLocation | string | Aws region |
$dBClusterIdentifiers | List of cluster ids |
public xGetDbClustersStatusAction ( string $cloudLocation, |
||
$cloudLocation | string | Aws region |
$dbClusters | Db clusters to update |
public xListAction ( string $cloudLocation, string $dBClusterIdentifier = null ) | ||
$cloudLocation | string | Aws region |
$dBClusterIdentifier | string | optional DB Cluster identifier |
public xModifyAction ( string $DBClusterIdentifier, string $cloudLocation, |
||
$DBClusterIdentifier | string | DBClusterIdentifier field |
$cloudLocation | string | Ec2 region |
$VpcSecurityGroupIds | optional VPC Security groups list | |
$PreferredMaintenanceWindow | string | optional Preferred Maintenance Window |
$MasterUserPassword | Scalr\UI\Request\RawData | optional User password |
$BackupRetentionPeriod | string | optional Backup Retention Period |
$PreferredBackupWindow | string | optional Preferred Backup Window |
$OptionGroupName | string | optional Option group name |
$ApplyImmediately | boolean | optional ApplyImmediately flag |
$ignoreGovernance | boolean | optional Ignore governance if true |
public xRestoreClusterAction ( string $cloudLocation, string $DBClusterIdentifier, string $DBSnapshotIdentifier, string $Engine, string $VpcId, integer $Port, string $DBInstanceClass, boolean $PublicAccessible, Scalr\UI\Request\RawData $MasterUserPassword, |
||
$cloudLocation | string | Ec2 region |
$DBClusterIdentifier | string | DBClusterIdentifier field |
$DBSnapshotIdentifier | string | DBSnapshotIdentifier field |
$Engine | string | Aurora engine |
$VpcId | string | Vpc id |
$Port | integer | Port value |
$DBInstanceClass | string | Db instance class |
$PublicAccessible | boolean | True if instance is public accessible |
$MasterUserPassword | Scalr\UI\Request\RawData | DB Password |
$SubnetIds | optional List of subnet ids | |
$OptionGroupName | string | optional Option group name |
$AvailabilityZones | optional List of availability zones | |
$DBSubnetGroupName | string | optional Subnet group name |
$AutoMinorVersionUpgrade | boolean | optional Auto minor version upgrade |
public xSaveAction ( string $cloudLocation, string $DBClusterIdentifier, string $Engine, string $MasterUsername, Scalr\UI\Request\RawData $MasterUserPassword, string $VpcId = null, integer $Port = null, string $DBName = null, string $CharacterSetName = null, string $DBParameterGroup = null, string $OptionGroupName = null, |
||
$cloudLocation | string | Instance cloud location |
$DBClusterIdentifier | string | DBClusterIdentifier field |
$Engine | string | Database Db engine |
$MasterUsername | string | User name |
$MasterUserPassword | Scalr\UI\Request\RawData | User password |
$VpcId | string | optional Ec2 vpc id |
$Port | integer | optional DB Port |
$DBName | string | optional DB name |
$CharacterSetName | string | optional Character set name |
$DBParameterGroup | string | optional Parameter group name |
$OptionGroupName | string | optional Option group name |
$AvailabilityZones | optional Aws availability zone list | |
$BackupRetentionPeriod | integer | optional Backup Retention Period |
$PreferredBackupWindow | string | optional Preferred Backup Window |
$PreferredMaintenanceWindow | string | optional Preferred Maintenance Window |
$DBSubnetGroupName | string | optional Subnet group name |
$EngineVersion | string | optional Engine's version |
$farmId | integer | optional Farm identifier |
$VpcSecurityGroups | optional VPC Security groups list | |
$SubnetIds | optional Subnets list | |
$StorageEncrypted | boolean | optional Storage encryption |
$KmsKeyId | string | optional Kms key id |