Skip to content

Commit

Permalink
release 3.0.913
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Jun 22, 2023
1 parent cd5ecc0 commit ed58706
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
],
"require": {
"tencentcloud/common": "3.0.912"
"tencentcloud/common": "3.0.913"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 1 addition & 0 deletions src/TencentCloud/Cynosdb/V20190107/CynosdbClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
* @method Models\DescribeProjectSecurityGroupsResponse DescribeProjectSecurityGroups(Models\DescribeProjectSecurityGroupsRequest $req) 查询项目安全组信息
* @method Models\DescribeProxiesResponse DescribeProxies(Models\DescribeProxiesRequest $req) 查询数据库代理列表
* @method Models\DescribeProxyNodesResponse DescribeProxyNodes(Models\DescribeProxyNodesRequest $req) 本接口(DescribeProxyNodes)用于查询代理接口列表。
* @method Models\DescribeProxySpecsResponse DescribeProxySpecs(Models\DescribeProxySpecsRequest $req) 查询数据库代理规格
* @method Models\DescribeResourcePackageDetailResponse DescribeResourcePackageDetail(Models\DescribeResourcePackageDetailRequest $req) 查询资源包使用详情
* @method Models\DescribeResourcePackageListResponse DescribeResourcePackageList(Models\DescribeResourcePackageListRequest $req) 查询资源包列表
* @method Models\DescribeResourcePackageSaleSpecResponse DescribeResourcePackageSaleSpec(Models\DescribeResourcePackageSaleSpecRequest $req) 查询资源包规格
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace TencentCloud\Cynosdb\V20190107\Models;
use TencentCloud\Common\AbstractModel;

/**
* DescribeProxySpecs请求参数结构体
*
*/
class DescribeProxySpecsRequest extends AbstractModel
{


/**
*/
function __construct()
{

}

/**
* For internal only. DO NOT USE IT.
*/
public function deserialize($param)
{
if ($param === null) {
return;
}

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace TencentCloud\Cynosdb\V20190107\Models;
use TencentCloud\Common\AbstractModel;

/**
* DescribeProxySpecs返回参数结构体
*
* @method array getProxySpecs() 获取数据库代理规格列表
* @method void setProxySpecs(array $ProxySpecs) 设置数据库代理规格列表
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
class DescribeProxySpecsResponse extends AbstractModel
{
/**
* @var array 数据库代理规格列表
*/
public $ProxySpecs;

/**
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public $RequestId;

/**
* @param array $ProxySpecs 数据库代理规格列表
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
function __construct()
{

}

/**
* For internal only. DO NOT USE IT.
*/
public function deserialize($param)
{
if ($param === null) {
return;
}
if (array_key_exists("ProxySpecs",$param) and $param["ProxySpecs"] !== null) {
$this->ProxySpecs = [];
foreach ($param["ProxySpecs"] as $key => $value){
$obj = new ProxySpec();
$obj->deserialize($value);
array_push($this->ProxySpecs, $obj);
}
}

if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
$this->RequestId = $param["RequestId"];
}
}
}
65 changes: 65 additions & 0 deletions src/TencentCloud/Cynosdb/V20190107/Models/ProxySpec.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace TencentCloud\Cynosdb\V20190107\Models;
use TencentCloud\Common\AbstractModel;

/**
* 数据库代理规格
*
* @method integer getCpu() 获取数据库代理cpu核数
* @method void setCpu(integer $Cpu) 设置数据库代理cpu核数
* @method integer getMem() 获取数据库代理内存
* @method void setMem(integer $Mem) 设置数据库代理内存
*/
class ProxySpec extends AbstractModel
{
/**
* @var integer 数据库代理cpu核数
*/
public $Cpu;

/**
* @var integer 数据库代理内存
*/
public $Mem;

/**
* @param integer $Cpu 数据库代理cpu核数
* @param integer $Mem 数据库代理内存
*/
function __construct()
{

}

/**
* For internal only. DO NOT USE IT.
*/
public function deserialize($param)
{
if ($param === null) {
return;
}
if (array_key_exists("Cpu",$param) and $param["Cpu"] !== null) {
$this->Cpu = $param["Cpu"];
}

if (array_key_exists("Mem",$param) and $param["Mem"] !== null) {
$this->Mem = $param["Mem"];
}
}
}

0 comments on commit ed58706

Please sign in to comment.