Skip to content

Commit

Permalink
release 3.0.910
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Jun 19, 2023
1 parent be8f4de commit 7111c2a
Show file tree
Hide file tree
Showing 30 changed files with 3,163 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.909"
"tencentcloud/common": "3.0.910"
},
"autoload": {
"psr-4": {
Expand Down
10 changes: 10 additions & 0 deletions src/TencentCloud/Cynosdb/V20190107/CynosdbClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @method Models\BindClusterResourcePackagesResponse BindClusterResourcePackages(Models\BindClusterResourcePackagesRequest $req) 为集群绑定资源包
* @method Models\CloseAuditServiceResponse CloseAuditService(Models\CloseAuditServiceRequest $req) TDSQL-C for MySQL实例关闭审计服务
* @method Models\CloseClusterPasswordComplexityResponse CloseClusterPasswordComplexity(Models\CloseClusterPasswordComplexityRequest $req) 本接口(CloseClusterPasswordComplexity)用于关闭集群密码复杂度
* @method Models\CloseProxyResponse CloseProxy(Models\CloseProxyRequest $req) 关闭数据库代理
* @method Models\CloseWanResponse CloseWan(Models\CloseWanRequest $req) 本接口(CloseWan)用于关闭外网
* @method Models\CopyClusterPasswordComplexityResponse CopyClusterPasswordComplexity(Models\CopyClusterPasswordComplexityRequest $req) 本接口(CopyClusterPasswordComplexity)用于复制集群密码复杂度
* @method Models\CreateAccountsResponse CreateAccounts(Models\CreateAccountsRequest $req) 创建账号
Expand All @@ -39,6 +40,8 @@
* @method Models\CreateClusterDatabaseResponse CreateClusterDatabase(Models\CreateClusterDatabaseRequest $req) 创建数据库
* @method Models\CreateClustersResponse CreateClusters(Models\CreateClustersRequest $req) 创建集群
* @method Models\CreateParamTemplateResponse CreateParamTemplate(Models\CreateParamTemplateRequest $req) 本接口(CreateParamTemplate)用于创建参数模板
* @method Models\CreateProxyResponse CreateProxy(Models\CreateProxyRequest $req) 创建数据库代理
* @method Models\CreateProxyEndPointResponse CreateProxyEndPoint(Models\CreateProxyEndPointRequest $req) 创建数据库代理连接点
* @method Models\CreateResourcePackageResponse CreateResourcePackage(Models\CreateResourcePackageRequest $req) 新购资源包
* @method Models\DeleteAccountsResponse DeleteAccounts(Models\DeleteAccountsRequest $req) 删除账号
* @method Models\DeleteAuditLogFileResponse DeleteAuditLogFile(Models\DeleteAuditLogFileRequest $req) 本接口(DeleteAuditLogFile)用于删除云数据库实例的审计日志文件。
Expand Down Expand Up @@ -78,6 +81,8 @@
* @method Models\DescribeParamTemplateDetailResponse DescribeParamTemplateDetail(Models\DescribeParamTemplateDetailRequest $req) 本接口(DescribeParamTemplateDetail)用于查询用户参数模板详情
* @method Models\DescribeParamTemplatesResponse DescribeParamTemplates(Models\DescribeParamTemplatesRequest $req) 查询用户指定产品下的所有参数模板信息
* @method Models\DescribeProjectSecurityGroupsResponse DescribeProjectSecurityGroups(Models\DescribeProjectSecurityGroupsRequest $req) 查询项目安全组信息
* @method Models\DescribeProxiesResponse DescribeProxies(Models\DescribeProxiesRequest $req) 查询数据库代理列表
* @method Models\DescribeProxyNodesResponse DescribeProxyNodes(Models\DescribeProxyNodesRequest $req) 本接口(DescribeProxyNodes)用于查询代理接口列表。
* @method Models\DescribeResourcePackageDetailResponse DescribeResourcePackageDetail(Models\DescribeResourcePackageDetailRequest $req) 查询资源包使用详情
* @method Models\DescribeResourcePackageListResponse DescribeResourcePackageList(Models\DescribeResourcePackageListRequest $req) 查询资源包列表
* @method Models\DescribeResourcePackageSaleSpecResponse DescribeResourcePackageSaleSpec(Models\DescribeResourcePackageSaleSpecRequest $req) 查询资源包规格
Expand Down Expand Up @@ -113,6 +118,8 @@
* @method Models\ModifyInstanceParamResponse ModifyInstanceParam(Models\ModifyInstanceParamRequest $req) 本接口(ModifyInstanceParam)用于修改实例参数。
* @method Models\ModifyMaintainPeriodConfigResponse ModifyMaintainPeriodConfig(Models\ModifyMaintainPeriodConfigRequest $req) 修改维护时间配置
* @method Models\ModifyParamTemplateResponse ModifyParamTemplate(Models\ModifyParamTemplateRequest $req) 本接口(ModifyParamTemplate)用于修改用户参数模板。
* @method Models\ModifyProxyDescResponse ModifyProxyDesc(Models\ModifyProxyDescRequest $req) 修改数据库代理描述
* @method Models\ModifyProxyRwSplitResponse ModifyProxyRwSplit(Models\ModifyProxyRwSplitRequest $req) 配置数据库代理读写分离
* @method Models\ModifyResourcePackageClustersResponse ModifyResourcePackageClusters(Models\ModifyResourcePackageClustersRequest $req) 给资源包绑定集群
* @method Models\ModifyResourcePackageNameResponse ModifyResourcePackageName(Models\ModifyResourcePackageNameRequest $req) 修改资源包名称
* @method Models\ModifyVipVportResponse ModifyVipVport(Models\ModifyVipVportRequest $req) 修改实例组ip,端口
Expand All @@ -124,6 +131,7 @@
* @method Models\OpenWanResponse OpenWan(Models\OpenWanRequest $req) 本接口(OpenWan)用于开通外网
* @method Models\PauseServerlessResponse PauseServerless(Models\PauseServerlessRequest $req) 暂停serverless集群
* @method Models\RefundResourcePackageResponse RefundResourcePackage(Models\RefundResourcePackageRequest $req) 退款资源包
* @method Models\ReloadBalanceProxyNodeResponse ReloadBalanceProxyNode(Models\ReloadBalanceProxyNodeRequest $req) 负载均衡数据库代理
* @method Models\RemoveClusterSlaveZoneResponse RemoveClusterSlaveZone(Models\RemoveClusterSlaveZoneRequest $req) 删除从可用区
* @method Models\ResetAccountPasswordResponse ResetAccountPassword(Models\ResetAccountPasswordRequest $req) 本接口(ResetAccountPassword)用于重置实例的数据库账号密码。
* @method Models\RestartInstanceResponse RestartInstance(Models\RestartInstanceRequest $req) 重启实例
Expand All @@ -139,6 +147,8 @@
* @method Models\UnbindClusterResourcePackagesResponse UnbindClusterResourcePackages(Models\UnbindClusterResourcePackagesRequest $req) cynos解绑资源包
* @method Models\UpgradeClusterVersionResponse UpgradeClusterVersion(Models\UpgradeClusterVersionRequest $req) 更新集群Cynos内核版本
* @method Models\UpgradeInstanceResponse UpgradeInstance(Models\UpgradeInstanceRequest $req) 升级实例
* @method Models\UpgradeProxyResponse UpgradeProxy(Models\UpgradeProxyRequest $req) 升级数据库代理配置
* @method Models\UpgradeProxyVersionResponse UpgradeProxyVersion(Models\UpgradeProxyVersionRequest $req) 升级数据库代理版本
*/

class CynosdbClient extends AbstractClient
Expand Down
77 changes: 77 additions & 0 deletions src/TencentCloud/Cynosdb/V20190107/Models/CloseProxyRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?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;

/**
* CloseProxy请求参数结构体
*
* @method string getClusterId() 获取集群ID
* @method void setClusterId(string $ClusterId) 设置集群ID
* @method string getProxyGroupId() 获取数据库代理组ID
* @method void setProxyGroupId(string $ProxyGroupId) 设置数据库代理组ID
* @method boolean getOnlyCloseRW() 获取是否只关闭读写分离,取值:是 "true","false"
* @method void setOnlyCloseRW(boolean $OnlyCloseRW) 设置是否只关闭读写分离,取值:是 "true","false"
*/
class CloseProxyRequest extends AbstractModel
{
/**
* @var string 集群ID
*/
public $ClusterId;

/**
* @var string 数据库代理组ID
*/
public $ProxyGroupId;

/**
* @var boolean 是否只关闭读写分离,取值:是 "true","false"
*/
public $OnlyCloseRW;

/**
* @param string $ClusterId 集群ID
* @param string $ProxyGroupId 数据库代理组ID
* @param boolean $OnlyCloseRW 是否只关闭读写分离,取值:是 "true","false"
*/
function __construct()
{

}

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

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

if (array_key_exists("OnlyCloseRW",$param) and $param["OnlyCloseRW"] !== null) {
$this->OnlyCloseRW = $param["OnlyCloseRW"];
}
}
}
77 changes: 77 additions & 0 deletions src/TencentCloud/Cynosdb/V20190107/Models/CloseProxyResponse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?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;

/**
* CloseProxy返回参数结构体
*
* @method integer getFlowId() 获取异步流程ID
* @method void setFlowId(integer $FlowId) 设置异步流程ID
* @method integer getTaskId() 获取异步任务ID
* @method void setTaskId(integer $TaskId) 设置异步任务ID
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
class CloseProxyResponse extends AbstractModel
{
/**
* @var integer 异步流程ID
*/
public $FlowId;

/**
* @var integer 异步任务ID
*/
public $TaskId;

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

/**
* @param integer $FlowId 异步流程ID
* @param integer $TaskId 异步任务ID
* @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("FlowId",$param) and $param["FlowId"] !== null) {
$this->FlowId = $param["FlowId"];
}

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

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

0 comments on commit 7111c2a

Please sign in to comment.