@alicloud/polardb20170801 5.6.1 → 5.7.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 (93) hide show
  1. package/dist/client.d.ts +45 -0
  2. package/dist/client.js +153 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateGlobalDataNetworkRequest.d.ts +63 -0
  5. package/dist/models/CreateGlobalDataNetworkRequest.js +76 -0
  6. package/dist/models/CreateGlobalDataNetworkRequest.js.map +1 -0
  7. package/dist/models/CreateGlobalDataNetworkResponse.d.ts +19 -0
  8. package/dist/models/CreateGlobalDataNetworkResponse.js +69 -0
  9. package/dist/models/CreateGlobalDataNetworkResponse.js.map +1 -0
  10. package/dist/models/CreateGlobalDataNetworkResponseBody.d.ts +31 -0
  11. package/dist/models/CreateGlobalDataNetworkResponseBody.js +62 -0
  12. package/dist/models/CreateGlobalDataNetworkResponseBody.js.map +1 -0
  13. package/dist/models/CreateGlobalDatabaseNetworkRequest.d.ts +1 -0
  14. package/dist/models/CreateGlobalDatabaseNetworkRequest.js +2 -0
  15. package/dist/models/CreateGlobalDatabaseNetworkRequest.js.map +1 -1
  16. package/dist/models/DeleteGlobalDataNetworkRequest.d.ts +21 -0
  17. package/dist/models/DeleteGlobalDataNetworkRequest.js +58 -0
  18. package/dist/models/DeleteGlobalDataNetworkRequest.js.map +1 -0
  19. package/dist/models/DeleteGlobalDataNetworkResponse.d.ts +19 -0
  20. package/dist/models/DeleteGlobalDataNetworkResponse.js +69 -0
  21. package/dist/models/DeleteGlobalDataNetworkResponse.js.map +1 -0
  22. package/dist/models/DeleteGlobalDataNetworkResponseBody.d.ts +18 -0
  23. package/dist/models/DeleteGlobalDataNetworkResponseBody.js +58 -0
  24. package/dist/models/DeleteGlobalDataNetworkResponseBody.js.map +1 -0
  25. package/dist/models/DescribeGlobalDataNetworkListRequest.d.ts +23 -0
  26. package/dist/models/DescribeGlobalDataNetworkListRequest.js +60 -0
  27. package/dist/models/DescribeGlobalDataNetworkListRequest.js.map +1 -0
  28. package/dist/models/DescribeGlobalDataNetworkListResponse.d.ts +19 -0
  29. package/dist/models/DescribeGlobalDataNetworkListResponse.js +69 -0
  30. package/dist/models/DescribeGlobalDataNetworkListResponse.js.map +1 -0
  31. package/dist/models/DescribeGlobalDataNetworkListResponseBody.d.ts +35 -0
  32. package/dist/models/DescribeGlobalDataNetworkListResponseBody.js +70 -0
  33. package/dist/models/DescribeGlobalDataNetworkListResponseBody.js.map +1 -0
  34. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItems.d.ts +15 -0
  35. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItems.js +62 -0
  36. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItems.js.map +1 -0
  37. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworks.d.ts +40 -0
  38. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworks.js +76 -0
  39. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworks.js.map +1 -0
  40. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels.d.ts +33 -0
  41. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels.js +64 -0
  42. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels.js.map +1 -0
  43. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology.d.ts +17 -0
  44. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology.js +68 -0
  45. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology.js.map +1 -0
  46. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations.d.ts +33 -0
  47. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations.js +64 -0
  48. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations.js.map +1 -0
  49. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources.d.ts +33 -0
  50. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources.js +64 -0
  51. package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources.js.map +1 -0
  52. package/dist/models/DescribeGlobalDatabaseNetworkResponseBody.d.ts +2 -0
  53. package/dist/models/DescribeGlobalDatabaseNetworkResponseBody.js +6 -0
  54. package/dist/models/DescribeGlobalDatabaseNetworkResponseBody.js.map +1 -1
  55. package/dist/models/DescribeGlobalDatabaseNetworkResponseBodyLabels.d.ts +14 -0
  56. package/dist/models/DescribeGlobalDatabaseNetworkResponseBodyLabels.js +58 -0
  57. package/dist/models/DescribeGlobalDatabaseNetworkResponseBodyLabels.js.map +1 -0
  58. package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItems.d.ts +2 -0
  59. package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItems.js +6 -0
  60. package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItems.js.map +1 -1
  61. package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItemsLabels.d.ts +14 -0
  62. package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItemsLabels.js +58 -0
  63. package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItemsLabels.js.map +1 -0
  64. package/dist/models/RemoveDbclusterFromGdnrequest.d.ts +1 -0
  65. package/dist/models/RemoveDbclusterFromGdnrequest.js +2 -0
  66. package/dist/models/RemoveDbclusterFromGdnrequest.js.map +1 -1
  67. package/dist/models/model.d.ts +17 -0
  68. package/dist/models/model.js +45 -11
  69. package/dist/models/model.js.map +1 -1
  70. package/package.json +1 -1
  71. package/src/client.ts +174 -0
  72. package/src/models/CreateGlobalDataNetworkRequest.ts +94 -0
  73. package/src/models/CreateGlobalDataNetworkResponse.ts +40 -0
  74. package/src/models/CreateGlobalDataNetworkResponseBody.ts +48 -0
  75. package/src/models/CreateGlobalDatabaseNetworkRequest.ts +3 -0
  76. package/src/models/DeleteGlobalDataNetworkRequest.ts +34 -0
  77. package/src/models/DeleteGlobalDataNetworkResponse.ts +40 -0
  78. package/src/models/DeleteGlobalDataNetworkResponseBody.ts +31 -0
  79. package/src/models/DescribeGlobalDataNetworkListRequest.ts +38 -0
  80. package/src/models/DescribeGlobalDataNetworkListResponse.ts +40 -0
  81. package/src/models/DescribeGlobalDataNetworkListResponseBody.ts +59 -0
  82. package/src/models/DescribeGlobalDataNetworkListResponseBodyItems.ts +31 -0
  83. package/src/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworks.ts +69 -0
  84. package/src/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels.ts +52 -0
  85. package/src/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology.ts +38 -0
  86. package/src/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations.ts +52 -0
  87. package/src/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources.ts +52 -0
  88. package/src/models/DescribeGlobalDatabaseNetworkResponseBody.ts +7 -0
  89. package/src/models/DescribeGlobalDatabaseNetworkResponseBodyLabels.ts +27 -0
  90. package/src/models/DescribeGlobalDatabaseNetworksResponseBodyItems.ts +7 -0
  91. package/src/models/DescribeGlobalDatabaseNetworksResponseBodyItemsLabels.ts +27 -0
  92. package/src/models/RemoveDbclusterFromGdnrequest.ts +3 -0
  93. package/src/models/model.ts +17 -0
@@ -0,0 +1,94 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateGlobalDataNetworkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * mygdn
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @example
13
+ * /
14
+ */
15
+ destinationFileSystemPath?: string;
16
+ /**
17
+ * @example
18
+ * pfs-xxx
19
+ */
20
+ destinationId?: string;
21
+ /**
22
+ * @example
23
+ * cn-beijing
24
+ */
25
+ destinationRegion?: string;
26
+ /**
27
+ * @example
28
+ * pfs
29
+ */
30
+ destinationType?: string;
31
+ /**
32
+ * @example
33
+ * true
34
+ */
35
+ freezeSourceDuringSync?: string;
36
+ /**
37
+ * @example
38
+ * /
39
+ */
40
+ sourceFileSystemPath?: string;
41
+ /**
42
+ * @example
43
+ * oss-xxx
44
+ */
45
+ sourceId?: string;
46
+ /**
47
+ * @example
48
+ * cn-wulanchabu
49
+ */
50
+ sourceRegion?: string;
51
+ /**
52
+ * @example
53
+ * oss
54
+ */
55
+ sourceType?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ description: 'Description',
59
+ destinationFileSystemPath: 'DestinationFileSystemPath',
60
+ destinationId: 'DestinationId',
61
+ destinationRegion: 'DestinationRegion',
62
+ destinationType: 'DestinationType',
63
+ freezeSourceDuringSync: 'FreezeSourceDuringSync',
64
+ sourceFileSystemPath: 'SourceFileSystemPath',
65
+ sourceId: 'SourceId',
66
+ sourceRegion: 'SourceRegion',
67
+ sourceType: 'SourceType',
68
+ };
69
+ }
70
+
71
+ static types(): { [key: string]: any } {
72
+ return {
73
+ description: 'string',
74
+ destinationFileSystemPath: 'string',
75
+ destinationId: 'string',
76
+ destinationRegion: 'string',
77
+ destinationType: 'string',
78
+ freezeSourceDuringSync: 'string',
79
+ sourceFileSystemPath: 'string',
80
+ sourceId: 'string',
81
+ sourceRegion: 'string',
82
+ sourceType: 'string',
83
+ };
84
+ }
85
+
86
+ validate() {
87
+ super.validate();
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateGlobalDataNetworkResponseBody } from "./CreateGlobalDataNetworkResponseBody";
4
+
5
+
6
+ export class CreateGlobalDataNetworkResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateGlobalDataNetworkResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: CreateGlobalDataNetworkResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateGlobalDataNetworkResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * gdc-xxx
9
+ */
10
+ channelId?: string;
11
+ /**
12
+ * @remarks
13
+ * GDN ID
14
+ *
15
+ * @example
16
+ * gdn-xxx
17
+ */
18
+ networkId?: string;
19
+ /**
20
+ * @example
21
+ * 6BD9CDE4-5E7B-4BF3-9BB8-83C73E******
22
+ */
23
+ requestId?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ channelId: 'ChannelId',
27
+ networkId: 'NetworkId',
28
+ requestId: 'RequestId',
29
+ };
30
+ }
31
+
32
+ static types(): { [key: string]: any } {
33
+ return {
34
+ channelId: 'string',
35
+ networkId: 'string',
36
+ requestId: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -34,6 +34,7 @@ export class CreateGlobalDatabaseNetworkRequest extends $dara.Model {
34
34
  * GDN-fortest
35
35
  */
36
36
  GDNDescription?: string;
37
+ GDNVersion?: string;
37
38
  ownerAccount?: string;
38
39
  ownerId?: number;
39
40
  /**
@@ -52,6 +53,7 @@ export class CreateGlobalDatabaseNetworkRequest extends $dara.Model {
52
53
  DBClusterId: 'DBClusterId',
53
54
  enableGlobalDomainName: 'EnableGlobalDomainName',
54
55
  GDNDescription: 'GDNDescription',
56
+ GDNVersion: 'GDNVersion',
55
57
  ownerAccount: 'OwnerAccount',
56
58
  ownerId: 'OwnerId',
57
59
  resourceGroupId: 'ResourceGroupId',
@@ -66,6 +68,7 @@ export class CreateGlobalDatabaseNetworkRequest extends $dara.Model {
66
68
  DBClusterId: 'string',
67
69
  enableGlobalDomainName: 'boolean',
68
70
  GDNDescription: 'string',
71
+ GDNVersion: 'string',
69
72
  ownerAccount: 'string',
70
73
  ownerId: 'number',
71
74
  resourceGroupId: 'string',
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteGlobalDataNetworkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * GDN ID
9
+ *
10
+ * @example
11
+ * gdn-xxx
12
+ */
13
+ networkId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ networkId: 'NetworkId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ networkId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteGlobalDataNetworkResponseBody } from "./DeleteGlobalDataNetworkResponseBody";
4
+
5
+
6
+ export class DeleteGlobalDataNetworkResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteGlobalDataNetworkResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DeleteGlobalDataNetworkResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteGlobalDataNetworkResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * EBEAA83D-1734-42E3-85E3-E25F6E******
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeGlobalDataNetworkListRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1
9
+ */
10
+ pageNumber?: number;
11
+ /**
12
+ * @example
13
+ * 30
14
+ */
15
+ pageSize?: number;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ pageNumber: 'PageNumber',
19
+ pageSize: 'PageSize',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ pageNumber: 'number',
26
+ pageSize: 'number',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeGlobalDataNetworkListResponseBody } from "./DescribeGlobalDataNetworkListResponseBody";
4
+
5
+
6
+ export class DescribeGlobalDataNetworkListResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeGlobalDataNetworkListResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DescribeGlobalDataNetworkListResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,59 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeGlobalDataNetworkListResponseBodyItems } from "./DescribeGlobalDataNetworkListResponseBodyItems";
4
+
5
+
6
+ export class DescribeGlobalDataNetworkListResponseBody extends $dara.Model {
7
+ items?: DescribeGlobalDataNetworkListResponseBodyItems;
8
+ /**
9
+ * @example
10
+ * 1
11
+ */
12
+ pageNumber?: string;
13
+ /**
14
+ * @example
15
+ * 1
16
+ */
17
+ pageRecordCount?: string;
18
+ /**
19
+ * @example
20
+ * CD35F3-F3-44CA-AFFF-BAF869******
21
+ */
22
+ requestId?: string;
23
+ /**
24
+ * @example
25
+ * 1
26
+ */
27
+ totalRecordCount?: string;
28
+ static names(): { [key: string]: string } {
29
+ return {
30
+ items: 'Items',
31
+ pageNumber: 'PageNumber',
32
+ pageRecordCount: 'PageRecordCount',
33
+ requestId: 'RequestId',
34
+ totalRecordCount: 'TotalRecordCount',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ items: DescribeGlobalDataNetworkListResponseBodyItems,
41
+ pageNumber: 'string',
42
+ pageRecordCount: 'string',
43
+ requestId: 'string',
44
+ totalRecordCount: 'string',
45
+ };
46
+ }
47
+
48
+ validate() {
49
+ if(this.items && typeof (this.items as any).validate === 'function') {
50
+ (this.items as any).validate();
51
+ }
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeGlobalDataNetworkListResponseBodyItemsNetworks } from "./DescribeGlobalDataNetworkListResponseBodyItemsNetworks";
4
+
5
+
6
+ export class DescribeGlobalDataNetworkListResponseBodyItems extends $dara.Model {
7
+ networks?: DescribeGlobalDataNetworkListResponseBodyItemsNetworks[];
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ networks: 'Networks',
11
+ };
12
+ }
13
+
14
+ static types(): { [key: string]: any } {
15
+ return {
16
+ networks: { 'type': 'array', 'itemType': DescribeGlobalDataNetworkListResponseBodyItemsNetworks },
17
+ };
18
+ }
19
+
20
+ validate() {
21
+ if(Array.isArray(this.networks)) {
22
+ $dara.Model.validateArray(this.networks);
23
+ }
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,69 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels } from "./DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels";
4
+ import { DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology } from "./DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology";
5
+
6
+
7
+ export class DescribeGlobalDataNetworkListResponseBodyItemsNetworks extends $dara.Model {
8
+ channels?: DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels[];
9
+ /**
10
+ * @example
11
+ * 2025-03-25T09:37:10Z
12
+ */
13
+ createTime?: string;
14
+ /**
15
+ * @example
16
+ * mygdn
17
+ */
18
+ networkDescription?: string;
19
+ /**
20
+ * @remarks
21
+ * GDN ID
22
+ *
23
+ * @example
24
+ * gdn-xxx
25
+ */
26
+ networkId?: string;
27
+ /**
28
+ * @example
29
+ * Running
30
+ */
31
+ networkStatus?: string;
32
+ networkTopology?: DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology;
33
+ static names(): { [key: string]: string } {
34
+ return {
35
+ channels: 'Channels',
36
+ createTime: 'CreateTime',
37
+ networkDescription: 'NetworkDescription',
38
+ networkId: 'NetworkId',
39
+ networkStatus: 'NetworkStatus',
40
+ networkTopology: 'NetworkTopology',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ channels: { 'type': 'array', 'itemType': DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels },
47
+ createTime: 'string',
48
+ networkDescription: 'string',
49
+ networkId: 'string',
50
+ networkStatus: 'string',
51
+ networkTopology: DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology,
52
+ };
53
+ }
54
+
55
+ validate() {
56
+ if(Array.isArray(this.channels)) {
57
+ $dara.Model.validateArray(this.channels);
58
+ }
59
+ if(this.networkTopology && typeof (this.networkTopology as any).validate === 'function') {
60
+ (this.networkTopology as any).validate();
61
+ }
62
+ super.validate();
63
+ }
64
+
65
+ constructor(map?: { [key: string]: any }) {
66
+ super(map);
67
+ }
68
+ }
69
+
@@ -0,0 +1,52 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * gdc-xxx
9
+ */
10
+ channelId?: string;
11
+ /**
12
+ * @example
13
+ * Syncing
14
+ */
15
+ channelStatus?: string;
16
+ /**
17
+ * @example
18
+ * true
19
+ */
20
+ freezeSourceDuringSync?: boolean;
21
+ /**
22
+ * @example
23
+ * 11.45%
24
+ */
25
+ progress?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ channelId: 'ChannelId',
29
+ channelStatus: 'ChannelStatus',
30
+ freezeSourceDuringSync: 'FreezeSourceDuringSync',
31
+ progress: 'Progress',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ channelId: 'string',
38
+ channelStatus: 'string',
39
+ freezeSourceDuringSync: 'boolean',
40
+ progress: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations } from "./DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations";
4
+ import { DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources } from "./DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources";
5
+
6
+
7
+ export class DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology extends $dara.Model {
8
+ destinations?: DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations[];
9
+ sources?: DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources[];
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ destinations: 'Destinations',
13
+ sources: 'Sources',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ destinations: { 'type': 'array', 'itemType': DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations },
20
+ sources: { 'type': 'array', 'itemType': DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources },
21
+ };
22
+ }
23
+
24
+ validate() {
25
+ if(Array.isArray(this.destinations)) {
26
+ $dara.Model.validateArray(this.destinations);
27
+ }
28
+ if(Array.isArray(this.sources)) {
29
+ $dara.Model.validateArray(this.sources);
30
+ }
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -0,0 +1,52 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * /
9
+ */
10
+ destinationFileSystemPath?: string;
11
+ /**
12
+ * @example
13
+ * pfs-xxx
14
+ */
15
+ destinationId?: string;
16
+ /**
17
+ * @example
18
+ * cn-beijing
19
+ */
20
+ destinationRegion?: string;
21
+ /**
22
+ * @example
23
+ * pfs
24
+ */
25
+ destinationType?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ destinationFileSystemPath: 'DestinationFileSystemPath',
29
+ destinationId: 'DestinationId',
30
+ destinationRegion: 'DestinationRegion',
31
+ destinationType: 'DestinationType',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ destinationFileSystemPath: 'string',
38
+ destinationId: 'string',
39
+ destinationRegion: 'string',
40
+ destinationType: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+