Skip to content

Commit

Permalink
release 0.0.25-beta source code for go
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Dec 15, 2020
1 parent fdfb9a8 commit f4ade8b
Show file tree
Hide file tree
Showing 338 changed files with 14,371 additions and 954 deletions.
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
## 0.0.25-beta 2020-12-15
## HuaweiCloud SDK CCE
- ### Features
- Support Cloud Container Engine service.
- ### Bug Fix
- None
- ### Change
- None

## HuaweiCloud SDK ELB
- ### Features
- None
- ### Bug Fix
- Fix the problem that sending request to interface `CreateListener` returns empty response.
- Fix the problem that sending request to interface `CreateListener` returns response with wrong type.
- ### Change
- None

## HuaweiCloud SDK FunctionGraph
- ### Features
- Support more interfaces: UpdateFunctionReservedInstances.
- ### Bug Fix
- None
- ### Change
- None

## HuaweiCloud SDK NAT
- ### Features
- None
- ### Bug Fix
- Fix the problem that using interface `BatchCreateNatGatewayDnatRules` failed.
- ### Change
- None


## 0.0.24-beta 2020-12-04
## HuaweiCloud SDK SMN
- ### Features
Expand Down
35 changes: 35 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
## 0.0.25-beta 2020-12-15
## HuaweiCloud SDK CCE
- ### 新增特性
- 支持云容器引擎服务
- ### 解决问题
-
- ### 特性变更
-

## HuaweiCloud SDK ELB
- ### 新增特性
-
- ### 解决问题
- 创建监听器接口返回为空问题修复
- 证书列表查询接口返回非列表问题修复
- ### 特性变更
-

## HuaweiCloud SDK FunctionGraph
- ### 新增特性
- 新增支持接口:更新函数预留实例个数
- ### 解决问题
-
- ### 特性变更
-

## HuaweiCloud SDK NAT
- ### 新增特性
-
- ### 解决问题
- 修复批量创建DNAT规则失败的问题
- ### 特性变更
-


## 0.0.24-beta 2020-12-04
## HuaweiCloud SDK SMN
- ### 新增特性
Expand Down
120 changes: 80 additions & 40 deletions services/apig/v2/apig_meta.go

Large diffs are not rendered by default.

69 changes: 46 additions & 23 deletions services/as/v1/as_meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ func GenReqDefForDeleteLifecycleHook() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodDelete).
WithPath("/autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/{lifecycle_hook_name}").
WithResponse(new(model.DeleteLifecycleHookResponse))
WithResponse(new(model.DeleteLifecycleHookResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -204,7 +205,8 @@ func GenReqDefForDeleteScalingConfig() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodDelete).
WithPath("/autoscaling-api/v1/{project_id}/scaling_configuration/{scaling_configuration_id}").
WithResponse(new(model.DeleteScalingConfigResponse))
WithResponse(new(model.DeleteScalingConfigResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -222,7 +224,8 @@ func GenReqDefForDeleteScalingGroup() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodDelete).
WithPath("/autoscaling-api/v1/{project_id}/scaling_group/{scaling_group_id}").
WithResponse(new(model.DeleteScalingGroupResponse))
WithResponse(new(model.DeleteScalingGroupResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -245,7 +248,8 @@ func GenReqDefForDeleteScalingInstance() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodDelete).
WithPath("/autoscaling-api/v1/{project_id}/scaling_group_instance/{instance_id}").
WithResponse(new(model.DeleteScalingInstanceResponse))
WithResponse(new(model.DeleteScalingInstanceResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -268,7 +272,8 @@ func GenReqDefForDeleteScalingNotification() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodDelete).
WithPath("/autoscaling-api/v1/{project_id}/scaling_notification/{scaling_group_id}/{topic_urn}").
WithResponse(new(model.DeleteScalingNotificationResponse))
WithResponse(new(model.DeleteScalingNotificationResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -290,7 +295,8 @@ func GenReqDefForDeleteScalingPolicy() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodDelete).
WithPath("/autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id}").
WithResponse(new(model.DeleteScalingPolicyResponse))
WithResponse(new(model.DeleteScalingPolicyResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand Down Expand Up @@ -381,7 +387,8 @@ func GenReqDefForListHookInstances() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_instance_hook/{scaling_group_id}/list").
WithResponse(new(model.ListHookInstancesResponse))
WithResponse(new(model.ListHookInstancesResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -404,7 +411,8 @@ func GenReqDefForListLifeCycleHooks() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/list").
WithResponse(new(model.ListLifeCycleHooksResponse))
WithResponse(new(model.ListLifeCycleHooksResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand Down Expand Up @@ -445,7 +453,8 @@ func GenReqDefForListScalingActivityLogs() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_activity_log/{scaling_group_id}").
WithResponse(new(model.ListScalingActivityLogsResponse))
WithResponse(new(model.ListScalingActivityLogsResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand Down Expand Up @@ -480,7 +489,8 @@ func GenReqDefForListScalingConfigs() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_configuration").
WithResponse(new(model.ListScalingConfigsResponse))
WithResponse(new(model.ListScalingConfigsResponse)).
WithContentType("application/json")

// request

Expand Down Expand Up @@ -511,7 +521,8 @@ func GenReqDefForListScalingGroups() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_group").
WithResponse(new(model.ListScalingGroupsResponse))
WithResponse(new(model.ListScalingGroupsResponse)).
WithContentType("application/json")

// request

Expand Down Expand Up @@ -546,7 +557,8 @@ func GenReqDefForListScalingInstances() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_group_instance/{scaling_group_id}/list").
WithResponse(new(model.ListScalingInstancesResponse))
WithResponse(new(model.ListScalingInstancesResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand Down Expand Up @@ -585,7 +597,8 @@ func GenReqDefForListScalingNotifications() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_notification/{scaling_group_id}").
WithResponse(new(model.ListScalingNotificationsResponse))
WithResponse(new(model.ListScalingNotificationsResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -603,7 +616,8 @@ func GenReqDefForListScalingPolicies() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_policy/{scaling_group_id}/list").
WithResponse(new(model.ListScalingPoliciesResponse))
WithResponse(new(model.ListScalingPoliciesResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand Down Expand Up @@ -642,7 +656,8 @@ func GenReqDefForListScalingPolicyExecuteLogs() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_policy_execute_log/{scaling_policy_id}").
WithResponse(new(model.ListScalingPolicyExecuteLogsResponse))
WithResponse(new(model.ListScalingPolicyExecuteLogsResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand Down Expand Up @@ -693,7 +708,8 @@ func GenReqDefForListScalingTagInfosByResourceId() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/{resource_type}/{resource_id}/tags").
WithResponse(new(model.ListScalingTagInfosByResourceIdResponse))
WithResponse(new(model.ListScalingTagInfosByResourceIdResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -715,7 +731,8 @@ func GenReqDefForListScalingTagInfosByTenantId() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/{resource_type}/tags").
WithResponse(new(model.ListScalingTagInfosByTenantIdResponse))
WithResponse(new(model.ListScalingTagInfosByTenantIdResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -733,7 +750,8 @@ func GenReqDefForShowLifeCycleHook() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/{lifecycle_hook_name}").
WithResponse(new(model.ShowLifeCycleHookResponse))
WithResponse(new(model.ShowLifeCycleHookResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -755,7 +773,8 @@ func GenReqDefForShowPolicyAndInstanceQuota() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/quotas/{scaling_group_id}").
WithResponse(new(model.ShowPolicyAndInstanceQuotaResponse))
WithResponse(new(model.ShowPolicyAndInstanceQuotaResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -773,7 +792,8 @@ func GenReqDefForShowResourceQuota() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/quotas").
WithResponse(new(model.ShowResourceQuotaResponse))
WithResponse(new(model.ShowResourceQuotaResponse)).
WithContentType("application/json")

// request

Expand All @@ -787,7 +807,8 @@ func GenReqDefForShowScalingConfig() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_configuration/{scaling_configuration_id}").
WithResponse(new(model.ShowScalingConfigResponse))
WithResponse(new(model.ShowScalingConfigResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -805,7 +826,8 @@ func GenReqDefForShowScalingGroup() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_group/{scaling_group_id}").
WithResponse(new(model.ShowScalingGroupResponse))
WithResponse(new(model.ShowScalingGroupResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand All @@ -823,7 +845,8 @@ func GenReqDefForShowScalingPolicy() *def.HttpRequestDef {
reqDefBuilder := def.NewHttpRequestDefBuilder().
WithMethod(http.MethodGet).
WithPath("/autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id}").
WithResponse(new(model.ShowScalingPolicyResponse))
WithResponse(new(model.ShowScalingPolicyResponse)).
WithContentType("application/json")

// request
reqDefBuilder.WithRequestField(def.NewFieldDef().
Expand Down
Loading

0 comments on commit f4ade8b

Please sign in to comment.