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 Nov 7, 2024
1 parent f35d05e commit c09fe81
Show file tree
Hide file tree
Showing 104 changed files with 3,559 additions and 909 deletions.
86 changes: 86 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,89 @@
# 3.1.119 2024-11-07

### HuaweiCloud SDK AAD

- _API Version_
- V2
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **UpgradeInstanceSpec**
- changes of request param
- `+ upgrade_data.elastic_service_bandwidth_type`
- `+ upgrade_data.elastic_service_bandwidth`

### HuaweiCloud SDK GaussDBforNoSQL

- _API Version_
- V3
- _Features_
- Support the API `BatchUpgradeDatabaseVersion`
- _Bug Fix_
- None
- _Change_
- None

### HuaweiCloud SDK IoTDA

- _API Version_
- V5
- _Features_
- Support the following APIs:
- `ListAsyncHistoryCommands`
- `CountAsyncHistoryCommands`
- `ListFunctions`
- `AddFunctions`
- `DeleteFunctions`
- `ListAsyncCommands`
- _Bug Fix_
- None
- _Change_
- None

### HuaweiCloud SDK MPC

- _API Version_
- V1
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **CreateExtractTask**
- changes of request param
- `+ encryption`
- **CreateTranscodingTask**
- changes of request param
- `+ av_parameters.video.crf`
- `+ av_parameters.video.max_bitrate`
- **ListTranscodingTask**
- changes of response param
- `+ task_array.av_parameters.video.crf`
- `+ task_array.av_parameters.video.max_bitrate`
- **CreateEditingJob**
- changes of request param
- `+ concats.av_parameters.video.crf`
- `+ concats.av_parameters.video.max_bitrate`
- **ListEditingJob**
- changes of response param
- `+ jobs.edit_task_req.concats.av_parameters.video.crf`
- `+ jobs.edit_task_req.concats.av_parameters.video.max_bitrate`

### HuaweiCloud SDK VPCEP

- _API Version_
- V1
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ListEndpointInfoDetails**
- changes of response param
- `* error: object<QueryError> -> list<QueryError>`

# 3.1.118 2024-10-31

### HuaweiCloud SDK CFW
Expand Down
86 changes: 86 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,89 @@
# 3.1.119 2024-11-07

### HuaweiCloud SDK AAD

- _接口版本_
- V2
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **UpgradeInstanceSpec**
- 请求参数变更
- `+ upgrade_data.elastic_service_bandwidth_type`
- `+ upgrade_data.elastic_service_bandwidth`

### HuaweiCloud SDK GaussDBforNoSQL

- _接口版本_
- V3
- _新增特性_
- 支持接口`BatchUpgradeDatabaseVersion`
- _解决问题_
- 无
- _特性变更_
- 无

### HuaweiCloud SDK IoTDA

- _接口版本_
- V5
- _新增特性_
- 支持以下接口:
- `ListAsyncHistoryCommands`
- `CountAsyncHistoryCommands`
- `ListFunctions`
- `AddFunctions`
- `DeleteFunctions`
- `ListAsyncCommands`
- _解决问题_
- 无
- _特性变更_
- 无

### HuaweiCloud SDK MPC

- _接口版本_
- V1
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **CreateExtractTask**
- 请求参数变更
- `+ encryption`
- **CreateTranscodingTask**
- 请求参数变更
- `+ av_parameters.video.crf`
- `+ av_parameters.video.max_bitrate`
- **ListTranscodingTask**
- 响应参数变更
- `+ task_array.av_parameters.video.crf`
- `+ task_array.av_parameters.video.max_bitrate`
- **CreateEditingJob**
- 请求参数变更
- `+ concats.av_parameters.video.crf`
- `+ concats.av_parameters.video.max_bitrate`
- **ListEditingJob**
- 响应参数变更
- `+ jobs.edit_task_req.concats.av_parameters.video.crf`
- `+ jobs.edit_task_req.concats.av_parameters.video.max_bitrate`

### HuaweiCloud SDK VPCEP

- _接口版本_
- V1
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **ListEndpointInfoDetails**
- 响应参数变更
- `* error: object<QueryError> -> list<QueryError>`

# 3.1.118 2024-10-31

### HuaweiCloud SDK CFW
Expand Down
1,572 changes: 786 additions & 786 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.118</Version>
<Version>3.1.119</Version>
<Authors>HuaweiCloud</Authors>
<Copyright>Copyright 2023 Huawei Technologies Co., Ltd.</Copyright>
<Company>Huawei Technologies Co., Ltd.</Company>
Expand Down
48 changes: 24 additions & 24 deletions Services/Aad/V2/AadAsyncClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,30 @@ public AsyncInvoker<CreateDomainResponse> CreateDomainAsyncInvoker(CreateDomainR
return new AsyncInvoker<CreateDomainResponse>(this, "POST", request, JsonUtils.DeSerialize<CreateDomainResponse>);
}

/// <summary>
/// 删除防护域名
///
/// 删除防护域名
///
/// Please refer to HUAWEI cloud API Explorer for details.
/// </summary>
public async Task<DeleteDomainResponse> DeleteDomainAsync(DeleteDomainRequest deleteDomainRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v2/aad/domains", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteDomainRequest);
var response = await DoHttpRequestAsync("DELETE", request);
return JsonUtils.DeSerialize<DeleteDomainResponse>(response);
}

public AsyncInvoker<DeleteDomainResponse> DeleteDomainAsyncInvoker(DeleteDomainRequest deleteDomainRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v2/aad/domains", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteDomainRequest);
return new AsyncInvoker<DeleteDomainResponse>(this, "DELETE", request, JsonUtils.DeSerialize<DeleteDomainResponse>);
}

/// <summary>
/// 查询DDoS攻击事件列表
///
Expand Down Expand Up @@ -457,29 +481,5 @@ public AsyncInvoker<UpgradeInstanceSpecResponse> UpgradeInstanceSpecAsyncInvoker
return new AsyncInvoker<UpgradeInstanceSpecResponse>(this, "PUT", request, JsonUtils.DeSerialize<UpgradeInstanceSpecResponse>);
}

/// <summary>
/// 删除防护域名
///
/// 删除防护域名
///
/// Please refer to HUAWEI cloud API Explorer for details.
/// </summary>
public async Task<DeleteDomainResponse> DeleteDomainAsync(DeleteDomainRequest deleteDomainRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v2/aad/domains", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteDomainRequest);
var response = await DoHttpRequestAsync("DELETE", request);
return JsonUtils.DeSerialize<DeleteDomainResponse>(response);
}

public AsyncInvoker<DeleteDomainResponse> DeleteDomainAsyncInvoker(DeleteDomainRequest deleteDomainRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v2/aad/domains", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteDomainRequest);
return new AsyncInvoker<DeleteDomainResponse>(this, "DELETE", request, JsonUtils.DeSerialize<DeleteDomainResponse>);
}

}
}
48 changes: 24 additions & 24 deletions Services/Aad/V2/AadClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,30 @@ public SyncInvoker<CreateDomainResponse> CreateDomainInvoker(CreateDomainRequest
return new SyncInvoker<CreateDomainResponse>(this, "POST", request, JsonUtils.DeSerialize<CreateDomainResponse>);
}

/// <summary>
/// 删除防护域名
///
/// 删除防护域名
///
/// Please refer to HUAWEI cloud API Explorer for details.
/// </summary>
public DeleteDomainResponse DeleteDomain(DeleteDomainRequest deleteDomainRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v2/aad/domains", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteDomainRequest);
var response = DoHttpRequestSync("DELETE", request);
return JsonUtils.DeSerialize<DeleteDomainResponse>(response);
}

public SyncInvoker<DeleteDomainResponse> DeleteDomainInvoker(DeleteDomainRequest deleteDomainRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v2/aad/domains", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteDomainRequest);
return new SyncInvoker<DeleteDomainResponse>(this, "DELETE", request, JsonUtils.DeSerialize<DeleteDomainResponse>);
}

/// <summary>
/// 查询DDoS攻击事件列表
///
Expand Down Expand Up @@ -456,29 +480,5 @@ public SyncInvoker<UpgradeInstanceSpecResponse> UpgradeInstanceSpecInvoker(Upgra
return new SyncInvoker<UpgradeInstanceSpecResponse>(this, "PUT", request, JsonUtils.DeSerialize<UpgradeInstanceSpecResponse>);
}

/// <summary>
/// 删除防护域名
///
/// 删除防护域名
///
/// Please refer to HUAWEI cloud API Explorer for details.
/// </summary>
public DeleteDomainResponse DeleteDomain(DeleteDomainRequest deleteDomainRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v2/aad/domains", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteDomainRequest);
var response = DoHttpRequestSync("DELETE", request);
return JsonUtils.DeSerialize<DeleteDomainResponse>(response);
}

public SyncInvoker<DeleteDomainResponse> DeleteDomainInvoker(DeleteDomainRequest deleteDomainRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v2/aad/domains", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteDomainRequest);
return new SyncInvoker<DeleteDomainResponse>(this, "DELETE", request, JsonUtils.DeSerialize<DeleteDomainResponse>);
}

}
}
18 changes: 18 additions & 0 deletions Services/Aad/V2/Model/UpgradeInstanceData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ public class UpgradeInstanceData
[JsonProperty("bind_domain_num", NullValueHandling = NullValueHandling.Ignore)]
public int? BindDomainNum { get; set; }

/// <summary>
/// 弹性业务带宽,0-关闭,3-月95
/// </summary>
[JsonProperty("elastic_service_bandwidth_type", NullValueHandling = NullValueHandling.Ignore)]
public int? ElasticServiceBandwidthType { get; set; }

/// <summary>
/// 弹性业务带宽增加值
/// </summary>
[JsonProperty("elastic_service_bandwidth", NullValueHandling = NullValueHandling.Ignore)]
public int? ElasticServiceBandwidth { get; set; }



/// <summary>
Expand All @@ -60,6 +72,8 @@ public override string ToString()
sb.Append(" serviceBandwidth: ").Append(ServiceBandwidth).Append("\n");
sb.Append(" portNum: ").Append(PortNum).Append("\n");
sb.Append(" bindDomainNum: ").Append(BindDomainNum).Append("\n");
sb.Append(" elasticServiceBandwidthType: ").Append(ElasticServiceBandwidthType).Append("\n");
sb.Append(" elasticServiceBandwidth: ").Append(ElasticServiceBandwidth).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand All @@ -83,6 +97,8 @@ public bool Equals(UpgradeInstanceData input)
if (this.ServiceBandwidth != input.ServiceBandwidth || (this.ServiceBandwidth != null && !this.ServiceBandwidth.Equals(input.ServiceBandwidth))) return false;
if (this.PortNum != input.PortNum || (this.PortNum != null && !this.PortNum.Equals(input.PortNum))) return false;
if (this.BindDomainNum != input.BindDomainNum || (this.BindDomainNum != null && !this.BindDomainNum.Equals(input.BindDomainNum))) return false;
if (this.ElasticServiceBandwidthType != input.ElasticServiceBandwidthType || (this.ElasticServiceBandwidthType != null && !this.ElasticServiceBandwidthType.Equals(input.ElasticServiceBandwidthType))) return false;
if (this.ElasticServiceBandwidth != input.ElasticServiceBandwidth || (this.ElasticServiceBandwidth != null && !this.ElasticServiceBandwidth.Equals(input.ElasticServiceBandwidth))) return false;

return true;
}
Expand All @@ -100,6 +116,8 @@ public override int GetHashCode()
if (this.ServiceBandwidth != null) hashCode = hashCode * 59 + this.ServiceBandwidth.GetHashCode();
if (this.PortNum != null) hashCode = hashCode * 59 + this.PortNum.GetHashCode();
if (this.BindDomainNum != null) hashCode = hashCode * 59 + this.BindDomainNum.GetHashCode();
if (this.ElasticServiceBandwidthType != null) hashCode = hashCode * 59 + this.ElasticServiceBandwidthType.GetHashCode();
if (this.ElasticServiceBandwidth != null) hashCode = hashCode * 59 + this.ElasticServiceBandwidth.GetHashCode();
return hashCode;
}
}
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.118</Version>
<Version>3.1.119</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.118</Version>
<Version>3.1.119</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.118</Version>
<Version>3.1.119</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.118</Version>
<Version>3.1.119</Version>
<Authors>HuaweiCloud</Authors>
<Copyright>Copyright 2023 Huawei Technologies Co., Ltd.</Copyright>
<Company>Huawei Technologies Co., Ltd.</Company>
Expand Down
Loading

0 comments on commit c09fe81

Please sign in to comment.