Skip to content

Commit

Permalink
release 3.1.74 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Dec 27, 2023
1 parent acafeb6 commit 8c8e275
Show file tree
Hide file tree
Showing 152 changed files with 6,522 additions and 824 deletions.
73 changes: 73 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,76 @@
# 3.1.74 2023-12-27

### HuaweiCloud SDK AAD

- _Features_
- Support the following APIs:
- `CreateAadDomain`
- `CreateCertificate`
- `ModifyDomainWebSwitch`
- `ListSourceIps`
- `AddBlackWhiteIpList`
- `DeleteBlackWhiteIpList`
- _Bug Fix_
- None
- _Change_
- None

### HuaweiCloud SDK CSMS

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ListResourceInstances**
- changes of response param
- `+ resources.sys_tags`

### HuaweiCloud SDK DCS

- _Features_
- Support the APIs `ShowInstanceSslDetail`, `UpdateSslSwitch`, `DownloadSslCert`
- _Bug Fix_
- None
- _Change_
- None

### HuaweiCloud SDK DDS

- _Features_
- Support the API `ShowClientNetwork`
- _Bug Fix_
- None
- _Change_
- None

### HuaweiCloud SDK GaussDBforNoSQL

- _Features_
- Support the API `ListJobs`
- _Bug Fix_
- None
- _Change_
- None

### HuaweiCloud SDK Kafka

- _Features_
- Support the APIs `CreateShrinkageJob`, `ShowShrinkCheckResult`
- _Bug Fix_
- None
- _Change_
- None

### HuaweiCloud SDK RDS

- _Features_
- Support the APIs `SetInstancesNewDbShrink`, `StopBackup`
- _Bug Fix_
- None
- _Change_
- None

# 3.1.73 2023-12-22

### HuaweiCloud SDK Kafka
Expand Down
73 changes: 73 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,76 @@
# 3.1.74 2023-12-27

### HuaweiCloud SDK AAD

- _新增特性_
- 支持以下接口:
- `CreateAadDomain`
- `CreateCertificate`
- `ModifyDomainWebSwitch`
- `ListSourceIps`
- `AddBlackWhiteIpList`
- `DeleteBlackWhiteIpList`
- _解决问题_
- 无
- _特性变更_
- 无

### HuaweiCloud SDK CSMS

- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **ListResourceInstances**
- 响应参数变更
- `+ resources.sys_tags`

### HuaweiCloud SDK DCS

- _新增特性_
- 支持接口`ShowInstanceSslDetail`、`UpdateSslSwitch`、`DownloadSslCert`
- _解决问题_
- 无
- _特性变更_
- 无

### HuaweiCloud SDK DDS

- _新增特性_
- 支持接口`ShowClientNetwork`
- _解决问题_
- 无
- _特性变更_
- 无

### HuaweiCloud SDK GaussDBforNoSQL

- _新增特性_
- 支持接口`ListJobs`
- _解决问题_
- 无
- _特性变更_
- 无

### HuaweiCloud SDK Kafka

- _新增特性_
- 支持接口`CreateShrinkageJob`、`ShowShrinkCheckResult`
- _解决问题_
- 无
- _特性变更_
- 无

### HuaweiCloud SDK RDS

- _新增特性_
- 支持接口`SetInstancesNewDbShrink`、`StopBackup`
- _解决问题_
- 无
- _特性变更_
- 无

# 3.1.73 2023-12-22

### HuaweiCloud SDK Kafka
Expand Down
1,434 changes: 716 additions & 718 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.73</Version>
<Version>3.1.74</Version>
<Authors>HuaweiCloud</Authors>
<Copyright>Copyright 2023 Huawei Technologies Co., Ltd.</Copyright>
<Company>Huawei Technologies Co., Ltd.</Company>
Expand Down
144 changes: 144 additions & 0 deletions Services/Aad/V1/AadAsyncClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,30 @@ public AsyncInvoker<ShowUnblockRecordResponse> ShowUnblockRecordAsyncInvoker(Sho
return new AsyncInvoker<ShowUnblockRecordResponse>(this, "GET", request, JsonUtils.DeSerialize<ShowUnblockRecordResponse>);
}

/// <summary>
/// 高防实例添加黑白名单
///
/// 高防实例添加黑白名单
///
/// Please refer to HUAWEI cloud API Explorer for details.
/// </summary>
public async Task<AddBlackWhiteIpListResponse> AddBlackWhiteIpListAsync(AddBlackWhiteIpListRequest addBlackWhiteIpListRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/bwlist", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", addBlackWhiteIpListRequest);
var response = await DoHttpRequestAsync("POST", request);
return JsonUtils.DeSerializeNull<AddBlackWhiteIpListResponse>(response);
}

public AsyncInvoker<AddBlackWhiteIpListResponse> AddBlackWhiteIpListAsyncInvoker(AddBlackWhiteIpListRequest addBlackWhiteIpListRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/bwlist", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", addBlackWhiteIpListRequest);
return new AsyncInvoker<AddBlackWhiteIpListResponse>(this, "POST", request, JsonUtils.DeSerializeNull<AddBlackWhiteIpListResponse>);
}

/// <summary>
/// 策略添加黑白名单
///
Expand Down Expand Up @@ -253,6 +277,54 @@ public AsyncInvoker<BatchDeleteInstanceIpRuleResponse> BatchDeleteInstanceIpRule
return new AsyncInvoker<BatchDeleteInstanceIpRuleResponse>(this, "POST", request, JsonUtils.DeSerialize<BatchDeleteInstanceIpRuleResponse>);
}

/// <summary>
/// 创建防护域名
///
/// 创建防护域名
///
/// Please refer to HUAWEI cloud API Explorer for details.
/// </summary>
public async Task<CreateAadDomainResponse> CreateAadDomainAsync(CreateAadDomainRequest createAadDomainRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/domains", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", createAadDomainRequest);
var response = await DoHttpRequestAsync("POST", request);
return JsonUtils.DeSerialize<CreateAadDomainResponse>(response);
}

public AsyncInvoker<CreateAadDomainResponse> CreateAadDomainAsyncInvoker(CreateAadDomainRequest createAadDomainRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/domains", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", createAadDomainRequest);
return new AsyncInvoker<CreateAadDomainResponse>(this, "POST", request, JsonUtils.DeSerialize<CreateAadDomainResponse>);
}

/// <summary>
/// 上传/修改域名对应证书
///
/// 上传/修改域名对应证书
///
/// Please refer to HUAWEI cloud API Explorer for details.
/// </summary>
public async Task<CreateCertificateResponse> CreateCertificateAsync(CreateCertificateRequest createCertificateRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/domains/certificate", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", createCertificateRequest);
var response = await DoHttpRequestAsync("POST", request);
return JsonUtils.DeSerializeNull<CreateCertificateResponse>(response);
}

public AsyncInvoker<CreateCertificateResponse> CreateCertificateAsyncInvoker(CreateCertificateRequest createCertificateRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/domains/certificate", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", createCertificateRequest);
return new AsyncInvoker<CreateCertificateResponse>(this, "POST", request, JsonUtils.DeSerializeNull<CreateCertificateResponse>);
}

/// <summary>
/// 创建策略
///
Expand Down Expand Up @@ -301,6 +373,30 @@ public AsyncInvoker<DeleteAlarmConfigResponse> DeleteAlarmConfigAsyncInvoker(Del
return new AsyncInvoker<DeleteAlarmConfigResponse>(this, "DELETE", request, JsonUtils.DeSerialize<DeleteAlarmConfigResponse>);
}

/// <summary>
/// 高防实例删除黑白名单
///
/// 高防实例删除黑白名单
///
/// Please refer to HUAWEI cloud API Explorer for details.
/// </summary>
public async Task<DeleteBlackWhiteIpListResponse> DeleteBlackWhiteIpListAsync(DeleteBlackWhiteIpListRequest deleteBlackWhiteIpListRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/bwlist", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteBlackWhiteIpListRequest);
var response = await DoHttpRequestAsync("DELETE", request);
return JsonUtils.DeSerializeNull<DeleteBlackWhiteIpListResponse>(response);
}

public AsyncInvoker<DeleteBlackWhiteIpListResponse> DeleteBlackWhiteIpListAsyncInvoker(DeleteBlackWhiteIpListRequest deleteBlackWhiteIpListRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/bwlist", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteBlackWhiteIpListRequest);
return new AsyncInvoker<DeleteBlackWhiteIpListResponse>(this, "DELETE", request, JsonUtils.DeSerializeNull<DeleteBlackWhiteIpListResponse>);
}

/// <summary>
/// 删除策略
///
Expand Down Expand Up @@ -581,6 +677,30 @@ public AsyncInvoker<ListProtectedIpResponse> ListProtectedIpAsyncInvoker(ListPro
return new AsyncInvoker<ListProtectedIpResponse>(this, "GET", request, JsonUtils.DeSerialize<ListProtectedIpResponse>);
}

/// <summary>
/// 查询高防回源IP段列表
///
/// 查询高防回源IP段列表
///
/// Please refer to HUAWEI cloud API Explorer for details.
/// </summary>
public async Task<ListSourceIpsResponse> ListSourceIpsAsync(ListSourceIpsRequest listSourceIpsRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/source-ip", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", listSourceIpsRequest);
var response = await DoHttpRequestAsync("GET", request);
return JsonUtils.DeSerialize<ListSourceIpsResponse>(response);
}

public AsyncInvoker<ListSourceIpsResponse> ListSourceIpsAsyncInvoker(ListSourceIpsRequest listSourceIpsRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/source-ip", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", listSourceIpsRequest);
return new AsyncInvoker<ListSourceIpsResponse>(this, "GET", request, JsonUtils.DeSerialize<ListSourceIpsResponse>);
}

/// <summary>
/// 查询可绑定的防护对象列表
///
Expand All @@ -607,6 +727,30 @@ public AsyncInvoker<ListUnboundProtectedIpResponse> ListUnboundProtectedIpAsyncI
return new AsyncInvoker<ListUnboundProtectedIpResponse>(this, "GET", request, JsonUtils.DeSerialize<ListUnboundProtectedIpResponse>);
}

/// <summary>
/// 修改域名WEB基础防护开关/CC防护开关
///
/// 修改域名WEB基础防护开关/CC防护开关
///
/// Please refer to HUAWEI cloud API Explorer for details.
/// </summary>
public async Task<ModifyDomainWebSwitchResponse> ModifyDomainWebSwitchAsync(ModifyDomainWebSwitchRequest modifyDomainWebSwitchRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/domains/switch", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", modifyDomainWebSwitchRequest);
var response = await DoHttpRequestAsync("POST", request);
return JsonUtils.DeSerializeNull<ModifyDomainWebSwitchResponse>(response);
}

public AsyncInvoker<ModifyDomainWebSwitchResponse> ModifyDomainWebSwitchAsyncInvoker(ModifyDomainWebSwitchRequest modifyDomainWebSwitchRequest)
{
var urlParam = new Dictionary<string, string>();
var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/aad/external/domains/switch", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", modifyDomainWebSwitchRequest);
return new AsyncInvoker<ModifyDomainWebSwitchResponse>(this, "POST", request, JsonUtils.DeSerializeNull<ModifyDomainWebSwitchResponse>);
}

/// <summary>
/// 查询告警配置
///
Expand Down
Loading

0 comments on commit 8c8e275

Please sign in to comment.