@alicloud/vpc20160428 6.10.2 → 6.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/client.d.ts +144 -0
  2. package/dist/client.js +378 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateRouteTargetGroupRequest.d.ts +185 -0
  5. package/dist/models/CreateRouteTargetGroupRequest.js +124 -0
  6. package/dist/models/CreateRouteTargetGroupRequest.js.map +1 -0
  7. package/dist/models/CreateRouteTargetGroupResponse.d.ts +19 -0
  8. package/dist/models/CreateRouteTargetGroupResponse.js +69 -0
  9. package/dist/models/CreateRouteTargetGroupResponse.js.map +1 -0
  10. package/dist/models/CreateRouteTargetGroupResponseBody.d.ts +29 -0
  11. package/dist/models/CreateRouteTargetGroupResponseBody.js +60 -0
  12. package/dist/models/CreateRouteTargetGroupResponseBody.js.map +1 -0
  13. package/dist/models/DeleteRouteTargetGroupRequest.d.ts +84 -0
  14. package/dist/models/DeleteRouteTargetGroupRequest.js +88 -0
  15. package/dist/models/DeleteRouteTargetGroupRequest.js.map +1 -0
  16. package/dist/models/DeleteRouteTargetGroupResponse.d.ts +19 -0
  17. package/dist/models/DeleteRouteTargetGroupResponse.js +69 -0
  18. package/dist/models/DeleteRouteTargetGroupResponse.js.map +1 -0
  19. package/dist/models/DeleteRouteTargetGroupResponseBody.d.ts +21 -0
  20. package/dist/models/DeleteRouteTargetGroupResponseBody.js +58 -0
  21. package/dist/models/DeleteRouteTargetGroupResponseBody.js.map +1 -0
  22. package/dist/models/GetRouteTargetGroupRequest.d.ts +82 -0
  23. package/dist/models/GetRouteTargetGroupRequest.js +88 -0
  24. package/dist/models/GetRouteTargetGroupRequest.js.map +1 -0
  25. package/dist/models/GetRouteTargetGroupResponse.d.ts +19 -0
  26. package/dist/models/GetRouteTargetGroupResponse.js +69 -0
  27. package/dist/models/GetRouteTargetGroupResponse.js.map +1 -0
  28. package/dist/models/GetRouteTargetGroupResponseBody.d.ts +201 -0
  29. package/dist/models/GetRouteTargetGroupResponseBody.js +134 -0
  30. package/dist/models/GetRouteTargetGroupResponseBody.js.map +1 -0
  31. package/dist/models/ListRouteTargetGroupsRequest.d.ts +116 -0
  32. package/dist/models/ListRouteTargetGroupsRequest.js +101 -0
  33. package/dist/models/ListRouteTargetGroupsRequest.js.map +1 -0
  34. package/dist/models/ListRouteTargetGroupsResponse.d.ts +19 -0
  35. package/dist/models/ListRouteTargetGroupsResponse.js +69 -0
  36. package/dist/models/ListRouteTargetGroupsResponse.js.map +1 -0
  37. package/dist/models/ListRouteTargetGroupsResponseBody.d.ts +256 -0
  38. package/dist/models/ListRouteTargetGroupsResponseBody.js +162 -0
  39. package/dist/models/ListRouteTargetGroupsResponseBody.js.map +1 -0
  40. package/dist/models/SwitchActiveRouteTargetRequest.d.ts +78 -0
  41. package/dist/models/SwitchActiveRouteTargetRequest.js +88 -0
  42. package/dist/models/SwitchActiveRouteTargetRequest.js.map +1 -0
  43. package/dist/models/SwitchActiveRouteTargetResponse.d.ts +19 -0
  44. package/dist/models/SwitchActiveRouteTargetResponse.js +69 -0
  45. package/dist/models/SwitchActiveRouteTargetResponse.js.map +1 -0
  46. package/dist/models/SwitchActiveRouteTargetResponseBody.d.ts +21 -0
  47. package/dist/models/SwitchActiveRouteTargetResponseBody.js +58 -0
  48. package/dist/models/SwitchActiveRouteTargetResponseBody.js.map +1 -0
  49. package/dist/models/UpdateRouteTargetGroupRequest.d.ts +112 -0
  50. package/dist/models/UpdateRouteTargetGroupRequest.js +94 -0
  51. package/dist/models/UpdateRouteTargetGroupRequest.js.map +1 -0
  52. package/dist/models/UpdateRouteTargetGroupResponse.d.ts +19 -0
  53. package/dist/models/UpdateRouteTargetGroupResponse.js +69 -0
  54. package/dist/models/UpdateRouteTargetGroupResponse.js.map +1 -0
  55. package/dist/models/UpdateRouteTargetGroupResponseBody.d.ts +21 -0
  56. package/dist/models/UpdateRouteTargetGroupResponseBody.js +58 -0
  57. package/dist/models/UpdateRouteTargetGroupResponseBody.js.map +1 -0
  58. package/dist/models/model.d.ts +30 -0
  59. package/dist/models/model.js +95 -34
  60. package/dist/models/model.js.map +1 -1
  61. package/package.json +1 -1
  62. package/src/client.ts +426 -0
  63. package/src/models/CreateRouteTargetGroupRequest.ts +246 -0
  64. package/src/models/CreateRouteTargetGroupResponse.ts +40 -0
  65. package/src/models/CreateRouteTargetGroupResponseBody.ts +44 -0
  66. package/src/models/DeleteRouteTargetGroupRequest.ts +118 -0
  67. package/src/models/DeleteRouteTargetGroupResponse.ts +40 -0
  68. package/src/models/DeleteRouteTargetGroupResponseBody.ts +34 -0
  69. package/src/models/GetRouteTargetGroupRequest.ts +116 -0
  70. package/src/models/GetRouteTargetGroupResponse.ts +40 -0
  71. package/src/models/GetRouteTargetGroupResponseBody.ts +272 -0
  72. package/src/models/ListRouteTargetGroupsRequest.ts +163 -0
  73. package/src/models/ListRouteTargetGroupsResponse.ts +40 -0
  74. package/src/models/ListRouteTargetGroupsResponseBody.ts +346 -0
  75. package/src/models/SwitchActiveRouteTargetRequest.ts +112 -0
  76. package/src/models/SwitchActiveRouteTargetResponse.ts +40 -0
  77. package/src/models/SwitchActiveRouteTargetResponseBody.ts +34 -0
  78. package/src/models/UpdateRouteTargetGroupRequest.ts +152 -0
  79. package/src/models/UpdateRouteTargetGroupResponse.ts +40 -0
  80. package/src/models/UpdateRouteTargetGroupResponseBody.ts +34 -0
  81. package/src/models/model.ts +30 -0
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DeleteRouteTargetGroupResponseBody } from "./DeleteRouteTargetGroupResponseBody";
3
+ export declare class DeleteRouteTargetGroupResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DeleteRouteTargetGroupResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteRouteTargetGroupResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DeleteRouteTargetGroupResponseBody_1 = require("./DeleteRouteTargetGroupResponseBody");
40
+ class DeleteRouteTargetGroupResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DeleteRouteTargetGroupResponseBody_1.DeleteRouteTargetGroupResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DeleteRouteTargetGroupResponse = DeleteRouteTargetGroupResponse;
69
+ //# sourceMappingURL=DeleteRouteTargetGroupResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteRouteTargetGroupResponse.js","sourceRoot":"","sources":["../../src/models/DeleteRouteTargetGroupResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6FAA0F;AAG1F,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAI7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,uEAAkC;SACzC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,wEAiCC"}
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteRouteTargetGroupResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * ID of the request
6
+ *
7
+ * @example
8
+ * 4EC47282-1B74-4534-BD0E-403F3EE64CAF
9
+ */
10
+ requestId?: string;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteRouteTargetGroupResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteRouteTargetGroupResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.DeleteRouteTargetGroupResponseBody = DeleteRouteTargetGroupResponseBody;
58
+ //# sourceMappingURL=DeleteRouteTargetGroupResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteRouteTargetGroupResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteRouteTargetGroupResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IASjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,gFA4BC"}
@@ -0,0 +1,82 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetRouteTargetGroupRequestTag extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * Resource tag key. Up to 20 tag keys are supported. If you need to pass this value, you cannot input an empty string.
6
+ *
7
+ * A tag key can have up to 128 characters and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
8
+ *
9
+ * @example
10
+ * FinanceDept
11
+ */
12
+ key?: string;
13
+ /**
14
+ * @remarks
15
+ * Resource tag value. Up to 20 tag values are supported. If you need to pass this value, you can input an empty string.
16
+ *
17
+ * A tag value can have up to 128 characters and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
18
+ *
19
+ * @example
20
+ * FinanceJoshua
21
+ */
22
+ value?: string;
23
+ static names(): {
24
+ [key: string]: string;
25
+ };
26
+ static types(): {
27
+ [key: string]: any;
28
+ };
29
+ validate(): void;
30
+ constructor(map?: {
31
+ [key: string]: any;
32
+ });
33
+ }
34
+ export declare class GetRouteTargetGroupRequest extends $dara.Model {
35
+ /**
36
+ * @remarks
37
+ * Client token, used to ensure idempotence of the request.
38
+ *
39
+ * Generate a parameter value from your client and ensure that it is unique across different requests. ClientToken only supports ASCII characters.
40
+ *
41
+ * > If you do not specify this, the system automatically uses the **RequestId** of the API request as the **ClientToken** identifier. The **RequestId** may be different for each API request.
42
+ *
43
+ * @example
44
+ * 02fb3da4-130e-11e9-8e44-0016e04115b
45
+ */
46
+ clientToken?: string;
47
+ /**
48
+ * @remarks
49
+ * ID of the region to which the route target group belongs. You can obtain the region ID by calling the DescribeRegions interface.
50
+ *
51
+ * This parameter is required.
52
+ *
53
+ * @example
54
+ * cn-hangzhou
55
+ */
56
+ regionId?: string;
57
+ /**
58
+ * @remarks
59
+ * ID of the route target group member instance.
60
+ *
61
+ * This parameter is required.
62
+ *
63
+ * @example
64
+ * rtg-xxxx
65
+ */
66
+ routeTargetGroupId?: string;
67
+ /**
68
+ * @remarks
69
+ * Tag information.
70
+ */
71
+ tag?: GetRouteTargetGroupRequestTag[];
72
+ static names(): {
73
+ [key: string]: string;
74
+ };
75
+ static types(): {
76
+ [key: string]: any;
77
+ };
78
+ validate(): void;
79
+ constructor(map?: {
80
+ [key: string]: any;
81
+ });
82
+ }
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.GetRouteTargetGroupRequest = exports.GetRouteTargetGroupRequestTag = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GetRouteTargetGroupRequestTag extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ key: 'Key',
43
+ value: 'Value',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ key: 'string',
49
+ value: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.GetRouteTargetGroupRequestTag = GetRouteTargetGroupRequestTag;
60
+ class GetRouteTargetGroupRequest extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ clientToken: 'ClientToken',
64
+ regionId: 'RegionId',
65
+ routeTargetGroupId: 'RouteTargetGroupId',
66
+ tag: 'Tag',
67
+ };
68
+ }
69
+ static types() {
70
+ return {
71
+ clientToken: 'string',
72
+ regionId: 'string',
73
+ routeTargetGroupId: 'string',
74
+ tag: { 'type': 'array', 'itemType': GetRouteTargetGroupRequestTag },
75
+ };
76
+ }
77
+ validate() {
78
+ if (Array.isArray(this.tag)) {
79
+ $dara.Model.validateArray(this.tag);
80
+ }
81
+ super.validate();
82
+ }
83
+ constructor(map) {
84
+ super(map);
85
+ }
86
+ }
87
+ exports.GetRouteTargetGroupRequest = GetRouteTargetGroupRequest;
88
+ //# sourceMappingURL=GetRouteTargetGroupRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetRouteTargetGroupRequest.js","sourceRoot":"","sources":["../../src/models/GetRouteTargetGroupRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAqB5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1CD,sEA0CC;AAED,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAsCzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,kBAAkB,EAAE,oBAAoB;YACxC,GAAG,EAAE,KAAK;SACX,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,kBAAkB,EAAE,QAAQ;YAC5B,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6BAA6B,EAAE;SACpE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlED,gEAkEC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { GetRouteTargetGroupResponseBody } from "./GetRouteTargetGroupResponseBody";
3
+ export declare class GetRouteTargetGroupResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: GetRouteTargetGroupResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.GetRouteTargetGroupResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const GetRouteTargetGroupResponseBody_1 = require("./GetRouteTargetGroupResponseBody");
40
+ class GetRouteTargetGroupResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: GetRouteTargetGroupResponseBody_1.GetRouteTargetGroupResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.GetRouteTargetGroupResponse = GetRouteTargetGroupResponse;
69
+ //# sourceMappingURL=GetRouteTargetGroupResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetRouteTargetGroupResponse.js","sourceRoot":"","sources":["../../src/models/GetRouteTargetGroupResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uFAAoF;AAGpF,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAI1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,iEAA+B;SACtC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,kEAiCC"}
@@ -0,0 +1,201 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetRouteTargetGroupResponseBodyRouteTargetMemberList extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The enable status of the route target group member. Values:
6
+ *
7
+ * - **Enable**: Enabled.
8
+ * - **Disable**: Disabled.
9
+ *
10
+ * Only disabled route target group members can be modified to other instances. Enabled route target group members cannot be modified.
11
+ *
12
+ * @example
13
+ * Enable
14
+ */
15
+ enableStatus?: string;
16
+ /**
17
+ * @remarks
18
+ * Route target group member health check status. Values:
19
+ * - **Normal**: Normal
20
+ * - **Abnormal**: Abnormal
21
+ *
22
+ * @example
23
+ * Normal
24
+ */
25
+ healthCheckStatus?: string;
26
+ /**
27
+ * @remarks
28
+ * ID of the route target group member instance.
29
+ *
30
+ * @example
31
+ * ep-xxxx
32
+ */
33
+ memberId?: string;
34
+ /**
35
+ * @remarks
36
+ * Type of the route target group member.
37
+ *
38
+ * Currently supported types:
39
+ *
40
+ * - **GatewayLoadBalancerEndpoint**
41
+ *
42
+ * @example
43
+ * GatewayLoadBalancerEndpoint
44
+ */
45
+ memberType?: string;
46
+ /**
47
+ * @remarks
48
+ * Weight value of the route target group member. Values:
49
+ *
50
+ * - **100**: Indicates the member is the primary instance.
51
+ * - **0**: Indicates the member is the standby instance.
52
+ *
53
+ * The weight value can only be set during creation and cannot be modified.
54
+ *
55
+ * @example
56
+ * 100
57
+ */
58
+ weight?: number;
59
+ static names(): {
60
+ [key: string]: string;
61
+ };
62
+ static types(): {
63
+ [key: string]: any;
64
+ };
65
+ validate(): void;
66
+ constructor(map?: {
67
+ [key: string]: any;
68
+ });
69
+ }
70
+ export declare class GetRouteTargetGroupResponseBodyTags extends $dara.Model {
71
+ /**
72
+ * @remarks
73
+ * Tag key.
74
+ *
75
+ * @example
76
+ * FinanceDept
77
+ */
78
+ key?: string;
79
+ /**
80
+ * @remarks
81
+ * Tag value.
82
+ *
83
+ * @example
84
+ * FinanceJoshua
85
+ */
86
+ value?: string;
87
+ static names(): {
88
+ [key: string]: string;
89
+ };
90
+ static types(): {
91
+ [key: string]: any;
92
+ };
93
+ validate(): void;
94
+ constructor(map?: {
95
+ [key: string]: any;
96
+ });
97
+ }
98
+ export declare class GetRouteTargetGroupResponseBody extends $dara.Model {
99
+ /**
100
+ * @remarks
101
+ * Configuration mode of the route target group. Supported modes are as follows:
102
+ *
103
+ * - **Active-Standby**: Active-standby mode.
104
+ *
105
+ * @example
106
+ * Active-Standby
107
+ */
108
+ configMode?: string;
109
+ /**
110
+ * @remarks
111
+ * The time when the route target group was created.
112
+ *
113
+ * @example
114
+ * 2025-12-30T06:40:50Z
115
+ */
116
+ createTime?: string;
117
+ /**
118
+ * @remarks
119
+ * The region ID of the VPC to which the route target group belongs. You can obtain the region ID by calling the DescribeRegions interface.
120
+ *
121
+ * @example
122
+ * cn-qingdao
123
+ */
124
+ regionId?: string;
125
+ /**
126
+ * @remarks
127
+ * The request ID.
128
+ *
129
+ * @example
130
+ * 1AE05898-06E5-4782-xxxxx
131
+ */
132
+ requestId?: string;
133
+ /**
134
+ * @remarks
135
+ * The ID of the resource group to which the route target group belongs.
136
+ *
137
+ * @example
138
+ * rg-acfmxazdjdhd****
139
+ */
140
+ resourceGroupId?: string;
141
+ /**
142
+ * @remarks
143
+ * Description of the route target group.
144
+ *
145
+ * @example
146
+ * myRouteTargetGroupDescription
147
+ */
148
+ routeTargetGroupDescription?: string;
149
+ /**
150
+ * @remarks
151
+ * ID of the route target group instance.
152
+ *
153
+ * @example
154
+ * rtg-xxxx
155
+ */
156
+ routeTargetGroupId?: string;
157
+ /**
158
+ * @remarks
159
+ * Name of the route target group.
160
+ *
161
+ * @example
162
+ * myRouteTargetGroupName
163
+ */
164
+ routeTargetGroupName?: string;
165
+ /**
166
+ * @remarks
167
+ * List of members in the route target group.
168
+ */
169
+ routeTargetMemberList?: GetRouteTargetGroupResponseBodyRouteTargetMemberList[];
170
+ /**
171
+ * @remarks
172
+ * Status of the route target group.
173
+ *
174
+ * @example
175
+ * Available
176
+ */
177
+ status?: string;
178
+ /**
179
+ * @remarks
180
+ * Tags of the route target group.
181
+ */
182
+ tags?: GetRouteTargetGroupResponseBodyTags[];
183
+ /**
184
+ * @remarks
185
+ * ID of the VPC to which the route target group belongs.
186
+ *
187
+ * @example
188
+ * vpc-xxxx
189
+ */
190
+ vpcId?: string;
191
+ static names(): {
192
+ [key: string]: string;
193
+ };
194
+ static types(): {
195
+ [key: string]: any;
196
+ };
197
+ validate(): void;
198
+ constructor(map?: {
199
+ [key: string]: any;
200
+ });
201
+ }