Skip to content

Commit

Permalink
release 3.0.12-beta source code for nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Aug 10, 2021
1 parent 8fa210d commit 4864ce7
Show file tree
Hide file tree
Showing 192 changed files with 11,213 additions and 28 deletions.
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
# 3.0.12-beta 2021-08-10

### HuaweiCloud SDK EIP
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- Modify the name of the response parameter of the interfaces `ListBandwidths` and `ShowPublicip`: `publicip_border_group` -> `public_border_group`

### HuaweiCloud SDK EVS
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- Add the request parameter `server_id` to the interface `ListVolumes`.

### HuaweiCloud SDK IAM
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- Remove the response parameter `order_id` from the interface `CreateDeployment`.

### HuaweiCloud SDK IMS
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- Modify the request parameter `value` of the interface `UpdateImage` as a required parameter.

### HuaweiCloud SDK VPC
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- Add the request parameter `enable_dhcp` to the interface `NeutronListSubnets`.
- Add the response parameter `security_groups_links` to the interface `NeutronListSecurityGroups`.

# 3.0.11-beta 2021-7-30

### HuaweiCloud SDK IMS
Expand Down
43 changes: 43 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
# 3.0.12-beta 2021-08-10

### HuaweiCloud SDK EIP
- _新增特性_
-
- _解决问题_
-
- _特性变更_
- 接口`ListBandwidths``ShowPublicip`的响应参数名称调整:`publicip_border_group` -> `public_border_group`

### HuaweiCloud SDK EVS
- _新增特性_
-
- _解决问题_
-
- _特性变更_
- 接口`ListVolumes`新增请求参数`server_id`

### HuaweiCloud SDK IAM
- _新增特性_
-
- _解决问题_
-
- _特性变更_
- 接口`CreateDeployment`移除响应参数`order_id`

### HuaweiCloud SDK IMS
- _新增特性_
-
- _解决问题_
-
- _特性变更_
- 修改接口`UpdateImage`的请求参数`value`为必填参数

### HuaweiCloud SDK VPC
- _新增特性_
-
- _解决问题_
-
- _特性变更_
- 接口`NeutronListSubnets`新增请求参数`enable_dhcp`
- 接口`NeutronListSecurityGroups`新增响应参数`security_groups_links`

# 3.0.11-beta 2021-7-30
### HuaweiCloud SDK IMS
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "huaweicloud-sdk-nodejs-v3",
"version": "3.0.11-beta",
"version": "3.0.12-beta",
"description": "Core code for Huaweicloud SDK for Node.js",
"main": "index.js",
"scripts": {
Expand Down
14 changes: 7 additions & 7 deletions services/eip/v2/model/BandwidthResp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class BandwidthResp {
private 'bandwidth_rules'?: Array<BandWidthRules> | undefined;
private 'created_at'?: string | undefined;
private 'updated_at'?: string | undefined;
private 'publicip_border_group'?: string | undefined;
private 'public_border_group'?: string | undefined;
public constructor() {
}
public withBandwidthType(bandwidthType: string): BandwidthResp {
Expand Down Expand Up @@ -158,15 +158,15 @@ export class BandwidthResp {
public get updatedAt() {
return this['updated_at'];
}
public withPublicipBorderGroup(publicipBorderGroup: string): BandwidthResp {
this['publicip_border_group'] = publicipBorderGroup;
public withPublicBorderGroup(publicBorderGroup: string): BandwidthResp {
this['public_border_group'] = publicBorderGroup;
return this;
}
public set publicipBorderGroup(publicipBorderGroup: string | undefined) {
this['publicip_border_group'] = publicipBorderGroup;
public set publicBorderGroup(publicBorderGroup: string | undefined) {
this['public_border_group'] = publicBorderGroup;
}
public get publicipBorderGroup() {
return this['publicip_border_group'];
public get publicBorderGroup() {
return this['public_border_group'];
}
}

Expand Down
14 changes: 7 additions & 7 deletions services/eip/v2/model/PublicipShowResp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class PublicipShowResp {
public type?: string;
private 'public_ipv6_address'?: string | undefined;
private 'ip_version'?: PublicipShowRespIpVersionEnum | undefined;
private 'publicip_border_group'?: string | undefined;
private 'public_border_group'?: string | undefined;
public constructor() {
}
public withBandwidthId(bandwidthId: string): PublicipShowResp {
Expand Down Expand Up @@ -157,15 +157,15 @@ export class PublicipShowResp {
public get ipVersion() {
return this['ip_version'];
}
public withPublicipBorderGroup(publicipBorderGroup: string): PublicipShowResp {
this['publicip_border_group'] = publicipBorderGroup;
public withPublicBorderGroup(publicBorderGroup: string): PublicipShowResp {
this['public_border_group'] = publicBorderGroup;
return this;
}
public set publicipBorderGroup(publicipBorderGroup: string | undefined) {
this['publicip_border_group'] = publicipBorderGroup;
public set publicBorderGroup(publicBorderGroup: string | undefined) {
this['public_border_group'] = publicBorderGroup;
}
public get publicipBorderGroup() {
return this['publicip_border_group'];
public get publicBorderGroup() {
return this['public_border_group'];
}
}

Expand Down
7 changes: 7 additions & 0 deletions services/evs/v2/EvsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ export class EvsClient {
* @param {string} [id] 云硬盘ID。
* @param {string} [ids] 云硬盘id列表,格式为ids&#x3D;[\&#39;id1\&#39;,\&#39;id2\&#39;,...,\&#39;idx\&#39;],返回“ids”中有效id的云硬盘详情,无效的id会被忽略。 支持查询最多60个id对应的云硬盘详情。 如果“id”和“ids”查询参数同时存在,“id”会被忽略。
* @param {string} [enterpriseProjectId] 指定企业项目id进行过滤。 传入“all_granted_eps”,代表查询权限范围内的所有企业项目下的云硬盘。 &gt; 说明: &gt; &gt; 关于企业项目ID的获取及企业项目特性的详细信息,请参考:\&quot;[企业管理用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0123692049.html)\&quot;。
* @param {string} [serverId] 云服务器id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -938,6 +939,7 @@ export const ParamCreater = function () {
let id;
let ids;
let enterpriseProjectId;
let serverId;

if (listVolumesRequest !== null && listVolumesRequest !== undefined) {
if (listVolumesRequest instanceof ListVolumesRequest) {
Expand All @@ -958,6 +960,7 @@ export const ParamCreater = function () {
id = listVolumesRequest.id;
ids = listVolumesRequest.ids;
enterpriseProjectId = listVolumesRequest.enterpriseProjectId;
serverId = listVolumesRequest.serverId;
} else {
marker = listVolumesRequest['marker'];
name = listVolumesRequest['name'];
Expand All @@ -976,6 +979,7 @@ export const ParamCreater = function () {
id = listVolumesRequest['id'];
ids = listVolumesRequest['ids'];
enterpriseProjectId = listVolumesRequest['enterprise_project_id'];
serverId = listVolumesRequest['server_id'];
}
}

Expand Down Expand Up @@ -1030,6 +1034,9 @@ export const ParamCreater = function () {
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
}
if (serverId !== null && serverId !== undefined) {
localVarQueryParameter['server_id'] = serverId;
}

options.queryParams = localVarQueryParameter;
options.headers = localVarHeaderParameter;
Expand Down
11 changes: 11 additions & 0 deletions services/evs/v2/model/ListVolumesRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export class ListVolumesRequest {
public id?: string;
public ids?: string;
private 'enterprise_project_id'?: string | undefined;
private 'server_id'?: string | undefined;
public constructor() {
}
public withMarker(marker: string): ListVolumesRequest {
Expand Down Expand Up @@ -136,4 +137,14 @@ export class ListVolumesRequest {
public get enterpriseProjectId() {
return this['enterprise_project_id'];
}
public withServerId(serverId: string): ListVolumesRequest {
this['server_id'] = serverId;
return this;
}
public set serverId(serverId: string | undefined) {
this['server_id'] = serverId;
}
public get serverId() {
return this['server_id'];
}
}
1 change: 1 addition & 0 deletions services/iam/v3/IamClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ import { UpdateDomainPasswordPolicyResponse } from './model/UpdateDomainPassword
import { UpdateDomainProtectPolicyRequest } from './model/UpdateDomainProtectPolicyRequest';
import { UpdateDomainProtectPolicyRequestBody } from './model/UpdateDomainProtectPolicyRequestBody';
import { UpdateDomainProtectPolicyResponse } from './model/UpdateDomainProtectPolicyResponse';
import { UpdateIdentityproviderOption } from './model/UpdateIdentityproviderOption';
import { UpdateLoginProject } from './model/UpdateLoginProject';
import { UpdateLoginProjectReq } from './model/UpdateLoginProjectReq';
import { UpdateLoginProtectRequest } from './model/UpdateLoginProtectRequest';
Expand Down
11 changes: 11 additions & 0 deletions services/iam/v3/model/IdentityproviderOption.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@


export class IdentityproviderOption {
private 'sso_type'?: string | undefined;
public description?: string;
public enabled?: boolean;
public constructor() {
}
public withSsoType(ssoType: string): IdentityproviderOption {
this['sso_type'] = ssoType;
return this;
}
public set ssoType(ssoType: string | undefined) {
this['sso_type'] = ssoType;
}
public get ssoType() {
return this['sso_type'];
}
public withDescription(description: string): IdentityproviderOption {
this['description'] = description;
return this;
Expand Down
14 changes: 13 additions & 1 deletion services/iam/v3/model/IdentityprovidersResult.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,30 @@ import { IdentityprovidersLinks } from './IdentityprovidersLinks';


export class IdentityprovidersResult {
private 'sso_type': string | undefined;
public id: string;
public description: string;
public enabled: boolean;
private 'remote_ids': Array<string> | undefined;
public links: IdentityprovidersLinks;
public constructor(id?: any, description?: any, enabled?: any, remoteIds?: any, links?: any) {
public constructor(ssoType?: any, id?: any, description?: any, enabled?: any, remoteIds?: any, links?: any) {
this['sso_type'] = ssoType;
this['id'] = id;
this['description'] = description;
this['enabled'] = enabled;
this['remote_ids'] = remoteIds;
this['links'] = links;
}
public withSsoType(ssoType: string): IdentityprovidersResult {
this['sso_type'] = ssoType;
return this;
}
public set ssoType(ssoType: string | undefined) {
this['sso_type'] = ssoType;
}
public get ssoType() {
return this['sso_type'];
}
public withId(id: string): IdentityprovidersResult {
this['id'] = id;
return this;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { IdentityproviderOption } from './IdentityproviderOption';
import { UpdateIdentityproviderOption } from './UpdateIdentityproviderOption';


export class KeystoneUpdateIdentityProviderRequestBody {
private 'identity_provider': IdentityproviderOption | undefined;
private 'identity_provider': UpdateIdentityproviderOption | undefined;
public constructor(identityProvider?: any) {
this['identity_provider'] = identityProvider;
}
public withIdentityProvider(identityProvider: IdentityproviderOption): KeystoneUpdateIdentityProviderRequestBody {
public withIdentityProvider(identityProvider: UpdateIdentityproviderOption): KeystoneUpdateIdentityProviderRequestBody {
this['identity_provider'] = identityProvider;
return this;
}
public set identityProvider(identityProvider: IdentityproviderOption | undefined) {
public set identityProvider(identityProvider: UpdateIdentityproviderOption | undefined) {
this['identity_provider'] = identityProvider;
}
public get identityProvider() {
Expand Down
5 changes: 2 additions & 3 deletions services/iam/v3/model/ProtocolOption.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@


export class ProtocolOption {
private 'mapping_id': string | undefined;
public constructor(mappingId?: any) {
this['mapping_id'] = mappingId;
private 'mapping_id'?: string | undefined;
public constructor() {
}
public withMappingId(mappingId: string): ProtocolOption {
this['mapping_id'] = mappingId;
Expand Down
16 changes: 16 additions & 0 deletions services/iam/v3/model/UpdateIdentityproviderOption.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@


export class UpdateIdentityproviderOption {
public description?: string;
public enabled?: boolean;
public constructor() {
}
public withDescription(description: string): UpdateIdentityproviderOption {
this['description'] = description;
return this;
}
public withEnabled(enabled: boolean): UpdateIdentityproviderOption {
this['enabled'] = enabled;
return this;
}
}
1 change: 1 addition & 0 deletions services/iam/v3/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ export * from './model/UpdateDomainPasswordPolicyResponse';
export * from './model/UpdateDomainProtectPolicyRequest';
export * from './model/UpdateDomainProtectPolicyRequestBody';
export * from './model/UpdateDomainProtectPolicyResponse';
export * from './model/UpdateIdentityproviderOption';
export * from './model/UpdateLoginProject';
export * from './model/UpdateLoginProjectReq';
export * from './model/UpdateLoginProtectRequest';
Expand Down
5 changes: 3 additions & 2 deletions services/ims/v2/model/UpdateImageRequestBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
export class UpdateImageRequestBody {
public op: UpdateImageRequestBodyOpEnum;
public path: string;
public value?: string;
public constructor(op?: any, path?: any) {
public value: string;
public constructor(op?: any, path?: any, value?: any) {
this['op'] = op;
this['path'] = path;
this['value'] = value;
}
public withOp(op: UpdateImageRequestBodyOpEnum): UpdateImageRequestBody {
this['op'] = op;
Expand Down
1 change: 1 addition & 0 deletions services/vod/huaweicloud-sdk-vod.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './v1/public-api';
Loading

0 comments on commit 4864ce7

Please sign in to comment.