Skip to content

Commit e603032

Browse files
release 3.1.116 source code
1 parent b7a4430 commit e603032

File tree

164 files changed

+20918
-35
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+20918
-35
lines changed

CHANGELOG.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,103 @@
1+
# 3.1.116 2024-12-19
2+
3+
### HuaweiCloud SDK AAD
4+
5+
- _API Version_
6+
- V2
7+
- _Features_
8+
- Support the APIs `AddWafWhiteIpRule`, `DeleteWafWhiteIpRule`
9+
- _Bug Fix_
10+
- None
11+
- _Change_
12+
- None
13+
14+
### HuaweiCloud SDK EVS
15+
16+
- _API Version_
17+
- V2
18+
- _Features_
19+
- Support the API `UnsubscribePostpaidVolume`
20+
- _Bug Fix_
21+
- None
22+
- _Change_
23+
- **CinderListQuotas**
24+
- changes of response param
25+
- `+ quota_set.gigabytes_ESSD`
26+
- `+ quota_set.snapshots_ESSD`
27+
- `+ quota_set.volumes_ESSD`
28+
29+
### HuaweiCloud SDK GaussDBforopenGauss
30+
31+
- _API Version_
32+
- V3
33+
- _Features_
34+
- Support the following APIs:
35+
- `ListRestorableInstancesDetails`
36+
- `ListRecycleInstancesDetails`
37+
- `ShowParameterGroupDetail`
38+
- `ShowSourceInstanceDetail`
39+
- `AllowDbRolePrivileges`
40+
- `ListDatabaseRoles`
41+
- `CreateDbRole`
42+
- `ListDatastoresDetails`
43+
- `ListDatabaseInstances`
44+
- `ListParameterGroupTemplates`
45+
- `ShowInstanceParamGroupDetail`
46+
- `ShowUpgradeCandidateVersionsDetails`
47+
- `BatchShowUpgradeCandidateVersions`
48+
- `ListFlavorsDetails`
49+
- `ListBackupsDetails`
50+
- `SyncLimitData`
51+
- `DeleteDatabaseSchema`
52+
- `CreateDatabaseInstance`
53+
- _Bug Fix_
54+
- None
55+
- _Change_
56+
- **ShowUpgradeCandidateVersions**
57+
- changes of response param
58+
- `* hotfix_upgrade_infos: object<HotfixUpgradeInfos> -> list<HotfixUpgradeInfos>`
59+
- `* hotfix_rollback_infos: object<HotfixRollbackInfos> -> list<HotfixRollbackInfos>`
60+
61+
### HuaweiCloud SDK IMS
62+
63+
- _API Version_
64+
- V2
65+
- _Features_
66+
- None
67+
- _Bug Fix_
68+
- None
69+
- _Change_
70+
- **ImportImageQuick**
71+
- changes of request param
72+
- `+ license_type`
73+
74+
### HuaweiCloud SDK OCR
75+
76+
- _API Version_
77+
- V1
78+
- _Features_
79+
- None
80+
- _Bug Fix_
81+
- None
82+
- _Change_
83+
- **RecognizeAutoClassification**
84+
- changes of request param
85+
- `+ pdf_page_number`
86+
- **RecognizeSmartDocumentRecognizer**
87+
- changes of request param
88+
- `+ erase_seal`
89+
90+
### HuaweiCloud SDK RDS
91+
92+
- _API Version_
93+
- V3
94+
- _Features_
95+
- Support the API `ListUpdateBackupEnhancePolicy`
96+
- _Bug Fix_
97+
- None
98+
- _Change_
99+
- None
100+
1101
# 3.1.115 2024-12-12
2102

3103
### HuaweiCloud SDK CDN

CHANGELOG_CN.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,103 @@
1+
# 3.1.116 2024-12-19
2+
3+
### HuaweiCloud SDK AAD
4+
5+
- _接口版本_
6+
- V2
7+
- _新增特性_
8+
- 支持接口`AddWafWhiteIpRule`、`DeleteWafWhiteIpRule`
9+
- _解决问题_
10+
- 无
11+
- _特性变更_
12+
- 无
13+
14+
### HuaweiCloud SDK EVS
15+
16+
- _接口版本_
17+
- V2
18+
- _新增特性_
19+
- 支持接口`UnsubscribePostpaidVolume`
20+
- _解决问题_
21+
- 无
22+
- _特性变更_
23+
- **CinderListQuotas**
24+
- 响应参数变更
25+
- `+ quota_set.gigabytes_ESSD`
26+
- `+ quota_set.snapshots_ESSD`
27+
- `+ quota_set.volumes_ESSD`
28+
29+
### HuaweiCloud SDK GaussDBforopenGauss
30+
31+
- _接口版本_
32+
- V3
33+
- _新增特性_
34+
- 支持以下接口:
35+
- `ListRestorableInstancesDetails`
36+
- `ListRecycleInstancesDetails`
37+
- `ShowParameterGroupDetail`
38+
- `ShowSourceInstanceDetail`
39+
- `AllowDbRolePrivileges`
40+
- `ListDatabaseRoles`
41+
- `CreateDbRole`
42+
- `ListDatastoresDetails`
43+
- `ListDatabaseInstances`
44+
- `ListParameterGroupTemplates`
45+
- `ShowInstanceParamGroupDetail`
46+
- `ShowUpgradeCandidateVersionsDetails`
47+
- `BatchShowUpgradeCandidateVersions`
48+
- `ListFlavorsDetails`
49+
- `ListBackupsDetails`
50+
- `SyncLimitData`
51+
- `DeleteDatabaseSchema`
52+
- `CreateDatabaseInstance`
53+
- _解决问题_
54+
- 无
55+
- _特性变更_
56+
- **ShowUpgradeCandidateVersions**
57+
- 响应参数变更
58+
- `* hotfix_upgrade_infos: object<HotfixUpgradeInfos> -> list<HotfixUpgradeInfos>`
59+
- `* hotfix_rollback_infos: object<HotfixRollbackInfos> -> list<HotfixRollbackInfos>`
60+
61+
### HuaweiCloud SDK IMS
62+
63+
- _接口版本_
64+
- V2
65+
- _新增特性_
66+
- 无
67+
- _解决问题_
68+
- 无
69+
- _特性变更_
70+
- **ImportImageQuick**
71+
- 请求参数变更
72+
- `+ license_type`
73+
74+
### HuaweiCloud SDK OCR
75+
76+
- _接口版本_
77+
- V1
78+
- _新增特性_
79+
- 无
80+
- _解决问题_
81+
- 无
82+
- _特性变更_
83+
- **RecognizeAutoClassification**
84+
- 请求参数变更
85+
- `+ pdf_page_number`
86+
- **RecognizeSmartDocumentRecognizer**
87+
- 请求参数变更
88+
- `+ erase_seal`
89+
90+
### HuaweiCloud SDK RDS
91+
92+
- _接口版本_
93+
- V3
94+
- _新增特性_
95+
- 支持接口`ListUpdateBackupEnhancePolicy`
96+
- _解决问题_
97+
- 无
98+
- _特性变更_
99+
- 无
100+
1101
# 3.1.115 2024-12-12
2102

3103
### HuaweiCloud SDK CDN

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.115
1+
3.1.116

aad/include/huaweicloud/aad/v2/AadClient.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,18 @@
66
#include <huaweicloud/core/ClientBuilder.h>
77

88

9+
#include <huaweicloud/aad/v2/model/AddWafWhiteIpRuleRequest.h>
10+
#include <huaweicloud/aad/v2/model/AddWafWhiteIpRuleResponse.h>
11+
#include <huaweicloud/aad/v2/model/AddWafWhiteIpRuleV2RequestBody.h>
912
#include <huaweicloud/aad/v2/model/CreateAadDomainRequestBody.h>
1013
#include <huaweicloud/aad/v2/model/CreateDomainRequest.h>
1114
#include <huaweicloud/aad/v2/model/CreateDomainResponse.h>
1215
#include <huaweicloud/aad/v2/model/DeleteDomainRequest.h>
1316
#include <huaweicloud/aad/v2/model/DeleteDomainResponse.h>
1417
#include <huaweicloud/aad/v2/model/DeleteDomainV2RequestBody.h>
18+
#include <huaweicloud/aad/v2/model/DeleteWafWhiteIpRuleRequest.h>
19+
#include <huaweicloud/aad/v2/model/DeleteWafWhiteIpRuleResponse.h>
20+
#include <huaweicloud/aad/v2/model/DeleteWafWhiteIpRuleV2RequestBody.h>
1521
#include <huaweicloud/aad/v2/model/EmptyJsonResponse.h>
1622
#include <huaweicloud/aad/v2/model/ListDDoSAttackEventRequest.h>
1723
#include <huaweicloud/aad/v2/model/ListDDoSAttackEventRequestBody.h>
@@ -75,6 +81,14 @@ class HUAWEICLOUD_AAD_V2_EXPORT AadClient : public Client
7581

7682
static ClientBuilder<AadClient> newBuilder();
7783

84+
// 防护策略web-cc黑白名单-创建黑白名单规则
85+
//
86+
// 防护策略web-cc黑白名单-创建黑白名单规则
87+
//
88+
// Please refer to HUAWEI cloud API Explorer for details.
89+
std::shared_ptr<AddWafWhiteIpRuleResponse> addWafWhiteIpRule(
90+
AddWafWhiteIpRuleRequest &request
91+
);
7892
// 创建防护域名
7993
//
8094
// 创建防护域名
@@ -91,6 +105,14 @@ class HUAWEICLOUD_AAD_V2_EXPORT AadClient : public Client
91105
std::shared_ptr<DeleteDomainResponse> deleteDomain(
92106
DeleteDomainRequest &request
93107
);
108+
// 防护策略web-cc黑白名单-删除黑白名单规则
109+
//
110+
// 防护策略web-cc黑白名单-删除黑白名单规则
111+
//
112+
// Please refer to HUAWEI cloud API Explorer for details.
113+
std::shared_ptr<DeleteWafWhiteIpRuleResponse> deleteWafWhiteIpRule(
114+
DeleteWafWhiteIpRuleRequest &request
115+
);
94116
// 查询DDoS攻击事件列表
95117
//
96118
// 查询DDoS攻击事件列表

aad/include/huaweicloud/aad/v2/AadMeta.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ using namespace HuaweiCloud::Sdk::Core::Http;
1313

1414
class HUAWEICLOUD_AAD_V2_EXPORT AadMeta {
1515
public:
16+
static HttpRequestDef genRequestDefForAddWafWhiteIpRule();
1617
static HttpRequestDef genRequestDefForCreateDomain();
1718
static HttpRequestDef genRequestDefForDeleteDomain();
19+
static HttpRequestDef genRequestDefForDeleteWafWhiteIpRule();
1820
static HttpRequestDef genRequestDefForListDDoSAttackEvent();
1921
static HttpRequestDef genRequestDefForListDDoSConnectionNumber();
2022
static HttpRequestDef genRequestDefForListDDoSFlow();
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
2+
#ifndef HUAWEICLOUD_SDK_AAD_V2_MODEL_AddWafWhiteIpRuleRequest_H_
3+
#define HUAWEICLOUD_SDK_AAD_V2_MODEL_AddWafWhiteIpRuleRequest_H_
4+
5+
6+
#include <huaweicloud/aad/v2/AadExport.h>
7+
8+
#include <huaweicloud/core/utils/ModelBase.h>
9+
#include <huaweicloud/core/utils/Utils.h>
10+
#include <huaweicloud/core/http/HttpResponse.h>
11+
12+
#include <huaweicloud/aad/v2/model/AddWafWhiteIpRuleV2RequestBody.h>
13+
14+
namespace HuaweiCloud {
15+
namespace Sdk {
16+
namespace Aad {
17+
namespace V2 {
18+
namespace Model {
19+
20+
using namespace HuaweiCloud::Sdk::Core::Utils;
21+
using namespace HuaweiCloud::Sdk::Core::Http;
22+
/// <summary>
23+
/// Request Object
24+
/// </summary>
25+
class HUAWEICLOUD_AAD_V2_EXPORT AddWafWhiteIpRuleRequest
26+
: public ModelBase
27+
{
28+
public:
29+
AddWafWhiteIpRuleRequest();
30+
virtual ~AddWafWhiteIpRuleRequest();
31+
32+
/////////////////////////////////////////////
33+
/// ModelBase overrides
34+
35+
void validate() override;
36+
web::json::value toJson() const override;
37+
bool fromJson(const web::json::value& json) override;
38+
/////////////////////////////////////////////
39+
/// AddWafWhiteIpRuleRequest members
40+
41+
/// <summary>
42+
///
43+
/// </summary>
44+
45+
AddWafWhiteIpRuleV2RequestBody getBody() const;
46+
bool bodyIsSet() const;
47+
void unsetbody();
48+
void setBody(const AddWafWhiteIpRuleV2RequestBody& value);
49+
50+
51+
protected:
52+
AddWafWhiteIpRuleV2RequestBody body_;
53+
bool bodyIsSet_;
54+
55+
#ifdef RTTR_FLAG
56+
RTTR_ENABLE()
57+
public:
58+
AddWafWhiteIpRuleRequest& dereference_from_shared_ptr(std::shared_ptr<AddWafWhiteIpRuleRequest> ptr) {
59+
return *ptr;
60+
}
61+
#endif
62+
};
63+
64+
65+
}
66+
}
67+
}
68+
}
69+
}
70+
71+
#endif // HUAWEICLOUD_SDK_AAD_V2_MODEL_AddWafWhiteIpRuleRequest_H_

0 commit comments

Comments
 (0)