public function __construct(DBServer $DBServer, $Operation, $SnapInfo = array())
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->Operation = $Operation;
     $this->SnapshotInfo = $SnapInfo;
 }
Example #2
0
 /**
  * Constructor
  *
  * @param   bool    $MarkInstancesAsActive
  *          Whether it should mark instance as Active
  *
  * @param   int $userId optional
  *          Identifier of the User
  *
  * @param   array $auditLogExtra optional
  *          Audit log extra fields
  */
 public function __construct($MarkInstancesAsActive, $userId = null, array $audutLogExtra = null)
 {
     parent::__construct();
     $this->MarkInstancesAsActive = $MarkInstancesAsActive;
     $this->userId = $userId;
     $this->auditLogExtra = $audutLogExtra ?: [];
 }
Example #3
0
 public function __construct(DBServer $DBServer, $check, $details)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->check = $check;
     $this->details = $details;
 }
 public function __construct(DBServer $DBServer, $BundleTaskID, $LastErrorMessage)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->BundleTaskID = $BundleTaskID;
     $this->LastErrorMessage = $LastErrorMessage;
 }
 public function __construct(DBServer $DBServer, $SnapURL, DBServer $OldMasterDBServer)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->SnapURL = $SnapURL;
     $this->OldMasterDBServer = $OldMasterDBServer;
 }
 public function __construct(DBServer $DBServer, $DeviceName, $VolumeID)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->DeviceName = $DeviceName;
     $this->VolumeID = $VolumeID;
 }
 public function __construct(DBServer $DBServer, $SnapshotID, $BundleTaskID, $MetaData = array())
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->SnapshotID = $SnapshotID;
     $this->BundleTaskID = $BundleTaskID;
     $this->MetaData = $MetaData;
 }
 public function __construct(DBServer $DBServer, $Mountpoint, $VolumeID, $DeviceName = null)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->Mountpoint = $Mountpoint;
     $this->DeviceName = $DeviceName;
     $this->VolumeID = $VolumeID;
 }
Example #9
0
 public function __construct(DBServer $DBServer, $InternalIP, $ExternalIP, $PublicKey)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->InternalIP = $InternalIP;
     $this->ExternalIP = $ExternalIP;
     $this->PublicKey = $PublicKey;
 }
Example #10
0
 public function __construct(DBServer $DBServer, $eventName, array $params)
 {
     parent::__construct();
     $this->eventName = $eventName;
     foreach ($params as $k => $v) {
         $this->params[$this->underScope($k)] = $v;
     }
     $this->DBServer = $DBServer;
 }
 public function __construct(DBServer $DBServer, $NewIPAddress, $NewLocalIPAddress = null)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->NewIPAddress = $NewIPAddress;
     $this->NewLocalIPAddress = $NewLocalIPAddress;
     $this->OldPublicIPAddress = $DBServer->remoteIp;
     $this->OldPrivateIPAddress = $DBServer->localIp;
 }
Example #12
0
 public function __construct(DBServer $DBServer)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     try {
         $history = $this->DBServer->getServerHistory();
         $this->terminationReasonId = $history->terminateReasonId;
         $this->terminationReason = $history->terminateReason;
     } catch (Exception $e) {
     }
 }
 public function __construct(DBServer $DBServer, $reasonId = 0, $reasonMsg = "")
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     try {
         $history = $this->DBServer->getServerHistory();
         $this->launchReasonId = $history->launchReasonId;
         $this->launchReason = $history->launchReason;
     } catch (Exception $e) {
     }
 }
 /**
  * Constructor
  *
  * @param     int            $RemoveZoneFromDNS  Whether it should remove zone from DNS (1|0)
  * @param     int            $KeepElasticIPs     Whether it should keep elastic IPs (1|0)
  * @param     bool           $TermOnSyncFail     Whether it shuould terminate on sync fail
  * @param     int            $KeepEBS            Whether it should keep EBS
  * @param     bool           $ForceTerminate     optional Force termination
  * @param     int            $userId             optional Identifier of the User who terminates the Farm
  * @param     array          $auditLogExtra      optional Audit log extra fields
  */
 public function __construct($RemoveZoneFromDNS, $KeepElasticIPs, $TermOnSyncFail, $KeepEBS, $ForceTerminate = true, $userId = null, $auditLogExtra = null)
 {
     parent::__construct();
     $this->RemoveZoneFromDNS = $RemoveZoneFromDNS;
     $this->KeepElasticIPs = $KeepElasticIPs;
     $this->TermOnSyncFail = $TermOnSyncFail;
     $this->KeepEBS = $KeepEBS;
     $this->ForceTerminate = $ForceTerminate;
     $this->userId = $userId;
     $this->auditLogExtra = $auditLogExtra ?: [];
 }
 public function __construct(DBServer $DBServer, $suspend = false)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->suspend = $suspend;
     if (!$this->suspend) {
         try {
             $history = $this->DBServer->getServerHistory();
             $this->terminationReasonId = $history->terminateReasonId;
             $this->terminationReason = $history->terminateReason;
         } catch (Exception $e) {
         }
     }
 }
 public function __construct(DBServer $DBServer)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
 }
 public function __construct(DBServer $dbServer, $initFailureReason)
 {
     parent::__construct();
     $this->DBServer = $dbServer;
     $this->initFailureReason = $initFailureReason;
 }
 public function __construct(DBServer $DBServer, $Operation)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->Operation = $Operation;
 }
 public function __construct(DBServer $DBServer, $check)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->check = $check;
 }
Example #20
0
 public function __construct(DBServer $DBServer, $ReplUserPass = '')
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->ReplUserPass = $ReplUserPass;
 }
 public function __construct(Scalr_ServiceConfiguration $serviceConfiguration, $resetToDefaults = false)
 {
     parent::__construct();
     $this->ServiceConfiguration = $serviceConfiguration;
     $this->ResetToDefaults = $resetToDefaults;
 }
 public function __construct(DBFarmRole $DBFarmRole, $option_name)
 {
     parent::__construct();
     $this->DBFarmRole = $DBFarmRole;
     $this->OptionName = $option_name;
 }
 public function __construct($ZoneName)
 {
     parent::__construct();
     $this->ZoneName = $ZoneName;
 }