chore: 添加多个图片和资源文件
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
2019-04-18 Version: 2.0.5
|
||||
1, Add CreateAccount
|
||||
|
||||
2019-02-15 Version: 2.0.4
|
||||
1, Modify DescribeDBInstances LastDowngradeTime DataType
|
||||
|
||||
2018-12-11 Version: 2.0.3
|
||||
1, Modify DescribeDBInstances OpenApi lastDowngradeTime dataType.
|
||||
2, Upgrade SDK Version to 2.0.3.
|
||||
|
||||
2018-10-31 Version: 2.0.2
|
||||
1, The DescribeDBInstanceAttribute add replicaSets response value.
|
||||
2, The DescribeDBInstances support engine query.
|
||||
|
||||
2018-08-22 Version: 2.0.1
|
||||
1, upgrade mongodb sdk.
|
||||
|
||||
2017-11-14 Version: 1.0.0
|
||||
1, MongoDB SDK 1.0.0
|
||||
|
||||
2017-11-14 Version: 1.0.0
|
||||
1, MongoDB SDK 1.0.0
|
||||
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of AllocatePublicNetworkAddress
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class AllocatePublicNetworkAddressRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'AllocatePublicNetworkAddress',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of CheckRecoveryCondition
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getRestoreTime()
|
||||
* @method string getDatabaseNames()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getBackupId()
|
||||
* @method string getSourceDBInstance()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class CheckRecoveryConditionRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'CheckRecoveryCondition',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $restoreTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRestoreTime($restoreTime)
|
||||
{
|
||||
$this->requestParameters['RestoreTime'] = $restoreTime;
|
||||
$this->queryParameters['RestoreTime'] = $restoreTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $databaseNames
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDatabaseNames($databaseNames)
|
||||
{
|
||||
$this->requestParameters['DatabaseNames'] = $databaseNames;
|
||||
$this->queryParameters['DatabaseNames'] = $databaseNames;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $backupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBackupId($backupId)
|
||||
{
|
||||
$this->requestParameters['BackupId'] = $backupId;
|
||||
$this->queryParameters['BackupId'] = $backupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sourceDBInstance
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSourceDBInstance($sourceDBInstance)
|
||||
{
|
||||
$this->requestParameters['SourceDBInstance'] = $sourceDBInstance;
|
||||
$this->queryParameters['SourceDBInstance'] = $sourceDBInstance;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of CreateAccount
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getAccountPassword()
|
||||
* @method string getAccountName()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getAccountDescription()
|
||||
*/
|
||||
class CreateAccountRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'CreateAccount',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $accountPassword
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountPassword($accountPassword)
|
||||
{
|
||||
$this->requestParameters['AccountPassword'] = $accountPassword;
|
||||
$this->queryParameters['AccountPassword'] = $accountPassword;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $accountName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountName($accountName)
|
||||
{
|
||||
$this->requestParameters['AccountName'] = $accountName;
|
||||
$this->queryParameters['AccountName'] = $accountName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $accountDescription
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountDescription($accountDescription)
|
||||
{
|
||||
$this->requestParameters['AccountDescription'] = $accountDescription;
|
||||
$this->queryParameters['AccountDescription'] = $accountDescription;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of CreateBackup
|
||||
*
|
||||
* @method string getBackupMethod()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class CreateBackupRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'CreateBackup',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $backupMethod
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBackupMethod($backupMethod)
|
||||
{
|
||||
$this->requestParameters['BackupMethod'] = $backupMethod;
|
||||
$this->queryParameters['BackupMethod'] = $backupMethod;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+437
@@ -0,0 +1,437 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of CreateDBInstance
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getDBInstanceStorage()
|
||||
* @method string getClientToken()
|
||||
* @method string getCouponNo()
|
||||
* @method string getEngineVersion()
|
||||
* @method string getNetworkType()
|
||||
* @method string getReplicationFactor()
|
||||
* @method string getStorageEngine()
|
||||
* @method string getResourceGroupId()
|
||||
* @method string getDatabaseNames()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getEngine()
|
||||
* @method string getDBInstanceDescription()
|
||||
* @method string getBusinessInfo()
|
||||
* @method string getPeriod()
|
||||
* @method string getRestoreTime()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getSrcDBInstanceId()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getBackupId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getDBInstanceClass()
|
||||
* @method string getSecurityIPList()
|
||||
* @method string getVSwitchId()
|
||||
* @method string getAccountPassword()
|
||||
* @method string getAutoRenew()
|
||||
* @method string getVpcId()
|
||||
* @method string getZoneId()
|
||||
* @method string getChargeType()
|
||||
*/
|
||||
class CreateDBInstanceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'CreateDBInstance',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceStorage
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceStorage($dBInstanceStorage)
|
||||
{
|
||||
$this->requestParameters['DBInstanceStorage'] = $dBInstanceStorage;
|
||||
$this->queryParameters['DBInstanceStorage'] = $dBInstanceStorage;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $clientToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClientToken($clientToken)
|
||||
{
|
||||
$this->requestParameters['ClientToken'] = $clientToken;
|
||||
$this->queryParameters['ClientToken'] = $clientToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $couponNo
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCouponNo($couponNo)
|
||||
{
|
||||
$this->requestParameters['CouponNo'] = $couponNo;
|
||||
$this->queryParameters['CouponNo'] = $couponNo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $engineVersion
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEngineVersion($engineVersion)
|
||||
{
|
||||
$this->requestParameters['EngineVersion'] = $engineVersion;
|
||||
$this->queryParameters['EngineVersion'] = $engineVersion;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $networkType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNetworkType($networkType)
|
||||
{
|
||||
$this->requestParameters['NetworkType'] = $networkType;
|
||||
$this->queryParameters['NetworkType'] = $networkType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicationFactor
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicationFactor($replicationFactor)
|
||||
{
|
||||
$this->requestParameters['ReplicationFactor'] = $replicationFactor;
|
||||
$this->queryParameters['ReplicationFactor'] = $replicationFactor;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $storageEngine
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStorageEngine($storageEngine)
|
||||
{
|
||||
$this->requestParameters['StorageEngine'] = $storageEngine;
|
||||
$this->queryParameters['StorageEngine'] = $storageEngine;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceGroupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceGroupId($resourceGroupId)
|
||||
{
|
||||
$this->requestParameters['ResourceGroupId'] = $resourceGroupId;
|
||||
$this->queryParameters['ResourceGroupId'] = $resourceGroupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $databaseNames
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDatabaseNames($databaseNames)
|
||||
{
|
||||
$this->requestParameters['DatabaseNames'] = $databaseNames;
|
||||
$this->queryParameters['DatabaseNames'] = $databaseNames;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $engine
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEngine($engine)
|
||||
{
|
||||
$this->requestParameters['Engine'] = $engine;
|
||||
$this->queryParameters['Engine'] = $engine;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceDescription
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceDescription($dBInstanceDescription)
|
||||
{
|
||||
$this->requestParameters['DBInstanceDescription'] = $dBInstanceDescription;
|
||||
$this->queryParameters['DBInstanceDescription'] = $dBInstanceDescription;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $businessInfo
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBusinessInfo($businessInfo)
|
||||
{
|
||||
$this->requestParameters['BusinessInfo'] = $businessInfo;
|
||||
$this->queryParameters['BusinessInfo'] = $businessInfo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $period
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPeriod($period)
|
||||
{
|
||||
$this->requestParameters['Period'] = $period;
|
||||
$this->queryParameters['Period'] = $period;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $restoreTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRestoreTime($restoreTime)
|
||||
{
|
||||
$this->requestParameters['RestoreTime'] = $restoreTime;
|
||||
$this->queryParameters['RestoreTime'] = $restoreTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $srcDBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSrcDBInstanceId($srcDBInstanceId)
|
||||
{
|
||||
$this->requestParameters['SrcDBInstanceId'] = $srcDBInstanceId;
|
||||
$this->queryParameters['SrcDBInstanceId'] = $srcDBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $backupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBackupId($backupId)
|
||||
{
|
||||
$this->requestParameters['BackupId'] = $backupId;
|
||||
$this->queryParameters['BackupId'] = $backupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceClass
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceClass($dBInstanceClass)
|
||||
{
|
||||
$this->requestParameters['DBInstanceClass'] = $dBInstanceClass;
|
||||
$this->queryParameters['DBInstanceClass'] = $dBInstanceClass;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityIPList
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityIPList($securityIPList)
|
||||
{
|
||||
$this->requestParameters['SecurityIPList'] = $securityIPList;
|
||||
$this->queryParameters['SecurityIPList'] = $securityIPList;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $vSwitchId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVSwitchId($vSwitchId)
|
||||
{
|
||||
$this->requestParameters['VSwitchId'] = $vSwitchId;
|
||||
$this->queryParameters['VSwitchId'] = $vSwitchId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $accountPassword
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountPassword($accountPassword)
|
||||
{
|
||||
$this->requestParameters['AccountPassword'] = $accountPassword;
|
||||
$this->queryParameters['AccountPassword'] = $accountPassword;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $autoRenew
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutoRenew($autoRenew)
|
||||
{
|
||||
$this->requestParameters['AutoRenew'] = $autoRenew;
|
||||
$this->queryParameters['AutoRenew'] = $autoRenew;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $vpcId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVpcId($vpcId)
|
||||
{
|
||||
$this->requestParameters['VpcId'] = $vpcId;
|
||||
$this->queryParameters['VpcId'] = $vpcId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $zoneId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setZoneId($zoneId)
|
||||
{
|
||||
$this->requestParameters['ZoneId'] = $zoneId;
|
||||
$this->queryParameters['ZoneId'] = $zoneId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $chargeType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setChargeType($chargeType)
|
||||
{
|
||||
$this->requestParameters['ChargeType'] = $chargeType;
|
||||
$this->queryParameters['ChargeType'] = $chargeType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+199
@@ -0,0 +1,199 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of CreateNode
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getNodeType()
|
||||
* @method string getAutoPay()
|
||||
* @method string getFromApp()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getClientToken()
|
||||
* @method string getNodeStorage()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeClass()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getDBInstanceId()
|
||||
*/
|
||||
class CreateNodeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'CreateNode',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeType($nodeType)
|
||||
{
|
||||
$this->requestParameters['NodeType'] = $nodeType;
|
||||
$this->queryParameters['NodeType'] = $nodeType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $autoPay
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutoPay($autoPay)
|
||||
{
|
||||
$this->requestParameters['AutoPay'] = $autoPay;
|
||||
$this->queryParameters['AutoPay'] = $autoPay;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $fromApp
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setFromApp($fromApp)
|
||||
{
|
||||
$this->requestParameters['FromApp'] = $fromApp;
|
||||
$this->queryParameters['FromApp'] = $fromApp;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $clientToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClientToken($clientToken)
|
||||
{
|
||||
$this->requestParameters['ClientToken'] = $clientToken;
|
||||
$this->queryParameters['ClientToken'] = $clientToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeStorage
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeStorage($nodeStorage)
|
||||
{
|
||||
$this->requestParameters['NodeStorage'] = $nodeStorage;
|
||||
$this->queryParameters['NodeStorage'] = $nodeStorage;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeClass
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeClass($nodeClass)
|
||||
{
|
||||
$this->requestParameters['NodeClass'] = $nodeClass;
|
||||
$this->queryParameters['NodeClass'] = $nodeClass;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of CreateRecommendationTask
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEndTime()
|
||||
* @method string getStartTime()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class CreateRecommendationTaskRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'CreateRecommendationTask',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+375
@@ -0,0 +1,375 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of CreateShardingDBInstance
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getClientToken()
|
||||
* @method string getEngineVersion()
|
||||
* @method string getNetworkType()
|
||||
* @method array getReplicaSets()
|
||||
* @method string getStorageEngine()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getEngine()
|
||||
* @method string getDBInstanceDescription()
|
||||
* @method string getPeriod()
|
||||
* @method string getRestoreTime()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getSrcDBInstanceId()
|
||||
* @method string getOwnerAccount()
|
||||
* @method array getConfigServers()
|
||||
* @method string getOwnerId()
|
||||
* @method array getMongoss()
|
||||
* @method string getSecurityIPList()
|
||||
* @method string getVSwitchId()
|
||||
* @method string getAccountPassword()
|
||||
* @method string getAutoRenew()
|
||||
* @method string getVpcId()
|
||||
* @method string getZoneId()
|
||||
* @method string getChargeType()
|
||||
*/
|
||||
class CreateShardingDBInstanceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'CreateShardingDBInstance',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $clientToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClientToken($clientToken)
|
||||
{
|
||||
$this->requestParameters['ClientToken'] = $clientToken;
|
||||
$this->queryParameters['ClientToken'] = $clientToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $engineVersion
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEngineVersion($engineVersion)
|
||||
{
|
||||
$this->requestParameters['EngineVersion'] = $engineVersion;
|
||||
$this->queryParameters['EngineVersion'] = $engineVersion;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $networkType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNetworkType($networkType)
|
||||
{
|
||||
$this->requestParameters['NetworkType'] = $networkType;
|
||||
$this->queryParameters['NetworkType'] = $networkType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $replicaSet
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaSets(array $replicaSet)
|
||||
{
|
||||
$this->requestParameters['ReplicaSets'] = $replicaSet;
|
||||
foreach ($replicaSet as $depth1 => $depth1Value) {
|
||||
$this->queryParameters['ReplicaSet.' . ($depth1 + 1) . '.Storage'] = $depth1Value['Storage'];
|
||||
$this->queryParameters['ReplicaSet.' . ($depth1 + 1) . '.Class'] = $depth1Value['Class'];
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $storageEngine
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStorageEngine($storageEngine)
|
||||
{
|
||||
$this->requestParameters['StorageEngine'] = $storageEngine;
|
||||
$this->queryParameters['StorageEngine'] = $storageEngine;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $engine
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEngine($engine)
|
||||
{
|
||||
$this->requestParameters['Engine'] = $engine;
|
||||
$this->queryParameters['Engine'] = $engine;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceDescription
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceDescription($dBInstanceDescription)
|
||||
{
|
||||
$this->requestParameters['DBInstanceDescription'] = $dBInstanceDescription;
|
||||
$this->queryParameters['DBInstanceDescription'] = $dBInstanceDescription;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $period
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPeriod($period)
|
||||
{
|
||||
$this->requestParameters['Period'] = $period;
|
||||
$this->queryParameters['Period'] = $period;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $restoreTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRestoreTime($restoreTime)
|
||||
{
|
||||
$this->requestParameters['RestoreTime'] = $restoreTime;
|
||||
$this->queryParameters['RestoreTime'] = $restoreTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $srcDBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSrcDBInstanceId($srcDBInstanceId)
|
||||
{
|
||||
$this->requestParameters['SrcDBInstanceId'] = $srcDBInstanceId;
|
||||
$this->queryParameters['SrcDBInstanceId'] = $srcDBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $configServer
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setConfigServers(array $configServer)
|
||||
{
|
||||
$this->requestParameters['ConfigServers'] = $configServer;
|
||||
foreach ($configServer as $depth1 => $depth1Value) {
|
||||
$this->queryParameters['ConfigServer.' . ($depth1 + 1) . '.Storage'] = $depth1Value['Storage'];
|
||||
$this->queryParameters['ConfigServer.' . ($depth1 + 1) . '.Class'] = $depth1Value['Class'];
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $mongos
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMongoss(array $mongos)
|
||||
{
|
||||
$this->requestParameters['Mongoss'] = $mongos;
|
||||
foreach ($mongos as $depth1 => $depth1Value) {
|
||||
$this->queryParameters['Mongos.' . ($depth1 + 1) . '.Class'] = $depth1Value['Class'];
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityIPList
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityIPList($securityIPList)
|
||||
{
|
||||
$this->requestParameters['SecurityIPList'] = $securityIPList;
|
||||
$this->queryParameters['SecurityIPList'] = $securityIPList;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $vSwitchId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVSwitchId($vSwitchId)
|
||||
{
|
||||
$this->requestParameters['VSwitchId'] = $vSwitchId;
|
||||
$this->queryParameters['VSwitchId'] = $vSwitchId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $accountPassword
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountPassword($accountPassword)
|
||||
{
|
||||
$this->requestParameters['AccountPassword'] = $accountPassword;
|
||||
$this->queryParameters['AccountPassword'] = $accountPassword;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $autoRenew
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutoRenew($autoRenew)
|
||||
{
|
||||
$this->requestParameters['AutoRenew'] = $autoRenew;
|
||||
$this->queryParameters['AutoRenew'] = $autoRenew;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $vpcId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVpcId($vpcId)
|
||||
{
|
||||
$this->requestParameters['VpcId'] = $vpcId;
|
||||
$this->queryParameters['VpcId'] = $vpcId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $zoneId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setZoneId($zoneId)
|
||||
{
|
||||
$this->requestParameters['ZoneId'] = $zoneId;
|
||||
$this->queryParameters['ZoneId'] = $zoneId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $chargeType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setChargeType($chargeType)
|
||||
{
|
||||
$this->requestParameters['ChargeType'] = $chargeType;
|
||||
$this->queryParameters['ChargeType'] = $chargeType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of CreateStaticVerification
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getDestinationInstanceId()
|
||||
* @method string getSourceInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class CreateStaticVerificationRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'CreateStaticVerification',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $destinationInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDestinationInstanceId($destinationInstanceId)
|
||||
{
|
||||
$this->requestParameters['DestinationInstanceId'] = $destinationInstanceId;
|
||||
$this->queryParameters['DestinationInstanceId'] = $destinationInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sourceInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSourceInstanceId($sourceInstanceId)
|
||||
{
|
||||
$this->requestParameters['SourceInstanceId'] = $sourceInstanceId;
|
||||
$this->queryParameters['SourceInstanceId'] = $sourceInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DeleteDBInstance
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getClientToken()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DeleteDBInstanceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DeleteDBInstance',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $clientToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClientToken($clientToken)
|
||||
{
|
||||
$this->requestParameters['ClientToken'] = $clientToken;
|
||||
$this->queryParameters['ClientToken'] = $clientToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DeleteNode
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getClientToken()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class DeleteNodeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DeleteNode',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $clientToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClientToken($clientToken)
|
||||
{
|
||||
$this->requestParameters['ClientToken'] = $clientToken;
|
||||
$this->queryParameters['ClientToken'] = $clientToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeAccounts
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getAccountName()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeAccountsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeAccounts',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $accountName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountName($accountName)
|
||||
{
|
||||
$this->requestParameters['AccountName'] = $accountName;
|
||||
$this->queryParameters['AccountName'] = $accountName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeActiveOperationTaskCount
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeActiveOperationTaskCountRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeActiveOperationTaskCount',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeActiveOperationTaskRegion
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getIsHistory()
|
||||
* @method string getTaskType()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeActiveOperationTaskRegionRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeActiveOperationTaskRegion',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $isHistory
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setIsHistory($isHistory)
|
||||
{
|
||||
$this->requestParameters['IsHistory'] = $isHistory;
|
||||
$this->queryParameters['IsHistory'] = $isHistory;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $taskType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTaskType($taskType)
|
||||
{
|
||||
$this->requestParameters['TaskType'] = $taskType;
|
||||
$this->queryParameters['TaskType'] = $taskType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeActiveOperationTask
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getTaskType()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getPageNumber()
|
||||
* @method string getIsHistory()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getPageSize()
|
||||
* @method string getRegion()
|
||||
*/
|
||||
class DescribeActiveOperationTaskRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeActiveOperationTask',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $taskType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTaskType($taskType)
|
||||
{
|
||||
$this->requestParameters['TaskType'] = $taskType;
|
||||
$this->queryParameters['TaskType'] = $taskType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $isHistory
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setIsHistory($isHistory)
|
||||
{
|
||||
$this->requestParameters['IsHistory'] = $isHistory;
|
||||
$this->queryParameters['IsHistory'] = $isHistory;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $region
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRegion($region)
|
||||
{
|
||||
$this->requestParameters['Region'] = $region;
|
||||
$this->queryParameters['Region'] = $region;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeActiveOperationTaskType
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getIsHistory()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeActiveOperationTaskTypeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeActiveOperationTaskType',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $isHistory
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setIsHistory($isHistory)
|
||||
{
|
||||
$this->requestParameters['IsHistory'] = $isHistory;
|
||||
$this->queryParameters['IsHistory'] = $isHistory;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeAuditFiles
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getPageSize()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
* @method string getPageNumber()
|
||||
*/
|
||||
class DescribeAuditFilesRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeAuditFiles',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeAuditLogFilter
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getRoleType()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeAuditLogFilterRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeAuditLogFilter',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $roleType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRoleType($roleType)
|
||||
{
|
||||
$this->requestParameters['RoleType'] = $roleType;
|
||||
$this->queryParameters['RoleType'] = $roleType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeAuditPolicy
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeAuditPolicyRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeAuditPolicy',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+241
@@ -0,0 +1,241 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeAuditRecords
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEndTime()
|
||||
* @method string getStartTime()
|
||||
* @method string getOwnerId()
|
||||
* @method string getQueryKeywords()
|
||||
* @method string getPageNumber()
|
||||
* @method string getDatabase()
|
||||
* @method string getForm()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getPageSize()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getNodeId()
|
||||
* @method string getUser()
|
||||
*/
|
||||
class DescribeAuditRecordsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeAuditRecords',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $queryKeywords
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setQueryKeywords($queryKeywords)
|
||||
{
|
||||
$this->requestParameters['QueryKeywords'] = $queryKeywords;
|
||||
$this->queryParameters['QueryKeywords'] = $queryKeywords;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $database
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDatabase($database)
|
||||
{
|
||||
$this->requestParameters['Database'] = $database;
|
||||
$this->queryParameters['Database'] = $database;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $form
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setForm($form)
|
||||
{
|
||||
$this->requestParameters['Form'] = $form;
|
||||
$this->queryParameters['Form'] = $form;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $user
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setUser($user)
|
||||
{
|
||||
$this->requestParameters['User'] = $user;
|
||||
$this->queryParameters['User'] = $user;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeAvailableEngineVersion
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeAvailableEngineVersionRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeAvailableEngineVersion',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeAvailableTimeRange
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class DescribeAvailableTimeRangeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeAvailableTimeRange',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeAvaliableTimeRange
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class DescribeAvaliableTimeRangeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeAvaliableTimeRange',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeBackupDBs
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getRestoreTime()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getBackupId()
|
||||
* @method string getPageSize()
|
||||
* @method string getSourceDBInstance()
|
||||
* @method string getOwnerId()
|
||||
* @method string getPageNumber()
|
||||
*/
|
||||
class DescribeBackupDBsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeBackupDBs',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $restoreTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRestoreTime($restoreTime)
|
||||
{
|
||||
$this->requestParameters['RestoreTime'] = $restoreTime;
|
||||
$this->queryParameters['RestoreTime'] = $restoreTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $backupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBackupId($backupId)
|
||||
{
|
||||
$this->requestParameters['BackupId'] = $backupId;
|
||||
$this->queryParameters['BackupId'] = $backupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sourceDBInstance
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSourceDBInstance($sourceDBInstance)
|
||||
{
|
||||
$this->requestParameters['SourceDBInstance'] = $sourceDBInstance;
|
||||
$this->queryParameters['SourceDBInstance'] = $sourceDBInstance;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeBackupPolicy
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeBackupPolicyRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeBackupPolicy',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+199
@@ -0,0 +1,199 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeBackups
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getBackupId()
|
||||
* @method string getEndTime()
|
||||
* @method string getStartTime()
|
||||
* @method string getOwnerId()
|
||||
* @method string getPageNumber()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getPageSize()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class DescribeBackupsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeBackups',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $backupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBackupId($backupId)
|
||||
{
|
||||
$this->requestParameters['BackupId'] = $backupId;
|
||||
$this->queryParameters['BackupId'] = $backupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeDBInstanceAttribute
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getEngine()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeDBInstanceAttributeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeDBInstanceAttribute',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $engine
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEngine($engine)
|
||||
{
|
||||
$this->requestParameters['Engine'] = $engine;
|
||||
$this->queryParameters['Engine'] = $engine;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeDBInstanceMonitor
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeDBInstanceMonitorRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeDBInstanceMonitor',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+199
@@ -0,0 +1,199 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeDBInstancePerformance
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getRoleId()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEndTime()
|
||||
* @method string getStartTime()
|
||||
* @method string getOwnerId()
|
||||
* @method string getReplicaSetRole()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getNodeId()
|
||||
* @method string getKey()
|
||||
*/
|
||||
class DescribeDBInstancePerformanceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeDBInstancePerformance',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $roleId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRoleId($roleId)
|
||||
{
|
||||
$this->requestParameters['RoleId'] = $roleId;
|
||||
$this->queryParameters['RoleId'] = $roleId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaSetRole
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaSetRole($replicaSetRole)
|
||||
{
|
||||
$this->requestParameters['ReplicaSetRole'] = $replicaSetRole;
|
||||
$this->queryParameters['ReplicaSetRole'] = $replicaSetRole;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $key
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setKey($key)
|
||||
{
|
||||
$this->requestParameters['Key'] = $key;
|
||||
$this->queryParameters['Key'] = $key;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeDBInstanceSSL
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeDBInstanceSSLRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeDBInstanceSSL',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+356
@@ -0,0 +1,356 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeDBInstances
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getEngineVersion()
|
||||
* @method string getNetworkType()
|
||||
* @method string getPageNumber()
|
||||
* @method string getReplicationFactor()
|
||||
* @method string getExpired()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getEngine()
|
||||
* @method string getPageSize()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getDBInstanceDescription()
|
||||
* @method string getDBInstanceStatus()
|
||||
* @method array getTags()
|
||||
* @method string getExpireTime()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getDBInstanceType()
|
||||
* @method string getDBInstanceClass()
|
||||
* @method string getVSwitchId()
|
||||
* @method string getVpcId()
|
||||
* @method string getZoneId()
|
||||
* @method string getChargeType()
|
||||
*/
|
||||
class DescribeDBInstancesRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeDBInstances',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $engineVersion
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEngineVersion($engineVersion)
|
||||
{
|
||||
$this->requestParameters['EngineVersion'] = $engineVersion;
|
||||
$this->queryParameters['EngineVersion'] = $engineVersion;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $networkType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNetworkType($networkType)
|
||||
{
|
||||
$this->requestParameters['NetworkType'] = $networkType;
|
||||
$this->queryParameters['NetworkType'] = $networkType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicationFactor
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicationFactor($replicationFactor)
|
||||
{
|
||||
$this->requestParameters['ReplicationFactor'] = $replicationFactor;
|
||||
$this->queryParameters['ReplicationFactor'] = $replicationFactor;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $expired
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setExpired($expired)
|
||||
{
|
||||
$this->requestParameters['Expired'] = $expired;
|
||||
$this->queryParameters['Expired'] = $expired;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $engine
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEngine($engine)
|
||||
{
|
||||
$this->requestParameters['Engine'] = $engine;
|
||||
$this->queryParameters['Engine'] = $engine;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceDescription
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceDescription($dBInstanceDescription)
|
||||
{
|
||||
$this->requestParameters['DBInstanceDescription'] = $dBInstanceDescription;
|
||||
$this->queryParameters['DBInstanceDescription'] = $dBInstanceDescription;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceStatus
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceStatus($dBInstanceStatus)
|
||||
{
|
||||
$this->requestParameters['DBInstanceStatus'] = $dBInstanceStatus;
|
||||
$this->queryParameters['DBInstanceStatus'] = $dBInstanceStatus;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $tag
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTags(array $tag)
|
||||
{
|
||||
$this->requestParameters['Tags'] = $tag;
|
||||
foreach ($tag as $depth1 => $depth1Value) {
|
||||
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
|
||||
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $expireTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setExpireTime($expireTime)
|
||||
{
|
||||
$this->requestParameters['ExpireTime'] = $expireTime;
|
||||
$this->queryParameters['ExpireTime'] = $expireTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceType($dBInstanceType)
|
||||
{
|
||||
$this->requestParameters['DBInstanceType'] = $dBInstanceType;
|
||||
$this->queryParameters['DBInstanceType'] = $dBInstanceType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceClass
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceClass($dBInstanceClass)
|
||||
{
|
||||
$this->requestParameters['DBInstanceClass'] = $dBInstanceClass;
|
||||
$this->queryParameters['DBInstanceClass'] = $dBInstanceClass;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $vSwitchId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVSwitchId($vSwitchId)
|
||||
{
|
||||
$this->requestParameters['VSwitchId'] = $vSwitchId;
|
||||
$this->queryParameters['VSwitchId'] = $vSwitchId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $vpcId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVpcId($vpcId)
|
||||
{
|
||||
$this->requestParameters['VpcId'] = $vpcId;
|
||||
$this->queryParameters['VpcId'] = $vpcId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $zoneId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setZoneId($zoneId)
|
||||
{
|
||||
$this->requestParameters['ZoneId'] = $zoneId;
|
||||
$this->queryParameters['ZoneId'] = $zoneId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $chargeType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setChargeType($chargeType)
|
||||
{
|
||||
$this->requestParameters['ChargeType'] = $chargeType;
|
||||
$this->queryParameters['ChargeType'] = $chargeType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+227
@@ -0,0 +1,227 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeErrorLogRecords
|
||||
*
|
||||
* @method string getSQLId()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEndTime()
|
||||
* @method string getStartTime()
|
||||
* @method string getOwnerId()
|
||||
* @method string getPageNumber()
|
||||
* @method string getDBName()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getPageSize()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getRoleType()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class DescribeErrorLogRecordsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeErrorLogRecords',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sQLId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSQLId($sQLId)
|
||||
{
|
||||
$this->requestParameters['SQLId'] = $sQLId;
|
||||
$this->queryParameters['SQLId'] = $sQLId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBName($dBName)
|
||||
{
|
||||
$this->requestParameters['DBName'] = $dBName;
|
||||
$this->queryParameters['DBName'] = $dBName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $roleType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRoleType($roleType)
|
||||
{
|
||||
$this->requestParameters['RoleType'] = $roleType;
|
||||
$this->queryParameters['RoleType'] = $roleType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+241
@@ -0,0 +1,241 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeIndexRecommendation
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEndTime()
|
||||
* @method string getCollection()
|
||||
* @method string getStartTime()
|
||||
* @method string getOperationType()
|
||||
* @method string getOwnerId()
|
||||
* @method string getPageNumber()
|
||||
* @method string getDatabase()
|
||||
* @method string getInstanceId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getPageSize()
|
||||
* @method string getNodeId()
|
||||
* @method string getTaskId()
|
||||
*/
|
||||
class DescribeIndexRecommendationRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeIndexRecommendation',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $collection
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCollection($collection)
|
||||
{
|
||||
$this->requestParameters['Collection'] = $collection;
|
||||
$this->queryParameters['Collection'] = $collection;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $operationType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOperationType($operationType)
|
||||
{
|
||||
$this->requestParameters['OperationType'] = $operationType;
|
||||
$this->queryParameters['OperationType'] = $operationType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $database
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDatabase($database)
|
||||
{
|
||||
$this->requestParameters['Database'] = $database;
|
||||
$this->queryParameters['Database'] = $database;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $taskId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTaskId($taskId)
|
||||
{
|
||||
$this->requestParameters['TaskId'] = $taskId;
|
||||
$this->queryParameters['TaskId'] = $taskId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeInstanceAutoRenewalAttribute
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getPageSize()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getPageNumber()
|
||||
* @method string getDBInstanceType()
|
||||
*/
|
||||
class DescribeInstanceAutoRenewalAttributeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeInstanceAutoRenewalAttribute',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceType($dBInstanceType)
|
||||
{
|
||||
$this->requestParameters['DBInstanceType'] = $dBInstanceType;
|
||||
$this->queryParameters['DBInstanceType'] = $dBInstanceType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeKernelReleaseNotes
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getKernelVersion()
|
||||
*/
|
||||
class DescribeKernelReleaseNotesRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeKernelReleaseNotes',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $kernelVersion
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setKernelVersion($kernelVersion)
|
||||
{
|
||||
$this->requestParameters['KernelVersion'] = $kernelVersion;
|
||||
$this->queryParameters['KernelVersion'] = $kernelVersion;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeParameterModificationHistory
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEndTime()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getStartTime()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class DescribeParameterModificationHistoryRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeParameterModificationHistory',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeParameterTemplates
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getEngine()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEngineVersion()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeParameterTemplatesRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeParameterTemplates',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $engine
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEngine($engine)
|
||||
{
|
||||
$this->requestParameters['Engine'] = $engine;
|
||||
$this->queryParameters['Engine'] = $engine;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $engineVersion
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEngineVersion($engineVersion)
|
||||
{
|
||||
$this->requestParameters['EngineVersion'] = $engineVersion;
|
||||
$this->queryParameters['EngineVersion'] = $engineVersion;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeParameters
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class DescribeParametersRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeParameters',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeRdsVSwitchs
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getVpcId()
|
||||
* @method string getZoneId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeRdsVSwitchsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeRdsVSwitchs',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $vpcId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVpcId($vpcId)
|
||||
{
|
||||
$this->requestParameters['VpcId'] = $vpcId;
|
||||
$this->queryParameters['VpcId'] = $vpcId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $zoneId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setZoneId($zoneId)
|
||||
{
|
||||
$this->requestParameters['ZoneId'] = $zoneId;
|
||||
$this->queryParameters['ZoneId'] = $zoneId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeRdsVpcs
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getZoneId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeRdsVpcsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeRdsVpcs',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $zoneId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setZoneId($zoneId)
|
||||
{
|
||||
$this->requestParameters['ZoneId'] = $zoneId;
|
||||
$this->queryParameters['ZoneId'] = $zoneId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeRegions
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeRegionsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeRegions',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeRenewalPrice
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getCouponNo()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getBusinessInfo()
|
||||
*/
|
||||
class DescribeRenewalPriceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeRenewalPrice',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $couponNo
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCouponNo($couponNo)
|
||||
{
|
||||
$this->requestParameters['CouponNo'] = $couponNo;
|
||||
$this->queryParameters['CouponNo'] = $couponNo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $businessInfo
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBusinessInfo($businessInfo)
|
||||
{
|
||||
$this->requestParameters['BusinessInfo'] = $businessInfo;
|
||||
$this->queryParameters['BusinessInfo'] = $businessInfo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeReplicaConflictInfo
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEndTime()
|
||||
* @method string getStartTime()
|
||||
* @method string getOwnerId()
|
||||
* @method string getPageNumber()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getReplicaId()
|
||||
* @method string getPageSize()
|
||||
*/
|
||||
class DescribeReplicaConflictInfoRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeReplicaConflictInfo',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeReplicaInitializeProgress
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeReplicaInitializeProgressRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeReplicaInitializeProgress',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+185
@@ -0,0 +1,185 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeReplicaPerformance
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getDestinationDBInstanceId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEndTime()
|
||||
* @method string getStartTime()
|
||||
* @method string getOwnerId()
|
||||
* @method string getSourceDBInstanceId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getReplicaId()
|
||||
* @method string getKey()
|
||||
*/
|
||||
class DescribeReplicaPerformanceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeReplicaPerformance',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $destinationDBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDestinationDBInstanceId($destinationDBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DestinationDBInstanceId'] = $destinationDBInstanceId;
|
||||
$this->queryParameters['DestinationDBInstanceId'] = $destinationDBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sourceDBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSourceDBInstanceId($sourceDBInstanceId)
|
||||
{
|
||||
$this->requestParameters['SourceDBInstanceId'] = $sourceDBInstanceId;
|
||||
$this->queryParameters['SourceDBInstanceId'] = $sourceDBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $key
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setKey($key)
|
||||
{
|
||||
$this->requestParameters['Key'] = $key;
|
||||
$this->queryParameters['Key'] = $key;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeReplicaSetRole
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeReplicaSetRoleRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeReplicaSetRole',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeReplicaUsage
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSourceDBInstanceId()
|
||||
* @method string getDestinationDBInstanceId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeReplicaUsageRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeReplicaUsage',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sourceDBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSourceDBInstanceId($sourceDBInstanceId)
|
||||
{
|
||||
$this->requestParameters['SourceDBInstanceId'] = $sourceDBInstanceId;
|
||||
$this->queryParameters['SourceDBInstanceId'] = $sourceDBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $destinationDBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDestinationDBInstanceId($destinationDBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DestinationDBInstanceId'] = $destinationDBInstanceId;
|
||||
$this->queryParameters['DestinationDBInstanceId'] = $destinationDBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeReplicas
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getAttachDbInstanceData()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getPageSize()
|
||||
* @method string getOwnerId()
|
||||
* @method string getPageNumber()
|
||||
*/
|
||||
class DescribeReplicasRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeReplicas',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $attachDbInstanceData
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAttachDbInstanceData($attachDbInstanceData)
|
||||
{
|
||||
$this->requestParameters['AttachDbInstanceData'] = $attachDbInstanceData;
|
||||
$this->queryParameters['AttachDbInstanceData'] = $attachDbInstanceData;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeReplicationGroup
|
||||
*
|
||||
* @method string getDestinationInstanceIds()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getReplicationGroupId()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getSourceInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeReplicationGroupRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeReplicationGroup',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $destinationInstanceIds
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDestinationInstanceIds($destinationInstanceIds)
|
||||
{
|
||||
$this->requestParameters['DestinationInstanceIds'] = $destinationInstanceIds;
|
||||
$this->queryParameters['DestinationInstanceIds'] = $destinationInstanceIds;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicationGroupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicationGroupId($replicationGroupId)
|
||||
{
|
||||
$this->requestParameters['ReplicationGroupId'] = $replicationGroupId;
|
||||
$this->queryParameters['ReplicationGroupId'] = $replicationGroupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sourceInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSourceInstanceId($sourceInstanceId)
|
||||
{
|
||||
$this->requestParameters['SourceInstanceId'] = $sourceInstanceId;
|
||||
$this->queryParameters['SourceInstanceId'] = $sourceInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+227
@@ -0,0 +1,227 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeRunningLogRecords
|
||||
*
|
||||
* @method string getSQLId()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEndTime()
|
||||
* @method string getStartTime()
|
||||
* @method string getOwnerId()
|
||||
* @method string getPageNumber()
|
||||
* @method string getDBName()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getPageSize()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getRoleType()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class DescribeRunningLogRecordsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeRunningLogRecords',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sQLId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSQLId($sQLId)
|
||||
{
|
||||
$this->requestParameters['SQLId'] = $sQLId;
|
||||
$this->queryParameters['SQLId'] = $sQLId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBName($dBName)
|
||||
{
|
||||
$this->requestParameters['DBName'] = $dBName;
|
||||
$this->queryParameters['DBName'] = $dBName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $roleType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRoleType($roleType)
|
||||
{
|
||||
$this->requestParameters['RoleType'] = $roleType;
|
||||
$this->queryParameters['RoleType'] = $roleType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeSecurityIps
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeSecurityIpsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeSecurityIps',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeShardingNetworkAddress
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class DescribeShardingNetworkAddressRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeShardingNetworkAddress',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeSlowLogRecords
|
||||
*
|
||||
* @method string getSQLId()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEndTime()
|
||||
* @method string getStartTime()
|
||||
* @method string getOwnerId()
|
||||
* @method string getPageNumber()
|
||||
* @method string getDBName()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getPageSize()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class DescribeSlowLogRecordsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeSlowLogRecords',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sQLId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSQLId($sQLId)
|
||||
{
|
||||
$this->requestParameters['SQLId'] = $sQLId;
|
||||
$this->queryParameters['SQLId'] = $sQLId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBName($dBName)
|
||||
{
|
||||
$this->requestParameters['DBName'] = $dBName;
|
||||
$this->queryParameters['DBName'] = $dBName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeStaticVerificationList
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getDestinationInstanceId()
|
||||
* @method string getSourceInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeStaticVerificationListRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeStaticVerificationList',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $destinationInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDestinationInstanceId($destinationInstanceId)
|
||||
{
|
||||
$this->requestParameters['DestinationInstanceId'] = $destinationInstanceId;
|
||||
$this->queryParameters['DestinationInstanceId'] = $destinationInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sourceInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSourceInstanceId($sourceInstanceId)
|
||||
{
|
||||
$this->requestParameters['SourceInstanceId'] = $sourceInstanceId;
|
||||
$this->queryParameters['SourceInstanceId'] = $sourceInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeStrategy
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DescribeStrategyRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeStrategy',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DescribeVerificationList
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getEndTime()
|
||||
* @method string getStartTime()
|
||||
* @method string getOwnerId()
|
||||
* @method string getPageNumber()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getReplicaId()
|
||||
* @method string getPageSize()
|
||||
*/
|
||||
class DescribeVerificationListRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DescribeVerificationList',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->requestParameters['StartTime'] = $startTime;
|
||||
$this->queryParameters['StartTime'] = $startTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNumber($pageNumber)
|
||||
{
|
||||
$this->requestParameters['PageNumber'] = $pageNumber;
|
||||
$this->queryParameters['PageNumber'] = $pageNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of DestroyInstance
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getClientToken()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class DestroyInstanceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'DestroyInstance',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $clientToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClientToken($clientToken)
|
||||
{
|
||||
$this->requestParameters['ClientToken'] = $clientToken;
|
||||
$this->queryParameters['ClientToken'] = $clientToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of EvaluateFailOverSwitch
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class EvaluateFailOverSwitchRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'EvaluateFailOverSwitch',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+148
@@ -0,0 +1,148 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ListTagResources
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method array getResourceIds()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getNextToken()
|
||||
* @method string getOwnerAccount()
|
||||
* @method array getTags()
|
||||
* @method string getOwnerId()
|
||||
* @method string getResourceType()
|
||||
*/
|
||||
class ListTagResourcesRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ListTagResources',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $resourceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceIds(array $resourceId)
|
||||
{
|
||||
$this->requestParameters['ResourceIds'] = $resourceId;
|
||||
foreach ($resourceId as $i => $iValue) {
|
||||
$this->queryParameters['ResourceId.' . ($i + 1)] = $iValue;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nextToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNextToken($nextToken)
|
||||
{
|
||||
$this->requestParameters['NextToken'] = $nextToken;
|
||||
$this->queryParameters['NextToken'] = $nextToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $tag
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTags(array $tag)
|
||||
{
|
||||
$this->requestParameters['Tags'] = $tag;
|
||||
foreach ($tag as $depth1 => $depth1Value) {
|
||||
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
|
||||
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceType($resourceType)
|
||||
{
|
||||
$this->requestParameters['ResourceType'] = $resourceType;
|
||||
$this->queryParameters['ResourceType'] = $resourceType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of MigrateAvailableZone
|
||||
*
|
||||
* @method string getVswitch()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getEffectiveTime()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getZoneId()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class MigrateAvailableZoneRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'MigrateAvailableZone',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $vswitch
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVswitch($vswitch)
|
||||
{
|
||||
$this->requestParameters['Vswitch'] = $vswitch;
|
||||
$this->queryParameters['Vswitch'] = $vswitch;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $effectiveTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEffectiveTime($effectiveTime)
|
||||
{
|
||||
$this->requestParameters['EffectiveTime'] = $effectiveTime;
|
||||
$this->queryParameters['EffectiveTime'] = $effectiveTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $zoneId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setZoneId($zoneId)
|
||||
{
|
||||
$this->requestParameters['ZoneId'] = $zoneId;
|
||||
$this->queryParameters['ZoneId'] = $zoneId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of MigrateToOtherZone
|
||||
*
|
||||
* @method string getVSwitchId()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getEffectiveTime()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getZoneId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class MigrateToOtherZoneRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'MigrateToOtherZone',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $vSwitchId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVSwitchId($vSwitchId)
|
||||
{
|
||||
$this->requestParameters['VSwitchId'] = $vSwitchId;
|
||||
$this->queryParameters['VSwitchId'] = $vSwitchId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $effectiveTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEffectiveTime($effectiveTime)
|
||||
{
|
||||
$this->requestParameters['EffectiveTime'] = $effectiveTime;
|
||||
$this->queryParameters['EffectiveTime'] = $effectiveTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $zoneId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setZoneId($zoneId)
|
||||
{
|
||||
$this->requestParameters['ZoneId'] = $zoneId;
|
||||
$this->queryParameters['ZoneId'] = $zoneId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyAccountDescription
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getAccountName()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getAccountDescription()
|
||||
*/
|
||||
class ModifyAccountDescriptionRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyAccountDescription',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $accountName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountName($accountName)
|
||||
{
|
||||
$this->requestParameters['AccountName'] = $accountName;
|
||||
$this->queryParameters['AccountName'] = $accountName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $accountDescription
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountDescription($accountDescription)
|
||||
{
|
||||
$this->requestParameters['AccountDescription'] = $accountDescription;
|
||||
$this->queryParameters['AccountDescription'] = $accountDescription;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyActiveOperationTask
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getIds()
|
||||
* @method string getSwitchTime()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyActiveOperationTaskRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyActiveOperationTask',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ids
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setIds($ids)
|
||||
{
|
||||
$this->requestParameters['Ids'] = $ids;
|
||||
$this->queryParameters['Ids'] = $ids;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $switchTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSwitchTime($switchTime)
|
||||
{
|
||||
$this->requestParameters['SwitchTime'] = $switchTime;
|
||||
$this->queryParameters['SwitchTime'] = $switchTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyAuditLogFilter
|
||||
*
|
||||
* @method string getFilter()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getRoleType()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyAuditLogFilterRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyAuditLogFilter',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $filter
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setFilter($filter)
|
||||
{
|
||||
$this->requestParameters['Filter'] = $filter;
|
||||
$this->queryParameters['Filter'] = $filter;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $roleType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRoleType($roleType)
|
||||
{
|
||||
$this->requestParameters['RoleType'] = $roleType;
|
||||
$this->queryParameters['RoleType'] = $roleType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyAuditPolicy
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getAuditStatus()
|
||||
* @method string getStoragePeriod()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyAuditPolicyRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyAuditPolicy',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $auditStatus
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAuditStatus($auditStatus)
|
||||
{
|
||||
$this->requestParameters['AuditStatus'] = $auditStatus;
|
||||
$this->queryParameters['AuditStatus'] = $auditStatus;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $storagePeriod
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStoragePeriod($storagePeriod)
|
||||
{
|
||||
$this->requestParameters['StoragePeriod'] = $storagePeriod;
|
||||
$this->queryParameters['StoragePeriod'] = $storagePeriod;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyBackupPolicy
|
||||
*
|
||||
* @method string getPreferredBackupTime()
|
||||
* @method string getPreferredBackupPeriod()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyBackupPolicyRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyBackupPolicy',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $preferredBackupTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPreferredBackupTime($preferredBackupTime)
|
||||
{
|
||||
$this->requestParameters['PreferredBackupTime'] = $preferredBackupTime;
|
||||
$this->queryParameters['PreferredBackupTime'] = $preferredBackupTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $preferredBackupPeriod
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPreferredBackupPeriod($preferredBackupPeriod)
|
||||
{
|
||||
$this->requestParameters['PreferredBackupPeriod'] = $preferredBackupPeriod;
|
||||
$this->queryParameters['PreferredBackupPeriod'] = $preferredBackupPeriod;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyDBInstanceConnectionString
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getNewConnectionString()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
* @method string getCurrentConnectionString()
|
||||
*/
|
||||
class ModifyDBInstanceConnectionStringRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyDBInstanceConnectionString',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $newConnectionString
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNewConnectionString($newConnectionString)
|
||||
{
|
||||
$this->requestParameters['NewConnectionString'] = $newConnectionString;
|
||||
$this->queryParameters['NewConnectionString'] = $newConnectionString;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $currentConnectionString
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCurrentConnectionString($currentConnectionString)
|
||||
{
|
||||
$this->requestParameters['CurrentConnectionString'] = $currentConnectionString;
|
||||
$this->queryParameters['CurrentConnectionString'] = $currentConnectionString;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyDBInstanceDescription
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getDBInstanceDescription()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class ModifyDBInstanceDescriptionRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyDBInstanceDescription',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceDescription
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceDescription($dBInstanceDescription)
|
||||
{
|
||||
$this->requestParameters['DBInstanceDescription'] = $dBInstanceDescription;
|
||||
$this->queryParameters['DBInstanceDescription'] = $dBInstanceDescription;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyDBInstanceMaintainTime
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getMaintainStartTime()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getMaintainEndTime()
|
||||
*/
|
||||
class ModifyDBInstanceMaintainTimeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyDBInstanceMaintainTime',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $maintainStartTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMaintainStartTime($maintainStartTime)
|
||||
{
|
||||
$this->requestParameters['MaintainStartTime'] = $maintainStartTime;
|
||||
$this->queryParameters['MaintainStartTime'] = $maintainStartTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $maintainEndTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMaintainEndTime($maintainEndTime)
|
||||
{
|
||||
$this->requestParameters['MaintainEndTime'] = $maintainEndTime;
|
||||
$this->queryParameters['MaintainEndTime'] = $maintainEndTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyDBInstanceMonitor
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getGranularity()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyDBInstanceMonitorRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyDBInstanceMonitor',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $granularity
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGranularity($granularity)
|
||||
{
|
||||
$this->requestParameters['Granularity'] = $granularity;
|
||||
$this->queryParameters['Granularity'] = $granularity;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyDBInstanceNetExpireTime
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getConnectionString()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getClassicExpendExpiredDays()
|
||||
*/
|
||||
class ModifyDBInstanceNetExpireTimeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyDBInstanceNetExpireTime',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $connectionString
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setConnectionString($connectionString)
|
||||
{
|
||||
$this->requestParameters['ConnectionString'] = $connectionString;
|
||||
$this->queryParameters['ConnectionString'] = $connectionString;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $classicExpendExpiredDays
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClassicExpendExpiredDays($classicExpendExpiredDays)
|
||||
{
|
||||
$this->requestParameters['ClassicExpendExpiredDays'] = $classicExpendExpiredDays;
|
||||
$this->queryParameters['ClassicExpendExpiredDays'] = $classicExpendExpiredDays;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+185
@@ -0,0 +1,185 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyDBInstanceNetworkType
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getNetworkType()
|
||||
* @method string getOwnerId()
|
||||
* @method string getVSwitchId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getRetainClassic()
|
||||
* @method string getClassicExpiredDays()
|
||||
* @method string getVpcId()
|
||||
* @method string getDBInstanceId()
|
||||
*/
|
||||
class ModifyDBInstanceNetworkTypeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyDBInstanceNetworkType',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $networkType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNetworkType($networkType)
|
||||
{
|
||||
$this->requestParameters['NetworkType'] = $networkType;
|
||||
$this->queryParameters['NetworkType'] = $networkType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $vSwitchId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVSwitchId($vSwitchId)
|
||||
{
|
||||
$this->requestParameters['VSwitchId'] = $vSwitchId;
|
||||
$this->queryParameters['VSwitchId'] = $vSwitchId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $retainClassic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRetainClassic($retainClassic)
|
||||
{
|
||||
$this->requestParameters['RetainClassic'] = $retainClassic;
|
||||
$this->queryParameters['RetainClassic'] = $retainClassic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $classicExpiredDays
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClassicExpiredDays($classicExpiredDays)
|
||||
{
|
||||
$this->requestParameters['ClassicExpiredDays'] = $classicExpiredDays;
|
||||
$this->queryParameters['ClassicExpiredDays'] = $classicExpiredDays;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $vpcId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVpcId($vpcId)
|
||||
{
|
||||
$this->requestParameters['VpcId'] = $vpcId;
|
||||
$this->queryParameters['VpcId'] = $vpcId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyDBInstanceSSL
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getSSLAction()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyDBInstanceSSLRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyDBInstanceSSL',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sSLAction
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSSLAction($sSLAction)
|
||||
{
|
||||
$this->requestParameters['SSLAction'] = $sSLAction;
|
||||
$this->queryParameters['SSLAction'] = $sSLAction;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+241
@@ -0,0 +1,241 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyDBInstanceSpec
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getDBInstanceStorage()
|
||||
* @method string getAutoPay()
|
||||
* @method string getFromApp()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getCouponNo()
|
||||
* @method string getOwnerId()
|
||||
* @method string getReplicationFactor()
|
||||
* @method string getDBInstanceClass()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getEffectiveTime()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getBusinessInfo()
|
||||
* @method string getOrderType()
|
||||
*/
|
||||
class ModifyDBInstanceSpecRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyDBInstanceSpec',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceStorage
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceStorage($dBInstanceStorage)
|
||||
{
|
||||
$this->requestParameters['DBInstanceStorage'] = $dBInstanceStorage;
|
||||
$this->queryParameters['DBInstanceStorage'] = $dBInstanceStorage;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $autoPay
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutoPay($autoPay)
|
||||
{
|
||||
$this->requestParameters['AutoPay'] = $autoPay;
|
||||
$this->queryParameters['AutoPay'] = $autoPay;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $fromApp
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setFromApp($fromApp)
|
||||
{
|
||||
$this->requestParameters['FromApp'] = $fromApp;
|
||||
$this->queryParameters['FromApp'] = $fromApp;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $couponNo
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCouponNo($couponNo)
|
||||
{
|
||||
$this->requestParameters['CouponNo'] = $couponNo;
|
||||
$this->queryParameters['CouponNo'] = $couponNo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicationFactor
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicationFactor($replicationFactor)
|
||||
{
|
||||
$this->requestParameters['ReplicationFactor'] = $replicationFactor;
|
||||
$this->queryParameters['ReplicationFactor'] = $replicationFactor;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceClass
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceClass($dBInstanceClass)
|
||||
{
|
||||
$this->requestParameters['DBInstanceClass'] = $dBInstanceClass;
|
||||
$this->queryParameters['DBInstanceClass'] = $dBInstanceClass;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $effectiveTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEffectiveTime($effectiveTime)
|
||||
{
|
||||
$this->requestParameters['EffectiveTime'] = $effectiveTime;
|
||||
$this->queryParameters['EffectiveTime'] = $effectiveTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $businessInfo
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBusinessInfo($businessInfo)
|
||||
{
|
||||
$this->requestParameters['BusinessInfo'] = $businessInfo;
|
||||
$this->queryParameters['BusinessInfo'] = $businessInfo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $orderType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOrderType($orderType)
|
||||
{
|
||||
$this->requestParameters['OrderType'] = $orderType;
|
||||
$this->queryParameters['OrderType'] = $orderType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyGuardDomainMode
|
||||
*
|
||||
* @method string getDomainMode()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyGuardDomainModeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyGuardDomainMode',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $domainMode
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDomainMode($domainMode)
|
||||
{
|
||||
$this->requestParameters['DomainMode'] = $domainMode;
|
||||
$this->queryParameters['DomainMode'] = $domainMode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyInstanceAutoRenewalAttribute
|
||||
*
|
||||
* @method string getDuration()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getAutoRenew()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyInstanceAutoRenewalAttributeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyInstanceAutoRenewalAttribute',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $duration
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDuration($duration)
|
||||
{
|
||||
$this->requestParameters['Duration'] = $duration;
|
||||
$this->queryParameters['Duration'] = $duration;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $autoRenew
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutoRenew($autoRenew)
|
||||
{
|
||||
$this->requestParameters['AutoRenew'] = $autoRenew;
|
||||
$this->queryParameters['AutoRenew'] = $autoRenew;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+213
@@ -0,0 +1,213 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyNodeSpec
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getAutoPay()
|
||||
* @method string getFromApp()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getClientToken()
|
||||
* @method string getNodeStorage()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeClass()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getEffectiveTime()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class ModifyNodeSpecRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyNodeSpec',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $autoPay
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutoPay($autoPay)
|
||||
{
|
||||
$this->requestParameters['AutoPay'] = $autoPay;
|
||||
$this->queryParameters['AutoPay'] = $autoPay;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $fromApp
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setFromApp($fromApp)
|
||||
{
|
||||
$this->requestParameters['FromApp'] = $fromApp;
|
||||
$this->queryParameters['FromApp'] = $fromApp;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $clientToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClientToken($clientToken)
|
||||
{
|
||||
$this->requestParameters['ClientToken'] = $clientToken;
|
||||
$this->queryParameters['ClientToken'] = $clientToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeStorage
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeStorage($nodeStorage)
|
||||
{
|
||||
$this->requestParameters['NodeStorage'] = $nodeStorage;
|
||||
$this->queryParameters['NodeStorage'] = $nodeStorage;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeClass
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeClass($nodeClass)
|
||||
{
|
||||
$this->requestParameters['NodeClass'] = $nodeClass;
|
||||
$this->queryParameters['NodeClass'] = $nodeClass;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $effectiveTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEffectiveTime($effectiveTime)
|
||||
{
|
||||
$this->requestParameters['EffectiveTime'] = $effectiveTime;
|
||||
$this->queryParameters['EffectiveTime'] = $effectiveTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyParameters
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
* @method string getParameters()
|
||||
*/
|
||||
class ModifyParametersRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyParameters',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $parameters
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setParameters($parameters)
|
||||
{
|
||||
$this->requestParameters['Parameters'] = $parameters;
|
||||
$this->queryParameters['Parameters'] = $parameters;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyReplicaDescription
|
||||
*
|
||||
* @method string getReplicaDescription()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyReplicaDescriptionRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyReplicaDescription',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaDescription
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaDescription($replicaDescription)
|
||||
{
|
||||
$this->requestParameters['ReplicaDescription'] = $replicaDescription;
|
||||
$this->queryParameters['ReplicaDescription'] = $replicaDescription;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyReplicaMode
|
||||
*
|
||||
* @method string getDomainMode()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getPrimaryInstanceId()
|
||||
* @method string getReplicaMode()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyReplicaModeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyReplicaMode',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $domainMode
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDomainMode($domainMode)
|
||||
{
|
||||
$this->requestParameters['DomainMode'] = $domainMode;
|
||||
$this->queryParameters['DomainMode'] = $domainMode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $primaryInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPrimaryInstanceId($primaryInstanceId)
|
||||
{
|
||||
$this->requestParameters['PrimaryInstanceId'] = $primaryInstanceId;
|
||||
$this->queryParameters['PrimaryInstanceId'] = $primaryInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaMode
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaMode($replicaMode)
|
||||
{
|
||||
$this->requestParameters['ReplicaMode'] = $replicaMode;
|
||||
$this->queryParameters['ReplicaMode'] = $replicaMode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyReplicaRecoveryMode
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getRecoveryMode()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyReplicaRecoveryModeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyReplicaRecoveryMode',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $recoveryMode
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRecoveryMode($recoveryMode)
|
||||
{
|
||||
$this->requestParameters['RecoveryMode'] = $recoveryMode;
|
||||
$this->queryParameters['RecoveryMode'] = $recoveryMode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyReplicaRelation
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyReplicaRelationRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyReplicaRelation',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifyReplicaVerificationMode
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getVerificationMode()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ModifyReplicaVerificationModeRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifyReplicaVerificationMode',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $verificationMode
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVerificationMode($verificationMode)
|
||||
{
|
||||
$this->requestParameters['VerificationMode'] = $verificationMode;
|
||||
$this->queryParameters['VerificationMode'] = $verificationMode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ModifySecurityIps
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getModifyMode()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getSecurityIps()
|
||||
* @method string getOwnerId()
|
||||
* @method string getSecurityIpGroupName()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getSecurityIpGroupAttribute()
|
||||
*/
|
||||
class ModifySecurityIpsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ModifySecurityIps',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $modifyMode
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setModifyMode($modifyMode)
|
||||
{
|
||||
$this->requestParameters['ModifyMode'] = $modifyMode;
|
||||
$this->queryParameters['ModifyMode'] = $modifyMode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityIps
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityIps($securityIps)
|
||||
{
|
||||
$this->requestParameters['SecurityIps'] = $securityIps;
|
||||
$this->queryParameters['SecurityIps'] = $securityIps;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityIpGroupName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityIpGroupName($securityIpGroupName)
|
||||
{
|
||||
$this->requestParameters['SecurityIpGroupName'] = $securityIpGroupName;
|
||||
$this->queryParameters['SecurityIpGroupName'] = $securityIpGroupName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityIpGroupAttribute
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityIpGroupAttribute($securityIpGroupAttribute)
|
||||
{
|
||||
$this->requestParameters['SecurityIpGroupAttribute'] = $securityIpGroupAttribute;
|
||||
$this->queryParameters['SecurityIpGroupAttribute'] = $securityIpGroupAttribute;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ReleasePublicNetworkAddress
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class ReleasePublicNetworkAddressRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ReleasePublicNetworkAddress',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ReleaseReplica
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getReplicaId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ReleaseReplicaRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ReleaseReplica',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $replicaId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReplicaId($replicaId)
|
||||
{
|
||||
$this->requestParameters['ReplicaId'] = $replicaId;
|
||||
$this->queryParameters['ReplicaId'] = $replicaId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+185
@@ -0,0 +1,185 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of RenewDBInstance
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getPeriod()
|
||||
* @method string getAutoPay()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getClientToken()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getCouponNo()
|
||||
* @method string getOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getBusinessInfo()
|
||||
*/
|
||||
class RenewDBInstanceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'RenewDBInstance',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $period
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPeriod($period)
|
||||
{
|
||||
$this->requestParameters['Period'] = $period;
|
||||
$this->queryParameters['Period'] = $period;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $autoPay
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutoPay($autoPay)
|
||||
{
|
||||
$this->requestParameters['AutoPay'] = $autoPay;
|
||||
$this->queryParameters['AutoPay'] = $autoPay;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $clientToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClientToken($clientToken)
|
||||
{
|
||||
$this->requestParameters['ClientToken'] = $clientToken;
|
||||
$this->queryParameters['ClientToken'] = $clientToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $couponNo
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCouponNo($couponNo)
|
||||
{
|
||||
$this->requestParameters['CouponNo'] = $couponNo;
|
||||
$this->queryParameters['CouponNo'] = $couponNo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $businessInfo
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBusinessInfo($businessInfo)
|
||||
{
|
||||
$this->requestParameters['BusinessInfo'] = $businessInfo;
|
||||
$this->queryParameters['BusinessInfo'] = $businessInfo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of ResetAccountPassword
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getAccountPassword()
|
||||
* @method string getAccountName()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class ResetAccountPasswordRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'ResetAccountPassword',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $accountPassword
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountPassword($accountPassword)
|
||||
{
|
||||
$this->requestParameters['AccountPassword'] = $accountPassword;
|
||||
$this->queryParameters['AccountPassword'] = $accountPassword;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $accountName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountName($accountName)
|
||||
{
|
||||
$this->requestParameters['AccountName'] = $accountName;
|
||||
$this->queryParameters['AccountName'] = $accountName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of RestartDBInstance
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class RestartDBInstanceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'RestartDBInstance',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of RestoreDBInstance
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getBackupId()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class RestoreDBInstanceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'RestoreDBInstance',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $backupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBackupId($backupId)
|
||||
{
|
||||
$this->requestParameters['BackupId'] = $backupId;
|
||||
$this->queryParameters['BackupId'] = $backupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of Sample
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class SampleRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'Sample',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of SwitchDBInstanceHA
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getTargetInstanceId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getSwitchType()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getSourceInstanceId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class SwitchDBInstanceHARequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'SwitchDBInstanceHA',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $targetInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTargetInstanceId($targetInstanceId)
|
||||
{
|
||||
$this->requestParameters['TargetInstanceId'] = $targetInstanceId;
|
||||
$this->queryParameters['TargetInstanceId'] = $targetInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $switchType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSwitchType($switchType)
|
||||
{
|
||||
$this->requestParameters['SwitchType'] = $switchType;
|
||||
$this->queryParameters['SwitchType'] = $switchType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sourceInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSourceInstanceId($sourceInstanceId)
|
||||
{
|
||||
$this->requestParameters['SourceInstanceId'] = $sourceInstanceId;
|
||||
$this->queryParameters['SourceInstanceId'] = $sourceInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of SwithcDBInstanceHA
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getTargetInstanceId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getSwitchType()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getSourceInstanceId()
|
||||
* @method string getNodeId()
|
||||
*/
|
||||
class SwithcDBInstanceHARequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'SwithcDBInstanceHA',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $targetInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTargetInstanceId($targetInstanceId)
|
||||
{
|
||||
$this->requestParameters['TargetInstanceId'] = $targetInstanceId;
|
||||
$this->queryParameters['TargetInstanceId'] = $targetInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $switchType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSwitchType($switchType)
|
||||
{
|
||||
$this->requestParameters['SwitchType'] = $switchType;
|
||||
$this->queryParameters['SwitchType'] = $switchType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sourceInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSourceInstanceId($sourceInstanceId)
|
||||
{
|
||||
$this->requestParameters['SourceInstanceId'] = $sourceInstanceId;
|
||||
$this->queryParameters['SourceInstanceId'] = $sourceInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nodeId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNodeId($nodeId)
|
||||
{
|
||||
$this->requestParameters['NodeId'] = $nodeId;
|
||||
$this->queryParameters['NodeId'] = $nodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+134
@@ -0,0 +1,134 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of TagResources
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method array getResourceIds()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method array getTags()
|
||||
* @method string getOwnerId()
|
||||
* @method string getResourceType()
|
||||
*/
|
||||
class TagResourcesRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'TagResources',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $resourceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceIds(array $resourceId)
|
||||
{
|
||||
$this->requestParameters['ResourceIds'] = $resourceId;
|
||||
foreach ($resourceId as $i => $iValue) {
|
||||
$this->queryParameters['ResourceId.' . ($i + 1)] = $iValue;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $tag
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTags(array $tag)
|
||||
{
|
||||
$this->requestParameters['Tags'] = $tag;
|
||||
foreach ($tag as $depth1 => $depth1Value) {
|
||||
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
|
||||
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceType($resourceType)
|
||||
{
|
||||
$this->requestParameters['ResourceType'] = $resourceType;
|
||||
$this->queryParameters['ResourceType'] = $resourceType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+199
@@ -0,0 +1,199 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of TransformToPrePaid
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getPeriod()
|
||||
* @method string getAutoPay()
|
||||
* @method string getFromApp()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getCouponNo()
|
||||
* @method string getOwnerId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getAutoRenew()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getBusinessInfo()
|
||||
*/
|
||||
class TransformToPrePaidRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'TransformToPrePaid',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $period
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPeriod($period)
|
||||
{
|
||||
$this->requestParameters['Period'] = $period;
|
||||
$this->queryParameters['Period'] = $period;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $autoPay
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutoPay($autoPay)
|
||||
{
|
||||
$this->requestParameters['AutoPay'] = $autoPay;
|
||||
$this->queryParameters['AutoPay'] = $autoPay;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $fromApp
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setFromApp($fromApp)
|
||||
{
|
||||
$this->requestParameters['FromApp'] = $fromApp;
|
||||
$this->queryParameters['FromApp'] = $fromApp;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $couponNo
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCouponNo($couponNo)
|
||||
{
|
||||
$this->requestParameters['CouponNo'] = $couponNo;
|
||||
$this->queryParameters['CouponNo'] = $couponNo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $autoRenew
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutoRenew($autoRenew)
|
||||
{
|
||||
$this->requestParameters['AutoRenew'] = $autoRenew;
|
||||
$this->queryParameters['AutoRenew'] = $autoRenew;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $businessInfo
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBusinessInfo($businessInfo)
|
||||
{
|
||||
$this->requestParameters['BusinessInfo'] = $businessInfo;
|
||||
$this->queryParameters['BusinessInfo'] = $businessInfo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of UntagResources
|
||||
*
|
||||
* @method string getAll()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method array getResourceIds()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method array getTagKeys()
|
||||
* @method string getResourceType()
|
||||
*/
|
||||
class UntagResourcesRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'UntagResources',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $all
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAll($all)
|
||||
{
|
||||
$this->requestParameters['All'] = $all;
|
||||
$this->queryParameters['All'] = $all;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $resourceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceIds(array $resourceId)
|
||||
{
|
||||
$this->requestParameters['ResourceIds'] = $resourceId;
|
||||
foreach ($resourceId as $i => $iValue) {
|
||||
$this->queryParameters['ResourceId.' . ($i + 1)] = $iValue;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $tagKey
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTagKeys(array $tagKey)
|
||||
{
|
||||
$this->requestParameters['TagKeys'] = $tagKey;
|
||||
foreach ($tagKey as $i => $iValue) {
|
||||
$this->queryParameters['TagKey.' . ($i + 1)] = $iValue;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceType($resourceType)
|
||||
{
|
||||
$this->requestParameters['ResourceType'] = $resourceType;
|
||||
$this->queryParameters['ResourceType'] = $resourceType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of UpgradeDBInstanceEngineVersion
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getEngineVersion()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class UpgradeDBInstanceEngineVersionRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'UpgradeDBInstanceEngineVersion',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $engineVersion
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEngineVersion($engineVersion)
|
||||
{
|
||||
$this->requestParameters['EngineVersion'] = $engineVersion;
|
||||
$this->queryParameters['EngineVersion'] = $engineVersion;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Dds\Request\V20151201;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of UpgradeDBInstanceKernelVersion
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getSecurityToken()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerAccount()
|
||||
* @method string getDBInstanceId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class UpgradeDBInstanceKernelVersionRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dds',
|
||||
'2015-12-01',
|
||||
'UpgradeDBInstanceKernelVersion',
|
||||
'Dds'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $securityToken
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSecurityToken($securityToken)
|
||||
{
|
||||
$this->requestParameters['SecurityToken'] = $securityToken;
|
||||
$this->queryParameters['SecurityToken'] = $securityToken;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerAccount($ownerAccount)
|
||||
{
|
||||
$this->requestParameters['OwnerAccount'] = $ownerAccount;
|
||||
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dBInstanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDBInstanceId($dBInstanceId)
|
||||
{
|
||||
$this->requestParameters['DBInstanceId'] = $dBInstanceId;
|
||||
$this->queryParameters['DBInstanceId'] = $dBInstanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user