Skip to content

Commit

Permalink
release 3.1.125 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Nov 28, 2024
1 parent 76fe04c commit 0f2fda7
Show file tree
Hide file tree
Showing 429 changed files with 26,604 additions and 985 deletions.
430 changes: 430 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

430 changes: 430 additions & 0 deletions CHANGELOG_CN.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.124
3.1.125
191 changes: 96 additions & 95 deletions all/package.json
Original file line number Diff line number Diff line change
@@ -1,106 +1,107 @@
{
"name": "@huaweicloud/huaweicloud-sdk-all",
"version": "3.1.124",
"version": "3.1.125",
"description": "Huawei Cloud SDK for Node.js includes all cloud services",
"repository": {
"type": "git",
"url": "https://github.com/huaweicloud/huaweicloud-sdk-nodejs-v3"
},
"dependencies": {
"@huaweicloud/huaweicloud-sdk-aad": "3.1.124",
"@huaweicloud/huaweicloud-sdk-antiddos": "3.1.124",
"@huaweicloud/huaweicloud-sdk-aom": "3.1.124",
"@huaweicloud/huaweicloud-sdk-aos": "3.1.124",
"@huaweicloud/huaweicloud-sdk-apig": "3.1.124",
"@huaweicloud/huaweicloud-sdk-as": "3.1.124",
"@huaweicloud/huaweicloud-sdk-bms": "3.1.124",
"@huaweicloud/huaweicloud-sdk-cbh": "3.1.124",
"@huaweicloud/huaweicloud-sdk-cbr": "3.1.124",
"@huaweicloud/huaweicloud-sdk-cc": "3.1.124",
"@huaweicloud/huaweicloud-sdk-cce": "3.1.124",
"@huaweicloud/huaweicloud-sdk-cdm": "3.1.124",
"@huaweicloud/huaweicloud-sdk-cdn": "3.1.124",
"@huaweicloud/huaweicloud-sdk-ces": "3.1.124",
"@huaweicloud/huaweicloud-sdk-cfw": "3.1.124",
"@huaweicloud/huaweicloud-sdk-cloudrtc": "3.1.124",
"@huaweicloud/huaweicloud-sdk-cloudtable": "3.1.124",
"@huaweicloud/huaweicloud-sdk-coc": "3.1.124",
"@huaweicloud/huaweicloud-sdk-codeartsartifact": "3.1.124",
"@huaweicloud/huaweicloud-sdk-codeartsbuild": "3.1.124",
"@huaweicloud/huaweicloud-sdk-codeartsdeploy": "3.1.124",
"@huaweicloud/huaweicloud-sdk-codeartspipeline": "3.1.124",
"@huaweicloud/huaweicloud-sdk-config": "3.1.124",
"@huaweicloud/huaweicloud-sdk-cse": "3.1.124",
"@huaweicloud/huaweicloud-sdk-csms": "3.1.124",
"@huaweicloud/huaweicloud-sdk-css": "3.1.124",
"@huaweicloud/huaweicloud-sdk-cts": "3.1.124",
"@huaweicloud/huaweicloud-sdk-dataartsstudio": "3.1.124",
"@huaweicloud/huaweicloud-sdk-dbss": "3.1.124",
"@huaweicloud/huaweicloud-sdk-dc": "3.1.124",
"@huaweicloud/huaweicloud-sdk-dcs": "3.1.124",
"@huaweicloud/huaweicloud-sdk-dds": "3.1.124",
"@huaweicloud/huaweicloud-sdk-devstar": "3.1.124",
"@huaweicloud/huaweicloud-sdk-dli": "3.1.124",
"@huaweicloud/huaweicloud-sdk-dns": "3.1.124",
"@huaweicloud/huaweicloud-sdk-drs": "3.1.124",
"@huaweicloud/huaweicloud-sdk-dsc": "3.1.124",
"@huaweicloud/huaweicloud-sdk-dws": "3.1.124",
"@huaweicloud/huaweicloud-sdk-ecs": "3.1.124",
"@huaweicloud/huaweicloud-sdk-eip": "3.1.124",
"@huaweicloud/huaweicloud-sdk-elb": "3.1.124",
"@huaweicloud/huaweicloud-sdk-eps": "3.1.124",
"@huaweicloud/huaweicloud-sdk-er": "3.1.124",
"@huaweicloud/huaweicloud-sdk-evs": "3.1.124",
"@huaweicloud/huaweicloud-sdk-frs": "3.1.124",
"@huaweicloud/huaweicloud-sdk-functiongraph": "3.1.124",
"@huaweicloud/huaweicloud-sdk-ga": "3.1.124",
"@huaweicloud/huaweicloud-sdk-gaussdb": "3.1.124",
"@huaweicloud/huaweicloud-sdk-gaussdbfornosql": "3.1.124",
"@huaweicloud/huaweicloud-sdk-gaussdbforopengauss": "3.1.124",
"@huaweicloud/huaweicloud-sdk-ges": "3.1.124",
"@huaweicloud/huaweicloud-sdk-hss": "3.1.124",
"@huaweicloud/huaweicloud-sdk-iam": "3.1.124",
"@huaweicloud/huaweicloud-sdk-iamaccessanalyzer": "3.1.124",
"@huaweicloud/huaweicloud-sdk-image": "3.1.124",
"@huaweicloud/huaweicloud-sdk-ims": "3.1.124",
"@huaweicloud/huaweicloud-sdk-iotda": "3.1.124",
"@huaweicloud/huaweicloud-sdk-iotdm": "3.1.124",
"@huaweicloud/huaweicloud-sdk-ivs": "3.1.124",
"@huaweicloud/huaweicloud-sdk-kafka": "3.1.124",
"@huaweicloud/huaweicloud-sdk-kms": "3.1.124",
"@huaweicloud/huaweicloud-sdk-kps": "3.1.124",
"@huaweicloud/huaweicloud-sdk-live": "3.1.124",
"@huaweicloud/huaweicloud-sdk-lts": "3.1.124",
"@huaweicloud/huaweicloud-sdk-meeting": "3.1.124",
"@huaweicloud/huaweicloud-sdk-metastudio": "3.1.124",
"@huaweicloud/huaweicloud-sdk-moderation": "3.1.124",
"@huaweicloud/huaweicloud-sdk-mpc": "3.1.124",
"@huaweicloud/huaweicloud-sdk-mrs": "3.1.124",
"@huaweicloud/huaweicloud-sdk-msgsms": "3.1.124",
"@huaweicloud/huaweicloud-sdk-nat": "3.1.124",
"@huaweicloud/huaweicloud-sdk-ocr": "3.1.124",
"@huaweicloud/huaweicloud-sdk-oms": "3.1.124",
"@huaweicloud/huaweicloud-sdk-organizations": "3.1.124",
"@huaweicloud/huaweicloud-sdk-pangulargemodels": "3.1.124",
"@huaweicloud/huaweicloud-sdk-rabbitmq": "3.1.124",
"@huaweicloud/huaweicloud-sdk-ram": "3.1.124",
"@huaweicloud/huaweicloud-sdk-rds": "3.1.124",
"@huaweicloud/huaweicloud-sdk-rms": "3.1.124",
"@huaweicloud/huaweicloud-sdk-rocketmq": "3.1.124",
"@huaweicloud/huaweicloud-sdk-secmaster": "3.1.124",
"@huaweicloud/huaweicloud-sdk-servicestage": "3.1.124",
"@huaweicloud/huaweicloud-sdk-sfsturbo": "3.1.124",
"@huaweicloud/huaweicloud-sdk-sis": "3.1.124",
"@huaweicloud/huaweicloud-sdk-smn": "3.1.124",
"@huaweicloud/huaweicloud-sdk-sms": "3.1.124",
"@huaweicloud/huaweicloud-sdk-swr": "3.1.124",
"@huaweicloud/huaweicloud-sdk-tics": "3.1.124",
"@huaweicloud/huaweicloud-sdk-tms": "3.1.124",
"@huaweicloud/huaweicloud-sdk-vod": "3.1.124",
"@huaweicloud/huaweicloud-sdk-vpc": "3.1.124",
"@huaweicloud/huaweicloud-sdk-vpcep": "3.1.124",
"@huaweicloud/huaweicloud-sdk-vpn": "3.1.124",
"@huaweicloud/huaweicloud-sdk-waf": "3.1.124"
"@huaweicloud/huaweicloud-sdk-aad": "3.1.125",
"@huaweicloud/huaweicloud-sdk-antiddos": "3.1.125",
"@huaweicloud/huaweicloud-sdk-aom": "3.1.125",
"@huaweicloud/huaweicloud-sdk-aos": "3.1.125",
"@huaweicloud/huaweicloud-sdk-apig": "3.1.125",
"@huaweicloud/huaweicloud-sdk-as": "3.1.125",
"@huaweicloud/huaweicloud-sdk-bms": "3.1.125",
"@huaweicloud/huaweicloud-sdk-cbh": "3.1.125",
"@huaweicloud/huaweicloud-sdk-cbr": "3.1.125",
"@huaweicloud/huaweicloud-sdk-cc": "3.1.125",
"@huaweicloud/huaweicloud-sdk-cce": "3.1.125",
"@huaweicloud/huaweicloud-sdk-cdm": "3.1.125",
"@huaweicloud/huaweicloud-sdk-cdn": "3.1.125",
"@huaweicloud/huaweicloud-sdk-ces": "3.1.125",
"@huaweicloud/huaweicloud-sdk-cfw": "3.1.125",
"@huaweicloud/huaweicloud-sdk-cloudrtc": "3.1.125",
"@huaweicloud/huaweicloud-sdk-cloudtable": "3.1.125",
"@huaweicloud/huaweicloud-sdk-coc": "3.1.125",
"@huaweicloud/huaweicloud-sdk-codeartsartifact": "3.1.125",
"@huaweicloud/huaweicloud-sdk-codeartsbuild": "3.1.125",
"@huaweicloud/huaweicloud-sdk-codeartsdeploy": "3.1.125",
"@huaweicloud/huaweicloud-sdk-codeartspipeline": "3.1.125",
"@huaweicloud/huaweicloud-sdk-config": "3.1.125",
"@huaweicloud/huaweicloud-sdk-cse": "3.1.125",
"@huaweicloud/huaweicloud-sdk-csms": "3.1.125",
"@huaweicloud/huaweicloud-sdk-css": "3.1.125",
"@huaweicloud/huaweicloud-sdk-cts": "3.1.125",
"@huaweicloud/huaweicloud-sdk-dataartsstudio": "3.1.125",
"@huaweicloud/huaweicloud-sdk-dbss": "3.1.125",
"@huaweicloud/huaweicloud-sdk-dc": "3.1.125",
"@huaweicloud/huaweicloud-sdk-dcs": "3.1.125",
"@huaweicloud/huaweicloud-sdk-dds": "3.1.125",
"@huaweicloud/huaweicloud-sdk-devstar": "3.1.125",
"@huaweicloud/huaweicloud-sdk-dli": "3.1.125",
"@huaweicloud/huaweicloud-sdk-dns": "3.1.125",
"@huaweicloud/huaweicloud-sdk-drs": "3.1.125",
"@huaweicloud/huaweicloud-sdk-dsc": "3.1.125",
"@huaweicloud/huaweicloud-sdk-dws": "3.1.125",
"@huaweicloud/huaweicloud-sdk-ecs": "3.1.125",
"@huaweicloud/huaweicloud-sdk-eip": "3.1.125",
"@huaweicloud/huaweicloud-sdk-elb": "3.1.125",
"@huaweicloud/huaweicloud-sdk-eps": "3.1.125",
"@huaweicloud/huaweicloud-sdk-er": "3.1.125",
"@huaweicloud/huaweicloud-sdk-evs": "3.1.125",
"@huaweicloud/huaweicloud-sdk-frs": "3.1.125",
"@huaweicloud/huaweicloud-sdk-functiongraph": "3.1.125",
"@huaweicloud/huaweicloud-sdk-ga": "3.1.125",
"@huaweicloud/huaweicloud-sdk-gaussdb": "3.1.125",
"@huaweicloud/huaweicloud-sdk-gaussdbfornosql": "3.1.125",
"@huaweicloud/huaweicloud-sdk-gaussdbforopengauss": "3.1.125",
"@huaweicloud/huaweicloud-sdk-ges": "3.1.125",
"@huaweicloud/huaweicloud-sdk-hss": "3.1.125",
"@huaweicloud/huaweicloud-sdk-iam": "3.1.125",
"@huaweicloud/huaweicloud-sdk-iamaccessanalyzer": "3.1.125",
"@huaweicloud/huaweicloud-sdk-image": "3.1.125",
"@huaweicloud/huaweicloud-sdk-ims": "3.1.125",
"@huaweicloud/huaweicloud-sdk-iotda": "3.1.125",
"@huaweicloud/huaweicloud-sdk-iotdm": "3.1.125",
"@huaweicloud/huaweicloud-sdk-ivs": "3.1.125",
"@huaweicloud/huaweicloud-sdk-kafka": "3.1.125",
"@huaweicloud/huaweicloud-sdk-kms": "3.1.125",
"@huaweicloud/huaweicloud-sdk-kps": "3.1.125",
"@huaweicloud/huaweicloud-sdk-live": "3.1.125",
"@huaweicloud/huaweicloud-sdk-lts": "3.1.125",
"@huaweicloud/huaweicloud-sdk-mastudio": "3.1.125",
"@huaweicloud/huaweicloud-sdk-meeting": "3.1.125",
"@huaweicloud/huaweicloud-sdk-metastudio": "3.1.125",
"@huaweicloud/huaweicloud-sdk-moderation": "3.1.125",
"@huaweicloud/huaweicloud-sdk-mpc": "3.1.125",
"@huaweicloud/huaweicloud-sdk-mrs": "3.1.125",
"@huaweicloud/huaweicloud-sdk-msgsms": "3.1.125",
"@huaweicloud/huaweicloud-sdk-nat": "3.1.125",
"@huaweicloud/huaweicloud-sdk-ocr": "3.1.125",
"@huaweicloud/huaweicloud-sdk-oms": "3.1.125",
"@huaweicloud/huaweicloud-sdk-organizations": "3.1.125",
"@huaweicloud/huaweicloud-sdk-pangulargemodels": "3.1.125",
"@huaweicloud/huaweicloud-sdk-rabbitmq": "3.1.125",
"@huaweicloud/huaweicloud-sdk-ram": "3.1.125",
"@huaweicloud/huaweicloud-sdk-rds": "3.1.125",
"@huaweicloud/huaweicloud-sdk-rms": "3.1.125",
"@huaweicloud/huaweicloud-sdk-rocketmq": "3.1.125",
"@huaweicloud/huaweicloud-sdk-secmaster": "3.1.125",
"@huaweicloud/huaweicloud-sdk-servicestage": "3.1.125",
"@huaweicloud/huaweicloud-sdk-sfsturbo": "3.1.125",
"@huaweicloud/huaweicloud-sdk-sis": "3.1.125",
"@huaweicloud/huaweicloud-sdk-smn": "3.1.125",
"@huaweicloud/huaweicloud-sdk-sms": "3.1.125",
"@huaweicloud/huaweicloud-sdk-swr": "3.1.125",
"@huaweicloud/huaweicloud-sdk-tics": "3.1.125",
"@huaweicloud/huaweicloud-sdk-tms": "3.1.125",
"@huaweicloud/huaweicloud-sdk-vod": "3.1.125",
"@huaweicloud/huaweicloud-sdk-vpc": "3.1.125",
"@huaweicloud/huaweicloud-sdk-vpcep": "3.1.125",
"@huaweicloud/huaweicloud-sdk-vpn": "3.1.125",
"@huaweicloud/huaweicloud-sdk-waf": "3.1.125"
},
"files": ["package.json"]
}
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.1.124",
"version": "3.1.125",
"description": "Core code for Huaweicloud SDK for Node.js",
"main": "index.js",
"scripts": {
Expand Down
90 changes: 85 additions & 5 deletions services/cbr/v1/CbrClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@ import { BillingCreate } from './model/BillingCreate';
import { BillingUpdate } from './model/BillingUpdate';
import { BindRulesTags } from './model/BindRulesTags';
import { BulkCreateAndDeleteVaultTagsReq } from './model/BulkCreateAndDeleteVaultTagsReq';
import { CbcOrderChange } from './model/CbcOrderChange';
import { CbcOrderResult } from './model/CbcOrderResult';
import { CbcProductInfoOrderChange } from './model/CbcProductInfoOrderChange';
import { CbcProductInfoUpdate } from './model/CbcProductInfoUpdate';
import { CbcUpdate } from './model/CbcUpdate';
import { ChangeOrderRequest } from './model/ChangeOrderRequest';
import { ChangeOrderResponse } from './model/ChangeOrderResponse';
import { CheckAgentRequest } from './model/CheckAgentRequest';
import { CheckAgentResponse } from './model/CheckAgentResponse';
import { CheckpointCreate } from './model/CheckpointCreate';
Expand Down Expand Up @@ -90,6 +94,7 @@ import { DisassociateVaultPolicyResponse } from './model/DisassociateVaultPolicy
import { DomainMigrate } from './model/DomainMigrate';
import { DomainMigrateProjectStatus } from './model/DomainMigrateProjectStatus';
import { DomainProjectsInfo } from './model/DomainProjectsInfo';
import { ExcludePath } from './model/ExcludePath';
import { ImageData } from './model/ImageData';
import { ImportBackupRequest } from './model/ImportBackupRequest';
import { ImportBackupResponse } from './model/ImportBackupResponse';
Expand Down Expand Up @@ -409,6 +414,26 @@ export class CbrClient {
return this.hcClient.sendRequest(options);
}

/**
* 订单更新,调用该接口更新包周期产品订单信息,返回待支付订单信息。
* > 该接口目前属于公测阶段,部分region暂时无法使用
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @summary 变更
* @param {CbcOrderChange} changeOrderRequestBody 变更请求body
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
public changeOrder(changeOrderRequest?: ChangeOrderRequest): Promise<ChangeOrderResponse> {
const options = ParamCreater().changeOrder(changeOrderRequest);

// @ts-ignore
options['responseHeaders'] = [''];

return this.hcClient.sendRequest(options);
}

/**
* 检查应用一致性Agent状态
*
Expand Down Expand Up @@ -628,7 +653,7 @@ export class CbrClient {
* Please refer to HUAWEI cloud API Explorer for details.
*
* @summary 删除组织策略
* @param {string} organizationPolicyId 资源策略ID
* @param {string} organizationPolicyId 组织策略ID
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -902,6 +927,8 @@ export class CbrClient {
*
* @summary 查询组织策略列表
* @param {string} operationType 组织策略类型
* @param {number} [limit] 每页显示的条目数量,正整数
* @param {number} [offset] 偏移值,正整数
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -977,7 +1004,7 @@ export class CbrClient {
* Please refer to HUAWEI cloud API Explorer for details.
*
* @summary 查询可保护资源
* @param {'server' | 'disk'} protectableType 对象类型
* @param {'server' | 'disk' | 'turbo' | 'workspace' | 'workspace_v2'} protectableType 对象类型
* @param {number} [limit] 每页显示的条目数量,每页最多支持50条
* @param {string} [marker] 上一次查询最后一条的ID
* @param {string} [name] 按名称过滤
Expand Down Expand Up @@ -1619,11 +1646,11 @@ export class CbrClient {
}

/**
* 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。
* 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。该接口已废弃。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @summary 变更
* @summary 变更(废弃)
* @param {string} orderId 订单ID
* @param {CbcUpdate} updateOrderRequestBody 变更请求body
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -1974,6 +2001,45 @@ export const ParamCreater = function () {
return options;
},

/**
* 订单更新,调用该接口更新包周期产品订单信息,返回待支付订单信息。
* &gt; 该接口目前属于公测阶段,部分region暂时无法使用
*
* Please refer to HUAWEI cloud API Explorer for details.
*/
changeOrder(changeOrderRequest?: ChangeOrderRequest) {
const options = {
method: "POST",
url: "/v3/{project_id}/orders/change",
contentType: "application/json;charset=UTF-8",
queryParams: {},
pathParams: {},
headers: {},
data: {}
};
const localVarHeaderParameter = {} as any;

let body: any;

if (changeOrderRequest !== null && changeOrderRequest !== undefined) {
if (changeOrderRequest instanceof ChangeOrderRequest) {
body = changeOrderRequest.body
} else {
body = changeOrderRequest['body'];
}
}


if (body === null || body === undefined) {
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
}
localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';

options.data = body !== undefined ? body : {};
options.headers = localVarHeaderParameter;
return options;
},

/**
* 检查应用一致性Agent状态
*
Expand Down Expand Up @@ -3198,12 +3264,20 @@ export const ParamCreater = function () {
const localVarQueryParameter = {} as any;

let operationType;

let limit;

let offset;

if (listOrganizationPoliciesRequest !== null && listOrganizationPoliciesRequest !== undefined) {
if (listOrganizationPoliciesRequest instanceof ListOrganizationPoliciesRequest) {
operationType = listOrganizationPoliciesRequest.operationType;
limit = listOrganizationPoliciesRequest.limit;
offset = listOrganizationPoliciesRequest.offset;
} else {
operationType = listOrganizationPoliciesRequest['operation_type'];
limit = listOrganizationPoliciesRequest['limit'];
offset = listOrganizationPoliciesRequest['offset'];
}
}

Expand All @@ -3214,6 +3288,12 @@ export const ParamCreater = function () {
if (operationType !== null && operationType !== undefined) {
localVarQueryParameter['operation_type'] = operationType;
}
if (limit !== null && limit !== undefined) {
localVarQueryParameter['limit'] = limit;
}
if (offset !== null && offset !== undefined) {
localVarQueryParameter['offset'] = offset;
}

options.queryParams = localVarQueryParameter;
options.headers = localVarHeaderParameter;
Expand Down Expand Up @@ -4750,7 +4830,7 @@ export const ParamCreater = function () {
},

/**
* 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。
* 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。该接口已废弃。
*
* Please refer to HUAWEI cloud API Explorer for details.
*/
Expand Down
Loading

0 comments on commit 0f2fda7

Please sign in to comment.