Skip to content

Commit

Permalink
release 3.1.119 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Jan 9, 2025
1 parent 1fee9c7 commit 4bf6801
Show file tree
Hide file tree
Showing 23 changed files with 1,555 additions and 1 deletion.
69 changes: 69 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,72 @@
# 3.1.119 2025-01-09

### HuaweiCloud SDK DRS

- _API Version_
- V5
- _Features_
- Support the APIs `ShowAgencyInfo`, `UpdateAgencyPolicy`
- _Bug Fix_
- None
- _Change_
- None

### HuaweiCloud SDK IMS

- _API Version_
- V2
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ListImages**
- changes of response param
- `+ images.os_shutdown_timeout`
- **UpdateImage**
- changes of response param
- `+ os_shutdown_timeout`

### HuaweiCloud SDK VPC

- _API Version_
- V3
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ListSecurityGroupRules**
- changes of request param
- `+ priority`
- `+ ethertype`
- `+ remote_address_group_id`
- `+ enabled`
- changes of response param
- `+ security_group_rules.enabled`
- **CreateSecurityGroupRule**
- changes of request param
- `+ security_group_rule.enabled`
- changes of response param
- `+ security_group_rule.enabled`
- **ShowSecurityGroupRule**
- changes of response param
- `+ security_group_rule.enabled`
- **BatchCreateSecurityGroupRules**
- changes of request param
- `+ security_group_rules.enabled`
- changes of response param
- `+ security_group_rules.enabled`
- **CreateSecurityGroup**
- changes of response param
- `+ security_group.security_group_rules.enabled`
- **ShowSecurityGroup**
- changes of response param
- `+ security_group.security_group_rules.enabled`
- **UpdateSecurityGroup**
- changes of response param
- `+ security_group.security_group_rules.enabled`

# 3.1.118 2025-01-02

### HuaweiCloud SDK CFW
Expand Down
69 changes: 69 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,72 @@
# 3.1.119 2025-01-09

### HuaweiCloud SDK DRS

- _接口版本_
- V5
- _新增特性_
- 支持接口`ShowAgencyInfo`、`UpdateAgencyPolicy`
- _解决问题_
- 无
- _特性变更_
- 无

### HuaweiCloud SDK IMS

- _接口版本_
- V2
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **ListImages**
- 响应参数变更
- `+ images.os_shutdown_timeout`
- **UpdateImage**
- 响应参数变更
- `+ os_shutdown_timeout`

### HuaweiCloud SDK VPC

- _接口版本_
- V3
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **ListSecurityGroupRules**
- 请求参数变更
- `+ priority`
- `+ ethertype`
- `+ remote_address_group_id`
- `+ enabled`
- 响应参数变更
- `+ security_group_rules.enabled`
- **CreateSecurityGroupRule**
- 请求参数变更
- `+ security_group_rule.enabled`
- 响应参数变更
- `+ security_group_rule.enabled`
- **ShowSecurityGroupRule**
- 响应参数变更
- `+ security_group_rule.enabled`
- **BatchCreateSecurityGroupRules**
- 请求参数变更
- `+ security_group_rules.enabled`
- 响应参数变更
- `+ security_group_rules.enabled`
- **CreateSecurityGroup**
- 响应参数变更
- `+ security_group.security_group_rules.enabled`
- **ShowSecurityGroup**
- 响应参数变更
- `+ security_group.security_group_rules.enabled`
- **UpdateSecurityGroup**
- 响应参数变更
- `+ security_group.security_group_rules.enabled`

# 3.1.118 2025-01-02

### 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.118
3.1.119
21 changes: 21 additions & 0 deletions drs/include/huaweicloud/drs/v5/DrsClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
#include <huaweicloud/drs/v5/model/QueryUserSelectedObjectInfoReq.h>
#include <huaweicloud/drs/v5/model/ShowActionsRequest.h>
#include <huaweicloud/drs/v5/model/ShowActionsResponse.h>
#include <huaweicloud/drs/v5/model/ShowAgencyInfoRequest.h>
#include <huaweicloud/drs/v5/model/ShowAgencyInfoResponse.h>
#include <huaweicloud/drs/v5/model/ShowColumnInfoResultRequest.h>
#include <huaweicloud/drs/v5/model/ShowColumnInfoResultResponse.h>
#include <huaweicloud/drs/v5/model/ShowComparePolicyRequest.h>
Expand Down Expand Up @@ -194,6 +196,9 @@
#include <huaweicloud/drs/v5/model/SyncUserJdbcDriverRequest.h>
#include <huaweicloud/drs/v5/model/SyncUserJdbcDriverResponse.h>
#include <huaweicloud/drs/v5/model/ToPeriodReq.h>
#include <huaweicloud/drs/v5/model/UpdateAgencyPolicyRequest.h>
#include <huaweicloud/drs/v5/model/UpdateAgencyPolicyRequestBody.h>
#include <huaweicloud/drs/v5/model/UpdateAgencyPolicyResponse.h>
#include <huaweicloud/drs/v5/model/UpdateBatchAsyncJobsRequest.h>
#include <huaweicloud/drs/v5/model/UpdateBatchAsyncJobsResponse.h>
#include <huaweicloud/drs/v5/model/UpdateComparePolicyRequest.h>
Expand Down Expand Up @@ -652,6 +657,14 @@ class HUAWEICLOUD_DRS_V5_EXPORT DrsClient : public Client
std::shared_ptr<ShowActionsResponse> showActions(
ShowActionsRequest &request
);
// 查询委托权限详情
//
// 查询委托权限详情
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<ShowAgencyInfoResponse> showAgencyInfo(
ShowAgencyInfoRequest &request
);
// 获取指定数据库表列信息
//
// 获取指定数据库表列信息
Expand Down Expand Up @@ -890,6 +903,14 @@ class HUAWEICLOUD_DRS_V5_EXPORT DrsClient : public Client
std::shared_ptr<SyncUserJdbcDriverResponse> syncUserJdbcDriver(
SyncUserJdbcDriverRequest &request
);
// 更新委托权限策略
//
// 更新委托权限策略
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<UpdateAgencyPolicyResponse> updateAgencyPolicy(
UpdateAgencyPolicyRequest &request
);
// 更新指定ID批量异步任务详情
//
// 更新租户指定ID批量异步任务详情。
Expand Down
2 changes: 2 additions & 0 deletions drs/include/huaweicloud/drs/v5/DrsMeta.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class HUAWEICLOUD_DRS_V5_EXPORT DrsMeta {
static HttpRequestDef genRequestDefForListsAgencyPermissions();
static HttpRequestDef genRequestDefForModifyConnection();
static HttpRequestDef genRequestDefForShowActions();
static HttpRequestDef genRequestDefForShowAgencyInfo();
static HttpRequestDef genRequestDefForShowColumnInfoResult();
static HttpRequestDef genRequestDefForShowComparePolicy();
static HttpRequestDef genRequestDefForShowDataFilteringResult();
Expand Down Expand Up @@ -91,6 +92,7 @@ class HUAWEICLOUD_DRS_V5_EXPORT DrsMeta {
static HttpRequestDef genRequestDefForStopJobAction();
static HttpRequestDef genRequestDefForSyncJdbcDriver();
static HttpRequestDef genRequestDefForSyncUserJdbcDriver();
static HttpRequestDef genRequestDefForUpdateAgencyPolicy();
static HttpRequestDef genRequestDefForUpdateBatchAsyncJobs();
static HttpRequestDef genRequestDefForUpdateComparePolicy();
static HttpRequestDef genRequestDefForUpdateDataProgress();
Expand Down
75 changes: 75 additions & 0 deletions drs/include/huaweicloud/drs/v5/model/AgencyRole.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@

#ifndef HUAWEICLOUD_SDK_DRS_V5_MODEL_AgencyRole_H_
#define HUAWEICLOUD_SDK_DRS_V5_MODEL_AgencyRole_H_


#include <huaweicloud/drs/v5/DrsExport.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 Drs {
namespace V5 {
namespace Model {

using namespace HuaweiCloud::Sdk::Core::Utils;
using namespace HuaweiCloud::Sdk::Core::Http;
/// <summary>
///
/// </summary>
class HUAWEICLOUD_DRS_V5_EXPORT AgencyRole
: public ModelBase
{
public:
AgencyRole();
virtual ~AgencyRole();

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

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

/// <summary>
/// 策略名称。
/// </summary>

std::string getName() const;
bool nameIsSet() const;
void unsetname();
void setName(const std::string& value);

/// <summary>
/// 策略描述。
/// </summary>

std::string getDescription() const;
bool descriptionIsSet() const;
void unsetdescription();
void setDescription(const std::string& value);


protected:
std::string name_;
bool nameIsSet_;
std::string description_;
bool descriptionIsSet_;

};


}
}
}
}
}

#endif // HUAWEICLOUD_SDK_DRS_V5_MODEL_AgencyRole_H_
82 changes: 82 additions & 0 deletions drs/include/huaweicloud/drs/v5/model/ShowAgencyInfoRequest.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@

#ifndef HUAWEICLOUD_SDK_DRS_V5_MODEL_ShowAgencyInfoRequest_H_
#define HUAWEICLOUD_SDK_DRS_V5_MODEL_ShowAgencyInfoRequest_H_


#include <huaweicloud/drs/v5/DrsExport.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 Drs {
namespace V5 {
namespace Model {

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

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

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

/// <summary>
/// 请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
/// </summary>

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

/// <summary>
/// 委托名称。
/// </summary>

std::string getAgencyName() const;
bool agencyNameIsSet() const;
void unsetagencyName();
void setAgencyName(const std::string& value);


protected:
std::string xLanguage_;
bool xLanguageIsSet_;
std::string agencyName_;
bool agencyNameIsSet_;

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


}
}
}
}
}

#endif // HUAWEICLOUD_SDK_DRS_V5_MODEL_ShowAgencyInfoRequest_H_
Loading

0 comments on commit 4bf6801

Please sign in to comment.