Skip to content

Commit

Permalink
release 3.1.89 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Jun 6, 2024
1 parent 702c3a0 commit d359509
Show file tree
Hide file tree
Showing 165 changed files with 16,989 additions and 195 deletions.
109 changes: 109 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,112 @@
# 3.1.89 2024-06-06

### HuaweiCloud SDK ECS

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ChangeVpc**
- changes of request param
- `* nic.security_groups: object<ChangeVpcSecurityGroups> -> list<ChangeVpcSecurityGroups>`
- **ListFlavors**
- changes of response param
- `+ flavors.os_extra_specs.cond:storage:type`
- **ListResizeFlavors**
- changes of response param
- `+ flavors.extra_specs.cond:storage:type`

### HuaweiCloud SDK GaussDB

- _Features_
- Support the following APIs:
- `ShowLtsConfigs`
- `CreateLtsConfigs`
- `DeleteLtsConfigs`
- `ShowRecyclePolicy`
- `SetRecyclePolicy`
- `ListRecycleInstances`
- `ShowSlowlogSensitiveStatus`
- `UpdateSlowlogSensitiveSwitch`
- `RestartProxyInstance`
- `RenameInstanceNode`
- `ShowAutoScalingHistory`
- `UpdateServerlessPolicy`
- `ModifyNodePriority`
- `ShowInstanceEip`
- `ListParamsTemplateApplyHistory`
- `ShowProxyConfigurations`
- _Bug Fix_
- None
- _Change_
- **ShowProxyIpgroup**
- changes of response param
- `+ ip_group.id`
- `+ ip_group.name`
- `+ ip_group.ip_list`
- `* ip_group: object -> object<ProxyIpGroupDetail>`
- **UpdateGaussMySqlInstanceName**
- changes of request param
- `+ is_modify_node_name`

### HuaweiCloud SDK GaussDBforNoSQL

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **OfflineNodes**
- changes of response param
- `+ job_id`

### HuaweiCloud SDK GaussDBforopenGauss

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ListAvailableFlavors**
- changes of response param
- `+ flavors.spec_code`
- `- flavors.spec_cpde`
- **ListRestorableInstances**
- changes of response param
- `* instances.version: number -> string`
- **ListDbUsers**
- changes of response param
- `+ users.attribute`
- `+ users.lock_status`
- `- users.attributes`
- **ShowUpgradeCandidateVersions**
- changes of response param
- `+ hotfix_upgrade_infos`
- `+ hotfix_rollback_infos`

### HuaweiCloud SDK LTS

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **CreateLogStreamIndex**
- changes of request param
- `+ sqlAnalysisEnable`

### HuaweiCloud SDK RDS

- _Features_
- Support the APIs `ShowReplayDelayStatus`, `SwitchLogReplay`, `ListShareBackups`
- _Bug Fix_
- None
- _Change_
- **ListBackups**
- changes of request param
- `+ status`

# 3.1.88 2024-05-30

### HuaweiCloud SDK CDN
Expand Down
109 changes: 109 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,112 @@
# 3.1.89 2024-06-06

### HuaweiCloud SDK ECS

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- **ChangeVpc**
- 请求参数变更
- `* nic.security_groups: object<ChangeVpcSecurityGroups> -> list<ChangeVpcSecurityGroups>`
- **ListFlavors**
- 响应参数变更
- `+ flavors.os_extra_specs.cond:storage:type`
- **ListResizeFlavors**
- 响应参数变更
- `+ flavors.extra_specs.cond:storage:type`

### HuaweiCloud SDK GaussDB

- _新增特性_
- 支持以下接口:
- `ShowLtsConfigs`
- `CreateLtsConfigs`
- `DeleteLtsConfigs`
- `ShowRecyclePolicy`
- `SetRecyclePolicy`
- `ListRecycleInstances`
- `ShowSlowlogSensitiveStatus`
- `UpdateSlowlogSensitiveSwitch`
- `RestartProxyInstance`
- `RenameInstanceNode`
- `ShowAutoScalingHistory`
- `UpdateServerlessPolicy`
- `ModifyNodePriority`
- `ShowInstanceEip`
- `ListParamsTemplateApplyHistory`
- `ShowProxyConfigurations`
- _解决问题_
-
- _特性变更_
- **ShowProxyIpgroup**
- 响应参数变更
- `+ ip_group.id`
- `+ ip_group.name`
- `+ ip_group.ip_list`
- `* ip_group: object -> object<ProxyIpGroupDetail>`
- **UpdateGaussMySqlInstanceName**
- 请求参数变更
- `+ is_modify_node_name`

### HuaweiCloud SDK GaussDBforNoSQL

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- **OfflineNodes**
- 响应参数变更
- `+ job_id`

### HuaweiCloud SDK GaussDBforopenGauss

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- **ListAvailableFlavors**
- 响应参数变更
- `+ flavors.spec_code`
- `- flavors.spec_cpde`
- **ListRestorableInstances**
- 响应参数变更
- `* instances.version: number -> string`
- **ListDbUsers**
- 响应参数变更
- `+ users.attribute`
- `+ users.lock_status`
- `- users.attributes`
- **ShowUpgradeCandidateVersions**
- 响应参数变更
- `+ hotfix_upgrade_infos`
- `+ hotfix_rollback_infos`

### HuaweiCloud SDK LTS

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- **CreateLogStreamIndex**
- 请求参数变更
- `+ sqlAnalysisEnable`

### HuaweiCloud SDK RDS

- _新增特性_
- 支持接口`ShowReplayDelayStatus``SwitchLogReplay``ListShareBackups`
- _解决问题_
-
- _特性变更_
- **ListBackups**
- 请求参数变更
- `+ status`

# 3.1.88 2024-05-30

### 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.88
3.1.89
9 changes: 5 additions & 4 deletions ecs/include/huaweicloud/ecs/v2/model/ChangeVpcNicBody.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include <huaweicloud/ecs/v2/model/ChangeVpcSecurityGroups.h>
#include <string>
#include <vector>

namespace HuaweiCloud {
namespace Sdk {
Expand Down Expand Up @@ -58,13 +59,13 @@ class HUAWEICLOUD_ECS_V2_EXPORT ChangeVpcNicBody
void setSubnetId(const std::string& value);

/// <summary>
///
/// 添加网卡的安全组信息
/// </summary>

ChangeVpcSecurityGroups getSecurityGroups() const;
std::vector<ChangeVpcSecurityGroups>& getSecurityGroups();
bool securityGroupsIsSet() const;
void unsetsecurityGroups();
void setSecurityGroups(const ChangeVpcSecurityGroups& value);
void setSecurityGroups(const std::vector<ChangeVpcSecurityGroups>& value);

/// <summary>
/// P地址,无该参数表示自动分配IP地址
Expand All @@ -81,7 +82,7 @@ class HUAWEICLOUD_ECS_V2_EXPORT ChangeVpcNicBody
bool portIdIsSet_;
std::string subnetId_;
bool subnetIdIsSet_;
ChangeVpcSecurityGroups securityGroups_;
std::vector<ChangeVpcSecurityGroups> securityGroups_;
bool securityGroupsIsSet_;
std::string ipAddress_;
bool ipAddressIsSet_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <huaweicloud/core/utils/Utils.h>
#include <huaweicloud/core/http/HttpResponse.h>

#include <huaweicloud/core/utils/Object.h>
#include <string>

namespace HuaweiCloud {
namespace Sdk {
Expand Down Expand Up @@ -42,14 +42,14 @@ class HUAWEICLOUD_ECS_V2_EXPORT ChangeVpcSecurityGroups
/// 安全组id
/// </summary>

Object getId() const;
std::string getId() const;
bool idIsSet() const;
void unsetid();
void setId(const Object& value);
void setId(const std::string& value);


protected:
Object id_;
std::string id_;
bool idIsSet_;

};
Expand Down
11 changes: 11 additions & 0 deletions ecs/include/huaweicloud/ecs/v2/model/FlavorExtraSpec.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,15 @@ class HUAWEICLOUD_ECS_V2_EXPORT FlavorExtraSpec
void unsetcondStorage();
void setCondStorage(const std::string& value);

/// <summary>
/// 存储约束 - 支持磁盘特性,不配置时以UI配置为准。
/// </summary>

std::string getCondStorageType() const;
bool condStorageTypeIsSet() const;
void unsetcondStorageType();
void setCondStorageType(const std::string& value);

/// <summary>
/// 计算约束 - true,支持在线扩容。 - false或不存在该字段,不支持在线扩容。
/// </summary>
Expand Down Expand Up @@ -409,6 +418,8 @@ class HUAWEICLOUD_ECS_V2_EXPORT FlavorExtraSpec
bool condNetworkIsSet_;
std::string condStorage_;
bool condStorageIsSet_;
std::string condStorageType_;
bool condStorageTypeIsSet_;
std::string condComputeLiveResizable_;
bool condComputeLiveResizableIsSet_;
std::string condCompute_;
Expand Down
6 changes: 3 additions & 3 deletions ecs/src/v2/model/ChangeVpcNicBody.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ bool ChangeVpcNicBody::fromJson(const web::json::value& val)
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("security_groups"));
if(!fieldValue.is_null())
{
ChangeVpcSecurityGroups refVal;
std::vector<ChangeVpcSecurityGroups> refVal;
ok &= ModelBase::fromJson(fieldValue, refVal);
setSecurityGroups(refVal);
}
Expand Down Expand Up @@ -132,12 +132,12 @@ void ChangeVpcNicBody::unsetsubnetId()
subnetIdIsSet_ = false;
}

ChangeVpcSecurityGroups ChangeVpcNicBody::getSecurityGroups() const
std::vector<ChangeVpcSecurityGroups>& ChangeVpcNicBody::getSecurityGroups()
{
return securityGroups_;
}

void ChangeVpcNicBody::setSecurityGroups(const ChangeVpcSecurityGroups& value)
void ChangeVpcNicBody::setSecurityGroups(const std::vector<ChangeVpcSecurityGroups>& value)
{
securityGroups_ = value;
securityGroupsIsSet_ = true;
Expand Down
7 changes: 4 additions & 3 deletions ecs/src/v2/model/ChangeVpcSecurityGroups.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ namespace Model {

ChangeVpcSecurityGroups::ChangeVpcSecurityGroups()
{
id_ = "";
idIsSet_ = false;
}

Expand Down Expand Up @@ -39,7 +40,7 @@ bool ChangeVpcSecurityGroups::fromJson(const web::json::value& val)
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("id"));
if(!fieldValue.is_null())
{
Object refVal;
std::string refVal;
ok &= ModelBase::fromJson(fieldValue, refVal);
setId(refVal);
}
Expand All @@ -48,12 +49,12 @@ bool ChangeVpcSecurityGroups::fromJson(const web::json::value& val)
}


Object ChangeVpcSecurityGroups::getId() const
std::string ChangeVpcSecurityGroups::getId() const
{
return id_;
}

void ChangeVpcSecurityGroups::setId(const Object& value)
void ChangeVpcSecurityGroups::setId(const std::string& value)
{
id_ = value;
idIsSet_ = true;
Expand Down
Loading

0 comments on commit d359509

Please sign in to comment.