@huaweicloud/huaweicloud-sdk-cbr 3.1.36 → 3.1.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/package.json +2 -2
  2. package/v1/CbrClient.d.ts +192 -0
  3. package/v1/CbrClient.js +390 -0
  4. package/v1/CbrRegion.d.ts +1 -0
  5. package/v1/CbrRegion.js +3 -1
  6. package/v1/model/AddAgentPathRequest.d.ts +10 -0
  7. package/v1/model/AddAgentPathRequest.js +28 -0
  8. package/v1/model/AddAgentPathResponse.d.ts +8 -0
  9. package/v1/model/AddAgentPathResponse.js +35 -0
  10. package/v1/model/Agent.d.ts +48 -0
  11. package/v1/model/Agent.js +158 -0
  12. package/v1/model/AgentAddPathReq.d.ts +7 -0
  13. package/v1/model/AgentAddPathReq.js +24 -0
  14. package/v1/model/AgentRegister.d.ts +31 -0
  15. package/v1/model/AgentRegister.js +111 -0
  16. package/v1/model/AgentRegisterReq.d.ts +6 -0
  17. package/v1/model/AgentRegisterReq.js +14 -0
  18. package/v1/model/AgentRemovePathReq.d.ts +7 -0
  19. package/v1/model/AgentRemovePathReq.js +24 -0
  20. package/v1/model/AgentUpdate.d.ts +12 -0
  21. package/v1/model/AgentUpdate.js +22 -0
  22. package/v1/model/AgentUpdateReq.d.ts +6 -0
  23. package/v1/model/AgentUpdateReq.js +14 -0
  24. package/v1/model/BillingCreate.d.ts +0 -5
  25. package/v1/model/BillingCreate.js +0 -14
  26. package/v1/model/InstancesResourceDetail.d.ts +6 -0
  27. package/v1/model/InstancesResourceDetail.js +13 -0
  28. package/v1/model/ListAgentRequest.d.ts +13 -0
  29. package/v1/model/ListAgentRequest.js +35 -0
  30. package/v1/model/ListAgentResponse.d.ts +13 -0
  31. package/v1/model/ListAgentResponse.js +43 -0
  32. package/v1/model/Path.d.ts +15 -0
  33. package/v1/model/Path.js +45 -0
  34. package/v1/model/PolicyoODCreate.d.ts +4 -0
  35. package/v1/model/PolicyoODCreate.js +14 -0
  36. package/v1/model/RegisterAgentRequest.d.ts +6 -0
  37. package/v1/model/RegisterAgentRequest.js +13 -0
  38. package/v1/model/RegisterAgentResponse.d.ts +7 -0
  39. package/v1/model/RegisterAgentResponse.js +31 -0
  40. package/v1/model/RemoveAgentPathRequest.d.ts +10 -0
  41. package/v1/model/RemoveAgentPathRequest.js +28 -0
  42. package/v1/model/RemoveAgentPathResponse.d.ts +10 -0
  43. package/v1/model/RemoveAgentPathResponse.js +45 -0
  44. package/v1/model/ShowAgentRequest.d.ts +7 -0
  45. package/v1/model/ShowAgentRequest.js +24 -0
  46. package/v1/model/ShowAgentResponse.d.ts +7 -0
  47. package/v1/model/ShowAgentResponse.js +31 -0
  48. package/v1/model/TagResource.d.ts +4 -4
  49. package/v1/model/UnregisterAgentRequest.d.ts +7 -0
  50. package/v1/model/UnregisterAgentRequest.js +24 -0
  51. package/v1/model/UnregisterAgentResponse.d.ts +4 -0
  52. package/v1/model/UnregisterAgentResponse.js +27 -0
  53. package/v1/model/UpdateAgentRequest.d.ts +10 -0
  54. package/v1/model/UpdateAgentRequest.js +28 -0
  55. package/v1/model/UpdateAgentResponse.d.ts +7 -0
  56. package/v1/model/UpdateAgentResponse.js +31 -0
  57. package/v1/public-api.d.ts +23 -1
  58. package/v1/public-api.js +23 -1
  59. package/v1/model/BillbingCreateExtraInfo.d.ts +0 -11
  60. package/v1/model/BillbingCreateExtraInfo.js +0 -37
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Path = void 0;
4
+ var Path = /** @class */ (function () {
5
+ function Path() {
6
+ }
7
+ Path.prototype.withId = function (id) {
8
+ this['id'] = id;
9
+ return this;
10
+ };
11
+ Path.prototype.withStatus = function (status) {
12
+ this['status'] = status;
13
+ return this;
14
+ };
15
+ Path.prototype.withAgentId = function (agentId) {
16
+ this['agent_id'] = agentId;
17
+ return this;
18
+ };
19
+ Object.defineProperty(Path.prototype, "agentId", {
20
+ get: function () {
21
+ return this['agent_id'];
22
+ },
23
+ set: function (agentId) {
24
+ this['agent_id'] = agentId;
25
+ },
26
+ enumerable: false,
27
+ configurable: true
28
+ });
29
+ Path.prototype.withDirPath = function (dirPath) {
30
+ this['dir_path'] = dirPath;
31
+ return this;
32
+ };
33
+ Object.defineProperty(Path.prototype, "dirPath", {
34
+ get: function () {
35
+ return this['dir_path'];
36
+ },
37
+ set: function (dirPath) {
38
+ this['dir_path'] = dirPath;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
43
+ return Path;
44
+ }());
45
+ exports.Path = Path;
@@ -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;
@@ -0,0 +1,6 @@
1
+ import { AgentRegisterReq } from './AgentRegisterReq';
2
+ export declare class RegisterAgentRequest {
3
+ body?: AgentRegisterReq;
4
+ constructor();
5
+ withBody(body: AgentRegisterReq): RegisterAgentRequest;
6
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RegisterAgentRequest = void 0;
4
+ var RegisterAgentRequest = /** @class */ (function () {
5
+ function RegisterAgentRequest() {
6
+ }
7
+ RegisterAgentRequest.prototype.withBody = function (body) {
8
+ this['body'] = body;
9
+ return this;
10
+ };
11
+ return RegisterAgentRequest;
12
+ }());
13
+ exports.RegisterAgentRequest = RegisterAgentRequest;
@@ -0,0 +1,7 @@
1
+ import { Agent } from './Agent';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class RegisterAgentResponse extends SdkResponse {
4
+ agent?: Agent;
5
+ constructor();
6
+ withAgent(agent: Agent): RegisterAgentResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.RegisterAgentResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var RegisterAgentResponse = /** @class */ (function (_super) {
21
+ __extends(RegisterAgentResponse, _super);
22
+ function RegisterAgentResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ RegisterAgentResponse.prototype.withAgent = function (agent) {
26
+ this['agent'] = agent;
27
+ return this;
28
+ };
29
+ return RegisterAgentResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.RegisterAgentResponse = RegisterAgentResponse;
@@ -0,0 +1,10 @@
1
+ import { AgentRemovePathReq } from './AgentRemovePathReq';
2
+ export declare class RemoveAgentPathRequest {
3
+ private 'agent_id';
4
+ body?: AgentRemovePathReq;
5
+ constructor(agentId?: any);
6
+ withAgentId(agentId: string): RemoveAgentPathRequest;
7
+ set agentId(agentId: string | undefined);
8
+ get agentId(): string | undefined;
9
+ withBody(body: AgentRemovePathReq): RemoveAgentPathRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RemoveAgentPathRequest = void 0;
4
+ var RemoveAgentPathRequest = /** @class */ (function () {
5
+ function RemoveAgentPathRequest(agentId) {
6
+ this['agent_id'] = agentId;
7
+ }
8
+ RemoveAgentPathRequest.prototype.withAgentId = function (agentId) {
9
+ this['agent_id'] = agentId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(RemoveAgentPathRequest.prototype, "agentId", {
13
+ get: function () {
14
+ return this['agent_id'];
15
+ },
16
+ set: function (agentId) {
17
+ this['agent_id'] = agentId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ RemoveAgentPathRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return RemoveAgentPathRequest;
27
+ }());
28
+ exports.RemoveAgentPathRequest = RemoveAgentPathRequest;
@@ -0,0 +1,10 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class RemoveAgentPathResponse extends SdkResponse {
3
+ removed?: Array<string>;
4
+ private 'not_existed'?;
5
+ constructor();
6
+ withRemoved(removed: Array<string>): RemoveAgentPathResponse;
7
+ withNotExisted(notExisted: Array<string>): RemoveAgentPathResponse;
8
+ set notExisted(notExisted: Array<string> | undefined);
9
+ get notExisted(): Array<string> | undefined;
10
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.RemoveAgentPathResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var RemoveAgentPathResponse = /** @class */ (function (_super) {
21
+ __extends(RemoveAgentPathResponse, _super);
22
+ function RemoveAgentPathResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ RemoveAgentPathResponse.prototype.withRemoved = function (removed) {
26
+ this['removed'] = removed;
27
+ return this;
28
+ };
29
+ RemoveAgentPathResponse.prototype.withNotExisted = function (notExisted) {
30
+ this['not_existed'] = notExisted;
31
+ return this;
32
+ };
33
+ Object.defineProperty(RemoveAgentPathResponse.prototype, "notExisted", {
34
+ get: function () {
35
+ return this['not_existed'];
36
+ },
37
+ set: function (notExisted) {
38
+ this['not_existed'] = notExisted;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
43
+ return RemoveAgentPathResponse;
44
+ }(SdkResponse_1.SdkResponse));
45
+ exports.RemoveAgentPathResponse = RemoveAgentPathResponse;
@@ -0,0 +1,7 @@
1
+ export declare class ShowAgentRequest {
2
+ private 'agent_id';
3
+ constructor(agentId?: any);
4
+ withAgentId(agentId: string): ShowAgentRequest;
5
+ set agentId(agentId: string | undefined);
6
+ get agentId(): string | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShowAgentRequest = void 0;
4
+ var ShowAgentRequest = /** @class */ (function () {
5
+ function ShowAgentRequest(agentId) {
6
+ this['agent_id'] = agentId;
7
+ }
8
+ ShowAgentRequest.prototype.withAgentId = function (agentId) {
9
+ this['agent_id'] = agentId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(ShowAgentRequest.prototype, "agentId", {
13
+ get: function () {
14
+ return this['agent_id'];
15
+ },
16
+ set: function (agentId) {
17
+ this['agent_id'] = agentId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return ShowAgentRequest;
23
+ }());
24
+ exports.ShowAgentRequest = ShowAgentRequest;
@@ -0,0 +1,7 @@
1
+ import { Agent } from './Agent';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ShowAgentResponse extends SdkResponse {
4
+ agent?: Agent;
5
+ constructor();
6
+ withAgent(agent: Agent): ShowAgentResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ShowAgentResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ShowAgentResponse = /** @class */ (function (_super) {
21
+ __extends(ShowAgentResponse, _super);
22
+ function ShowAgentResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ShowAgentResponse.prototype.withAgent = function (agent) {
26
+ this['agent'] = agent;
27
+ return this;
28
+ };
29
+ return ShowAgentResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.ShowAgentResponse = ShowAgentResponse;
@@ -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);
@@ -0,0 +1,7 @@
1
+ export declare class UnregisterAgentRequest {
2
+ private 'agent_id';
3
+ constructor(agentId?: any);
4
+ withAgentId(agentId: string): UnregisterAgentRequest;
5
+ set agentId(agentId: string | undefined);
6
+ get agentId(): string | undefined;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnregisterAgentRequest = void 0;
4
+ var UnregisterAgentRequest = /** @class */ (function () {
5
+ function UnregisterAgentRequest(agentId) {
6
+ this['agent_id'] = agentId;
7
+ }
8
+ UnregisterAgentRequest.prototype.withAgentId = function (agentId) {
9
+ this['agent_id'] = agentId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UnregisterAgentRequest.prototype, "agentId", {
13
+ get: function () {
14
+ return this['agent_id'];
15
+ },
16
+ set: function (agentId) {
17
+ this['agent_id'] = agentId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return UnregisterAgentRequest;
23
+ }());
24
+ exports.UnregisterAgentRequest = UnregisterAgentRequest;
@@ -0,0 +1,4 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class UnregisterAgentResponse extends SdkResponse {
3
+ constructor();
4
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UnregisterAgentResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UnregisterAgentResponse = /** @class */ (function (_super) {
21
+ __extends(UnregisterAgentResponse, _super);
22
+ function UnregisterAgentResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ return UnregisterAgentResponse;
26
+ }(SdkResponse_1.SdkResponse));
27
+ exports.UnregisterAgentResponse = UnregisterAgentResponse;
@@ -0,0 +1,10 @@
1
+ import { AgentUpdateReq } from './AgentUpdateReq';
2
+ export declare class UpdateAgentRequest {
3
+ private 'agent_id';
4
+ body?: AgentUpdateReq;
5
+ constructor(agentId?: any);
6
+ withAgentId(agentId: string): UpdateAgentRequest;
7
+ set agentId(agentId: string | undefined);
8
+ get agentId(): string | undefined;
9
+ withBody(body: AgentUpdateReq): UpdateAgentRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateAgentRequest = void 0;
4
+ var UpdateAgentRequest = /** @class */ (function () {
5
+ function UpdateAgentRequest(agentId) {
6
+ this['agent_id'] = agentId;
7
+ }
8
+ UpdateAgentRequest.prototype.withAgentId = function (agentId) {
9
+ this['agent_id'] = agentId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateAgentRequest.prototype, "agentId", {
13
+ get: function () {
14
+ return this['agent_id'];
15
+ },
16
+ set: function (agentId) {
17
+ this['agent_id'] = agentId;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ UpdateAgentRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return UpdateAgentRequest;
27
+ }());
28
+ exports.UpdateAgentRequest = UpdateAgentRequest;
@@ -0,0 +1,7 @@
1
+ import { Agent } from './Agent';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class UpdateAgentResponse extends SdkResponse {
4
+ agent?: Agent;
5
+ constructor();
6
+ withAgent(agent: Agent): UpdateAgentResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UpdateAgentResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateAgentResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateAgentResponse, _super);
22
+ function UpdateAgentResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateAgentResponse.prototype.withAgent = function (agent) {
26
+ this['agent'] = agent;
27
+ return this;
28
+ };
29
+ return UpdateAgentResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.UpdateAgentResponse = UpdateAgentResponse;
@@ -1,9 +1,18 @@
1
1
  export * from './CbrClient';
2
+ export * from './model/AddAgentPathRequest';
3
+ export * from './model/AddAgentPathResponse';
2
4
  export * from './model/AddMemberRequest';
3
5
  export * from './model/AddMemberResponse';
4
6
  export * from './model/AddMembersReq';
5
7
  export * from './model/AddVaultResourceRequest';
6
8
  export * from './model/AddVaultResourceResponse';
9
+ export * from './model/Agent';
10
+ export * from './model/AgentAddPathReq';
11
+ export * from './model/AgentRegister';
12
+ export * from './model/AgentRegisterReq';
13
+ export * from './model/AgentRemovePathReq';
14
+ export * from './model/AgentUpdate';
15
+ export * from './model/AgentUpdateReq';
7
16
  export * from './model/AssociateVaultPolicyRequest';
8
17
  export * from './model/AssociateVaultPolicyResponse';
9
18
  export * from './model/BackupExtendInfo';
@@ -19,7 +28,6 @@ export * from './model/BackupSyncReq';
19
28
  export * from './model/BackupSyncRespBody';
20
29
  export * from './model/BatchCreateAndDeleteVaultTagsRequest';
21
30
  export * from './model/BatchCreateAndDeleteVaultTagsResponse';
22
- export * from './model/BillbingCreateExtraInfo';
23
31
  export * from './model/Billing';
24
32
  export * from './model/BillingCreate';
25
33
  export * from './model/BillingUpdate';
@@ -63,6 +71,9 @@ export * from './model/DisassociateVaultPolicyResponse';
63
71
  export * from './model/ImageData';
64
72
  export * from './model/ImportBackupRequest';
65
73
  export * from './model/ImportBackupResponse';
74
+ export * from './model/InstancesResourceDetail';
75
+ export * from './model/ListAgentRequest';
76
+ export * from './model/ListAgentResponse';
66
77
  export * from './model/ListBackupsRequest';
67
78
  export * from './model/ListBackupsResponse';
68
79
  export * from './model/ListOpLogsRequest';
@@ -88,6 +99,7 @@ export * from './model/OpExtendInfoSync';
88
99
  export * from './model/OpExtendInfoVaultDelete';
89
100
  export * from './model/OpExtraInfo';
90
101
  export * from './model/OperationLog';
102
+ export * from './model/Path';
91
103
  export * from './model/Policy';
92
104
  export * from './model/PolicyAssociateVault';
93
105
  export * from './model/PolicyCreate';
@@ -102,6 +114,10 @@ export * from './model/PolicyoODCreate';
102
114
  export * from './model/ProtectableReplicationCapabilitiesRespRegion';
103
115
  export * from './model/ProtectableResult';
104
116
  export * from './model/ProtectablesResp';
117
+ export * from './model/RegisterAgentRequest';
118
+ export * from './model/RegisterAgentResponse';
119
+ export * from './model/RemoveAgentPathRequest';
120
+ export * from './model/RemoveAgentPathResponse';
105
121
  export * from './model/RemoveVaultResourceRequest';
106
122
  export * from './model/RemoveVaultResourceResponse';
107
123
  export * from './model/ReplicationRecordGet';
@@ -113,6 +129,8 @@ export * from './model/ResourceExtraInfoIncludeVolumes';
113
129
  export * from './model/ResourceResp';
114
130
  export * from './model/RestoreBackupRequest';
115
131
  export * from './model/RestoreBackupResponse';
132
+ export * from './model/ShowAgentRequest';
133
+ export * from './model/ShowAgentResponse';
116
134
  export * from './model/ShowBackupRequest';
117
135
  export * from './model/ShowBackupResponse';
118
136
  export * from './model/ShowCheckpointRequest';
@@ -143,6 +161,10 @@ export * from './model/Tag';
143
161
  export * from './model/TagResource';
144
162
  export * from './model/TagsReq';
145
163
  export * from './model/TagsResp';
164
+ export * from './model/UnregisterAgentRequest';
165
+ export * from './model/UnregisterAgentResponse';
166
+ export * from './model/UpdateAgentRequest';
167
+ export * from './model/UpdateAgentResponse';
146
168
  export * from './model/UpdateMember';
147
169
  export * from './model/UpdateMemberStatusRequest';
148
170
  export * from './model/UpdateMemberStatusResponse';
package/v1/public-api.js CHANGED
@@ -15,11 +15,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CbrClient"), exports);
18
+ __exportStar(require("./model/AddAgentPathRequest"), exports);
19
+ __exportStar(require("./model/AddAgentPathResponse"), exports);
18
20
  __exportStar(require("./model/AddMemberRequest"), exports);
19
21
  __exportStar(require("./model/AddMemberResponse"), exports);
20
22
  __exportStar(require("./model/AddMembersReq"), exports);
21
23
  __exportStar(require("./model/AddVaultResourceRequest"), exports);
22
24
  __exportStar(require("./model/AddVaultResourceResponse"), exports);
25
+ __exportStar(require("./model/Agent"), exports);
26
+ __exportStar(require("./model/AgentAddPathReq"), exports);
27
+ __exportStar(require("./model/AgentRegister"), exports);
28
+ __exportStar(require("./model/AgentRegisterReq"), exports);
29
+ __exportStar(require("./model/AgentRemovePathReq"), exports);
30
+ __exportStar(require("./model/AgentUpdate"), exports);
31
+ __exportStar(require("./model/AgentUpdateReq"), exports);
23
32
  __exportStar(require("./model/AssociateVaultPolicyRequest"), exports);
24
33
  __exportStar(require("./model/AssociateVaultPolicyResponse"), exports);
25
34
  __exportStar(require("./model/BackupExtendInfo"), exports);
@@ -35,7 +44,6 @@ __exportStar(require("./model/BackupSyncReq"), exports);
35
44
  __exportStar(require("./model/BackupSyncRespBody"), exports);
36
45
  __exportStar(require("./model/BatchCreateAndDeleteVaultTagsRequest"), exports);
37
46
  __exportStar(require("./model/BatchCreateAndDeleteVaultTagsResponse"), exports);
38
- __exportStar(require("./model/BillbingCreateExtraInfo"), exports);
39
47
  __exportStar(require("./model/Billing"), exports);
40
48
  __exportStar(require("./model/BillingCreate"), exports);
41
49
  __exportStar(require("./model/BillingUpdate"), exports);
@@ -79,6 +87,9 @@ __exportStar(require("./model/DisassociateVaultPolicyResponse"), exports);
79
87
  __exportStar(require("./model/ImageData"), exports);
80
88
  __exportStar(require("./model/ImportBackupRequest"), exports);
81
89
  __exportStar(require("./model/ImportBackupResponse"), exports);
90
+ __exportStar(require("./model/InstancesResourceDetail"), exports);
91
+ __exportStar(require("./model/ListAgentRequest"), exports);
92
+ __exportStar(require("./model/ListAgentResponse"), exports);
82
93
  __exportStar(require("./model/ListBackupsRequest"), exports);
83
94
  __exportStar(require("./model/ListBackupsResponse"), exports);
84
95
  __exportStar(require("./model/ListOpLogsRequest"), exports);
@@ -104,6 +115,7 @@ __exportStar(require("./model/OpExtendInfoSync"), exports);
104
115
  __exportStar(require("./model/OpExtendInfoVaultDelete"), exports);
105
116
  __exportStar(require("./model/OpExtraInfo"), exports);
106
117
  __exportStar(require("./model/OperationLog"), exports);
118
+ __exportStar(require("./model/Path"), exports);
107
119
  __exportStar(require("./model/Policy"), exports);
108
120
  __exportStar(require("./model/PolicyAssociateVault"), exports);
109
121
  __exportStar(require("./model/PolicyCreate"), exports);
@@ -118,6 +130,10 @@ __exportStar(require("./model/PolicyoODCreate"), exports);
118
130
  __exportStar(require("./model/ProtectableReplicationCapabilitiesRespRegion"), exports);
119
131
  __exportStar(require("./model/ProtectableResult"), exports);
120
132
  __exportStar(require("./model/ProtectablesResp"), exports);
133
+ __exportStar(require("./model/RegisterAgentRequest"), exports);
134
+ __exportStar(require("./model/RegisterAgentResponse"), exports);
135
+ __exportStar(require("./model/RemoveAgentPathRequest"), exports);
136
+ __exportStar(require("./model/RemoveAgentPathResponse"), exports);
121
137
  __exportStar(require("./model/RemoveVaultResourceRequest"), exports);
122
138
  __exportStar(require("./model/RemoveVaultResourceResponse"), exports);
123
139
  __exportStar(require("./model/ReplicationRecordGet"), exports);
@@ -129,6 +145,8 @@ __exportStar(require("./model/ResourceExtraInfoIncludeVolumes"), exports);
129
145
  __exportStar(require("./model/ResourceResp"), exports);
130
146
  __exportStar(require("./model/RestoreBackupRequest"), exports);
131
147
  __exportStar(require("./model/RestoreBackupResponse"), exports);
148
+ __exportStar(require("./model/ShowAgentRequest"), exports);
149
+ __exportStar(require("./model/ShowAgentResponse"), exports);
132
150
  __exportStar(require("./model/ShowBackupRequest"), exports);
133
151
  __exportStar(require("./model/ShowBackupResponse"), exports);
134
152
  __exportStar(require("./model/ShowCheckpointRequest"), exports);
@@ -159,6 +177,10 @@ __exportStar(require("./model/Tag"), exports);
159
177
  __exportStar(require("./model/TagResource"), exports);
160
178
  __exportStar(require("./model/TagsReq"), exports);
161
179
  __exportStar(require("./model/TagsResp"), exports);
180
+ __exportStar(require("./model/UnregisterAgentRequest"), exports);
181
+ __exportStar(require("./model/UnregisterAgentResponse"), exports);
182
+ __exportStar(require("./model/UpdateAgentRequest"), exports);
183
+ __exportStar(require("./model/UpdateAgentResponse"), exports);
162
184
  __exportStar(require("./model/UpdateMember"), exports);
163
185
  __exportStar(require("./model/UpdateMemberStatusRequest"), exports);
164
186
  __exportStar(require("./model/UpdateMemberStatusResponse"), exports);