Skip to content

Commit

Permalink
release 3.1.82 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Apr 18, 2024
1 parent ffe92be commit 255e54a
Show file tree
Hide file tree
Showing 62 changed files with 3,221 additions and 567 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# 3.1.82 2024-04-18

### HuaweiCloud SDK GaussDBforopenGauss

- _Features_
- Support the APIs `ListTopIoTraffics`, `ShowErrorLogSwitchStatus`, `ListInstanceErrorLogs`, `DeleteInstanceTag`
- _Bug Fix_
- None
- _Change_
- Remove the API `ShowInstancesStatistics`
- **UpgradeInstanceVersion**
- changes of request param
- `+ upgrade_action`
- `- upgrde_action`
- `- is_parallel_upgrade`
- **ShowBackupPolicy**
- changes of response param
- `* backup_policy.differential_period: string -> int32`

### HuaweiCloud SDK TMS

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **DeleteResourceTag**
- changes of request param
- `+ tags.value`

# 3.1.81 2024-04-11

### HuaweiCloud SDK CDN
Expand Down
30 changes: 30 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# 3.1.82 2024-04-18

### HuaweiCloud SDK GaussDBforopenGauss

- _新增特性_
- 支持接口`ListTopIoTraffics``ShowErrorLogSwitchStatus``ListInstanceErrorLogs``DeleteInstanceTag`
- _解决问题_
-
- _特性变更_
- 移除接口`ShowInstancesStatistics`
- **UpgradeInstanceVersion**
- 请求参数变更
- `+ upgrade_action`
- `- upgrde_action`
- `- is_parallel_upgrade`
- **ShowBackupPolicy**
- 响应参数变更
- `* backup_policy.differential_period: string -> int32`

### HuaweiCloud SDK TMS

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- **DeleteResourceTag**
- 请求参数变更
- `+ tags.value`

# 3.1.81 2024-04-11

### HuaweiCloud SDK CDN
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.81
3.1.82
4 changes: 4 additions & 0 deletions eip/include/huaweicloud/eip/v2/EipRegion.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ class HUAWEICLOUD_EIP_V2_EXPORT EipRegion {
{
"https://vpc.my-kualalumpur-1.myhuaweicloud.com"
});
regions["ru-moscow-1"] = Region("ru-moscow-1",
{
"https://vpc.ru-moscow-1.myhuaweicloud.com"
});
return regions;
}
private:
Expand Down
4 changes: 4 additions & 0 deletions eip/include/huaweicloud/eip/v3/EipRegion.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ class HUAWEICLOUD_EIP_V3_EXPORT EipRegion {
{
"https://vpc.my-kualalumpur-1.myhuaweicloud.com"
});
regions["ru-moscow-1"] = Region("ru-moscow-1",
{
"https://vpc.ru-moscow-1.myhuaweicloud.com"
});
return regions;
}
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class HUAWEICLOUD_GAUSSDB_V3_EXPORT MysqlProxyNodeV3
void setWeight(int32_t value);

/// <summary>
/// 可用区信息
/// 主实例所有节点的可用区信息
/// </summary>

std::vector<MysqlProxyAvailable>& getAvailabilityZone();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class HUAWEICLOUD_GAUSSDB_V3_EXPORT ProxyTransactionSplitRequest
void setTransactionSplit(const std::string& value);

/// <summary>
/// 实例的proxy列表
/// 实例的数据库代理列表,仅支持单proxy使用。
/// </summary>

std::vector<std::string>& getProxyIdList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
#include <huaweicloud/gaussdbforopengauss/v3/model/DeleteDatabaseResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/DeleteInstanceRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/DeleteInstanceResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/DeleteInstanceTagRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/DeleteInstanceTagResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/DeleteJobRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/DeleteJobResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/DeleteManualBackupRequest.h>
Expand Down Expand Up @@ -97,6 +99,8 @@
#include <huaweicloud/gaussdbforopengauss/v3/model/ListGaussDbDatastoresResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ListHistoryOperationsRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ListHistoryOperationsResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ListInstanceErrorLogsRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ListInstanceErrorLogsResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ListInstanceTagsRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ListInstanceTagsResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ListInstancesDetailsRequest.h>
Expand All @@ -119,6 +123,8 @@
#include <huaweicloud/gaussdbforopengauss/v3/model/ListStorageTypesResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ListTasksRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ListTasksResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ListTopIoTrafficsRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ListTopIoTrafficsResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ModifyEpsQuotaRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ModifyEpsQuotaRequestBody.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ModifyEpsQuotaResponse.h>
Expand Down Expand Up @@ -164,6 +170,8 @@
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowConfigurationDetailResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowDeploymentFormRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowDeploymentFormResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowErrorLogSwitchStatusRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowErrorLogSwitchStatusResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowInstanceConfigurationRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowInstanceConfigurationResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowInstanceDiskRequest.h>
Expand All @@ -172,8 +180,6 @@
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowInstanceParamGroupResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowInstanceSnapshotRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowInstanceSnapshotResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowInstancesStatisticsRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowInstancesStatisticsResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowJobDetailRequest.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowJobDetailResponse.h>
#include <huaweicloud/gaussdbforopengauss/v3/model/ShowProjectQuotasRequest.h>
Expand Down Expand Up @@ -363,6 +369,14 @@ class HUAWEICLOUD_GAUSSDBFOROPENGAUSS_V3_EXPORT GaussDBforopenGaussClient : pub
std::shared_ptr<DeleteInstanceResponse> deleteInstance(
DeleteInstanceRequest &request
);
// 删除实例标签
//
// 删除实例标签
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<DeleteInstanceTagResponse> deleteInstanceTag(
DeleteInstanceTagRequest &request
);
// 删除任务记录
//
// 删除任务记录。
Expand Down Expand Up @@ -539,6 +553,14 @@ class HUAWEICLOUD_GAUSSDBFOROPENGAUSS_V3_EXPORT GaussDBforopenGaussClient : pub
std::shared_ptr<ListHistoryOperationsResponse> listHistoryOperations(
ListHistoryOperationsRequest &request
);
// 查询错误日志下载链接
//
// 查询数据库错误日志下载链接。
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<ListInstanceErrorLogsResponse> listInstanceErrorLogs(
ListInstanceErrorLogsRequest &request
);
// 查询实例标签
//
// 查询指定实例的用户标签信息。
Expand Down Expand Up @@ -628,6 +650,14 @@ class HUAWEICLOUD_GAUSSDBFOROPENGAUSS_V3_EXPORT GaussDBforopenGaussClient : pub
std::shared_ptr<ListTasksResponse> listTasks(
ListTasksRequest &request
);
// 查询Top IO列表
//
// 查询实例数据库进程下的Top IO流量数据,返回与会话信息相关联后的结果
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<ListTopIoTrafficsResponse> listTopIoTraffics(
ListTopIoTrafficsRequest &request
);
// 修改企业项目配额
//
// 修改企业项目配额。
Expand Down Expand Up @@ -740,6 +770,14 @@ class HUAWEICLOUD_GAUSSDBFOROPENGAUSS_V3_EXPORT GaussDBforopenGaussClient : pub
std::shared_ptr<ShowDeploymentFormResponse> showDeploymentForm(
ShowDeploymentFormRequest &request
);
// 查询错误日志采集开关状态
//
// 查询数据库错误日志采集的开关状态。
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<ShowErrorLogSwitchStatusResponse> showErrorLogSwitchStatus(
ShowErrorLogSwitchStatusRequest &request
);
// 获取指定实例的参数模板
//
// 获取指定实例的参数模板。
Expand Down Expand Up @@ -772,14 +810,6 @@ class HUAWEICLOUD_GAUSSDBFOROPENGAUSS_V3_EXPORT GaussDBforopenGaussClient : pub
std::shared_ptr<ShowInstanceSnapshotResponse> showInstanceSnapshot(
ShowInstanceSnapshotRequest &request
);
// 实例统计
//
// 实例统计
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<ShowInstancesStatisticsResponse> showInstancesStatistics(
ShowInstancesStatisticsRequest &request
);
// 获取指定ID的任务信息。
//
// 获取指定ID的任务信息。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class HUAWEICLOUD_GAUSSDBFOROPENGAUSS_V3_EXPORT GaussDBforopenGaussMeta {
static HttpRequestDef genRequestDefForDeleteConfiguration();
static HttpRequestDef genRequestDefForDeleteDatabase();
static HttpRequestDef genRequestDefForDeleteInstance();
static HttpRequestDef genRequestDefForDeleteInstanceTag();
static HttpRequestDef genRequestDefForDeleteJob();
static HttpRequestDef genRequestDefForDeleteManualBackup();
static HttpRequestDef genRequestDefForDownloadBackup();
Expand All @@ -51,6 +52,7 @@ class HUAWEICLOUD_GAUSSDBFOROPENGAUSS_V3_EXPORT GaussDBforopenGaussMeta {
static HttpRequestDef genRequestDefForListFlavors();
static HttpRequestDef genRequestDefForListGaussDbDatastores();
static HttpRequestDef genRequestDefForListHistoryOperations();
static HttpRequestDef genRequestDefForListInstanceErrorLogs();
static HttpRequestDef genRequestDefForListInstanceTags();
static HttpRequestDef genRequestDefForListInstances();
static HttpRequestDef genRequestDefForListInstancesDetails();
Expand All @@ -62,6 +64,7 @@ class HUAWEICLOUD_GAUSSDBFOROPENGAUSS_V3_EXPORT GaussDBforopenGaussMeta {
static HttpRequestDef genRequestDefForListRestoreTimes();
static HttpRequestDef genRequestDefForListStorageTypes();
static HttpRequestDef genRequestDefForListTasks();
static HttpRequestDef genRequestDefForListTopIoTraffics();
static HttpRequestDef genRequestDefForModifyEpsQuota();
static HttpRequestDef genRequestDefForResetConfiguration();
static HttpRequestDef genRequestDefForResetPwd();
Expand All @@ -76,11 +79,11 @@ class HUAWEICLOUD_GAUSSDBFOROPENGAUSS_V3_EXPORT GaussDBforopenGaussMeta {
static HttpRequestDef genRequestDefForShowBalanceStatus();
static HttpRequestDef genRequestDefForShowConfigurationDetail();
static HttpRequestDef genRequestDefForShowDeploymentForm();
static HttpRequestDef genRequestDefForShowErrorLogSwitchStatus();
static HttpRequestDef genRequestDefForShowInstanceConfiguration();
static HttpRequestDef genRequestDefForShowInstanceDisk();
static HttpRequestDef genRequestDefForShowInstanceParamGroup();
static HttpRequestDef genRequestDefForShowInstanceSnapshot();
static HttpRequestDef genRequestDefForShowInstancesStatistics();
static HttpRequestDef genRequestDefForShowJobDetail();
static HttpRequestDef genRequestDefForShowProjectQuotas();
static HttpRequestDef genRequestDefForShowRecyclePolicy();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@

#ifndef HUAWEICLOUD_SDK_GAUSSDBFOROPENGAUSS_V3_MODEL_DeleteInstanceTagRequest_H_
#define HUAWEICLOUD_SDK_GAUSSDBFOROPENGAUSS_V3_MODEL_DeleteInstanceTagRequest_H_


#include <huaweicloud/gaussdbforopengauss/v3/GaussDBforopenGaussExport.h>

#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/utils/Utils.h>
#include <huaweicloud/core/http/HttpResponse.h>

#include <string>

namespace HuaweiCloud {
namespace Sdk {
namespace Gaussdbforopengauss {
namespace V3 {
namespace Model {

using namespace HuaweiCloud::Sdk::Core::Utils;
using namespace HuaweiCloud::Sdk::Core::Http;
/// <summary>
/// Request Object
/// </summary>
class HUAWEICLOUD_GAUSSDBFOROPENGAUSS_V3_EXPORT DeleteInstanceTagRequest
: public ModelBase
{
public:
DeleteInstanceTagRequest();
virtual ~DeleteInstanceTagRequest();

/////////////////////////////////////////////
/// ModelBase overrides

void validate() override;
web::json::value toJson() const override;
bool fromJson(const web::json::value& json) override;
/////////////////////////////////////////////
/// DeleteInstanceTagRequest members

/// <summary>
/// 语言
/// </summary>

std::string getXLanguage() const;
bool xLanguageIsSet() const;
void unsetxLanguage();
void setXLanguage(const std::string& value);

/// <summary>
/// 实例ID,严格匹配UUID规则。
/// </summary>

std::string getInstanceId() const;
bool instanceIdIsSet() const;
void unsetinstanceId();
void setInstanceId(const std::string& value);

/// <summary>
/// 标签键
/// </summary>

std::string getKey() const;
bool keyIsSet() const;
void unsetkey();
void setKey(const std::string& value);


protected:
std::string xLanguage_;
bool xLanguageIsSet_;
std::string instanceId_;
bool instanceIdIsSet_;
std::string key_;
bool keyIsSet_;

#ifdef RTTR_FLAG
RTTR_ENABLE()
public:
DeleteInstanceTagRequest& dereference_from_shared_ptr(std::shared_ptr<DeleteInstanceTagRequest> ptr) {
return *ptr;
}
#endif
};


}
}
}
}
}

#endif // HUAWEICLOUD_SDK_GAUSSDBFOROPENGAUSS_V3_MODEL_DeleteInstanceTagRequest_H_
Loading

0 comments on commit 255e54a

Please sign in to comment.