Skip to content

Commit

Permalink
release 3.1.132 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Feb 6, 2025
1 parent d210a2a commit b232952
Show file tree
Hide file tree
Showing 269 changed files with 22,304 additions and 892 deletions.
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,58 @@
# 3.1.132 2025-02-06

### HuaweiCloud SDK CCE

- _API Version_
- V3
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ShowClusterSupportConfiguration**
- changes of request param
- `+ cluster_id`
- `+ cluster_type`
- `+ cluster_version`
- `+ network_mode`
- `- cluster_id`
- `- cluster_type`
- `- cluster_version`
- `- network_mode`
- **ShowCluster**
- changes of response param
- `+ spec.clusterOps`
- **UpdateCluster**
- changes of response param
- `+ spec.clusterOps`
- **DeleteCluster**
- changes of response param
- `+ spec.clusterOps`
- **CreateCluster**
- changes of request param
- `+ spec.clusterOps`
- changes of response param
- `+ spec.clusterOps`
- **ListClusters**
- changes of response param
- `+ items.spec.clusterOps`

### HuaweiCloud SDK RDS

- _API Version_
- V3
- _Features_
- Support the APIs `ShowDatabaseLevelDatabase`, `ShowAutoUpgradePolicy`, `SetAutoUpgradePolicy`
- _Bug Fix_
- None
- _Change_
- **CreateInstance**
- changes of request param
- `+ is_auto_upgrade`
- **CreateRestoreInstance**
- changes of request param
- `+ is_auto_upgrade`

# 3.1.131 2025-01-23

### HuaweiCloud SDK DCS
Expand Down
55 changes: 55 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,58 @@
# 3.1.132 2025-02-06

### HuaweiCloud SDK CCE

- _接口版本_
- V3
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **ShowClusterSupportConfiguration**
- 请求参数变更
- `+ cluster_id`
- `+ cluster_type`
- `+ cluster_version`
- `+ network_mode`
- `- cluster_id`
- `- cluster_type`
- `- cluster_version`
- `- network_mode`
- **ShowCluster**
- 响应参数变更
- `+ spec.clusterOps`
- **UpdateCluster**
- 响应参数变更
- `+ spec.clusterOps`
- **DeleteCluster**
- 响应参数变更
- `+ spec.clusterOps`
- **CreateCluster**
- 请求参数变更
- `+ spec.clusterOps`
- 响应参数变更
- `+ spec.clusterOps`
- **ListClusters**
- 响应参数变更
- `+ items.spec.clusterOps`

### HuaweiCloud SDK RDS

- _接口版本_
- V3
- _新增特性_
- 支持接口`ShowDatabaseLevelDatabase`、`ShowAutoUpgradePolicy`、`SetAutoUpgradePolicy`
- _解决问题_
- 无
- _特性变更_
- **CreateInstance**
- 请求参数变更
- `+ is_auto_upgrade`
- **CreateRestoreInstance**
- 请求参数变更
- `+ is_auto_upgrade`

# 3.1.131 2025-01-23

### HuaweiCloud SDK DCS
Expand Down
1,629 changes: 829 additions & 800 deletions HuaweiCloud.sln

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Services/Aad/Aad.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
<PackageId>HuaweiCloud.SDK.Aad</PackageId>
<Version>3.1.131</Version>
<Version>3.1.132</Version>
<Authors>HuaweiCloud</Authors>
<Copyright>Copyright 2023 Huawei Technologies Co., Ltd.</Copyright>
<Company>Huawei Technologies Co., Ltd.</Company>
Expand Down
2 changes: 1 addition & 1 deletion Services/AntiDDoS/AntiDDoS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
<PackageId>HuaweiCloud.SDK.AntiDDoS</PackageId>
<Version>3.1.131</Version>
<Version>3.1.132</Version>
<Authors>HuaweiCloud</Authors>
<Copyright>Copyright 2023 Huawei Technologies Co., Ltd.</Copyright>
<Company>Huawei Technologies Co., Ltd.</Company>
Expand Down
2 changes: 1 addition & 1 deletion Services/Aom/Aom.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
<PackageId>HuaweiCloud.SDK.Aom</PackageId>
<Version>3.1.131</Version>
<Version>3.1.132</Version>
<Authors>HuaweiCloud</Authors>
<Copyright>Copyright 2023 Huawei Technologies Co., Ltd.</Copyright>
<Company>Huawei Technologies Co., Ltd.</Company>
Expand Down
2 changes: 1 addition & 1 deletion Services/Aos/Aos.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
<PackageId>HuaweiCloud.SDK.Aos</PackageId>
<Version>3.1.131</Version>
<Version>3.1.132</Version>
<Authors>HuaweiCloud</Authors>
<Copyright>Copyright 2023 Huawei Technologies Co., Ltd.</Copyright>
<Company>Huawei Technologies Co., Ltd.</Company>
Expand Down
2 changes: 1 addition & 1 deletion Services/As/As.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
<PackageId>HuaweiCloud.SDK.As</PackageId>
<Version>3.1.131</Version>
<Version>3.1.132</Version>
<Authors>HuaweiCloud</Authors>
<Copyright>Copyright 2023 Huawei Technologies Co., Ltd.</Copyright>
<Company>Huawei Technologies Co., Ltd.</Company>
Expand Down
2 changes: 1 addition & 1 deletion Services/Bms/Bms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
<PackageId>HuaweiCloud.SDK.Bms</PackageId>
<Version>3.1.131</Version>
<Version>3.1.132</Version>
<Authors>HuaweiCloud</Authors>
<Copyright>Copyright 2023 Huawei Technologies Co., Ltd.</Copyright>
<Company>Huawei Technologies Co., Ltd.</Company>
Expand Down
2 changes: 1 addition & 1 deletion Services/Cbr/Cbr.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
<PackageId>HuaweiCloud.SDK.Cbr</PackageId>
<Version>3.1.131</Version>
<Version>3.1.132</Version>
<Authors>HuaweiCloud</Authors>
<Copyright>Copyright 2023 Huawei Technologies Co., Ltd.</Copyright>
<Company>Huawei Technologies Co., Ltd.</Company>
Expand Down
2 changes: 1 addition & 1 deletion Services/Cce/Cce.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
<PackageId>HuaweiCloud.SDK.Cce</PackageId>
<Version>3.1.131</Version>
<Version>3.1.132</Version>
<Authors>HuaweiCloud</Authors>
<Copyright>Copyright 2023 Huawei Technologies Co., Ltd.</Copyright>
<Company>Huawei Technologies Co., Ltd.</Company>
Expand Down
8 changes: 0 additions & 8 deletions Services/Cce/V3/CceAsyncClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1602,10 +1602,6 @@ public AsyncInvoker<ShowClusterEndpointsResponse> ShowClusterEndpointsAsyncInvok
public async Task<ShowClusterSupportConfigurationResponse> ShowClusterSupportConfigurationAsync(ShowClusterSupportConfigurationRequest showClusterSupportConfigurationRequest)
{
var urlParam = new Dictionary<string, string>();
urlParam.Add("cluster_id", showClusterSupportConfigurationRequest.ClusterId.ToString());
urlParam.Add("cluster_type", showClusterSupportConfigurationRequest.ClusterType.ToString());
urlParam.Add("cluster_version", showClusterSupportConfigurationRequest.ClusterVersion.ToString());
urlParam.Add("network_mode", showClusterSupportConfigurationRequest.NetworkMode.ToString());
var urlPath = HttpUtils.AddUrlPath("/api/v3/clusters/configuration/detail", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", showClusterSupportConfigurationRequest);
var response = await DoHttpRequestAsync("GET", request);
Expand All @@ -1617,10 +1613,6 @@ public async Task<ShowClusterSupportConfigurationResponse> ShowClusterSupportCon
public AsyncInvoker<ShowClusterSupportConfigurationResponse> ShowClusterSupportConfigurationAsyncInvoker(ShowClusterSupportConfigurationRequest showClusterSupportConfigurationRequest)
{
var urlParam = new Dictionary<string, string>();
urlParam.Add("cluster_id", showClusterSupportConfigurationRequest.ClusterId.ToString());
urlParam.Add("cluster_type", showClusterSupportConfigurationRequest.ClusterType.ToString());
urlParam.Add("cluster_version", showClusterSupportConfigurationRequest.ClusterVersion.ToString());
urlParam.Add("network_mode", showClusterSupportConfigurationRequest.NetworkMode.ToString());
var urlPath = HttpUtils.AddUrlPath("/api/v3/clusters/configuration/detail", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", showClusterSupportConfigurationRequest);
return new AsyncInvoker<ShowClusterSupportConfigurationResponse>(this, "GET", request, response =>
Expand Down
8 changes: 0 additions & 8 deletions Services/Cce/V3/CceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1601,10 +1601,6 @@ public SyncInvoker<ShowClusterEndpointsResponse> ShowClusterEndpointsInvoker(Sho
public ShowClusterSupportConfigurationResponse ShowClusterSupportConfiguration(ShowClusterSupportConfigurationRequest showClusterSupportConfigurationRequest)
{
var urlParam = new Dictionary<string, string>();
urlParam.Add("cluster_id", showClusterSupportConfigurationRequest.ClusterId.ToString());
urlParam.Add("cluster_type", showClusterSupportConfigurationRequest.ClusterType.ToString());
urlParam.Add("cluster_version", showClusterSupportConfigurationRequest.ClusterVersion.ToString());
urlParam.Add("network_mode", showClusterSupportConfigurationRequest.NetworkMode.ToString());
var urlPath = HttpUtils.AddUrlPath("/api/v3/clusters/configuration/detail", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", showClusterSupportConfigurationRequest);
var response = DoHttpRequestSync("GET", request);
Expand All @@ -1616,10 +1612,6 @@ public ShowClusterSupportConfigurationResponse ShowClusterSupportConfiguration(S
public SyncInvoker<ShowClusterSupportConfigurationResponse> ShowClusterSupportConfigurationInvoker(ShowClusterSupportConfigurationRequest showClusterSupportConfigurationRequest)
{
var urlParam = new Dictionary<string, string>();
urlParam.Add("cluster_id", showClusterSupportConfigurationRequest.ClusterId.ToString());
urlParam.Add("cluster_type", showClusterSupportConfigurationRequest.ClusterType.ToString());
urlParam.Add("cluster_version", showClusterSupportConfigurationRequest.ClusterVersion.ToString());
urlParam.Add("network_mode", showClusterSupportConfigurationRequest.NetworkMode.ToString());
var urlPath = HttpUtils.AddUrlPath("/api/v3/clusters/configuration/detail", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", showClusterSupportConfigurationRequest);
return new SyncInvoker<ShowClusterSupportConfigurationResponse>(this, "GET", request, response =>
Expand Down
98 changes: 98 additions & 0 deletions Services/Cce/V3/Model/AlarmInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;

using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;

namespace HuaweiCloud.SDK.Cce.V3.Model
{
/// <summary>
/// **参数解释:** 告警助手参数配置。基于AOM服务的告警能力实现,提供集群内的告警快速检索、告警快速配置的能力,告警中心的指标类告警规则依赖云原生监控插件上报数据到AOM实例。 **约束限制:** 不涉及
/// </summary>
public class AlarmInfo
{

/// <summary>
/// **参数解释:** 联系组列表。填写SMN主题名称,通过配置告警联系组,分组管理订阅终端,接收告警信息。 **约束限制:** 不涉及
/// </summary>
[JsonProperty("topics", NullValueHandling = NullValueHandling.Ignore)]
public List<string> Topics { get; set; }

/// <summary>
/// **参数解释:** 开启告警助手时传入告警模板ID。默认采用容器场景下的告警规则模板。 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
/// </summary>
[JsonProperty("alarmRuleTemplateId", NullValueHandling = NullValueHandling.Ignore)]
public string AlarmRuleTemplateId { get; set; }

/// <summary>
/// **参数解释:** 开启告警助手时传入AOM普罗实例的id。若未安装普罗插件或者未对接AOM实例,此参数无需指定,告警中心将不会创建指标类告警规则。 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
/// </summary>
[JsonProperty("promInstanceID", NullValueHandling = NullValueHandling.Ignore)]
public string PromInstanceID { get; set; }

/// <summary>
/// **参数解释:** 开启告警助手时传入AOM普罗实例的企业项目id。若未安装普罗插件或者未对接AOM实例,此参数无需指定,告警中心将不会创建指标类告警规则。 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
/// </summary>
[JsonProperty("promEnterpriseProjectID", NullValueHandling = NullValueHandling.Ignore)]
public string PromEnterpriseProjectID { get; set; }



/// <summary>
/// Get the string
/// </summary>
public override string ToString()
{
var sb = new StringBuilder();
sb.Append("class AlarmInfo {\n");
sb.Append(" topics: ").Append(Topics).Append("\n");
sb.Append(" alarmRuleTemplateId: ").Append(AlarmRuleTemplateId).Append("\n");
sb.Append(" promInstanceID: ").Append(PromInstanceID).Append("\n");
sb.Append(" promEnterpriseProjectID: ").Append(PromEnterpriseProjectID).Append("\n");
sb.Append("}\n");
return sb.ToString();
}

/// <summary>
/// Returns true if objects are equal
/// </summary>
public override bool Equals(object input)
{
return this.Equals(input as AlarmInfo);
}

/// <summary>
/// Returns true if objects are equal
/// </summary>
public bool Equals(AlarmInfo input)
{
if (input == null) return false;
if (this.Topics != input.Topics || (this.Topics != null && input.Topics != null && !this.Topics.SequenceEqual(input.Topics))) return false;
if (this.AlarmRuleTemplateId != input.AlarmRuleTemplateId || (this.AlarmRuleTemplateId != null && !this.AlarmRuleTemplateId.Equals(input.AlarmRuleTemplateId))) return false;
if (this.PromInstanceID != input.PromInstanceID || (this.PromInstanceID != null && !this.PromInstanceID.Equals(input.PromInstanceID))) return false;
if (this.PromEnterpriseProjectID != input.PromEnterpriseProjectID || (this.PromEnterpriseProjectID != null && !this.PromEnterpriseProjectID.Equals(input.PromEnterpriseProjectID))) return false;

return true;
}

/// <summary>
/// Get hash code
/// </summary>
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
var hashCode = 41;
if (this.Topics != null) hashCode = hashCode * 59 + this.Topics.GetHashCode();
if (this.AlarmRuleTemplateId != null) hashCode = hashCode * 59 + this.AlarmRuleTemplateId.GetHashCode();
if (this.PromInstanceID != null) hashCode = hashCode * 59 + this.PromInstanceID.GetHashCode();
if (this.PromEnterpriseProjectID != null) hashCode = hashCode * 59 + this.PromEnterpriseProjectID.GetHashCode();
return hashCode;
}
}
}
}
Loading

0 comments on commit b232952

Please sign in to comment.