@alicloud/polardb20170801 5.6.1 → 5.8.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.
- package/dist/client.d.ts +75 -0
- package/dist/client.js +249 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateGlobalDataNetworkRequest.d.ts +63 -0
- package/dist/models/CreateGlobalDataNetworkRequest.js +76 -0
- package/dist/models/CreateGlobalDataNetworkRequest.js.map +1 -0
- package/dist/models/CreateGlobalDataNetworkResponse.d.ts +19 -0
- package/dist/models/CreateGlobalDataNetworkResponse.js +69 -0
- package/dist/models/CreateGlobalDataNetworkResponse.js.map +1 -0
- package/dist/models/CreateGlobalDataNetworkResponseBody.d.ts +31 -0
- package/dist/models/CreateGlobalDataNetworkResponseBody.js +62 -0
- package/dist/models/CreateGlobalDataNetworkResponseBody.js.map +1 -0
- package/dist/models/CreateGlobalDatabaseNetworkRequest.d.ts +1 -0
- package/dist/models/CreateGlobalDatabaseNetworkRequest.js +2 -0
- package/dist/models/CreateGlobalDatabaseNetworkRequest.js.map +1 -1
- package/dist/models/DeleteGlobalDataNetworkRequest.d.ts +21 -0
- package/dist/models/DeleteGlobalDataNetworkRequest.js +58 -0
- package/dist/models/DeleteGlobalDataNetworkRequest.js.map +1 -0
- package/dist/models/DeleteGlobalDataNetworkResponse.d.ts +19 -0
- package/dist/models/DeleteGlobalDataNetworkResponse.js +69 -0
- package/dist/models/DeleteGlobalDataNetworkResponse.js.map +1 -0
- package/dist/models/DeleteGlobalDataNetworkResponseBody.d.ts +18 -0
- package/dist/models/DeleteGlobalDataNetworkResponseBody.js +58 -0
- package/dist/models/DeleteGlobalDataNetworkResponseBody.js.map +1 -0
- package/dist/models/DescribeGlobalDataNetworkListRequest.d.ts +23 -0
- package/dist/models/DescribeGlobalDataNetworkListRequest.js +60 -0
- package/dist/models/DescribeGlobalDataNetworkListRequest.js.map +1 -0
- package/dist/models/DescribeGlobalDataNetworkListResponse.d.ts +19 -0
- package/dist/models/DescribeGlobalDataNetworkListResponse.js +69 -0
- package/dist/models/DescribeGlobalDataNetworkListResponse.js.map +1 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBody.d.ts +35 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBody.js +70 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBody.js.map +1 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItems.d.ts +15 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItems.js +62 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItems.js.map +1 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworks.d.ts +40 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworks.js +76 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworks.js.map +1 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels.d.ts +33 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels.js +64 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels.js.map +1 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology.d.ts +17 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology.js +68 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology.js.map +1 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations.d.ts +33 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations.js +64 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations.js.map +1 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources.d.ts +33 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources.js +64 -0
- package/dist/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources.js.map +1 -0
- package/dist/models/DescribeGlobalDatabaseNetworkResponseBody.d.ts +2 -0
- package/dist/models/DescribeGlobalDatabaseNetworkResponseBody.js +6 -0
- package/dist/models/DescribeGlobalDatabaseNetworkResponseBody.js.map +1 -1
- package/dist/models/DescribeGlobalDatabaseNetworkResponseBodyLabels.d.ts +14 -0
- package/dist/models/DescribeGlobalDatabaseNetworkResponseBodyLabels.js +58 -0
- package/dist/models/DescribeGlobalDatabaseNetworkResponseBodyLabels.js.map +1 -0
- package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItems.d.ts +2 -0
- package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItems.js +6 -0
- package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItems.js.map +1 -1
- package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItemsLabels.d.ts +14 -0
- package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItemsLabels.js +58 -0
- package/dist/models/DescribeGlobalDatabaseNetworksResponseBodyItemsLabels.js.map +1 -0
- package/dist/models/DescribeHalogsRequest.d.ts +61 -0
- package/dist/models/DescribeHalogsRequest.js +70 -0
- package/dist/models/DescribeHalogsRequest.js.map +1 -0
- package/dist/models/DescribeHalogsResponse.d.ts +19 -0
- package/dist/models/DescribeHalogsResponse.js +69 -0
- package/dist/models/DescribeHalogsResponse.js.map +1 -0
- package/dist/models/DescribeHalogsResponseBody.d.ts +59 -0
- package/dist/models/DescribeHalogsResponseBody.js +78 -0
- package/dist/models/DescribeHalogsResponseBody.js.map +1 -0
- package/dist/models/DescribeHalogsResponseBodyHaLogItems.d.ts +50 -0
- package/dist/models/DescribeHalogsResponseBodyHaLogItems.js +66 -0
- package/dist/models/DescribeHalogsResponseBodyHaLogItems.js.map +1 -0
- package/dist/models/ReactivateDbclusterBackupRequest.d.ts +23 -0
- package/dist/models/ReactivateDbclusterBackupRequest.js +58 -0
- package/dist/models/ReactivateDbclusterBackupRequest.js.map +1 -0
- package/dist/models/ReactivateDbclusterBackupResponse.d.ts +19 -0
- package/dist/models/ReactivateDbclusterBackupResponse.js +69 -0
- package/dist/models/ReactivateDbclusterBackupResponse.js.map +1 -0
- package/dist/models/ReactivateDbclusterBackupResponseBody.d.ts +37 -0
- package/dist/models/ReactivateDbclusterBackupResponseBody.js +62 -0
- package/dist/models/ReactivateDbclusterBackupResponseBody.js.map +1 -0
- package/dist/models/RemoveDbclusterFromGdnrequest.d.ts +1 -0
- package/dist/models/RemoveDbclusterFromGdnrequest.js +2 -0
- package/dist/models/RemoveDbclusterFromGdnrequest.js.map +1 -1
- package/dist/models/model.d.ts +24 -0
- package/dist/models/model.js +60 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +282 -0
- package/src/models/CreateGlobalDataNetworkRequest.ts +94 -0
- package/src/models/CreateGlobalDataNetworkResponse.ts +40 -0
- package/src/models/CreateGlobalDataNetworkResponseBody.ts +48 -0
- package/src/models/CreateGlobalDatabaseNetworkRequest.ts +3 -0
- package/src/models/DeleteGlobalDataNetworkRequest.ts +34 -0
- package/src/models/DeleteGlobalDataNetworkResponse.ts +40 -0
- package/src/models/DeleteGlobalDataNetworkResponseBody.ts +31 -0
- package/src/models/DescribeGlobalDataNetworkListRequest.ts +38 -0
- package/src/models/DescribeGlobalDataNetworkListResponse.ts +40 -0
- package/src/models/DescribeGlobalDataNetworkListResponseBody.ts +59 -0
- package/src/models/DescribeGlobalDataNetworkListResponseBodyItems.ts +31 -0
- package/src/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworks.ts +69 -0
- package/src/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksChannels.ts +52 -0
- package/src/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopology.ts +38 -0
- package/src/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologyDestinations.ts +52 -0
- package/src/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources.ts +52 -0
- package/src/models/DescribeGlobalDatabaseNetworkResponseBody.ts +7 -0
- package/src/models/DescribeGlobalDatabaseNetworkResponseBodyLabels.ts +27 -0
- package/src/models/DescribeGlobalDatabaseNetworksResponseBodyItems.ts +7 -0
- package/src/models/DescribeGlobalDatabaseNetworksResponseBodyItemsLabels.ts +27 -0
- package/src/models/DescribeHalogsRequest.ts +86 -0
- package/src/models/DescribeHalogsResponse.ts +40 -0
- package/src/models/DescribeHalogsResponseBody.ts +91 -0
- package/src/models/DescribeHalogsResponseBodyHaLogItems.ts +71 -0
- package/src/models/ReactivateDbclusterBackupRequest.ts +36 -0
- package/src/models/ReactivateDbclusterBackupResponse.ts +40 -0
- package/src/models/ReactivateDbclusterBackupResponseBody.ts +54 -0
- package/src/models/RemoveDbclusterFromGdnrequest.ts +3 -0
- package/src/models/model.ts +24 -0
|
@@ -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
|
+
|
package/src/models/DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources.ts
ADDED
|
@@ -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 DescribeGlobalDataNetworkListResponseBodyItemsNetworksNetworkTopologySources extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* /
|
|
9
|
+
*/
|
|
10
|
+
sourceFileSystemPath?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* oss-xxx
|
|
14
|
+
*/
|
|
15
|
+
sourceId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* cn-wulanchabu
|
|
19
|
+
*/
|
|
20
|
+
sourceRegion?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* oss
|
|
24
|
+
*/
|
|
25
|
+
sourceType?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
sourceFileSystemPath: 'SourceFileSystemPath',
|
|
29
|
+
sourceId: 'SourceId',
|
|
30
|
+
sourceRegion: 'SourceRegion',
|
|
31
|
+
sourceType: 'SourceType',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
sourceFileSystemPath: 'string',
|
|
38
|
+
sourceId: 'string',
|
|
39
|
+
sourceRegion: 'string',
|
|
40
|
+
sourceType: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
import { DescribeGlobalDatabaseNetworkResponseBodyConnections } from "./DescribeGlobalDatabaseNetworkResponseBodyConnections";
|
|
4
4
|
import { DescribeGlobalDatabaseNetworkResponseBodyDBClusters } from "./DescribeGlobalDatabaseNetworkResponseBodyDbclusters";
|
|
5
|
+
import { DescribeGlobalDatabaseNetworkResponseBodyLabels } from "./DescribeGlobalDatabaseNetworkResponseBodyLabels";
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
export class DescribeGlobalDatabaseNetworkResponseBody extends $dara.Model {
|
|
@@ -90,6 +91,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $dara.Model {
|
|
|
90
91
|
* [gdnid].gdn.rds.aliyuncs.com
|
|
91
92
|
*/
|
|
92
93
|
globalDomainName?: string;
|
|
94
|
+
labels?: DescribeGlobalDatabaseNetworkResponseBodyLabels;
|
|
93
95
|
/**
|
|
94
96
|
* @remarks
|
|
95
97
|
* The ID of the request.
|
|
@@ -118,6 +120,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $dara.Model {
|
|
|
118
120
|
GDNId: 'GDNId',
|
|
119
121
|
GDNStatus: 'GDNStatus',
|
|
120
122
|
globalDomainName: 'GlobalDomainName',
|
|
123
|
+
labels: 'Labels',
|
|
121
124
|
requestId: 'RequestId',
|
|
122
125
|
resourceGroupId: 'ResourceGroupId',
|
|
123
126
|
};
|
|
@@ -135,6 +138,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $dara.Model {
|
|
|
135
138
|
GDNId: 'string',
|
|
136
139
|
GDNStatus: 'string',
|
|
137
140
|
globalDomainName: 'string',
|
|
141
|
+
labels: DescribeGlobalDatabaseNetworkResponseBodyLabels,
|
|
138
142
|
requestId: 'string',
|
|
139
143
|
resourceGroupId: 'string',
|
|
140
144
|
};
|
|
@@ -147,6 +151,9 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $dara.Model {
|
|
|
147
151
|
if(Array.isArray(this.DBClusters)) {
|
|
148
152
|
$dara.Model.validateArray(this.DBClusters);
|
|
149
153
|
}
|
|
154
|
+
if(this.labels && typeof (this.labels as any).validate === 'function') {
|
|
155
|
+
(this.labels as any).validate();
|
|
156
|
+
}
|
|
150
157
|
super.validate();
|
|
151
158
|
}
|
|
152
159
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeGlobalDatabaseNetworkResponseBodyLabels extends $dara.Model {
|
|
6
|
+
GDNVersion?: string;
|
|
7
|
+
static names(): { [key: string]: string } {
|
|
8
|
+
return {
|
|
9
|
+
GDNVersion: 'GDNVersion',
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
static types(): { [key: string]: any } {
|
|
14
|
+
return {
|
|
15
|
+
GDNVersion: 'string',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
validate() {
|
|
20
|
+
super.validate();
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
constructor(map?: { [key: string]: any }) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
import { DescribeGlobalDatabaseNetworksResponseBodyItemsDBClusters } from "./DescribeGlobalDatabaseNetworksResponseBodyItemsDbclusters";
|
|
4
|
+
import { DescribeGlobalDatabaseNetworksResponseBodyItemsLabels } from "./DescribeGlobalDatabaseNetworksResponseBodyItemsLabels";
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
export class DescribeGlobalDatabaseNetworksResponseBodyItems extends $dara.Model {
|
|
@@ -68,6 +69,7 @@ export class DescribeGlobalDatabaseNetworksResponseBodyItems extends $dara.Model
|
|
|
68
69
|
* active
|
|
69
70
|
*/
|
|
70
71
|
GDNStatus?: string;
|
|
72
|
+
labels?: DescribeGlobalDatabaseNetworksResponseBodyItemsLabels;
|
|
71
73
|
static names(): { [key: string]: string } {
|
|
72
74
|
return {
|
|
73
75
|
createTime: 'CreateTime',
|
|
@@ -77,6 +79,7 @@ export class DescribeGlobalDatabaseNetworksResponseBodyItems extends $dara.Model
|
|
|
77
79
|
GDNDescription: 'GDNDescription',
|
|
78
80
|
GDNId: 'GDNId',
|
|
79
81
|
GDNStatus: 'GDNStatus',
|
|
82
|
+
labels: 'Labels',
|
|
80
83
|
};
|
|
81
84
|
}
|
|
82
85
|
|
|
@@ -89,6 +92,7 @@ export class DescribeGlobalDatabaseNetworksResponseBodyItems extends $dara.Model
|
|
|
89
92
|
GDNDescription: 'string',
|
|
90
93
|
GDNId: 'string',
|
|
91
94
|
GDNStatus: 'string',
|
|
95
|
+
labels: DescribeGlobalDatabaseNetworksResponseBodyItemsLabels,
|
|
92
96
|
};
|
|
93
97
|
}
|
|
94
98
|
|
|
@@ -96,6 +100,9 @@ export class DescribeGlobalDatabaseNetworksResponseBodyItems extends $dara.Model
|
|
|
96
100
|
if(Array.isArray(this.DBClusters)) {
|
|
97
101
|
$dara.Model.validateArray(this.DBClusters);
|
|
98
102
|
}
|
|
103
|
+
if(this.labels && typeof (this.labels as any).validate === 'function') {
|
|
104
|
+
(this.labels as any).validate();
|
|
105
|
+
}
|
|
99
106
|
super.validate();
|
|
100
107
|
}
|
|
101
108
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeGlobalDatabaseNetworksResponseBodyItemsLabels extends $dara.Model {
|
|
6
|
+
GDNVersion?: string;
|
|
7
|
+
static names(): { [key: string]: string } {
|
|
8
|
+
return {
|
|
9
|
+
GDNVersion: 'GDNVersion',
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
static types(): { [key: string]: any } {
|
|
14
|
+
return {
|
|
15
|
+
GDNVersion: 'string',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
validate() {
|
|
20
|
+
super.validate();
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
constructor(map?: { [key: string]: any }) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeHALogsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pc-****************
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The node ID.
|
|
17
|
+
*
|
|
18
|
+
* > Queries the HA failover records of the Node `DBNodeId` . You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the details of the clusters that belong to your Alibaba Cloud account, such as node IDs.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* pi-****************
|
|
22
|
+
*/
|
|
23
|
+
DBNodeId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* 2020-09-23T01:01:00Z
|
|
27
|
+
*/
|
|
28
|
+
endTime?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The log type.
|
|
32
|
+
*
|
|
33
|
+
* This parameter is required.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* HaSwitchLogList
|
|
37
|
+
*/
|
|
38
|
+
logType?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* 1
|
|
42
|
+
*/
|
|
43
|
+
pageNumber?: number;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* 30
|
|
47
|
+
*/
|
|
48
|
+
pageSize?: number;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* 2020-05-01T00:00Z
|
|
52
|
+
*/
|
|
53
|
+
startTime?: string;
|
|
54
|
+
static names(): { [key: string]: string } {
|
|
55
|
+
return {
|
|
56
|
+
DBClusterId: 'DBClusterId',
|
|
57
|
+
DBNodeId: 'DBNodeId',
|
|
58
|
+
endTime: 'EndTime',
|
|
59
|
+
logType: 'LogType',
|
|
60
|
+
pageNumber: 'PageNumber',
|
|
61
|
+
pageSize: 'PageSize',
|
|
62
|
+
startTime: 'StartTime',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
static types(): { [key: string]: any } {
|
|
67
|
+
return {
|
|
68
|
+
DBClusterId: 'string',
|
|
69
|
+
DBNodeId: 'string',
|
|
70
|
+
endTime: 'string',
|
|
71
|
+
logType: 'string',
|
|
72
|
+
pageNumber: 'number',
|
|
73
|
+
pageSize: 'number',
|
|
74
|
+
startTime: 'string',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
validate() {
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeHALogsResponseBody } from "./DescribeHalogsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeHALogsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeHALogsResponseBody;
|
|
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: DescribeHALogsResponseBody,
|
|
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
|
+
|