@huaweicloud/huaweicloud-sdk-cbr 3.1.36 → 3.1.37

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-cbr",
3
- "version": "3.1.36",
3
+ "version": "3.1.37",
4
4
  "description": "Huaweicloud SDK for cbr",
5
5
  "main": "huaweicloud-sdk-cbr.js",
6
6
  "typings": "huaweicloud-sdk-cbr.d.ts",
@@ -14,6 +14,6 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.1.36"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.37"
18
18
  }
19
19
  }
package/v1/CbrRegion.d.ts CHANGED
@@ -17,6 +17,7 @@ export declare class CbrRegion {
17
17
  static CN_SOUTH_2: any;
18
18
  static CN_NORTH_9: any;
19
19
  static CN_NORTH_2: any;
20
+ static AP_SOUTHEAST_4: any;
20
21
  private static REGION_MAP;
21
22
  static valueOf(regionId: string): any;
22
23
  }
package/v1/CbrRegion.js CHANGED
@@ -33,6 +33,7 @@ var CbrRegion = exports.CbrRegion = /** @class */ (function () {
33
33
  CbrRegion.CN_SOUTH_2 = new region_1.Region("cn-south-2", ["https://cbr.cn-south-2.myhuaweicloud.com"]);
34
34
  CbrRegion.CN_NORTH_9 = new region_1.Region("cn-north-9", ["https://cbr.cn-north-9.myhuaweicloud.com"]);
35
35
  CbrRegion.CN_NORTH_2 = new region_1.Region("cn-north-2", ["https://cbr.cn-north-2.myhuaweicloud.com"]);
36
+ CbrRegion.AP_SOUTHEAST_4 = new region_1.Region("ap-southeast-4", ["https://cbr.ap-southeast-4.myhuaweicloud.com"]);
36
37
  CbrRegion.REGION_MAP = {
37
38
  "cn-north-1": CbrRegion.CN_NORTH_1,
38
39
  "cn-north-4": CbrRegion.CN_NORTH_4,
@@ -51,7 +52,8 @@ var CbrRegion = exports.CbrRegion = /** @class */ (function () {
51
52
  "la-south-2": CbrRegion.LA_SOUTH_2,
52
53
  "cn-south-2": CbrRegion.CN_SOUTH_2,
53
54
  "cn-north-9": CbrRegion.CN_NORTH_9,
54
- "cn-north-2": CbrRegion.CN_NORTH_2
55
+ "cn-north-2": CbrRegion.CN_NORTH_2,
56
+ "ap-southeast-4": CbrRegion.AP_SOUTHEAST_4
55
57
  };
56
58
  return CbrRegion;
57
59
  }());
@@ -1,4 +1,3 @@
1
- import { BillbingCreateExtraInfo } from './BillbingCreateExtraInfo';
2
1
  export declare class BillingCreate {
3
2
  private 'cloud_type'?;
4
3
  private 'consistent_level';
@@ -11,7 +10,6 @@ export declare class BillingCreate {
11
10
  private 'is_auto_renew'?;
12
11
  private 'is_auto_pay'?;
13
12
  private 'console_url'?;
14
- private 'extra_info'?;
15
13
  private 'is_multi_az'?;
16
14
  private 'promotion_info'?;
17
15
  private 'purchase_mode'?;
@@ -48,9 +46,6 @@ export declare class BillingCreate {
48
46
  withConsoleUrl(consoleUrl: string): BillingCreate;
49
47
  set consoleUrl(consoleUrl: string | undefined);
50
48
  get consoleUrl(): string | undefined;
51
- withExtraInfo(extraInfo: BillbingCreateExtraInfo): BillingCreate;
52
- set extraInfo(extraInfo: BillbingCreateExtraInfo | undefined);
53
- get extraInfo(): BillbingCreateExtraInfo | undefined;
54
49
  withIsMultiAz(isMultiAz: boolean): BillingCreate;
55
50
  set isMultiAz(isMultiAz: boolean | undefined);
56
51
  get isMultiAz(): boolean | undefined;
@@ -152,20 +152,6 @@ var BillingCreate = /** @class */ (function () {
152
152
  enumerable: false,
153
153
  configurable: true
154
154
  });
155
- BillingCreate.prototype.withExtraInfo = function (extraInfo) {
156
- this['extra_info'] = extraInfo;
157
- return this;
158
- };
159
- Object.defineProperty(BillingCreate.prototype, "extraInfo", {
160
- get: function () {
161
- return this['extra_info'];
162
- },
163
- set: function (extraInfo) {
164
- this['extra_info'] = extraInfo;
165
- },
166
- enumerable: false,
167
- configurable: true
168
- });
169
155
  BillingCreate.prototype.withIsMultiAz = function (isMultiAz) {
170
156
  this['is_multi_az'] = isMultiAz;
171
157
  return this;
@@ -0,0 +1,6 @@
1
+ import { Vault } from './Vault';
2
+ export declare class InstancesResourceDetail {
3
+ vault?: Vault;
4
+ constructor();
5
+ withVault(vault: Vault): InstancesResourceDetail;
6
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InstancesResourceDetail = void 0;
4
+ var InstancesResourceDetail = /** @class */ (function () {
5
+ function InstancesResourceDetail() {
6
+ }
7
+ InstancesResourceDetail.prototype.withVault = function (vault) {
8
+ this['vault'] = vault;
9
+ return this;
10
+ };
11
+ return InstancesResourceDetail;
12
+ }());
13
+ exports.InstancesResourceDetail = InstancesResourceDetail;
@@ -9,6 +9,7 @@ export declare class PolicyoODCreate {
9
9
  timezone?: string;
10
10
  private 'week_backups'?;
11
11
  private 'year_backups'?;
12
+ private 'full_backup_interval'?;
12
13
  constructor();
13
14
  withDayBackups(dayBackups: number): PolicyoODCreate;
14
15
  set dayBackups(dayBackups: number | undefined);
@@ -38,4 +39,7 @@ export declare class PolicyoODCreate {
38
39
  withYearBackups(yearBackups: number): PolicyoODCreate;
39
40
  set yearBackups(yearBackups: number | undefined);
40
41
  get yearBackups(): number | undefined;
42
+ withFullBackupInterval(fullBackupInterval: number): PolicyoODCreate;
43
+ set fullBackupInterval(fullBackupInterval: number | undefined);
44
+ get fullBackupInterval(): number | undefined;
41
45
  }
@@ -134,6 +134,20 @@ var PolicyoODCreate = /** @class */ (function () {
134
134
  enumerable: false,
135
135
  configurable: true
136
136
  });
137
+ PolicyoODCreate.prototype.withFullBackupInterval = function (fullBackupInterval) {
138
+ this['full_backup_interval'] = fullBackupInterval;
139
+ return this;
140
+ };
141
+ Object.defineProperty(PolicyoODCreate.prototype, "fullBackupInterval", {
142
+ get: function () {
143
+ return this['full_backup_interval'];
144
+ },
145
+ set: function (fullBackupInterval) {
146
+ this['full_backup_interval'] = fullBackupInterval;
147
+ },
148
+ enumerable: false,
149
+ configurable: true
150
+ });
137
151
  return PolicyoODCreate;
138
152
  }());
139
153
  exports.PolicyoODCreate = PolicyoODCreate;
@@ -1,6 +1,6 @@
1
+ import { InstancesResourceDetail } from './InstancesResourceDetail';
1
2
  import { SysTag } from './SysTag';
2
3
  import { Tag } from './Tag';
3
- import { Vault } from './Vault';
4
4
  export declare class TagResource {
5
5
  private 'resource_id';
6
6
  private 'resource_detail';
@@ -11,9 +11,9 @@ export declare class TagResource {
11
11
  withResourceId(resourceId: string): TagResource;
12
12
  set resourceId(resourceId: string | undefined);
13
13
  get resourceId(): string | undefined;
14
- withResourceDetail(resourceDetail: Array<Vault>): TagResource;
15
- set resourceDetail(resourceDetail: Array<Vault> | undefined);
16
- get resourceDetail(): Array<Vault> | undefined;
14
+ withResourceDetail(resourceDetail: InstancesResourceDetail): TagResource;
15
+ set resourceDetail(resourceDetail: InstancesResourceDetail | undefined);
16
+ get resourceDetail(): InstancesResourceDetail | undefined;
17
17
  withTags(tags: Array<Tag>): TagResource;
18
18
  withResourceName(resourceName: string): TagResource;
19
19
  set resourceName(resourceName: string | undefined);
@@ -19,7 +19,6 @@ export * from './model/BackupSyncReq';
19
19
  export * from './model/BackupSyncRespBody';
20
20
  export * from './model/BatchCreateAndDeleteVaultTagsRequest';
21
21
  export * from './model/BatchCreateAndDeleteVaultTagsResponse';
22
- export * from './model/BillbingCreateExtraInfo';
23
22
  export * from './model/Billing';
24
23
  export * from './model/BillingCreate';
25
24
  export * from './model/BillingUpdate';
@@ -63,6 +62,7 @@ export * from './model/DisassociateVaultPolicyResponse';
63
62
  export * from './model/ImageData';
64
63
  export * from './model/ImportBackupRequest';
65
64
  export * from './model/ImportBackupResponse';
65
+ export * from './model/InstancesResourceDetail';
66
66
  export * from './model/ListBackupsRequest';
67
67
  export * from './model/ListBackupsResponse';
68
68
  export * from './model/ListOpLogsRequest';
package/v1/public-api.js CHANGED
@@ -35,7 +35,6 @@ __exportStar(require("./model/BackupSyncReq"), exports);
35
35
  __exportStar(require("./model/BackupSyncRespBody"), exports);
36
36
  __exportStar(require("./model/BatchCreateAndDeleteVaultTagsRequest"), exports);
37
37
  __exportStar(require("./model/BatchCreateAndDeleteVaultTagsResponse"), exports);
38
- __exportStar(require("./model/BillbingCreateExtraInfo"), exports);
39
38
  __exportStar(require("./model/Billing"), exports);
40
39
  __exportStar(require("./model/BillingCreate"), exports);
41
40
  __exportStar(require("./model/BillingUpdate"), exports);
@@ -79,6 +78,7 @@ __exportStar(require("./model/DisassociateVaultPolicyResponse"), exports);
79
78
  __exportStar(require("./model/ImageData"), exports);
80
79
  __exportStar(require("./model/ImportBackupRequest"), exports);
81
80
  __exportStar(require("./model/ImportBackupResponse"), exports);
81
+ __exportStar(require("./model/InstancesResourceDetail"), exports);
82
82
  __exportStar(require("./model/ListBackupsRequest"), exports);
83
83
  __exportStar(require("./model/ListBackupsResponse"), exports);
84
84
  __exportStar(require("./model/ListOpLogsRequest"), exports);
@@ -1,11 +0,0 @@
1
- export declare class BillbingCreateExtraInfo {
2
- private 'combined_order_id'?;
3
- private 'combined_order_ecs_num'?;
4
- constructor();
5
- withCombinedOrderId(combinedOrderId: string): BillbingCreateExtraInfo;
6
- set combinedOrderId(combinedOrderId: string | undefined);
7
- get combinedOrderId(): string | undefined;
8
- withCombinedOrderEcsNum(combinedOrderEcsNum: number): BillbingCreateExtraInfo;
9
- set combinedOrderEcsNum(combinedOrderEcsNum: number | undefined);
10
- get combinedOrderEcsNum(): number | undefined;
11
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BillbingCreateExtraInfo = void 0;
4
- var BillbingCreateExtraInfo = /** @class */ (function () {
5
- function BillbingCreateExtraInfo() {
6
- }
7
- BillbingCreateExtraInfo.prototype.withCombinedOrderId = function (combinedOrderId) {
8
- this['combined_order_id'] = combinedOrderId;
9
- return this;
10
- };
11
- Object.defineProperty(BillbingCreateExtraInfo.prototype, "combinedOrderId", {
12
- get: function () {
13
- return this['combined_order_id'];
14
- },
15
- set: function (combinedOrderId) {
16
- this['combined_order_id'] = combinedOrderId;
17
- },
18
- enumerable: false,
19
- configurable: true
20
- });
21
- BillbingCreateExtraInfo.prototype.withCombinedOrderEcsNum = function (combinedOrderEcsNum) {
22
- this['combined_order_ecs_num'] = combinedOrderEcsNum;
23
- return this;
24
- };
25
- Object.defineProperty(BillbingCreateExtraInfo.prototype, "combinedOrderEcsNum", {
26
- get: function () {
27
- return this['combined_order_ecs_num'];
28
- },
29
- set: function (combinedOrderEcsNum) {
30
- this['combined_order_ecs_num'] = combinedOrderEcsNum;
31
- },
32
- enumerable: false,
33
- configurable: true
34
- });
35
- return BillbingCreateExtraInfo;
36
- }());
37
- exports.BillbingCreateExtraInfo = BillbingCreateExtraInfo;