Skip to content

Commit

Permalink
release 3.1.81 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Apr 11, 2024
1 parent 786e35c commit ffe92be
Show file tree
Hide file tree
Showing 194 changed files with 20,913 additions and 910 deletions.
92 changes: 92 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,95 @@
# 3.1.81 2024-04-11

### HuaweiCloud SDK CDN

- _Features_
- Support the API `ShowQuota`
- _Bug Fix_
- None
- _Change_
- **ShowDomainFullConfig**
- changes of response param
- `+ configs.sni`
- `+ configs.request_url_rewrite`
- `+ configs.browser_cache_rules`
- **UpdateDomainFullConfig**
- changes of request param
- `+ configs.sni`
- `+ configs.request_url_rewrite`
- `+ configs.browser_cache_rules`

### HuaweiCloud SDK DRS

- _Features_
- Support the following APIs:
- `ListDataLevelTableCompareJobs`
- `CreateDataLevelTableCompareJob`
- `DeleteCompareJob`
- `StartPromptlyDataLevelTableCompareJob`
- `ListDataCompareOverview`
- `ListDataCompareDetail`
- `ListContentCompareOverview`
- `ListContentCompareDetail`
- `ListsAgencyPermissions`
- `ShowReplayResults`
- _Bug Fix_
- None
- _Change_
- **ShowDataFilteringResult**
- changes of response param
- `+ db_object_filtering_result.source`
- `+ db_object_filtering_result.target_result`
- `+ db_object_filtering_result.source_result`
- `+ db_object_filtering_result.target_message`
- `+ db_object_filtering_result.source_message`
- **ShowDataProgress**
- changes of response param
- `+ data_process_info.source`
- **UpdateDataProgress**
- changes of request param
- `+ data_process_info.source`
- **CheckDataFilter**
- changes of request param
- `+ data_process_info.source`
- **ExecuteJobAction**
- changes of request param
- `+ job.action_params.compare_task_param.data_process_info`
- **BatchExecuteJobActions**
- changes of request param
- `+ jobs.action_params.compare_task_param.data_process_info`

### HuaweiCloud SDK GaussDBforopenGauss

- _Features_
- Support the following APIs:
- `ShowInstancesStatistics`
- `ShowSlowLogDownload`
- `CreateSlowLogDownload`
- `UpgradeInstanceVersion`
- `SearchAutoEnlargePolicy`
- `ListCnInfosBeforeReduce`
- `StartInstance`
- `ShowUpgradeCandidateVersions`
- _Bug Fix_
- None
- _Change_
- None

### HuaweiCloud SDK RDS

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- Remove the APIs `ShowReplayDelayStatus`, `SwitchLogReplay`
- **StartResizeFlavorAction**
- changes of request param
- `+ resize_flavor.is_delay`
- **ListPostgresqlDatabases**
- changes of request param
- `+ db`

# 3.1.80 2024-04-03

### HuaweiCloud SDK CFW
Expand Down
92 changes: 92 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,95 @@
# 3.1.81 2024-04-11

### HuaweiCloud SDK CDN

- _新增特性_
- 支持接口`ShowQuota`
- _解决问题_
-
- _特性变更_
- **ShowDomainFullConfig**
- 响应参数变更
- `+ configs.sni`
- `+ configs.request_url_rewrite`
- `+ configs.browser_cache_rules`
- **UpdateDomainFullConfig**
- 请求参数变更
- `+ configs.sni`
- `+ configs.request_url_rewrite`
- `+ configs.browser_cache_rules`

### HuaweiCloud SDK DRS

- _新增特性_
- 支持以下接口:
- `ListDataLevelTableCompareJobs`
- `CreateDataLevelTableCompareJob`
- `DeleteCompareJob`
- `StartPromptlyDataLevelTableCompareJob`
- `ListDataCompareOverview`
- `ListDataCompareDetail`
- `ListContentCompareOverview`
- `ListContentCompareDetail`
- `ListsAgencyPermissions`
- `ShowReplayResults`
- _解决问题_
-
- _特性变更_
- **ShowDataFilteringResult**
- 响应参数变更
- `+ db_object_filtering_result.source`
- `+ db_object_filtering_result.target_result`
- `+ db_object_filtering_result.source_result`
- `+ db_object_filtering_result.target_message`
- `+ db_object_filtering_result.source_message`
- **ShowDataProgress**
- 响应参数变更
- `+ data_process_info.source`
- **UpdateDataProgress**
- 请求参数变更
- `+ data_process_info.source`
- **CheckDataFilter**
- 请求参数变更
- `+ data_process_info.source`
- **ExecuteJobAction**
- 请求参数变更
- `+ job.action_params.compare_task_param.data_process_info`
- **BatchExecuteJobActions**
- 请求参数变更
- `+ jobs.action_params.compare_task_param.data_process_info`

### HuaweiCloud SDK GaussDBforopenGauss

- _新增特性_
- 支持以下接口:
- `ShowInstancesStatistics`
- `ShowSlowLogDownload`
- `CreateSlowLogDownload`
- `UpgradeInstanceVersion`
- `SearchAutoEnlargePolicy`
- `ListCnInfosBeforeReduce`
- `StartInstance`
- `ShowUpgradeCandidateVersions`
- _解决问题_
-
- _特性变更_
-

### HuaweiCloud SDK RDS

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- 移除接口`ShowReplayDelayStatus``SwitchLogReplay`
- **StartResizeFlavorAction**
- 请求参数变更
- `+ resize_flavor.is_delay`
- **ListPostgresqlDatabases**
- 请求参数变更
- `+ db`

# 3.1.80 2024-04-03

### HuaweiCloud SDK CFW
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.80
3.1.81
2 changes: 1 addition & 1 deletion cdn/include/huaweicloud/cdn/v1/model/Compress.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class HUAWEICLOUD_CDN_V1_EXPORT Compress
void setStatus(const std::string& value);

/// <summary>
/// 智能压缩类型(gzip:gzip压缩,brotli:brotli压缩)。
/// 智能压缩类型(gzip:gzip压缩,br:brotli压缩)。
/// </summary>

std::string getType() const;
Expand Down
14 changes: 12 additions & 2 deletions cdn/include/huaweicloud/cdn/v2/CdnClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
#include <huaweicloud/cdn/v2/model/ShowIpInfoResponse.h>
#include <huaweicloud/cdn/v2/model/ShowLogsRequest.h>
#include <huaweicloud/cdn/v2/model/ShowLogsResponse.h>
#include <huaweicloud/cdn/v2/model/ShowQuotaRequest.h>
#include <huaweicloud/cdn/v2/model/ShowQuotaResponse.h>
#include <huaweicloud/cdn/v2/model/ShowTagsRequest.h>
#include <huaweicloud/cdn/v2/model/ShowTagsResponse.h>
#include <huaweicloud/cdn/v2/model/ShowTopDomainNamesRequest.h>
Expand Down Expand Up @@ -314,7 +316,7 @@ class HUAWEICLOUD_CDN_V2_EXPORT CdnClient : public Client
);
// 查询域名配置接口
//
// 查询域名配置接口,支持查询业务类型、服务范围、备注、IPv6开关、回源方式、回源URL改写、高级回源、Range回源、回源跟随、回源是否校验Etag、回源超时时间、回源请求头、HTTPS配置、TLS版本配置、强制跳转、HSTS、HTTP/2、OCSP Stapling、QUIC、缓存规则、状态码缓存时间、防盗链、IP黑白名单、 Use-Agent黑白名单、URL鉴权配置、远程鉴权配置、IP访问限频、HTTP header配置、自定义错误页面配置、智能压缩、请求限速配置、WebSocket配置、视频拖拽。
// 查询域名配置接口,支持查询业务类型、服务范围、备注、IPv6开关、回源方式、回源URL改写、高级回源、Range回源、回源跟随、回源是否校验Etag、回源超时时间、回源请求头、HTTPS配置、TLS版本配置、强制跳转、HSTS、HTTP/2、OCSP Stapling、QUIC、缓存规则、状态码缓存时间、防盗链、IP黑白名单、 Use-Agent黑白名单、URL鉴权配置、远程鉴权配置、IP访问限频、HTTP header配置、自定义错误页面配置、智能压缩、请求限速配置、WebSocket配置、视频拖拽、回源SNI、访问URL重写、浏览器缓存过期时间
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<ShowDomainFullConfigResponse> showDomainFullConfig(
Expand Down Expand Up @@ -392,6 +394,14 @@ class HUAWEICLOUD_CDN_V2_EXPORT CdnClient : public Client
std::shared_ptr<ShowLogsResponse> showLogs(
ShowLogsRequest &request
);
// 查询用户配额
//
// 查询当前用户域名、刷新文件、刷新目录和预热的配额
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<ShowQuotaResponse> showQuota(
ShowQuotaRequest &request
);
// 查询资源标签列表配置接口
//
// 用于查询资源标签列表。
Expand Down Expand Up @@ -458,7 +468,7 @@ class HUAWEICLOUD_CDN_V2_EXPORT CdnClient : public Client
);
// 修改域名全量配置接口
//
// 修改域名配置接口,支持修改业务类型、服务范围、备注、IPv6开关、回源方式、回源URL改写、高级回源、Range回源、回源跟随、回源是否校验Etag、回源超时时间、回源请求头、HTTPS配置、TLS版本配置、强制跳转、HSTS、HTTP/2、OCSP Stapling、QUIC、缓存规则、状态码缓存时间、防盗链、IP黑白名单、Use-Agent黑白名单、URL鉴权配置、远程鉴权配置、IP访问限频、HTTP header配置、自定义错误页面配置、智能压缩、请求限速配置、WebSocket配置、视频拖拽。
// 修改域名配置接口,支持修改业务类型、服务范围、备注、IPv6开关、回源方式、回源URL改写、高级回源、Range回源、回源跟随、回源是否校验Etag、回源超时时间、回源请求头、HTTPS配置、TLS版本配置、强制跳转、HSTS、HTTP/2、OCSP Stapling、QUIC、缓存规则、状态码缓存时间、防盗链、IP黑白名单、Use-Agent黑白名单、URL鉴权配置、远程鉴权配置、IP访问限频、HTTP header配置、自定义错误页面配置、智能压缩、请求限速配置、WebSocket配置、视频拖拽、回源SNI、访问URL重写、浏览器缓存过期时间
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<UpdateDomainFullConfigResponse> updateDomainFullConfig(
Expand Down
1 change: 1 addition & 0 deletions cdn/include/huaweicloud/cdn/v2/CdnMeta.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class HUAWEICLOUD_CDN_V2_EXPORT CdnMeta {
static HttpRequestDef genRequestDefForShowHistoryTasks();
static HttpRequestDef genRequestDefForShowIpInfo();
static HttpRequestDef genRequestDefForShowLogs();
static HttpRequestDef genRequestDefForShowQuota();
static HttpRequestDef genRequestDefForShowTags();
static HttpRequestDef genRequestDefForShowTopDomainNames();
static HttpRequestDef genRequestDefForShowTopUrl();
Expand Down
98 changes: 98 additions & 0 deletions cdn/include/huaweicloud/cdn/v2/model/BrowserCacheRules.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@

#ifndef HUAWEICLOUD_SDK_CDN_V2_MODEL_BrowserCacheRules_H_
#define HUAWEICLOUD_SDK_CDN_V2_MODEL_BrowserCacheRules_H_


#include <huaweicloud/cdn/v2/CdnExport.h>

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

#include <string>
#include <huaweicloud/cdn/v2/model/BrowserCacheRulesCondition.h>

namespace HuaweiCloud {
namespace Sdk {
namespace Cdn {
namespace V2 {
namespace Model {

using namespace HuaweiCloud::Sdk::Core::Utils;
using namespace HuaweiCloud::Sdk::Core::Http;
/// <summary>
/// 浏览器缓存过期时间。
/// </summary>
class HUAWEICLOUD_CDN_V2_EXPORT BrowserCacheRules
: public ModelBase
{
public:
BrowserCacheRules();
virtual ~BrowserCacheRules();

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

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

/// <summary>
///
/// </summary>

BrowserCacheRulesCondition getCondition() const;
bool conditionIsSet() const;
void unsetcondition();
void setCondition(const BrowserCacheRulesCondition& value);

/// <summary>
/// 缓存生效类型: - follow_origin:遵循源站的缓存策略,即Cache-Control头部的设置, - ttl:浏览器缓存遵循当前规则设置的过期时间, - never:浏览器不缓存资源。
/// </summary>

std::string getCacheType() const;
bool cacheTypeIsSet() const;
void unsetcacheType();
void setCacheType(const std::string& value);

/// <summary>
/// 缓存过期时间,最大支持365天。 &gt; 当缓存生效类型为ttl时必填。
/// </summary>

int32_t getTtl() const;
bool ttlIsSet() const;
void unsetttl();
void setTtl(int32_t value);

/// <summary>
/// 缓存过期时间单位,s:秒;m:分种;h:小时;d:天。 &gt; 当缓存生效类型为ttl时必填。
/// </summary>

std::string getTtlUnit() const;
bool ttlUnitIsSet() const;
void unsetttlUnit();
void setTtlUnit(const std::string& value);


protected:
BrowserCacheRulesCondition condition_;
bool conditionIsSet_;
std::string cacheType_;
bool cacheTypeIsSet_;
int32_t ttl_;
bool ttlIsSet_;
std::string ttlUnit_;
bool ttlUnitIsSet_;

};


}
}
}
}
}

#endif // HUAWEICLOUD_SDK_CDN_V2_MODEL_BrowserCacheRules_H_
Loading

0 comments on commit ffe92be

Please sign in to comment.