@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
package/src/client.ts
CHANGED
|
@@ -1657,6 +1657,84 @@ export default class Client extends OpenApi {
|
|
|
1657
1657
|
return await this.createDatabaseWithOptions(request, runtime);
|
|
1658
1658
|
}
|
|
1659
1659
|
|
|
1660
|
+
/**
|
|
1661
|
+
* 创建全球数据网络
|
|
1662
|
+
*
|
|
1663
|
+
* @param request - CreateGlobalDataNetworkRequest
|
|
1664
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1665
|
+
* @returns CreateGlobalDataNetworkResponse
|
|
1666
|
+
*/
|
|
1667
|
+
async createGlobalDataNetworkWithOptions(request: $_model.CreateGlobalDataNetworkRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGlobalDataNetworkResponse> {
|
|
1668
|
+
request.validate();
|
|
1669
|
+
let query = { };
|
|
1670
|
+
if (!$dara.isNull(request.description)) {
|
|
1671
|
+
query["Description"] = request.description;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
if (!$dara.isNull(request.destinationFileSystemPath)) {
|
|
1675
|
+
query["DestinationFileSystemPath"] = request.destinationFileSystemPath;
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
if (!$dara.isNull(request.destinationId)) {
|
|
1679
|
+
query["DestinationId"] = request.destinationId;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
if (!$dara.isNull(request.destinationRegion)) {
|
|
1683
|
+
query["DestinationRegion"] = request.destinationRegion;
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
if (!$dara.isNull(request.destinationType)) {
|
|
1687
|
+
query["DestinationType"] = request.destinationType;
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
if (!$dara.isNull(request.freezeSourceDuringSync)) {
|
|
1691
|
+
query["FreezeSourceDuringSync"] = request.freezeSourceDuringSync;
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
if (!$dara.isNull(request.sourceFileSystemPath)) {
|
|
1695
|
+
query["SourceFileSystemPath"] = request.sourceFileSystemPath;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
if (!$dara.isNull(request.sourceId)) {
|
|
1699
|
+
query["SourceId"] = request.sourceId;
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
if (!$dara.isNull(request.sourceRegion)) {
|
|
1703
|
+
query["SourceRegion"] = request.sourceRegion;
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
if (!$dara.isNull(request.sourceType)) {
|
|
1707
|
+
query["SourceType"] = request.sourceType;
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1711
|
+
query: OpenApiUtil.query(query),
|
|
1712
|
+
});
|
|
1713
|
+
let params = new $OpenApiUtil.Params({
|
|
1714
|
+
action: "CreateGlobalDataNetwork",
|
|
1715
|
+
version: "2017-08-01",
|
|
1716
|
+
protocol: "HTTPS",
|
|
1717
|
+
pathname: "/",
|
|
1718
|
+
method: "POST",
|
|
1719
|
+
authType: "AK",
|
|
1720
|
+
style: "RPC",
|
|
1721
|
+
reqBodyType: "formData",
|
|
1722
|
+
bodyType: "json",
|
|
1723
|
+
});
|
|
1724
|
+
return $dara.cast<$_model.CreateGlobalDataNetworkResponse>(await this.callApi(params, req, runtime), new $_model.CreateGlobalDataNetworkResponse({}));
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* 创建全球数据网络
|
|
1729
|
+
*
|
|
1730
|
+
* @param request - CreateGlobalDataNetworkRequest
|
|
1731
|
+
* @returns CreateGlobalDataNetworkResponse
|
|
1732
|
+
*/
|
|
1733
|
+
async createGlobalDataNetwork(request: $_model.CreateGlobalDataNetworkRequest): Promise<$_model.CreateGlobalDataNetworkResponse> {
|
|
1734
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1735
|
+
return await this.createGlobalDataNetworkWithOptions(request, runtime);
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1660
1738
|
/**
|
|
1661
1739
|
* Creates a global database network (GDN).
|
|
1662
1740
|
*
|
|
@@ -1682,6 +1760,10 @@ export default class Client extends OpenApi {
|
|
|
1682
1760
|
query["GDNDescription"] = request.GDNDescription;
|
|
1683
1761
|
}
|
|
1684
1762
|
|
|
1763
|
+
if (!$dara.isNull(request.GDNVersion)) {
|
|
1764
|
+
query["GDNVersion"] = request.GDNVersion;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1685
1767
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
1686
1768
|
query["OwnerAccount"] = request.ownerAccount;
|
|
1687
1769
|
}
|
|
@@ -2631,6 +2713,48 @@ export default class Client extends OpenApi {
|
|
|
2631
2713
|
return await this.deleteDatabaseWithOptions(request, runtime);
|
|
2632
2714
|
}
|
|
2633
2715
|
|
|
2716
|
+
/**
|
|
2717
|
+
* DeleteGlobalDataNetwork
|
|
2718
|
+
*
|
|
2719
|
+
* @param request - DeleteGlobalDataNetworkRequest
|
|
2720
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2721
|
+
* @returns DeleteGlobalDataNetworkResponse
|
|
2722
|
+
*/
|
|
2723
|
+
async deleteGlobalDataNetworkWithOptions(request: $_model.DeleteGlobalDataNetworkRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteGlobalDataNetworkResponse> {
|
|
2724
|
+
request.validate();
|
|
2725
|
+
let query = { };
|
|
2726
|
+
if (!$dara.isNull(request.networkId)) {
|
|
2727
|
+
query["NetworkId"] = request.networkId;
|
|
2728
|
+
}
|
|
2729
|
+
|
|
2730
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2731
|
+
query: OpenApiUtil.query(query),
|
|
2732
|
+
});
|
|
2733
|
+
let params = new $OpenApiUtil.Params({
|
|
2734
|
+
action: "DeleteGlobalDataNetwork",
|
|
2735
|
+
version: "2017-08-01",
|
|
2736
|
+
protocol: "HTTPS",
|
|
2737
|
+
pathname: "/",
|
|
2738
|
+
method: "POST",
|
|
2739
|
+
authType: "AK",
|
|
2740
|
+
style: "RPC",
|
|
2741
|
+
reqBodyType: "formData",
|
|
2742
|
+
bodyType: "json",
|
|
2743
|
+
});
|
|
2744
|
+
return $dara.cast<$_model.DeleteGlobalDataNetworkResponse>(await this.callApi(params, req, runtime), new $_model.DeleteGlobalDataNetworkResponse({}));
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
/**
|
|
2748
|
+
* DeleteGlobalDataNetwork
|
|
2749
|
+
*
|
|
2750
|
+
* @param request - DeleteGlobalDataNetworkRequest
|
|
2751
|
+
* @returns DeleteGlobalDataNetworkResponse
|
|
2752
|
+
*/
|
|
2753
|
+
async deleteGlobalDataNetwork(request: $_model.DeleteGlobalDataNetworkRequest): Promise<$_model.DeleteGlobalDataNetworkResponse> {
|
|
2754
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2755
|
+
return await this.deleteGlobalDataNetworkWithOptions(request, runtime);
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2634
2758
|
/**
|
|
2635
2759
|
* Deletes a global database network (GDN).
|
|
2636
2760
|
*
|
|
@@ -5447,6 +5571,52 @@ export default class Client extends OpenApi {
|
|
|
5447
5571
|
return await this.describeDetachedBackupsWithOptions(request, runtime);
|
|
5448
5572
|
}
|
|
5449
5573
|
|
|
5574
|
+
/**
|
|
5575
|
+
* DescribeGlobalDataNetworkList
|
|
5576
|
+
*
|
|
5577
|
+
* @param request - DescribeGlobalDataNetworkListRequest
|
|
5578
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5579
|
+
* @returns DescribeGlobalDataNetworkListResponse
|
|
5580
|
+
*/
|
|
5581
|
+
async describeGlobalDataNetworkListWithOptions(request: $_model.DescribeGlobalDataNetworkListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGlobalDataNetworkListResponse> {
|
|
5582
|
+
request.validate();
|
|
5583
|
+
let query = { };
|
|
5584
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
5585
|
+
query["PageNumber"] = request.pageNumber;
|
|
5586
|
+
}
|
|
5587
|
+
|
|
5588
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
5589
|
+
query["PageSize"] = request.pageSize;
|
|
5590
|
+
}
|
|
5591
|
+
|
|
5592
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5593
|
+
query: OpenApiUtil.query(query),
|
|
5594
|
+
});
|
|
5595
|
+
let params = new $OpenApiUtil.Params({
|
|
5596
|
+
action: "DescribeGlobalDataNetworkList",
|
|
5597
|
+
version: "2017-08-01",
|
|
5598
|
+
protocol: "HTTPS",
|
|
5599
|
+
pathname: "/",
|
|
5600
|
+
method: "POST",
|
|
5601
|
+
authType: "AK",
|
|
5602
|
+
style: "RPC",
|
|
5603
|
+
reqBodyType: "formData",
|
|
5604
|
+
bodyType: "json",
|
|
5605
|
+
});
|
|
5606
|
+
return $dara.cast<$_model.DescribeGlobalDataNetworkListResponse>(await this.callApi(params, req, runtime), new $_model.DescribeGlobalDataNetworkListResponse({}));
|
|
5607
|
+
}
|
|
5608
|
+
|
|
5609
|
+
/**
|
|
5610
|
+
* DescribeGlobalDataNetworkList
|
|
5611
|
+
*
|
|
5612
|
+
* @param request - DescribeGlobalDataNetworkListRequest
|
|
5613
|
+
* @returns DescribeGlobalDataNetworkListResponse
|
|
5614
|
+
*/
|
|
5615
|
+
async describeGlobalDataNetworkList(request: $_model.DescribeGlobalDataNetworkListRequest): Promise<$_model.DescribeGlobalDataNetworkListResponse> {
|
|
5616
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5617
|
+
return await this.describeGlobalDataNetworkListWithOptions(request, runtime);
|
|
5618
|
+
}
|
|
5619
|
+
|
|
5450
5620
|
/**
|
|
5451
5621
|
* Queries the information about a Global Database Network (GDN).
|
|
5452
5622
|
*
|
|
@@ -5739,6 +5909,72 @@ export default class Client extends OpenApi {
|
|
|
5739
5909
|
return await this.describeGlobalSecurityIPGroupRelationWithOptions(request, runtime);
|
|
5740
5910
|
}
|
|
5741
5911
|
|
|
5912
|
+
/**
|
|
5913
|
+
* 查询实例高可用相关日志
|
|
5914
|
+
*
|
|
5915
|
+
* @param request - DescribeHALogsRequest
|
|
5916
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5917
|
+
* @returns DescribeHALogsResponse
|
|
5918
|
+
*/
|
|
5919
|
+
async describeHALogsWithOptions(request: $_model.DescribeHALogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeHALogsResponse> {
|
|
5920
|
+
request.validate();
|
|
5921
|
+
let query = { };
|
|
5922
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
5923
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
5924
|
+
}
|
|
5925
|
+
|
|
5926
|
+
if (!$dara.isNull(request.DBNodeId)) {
|
|
5927
|
+
query["DBNodeId"] = request.DBNodeId;
|
|
5928
|
+
}
|
|
5929
|
+
|
|
5930
|
+
if (!$dara.isNull(request.endTime)) {
|
|
5931
|
+
query["EndTime"] = request.endTime;
|
|
5932
|
+
}
|
|
5933
|
+
|
|
5934
|
+
if (!$dara.isNull(request.logType)) {
|
|
5935
|
+
query["LogType"] = request.logType;
|
|
5936
|
+
}
|
|
5937
|
+
|
|
5938
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
5939
|
+
query["PageNumber"] = request.pageNumber;
|
|
5940
|
+
}
|
|
5941
|
+
|
|
5942
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
5943
|
+
query["PageSize"] = request.pageSize;
|
|
5944
|
+
}
|
|
5945
|
+
|
|
5946
|
+
if (!$dara.isNull(request.startTime)) {
|
|
5947
|
+
query["StartTime"] = request.startTime;
|
|
5948
|
+
}
|
|
5949
|
+
|
|
5950
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5951
|
+
query: OpenApiUtil.query(query),
|
|
5952
|
+
});
|
|
5953
|
+
let params = new $OpenApiUtil.Params({
|
|
5954
|
+
action: "DescribeHALogs",
|
|
5955
|
+
version: "2017-08-01",
|
|
5956
|
+
protocol: "HTTPS",
|
|
5957
|
+
pathname: "/",
|
|
5958
|
+
method: "POST",
|
|
5959
|
+
authType: "AK",
|
|
5960
|
+
style: "RPC",
|
|
5961
|
+
reqBodyType: "formData",
|
|
5962
|
+
bodyType: "json",
|
|
5963
|
+
});
|
|
5964
|
+
return $dara.cast<$_model.DescribeHALogsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeHALogsResponse({}));
|
|
5965
|
+
}
|
|
5966
|
+
|
|
5967
|
+
/**
|
|
5968
|
+
* 查询实例高可用相关日志
|
|
5969
|
+
*
|
|
5970
|
+
* @param request - DescribeHALogsRequest
|
|
5971
|
+
* @returns DescribeHALogsResponse
|
|
5972
|
+
*/
|
|
5973
|
+
async describeHALogs(request: $_model.DescribeHALogsRequest): Promise<$_model.DescribeHALogsResponse> {
|
|
5974
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5975
|
+
return await this.describeHALogsWithOptions(request, runtime);
|
|
5976
|
+
}
|
|
5977
|
+
|
|
5742
5978
|
/**
|
|
5743
5979
|
* 任务中心任务列表
|
|
5744
5980
|
*
|
|
@@ -10747,6 +10983,48 @@ export default class Client extends OpenApi {
|
|
|
10747
10983
|
return await this.openAITaskWithOptions(request, runtime);
|
|
10748
10984
|
}
|
|
10749
10985
|
|
|
10986
|
+
/**
|
|
10987
|
+
* Reactivates the backup feature.
|
|
10988
|
+
*
|
|
10989
|
+
* @param request - ReactivateDBClusterBackupRequest
|
|
10990
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10991
|
+
* @returns ReactivateDBClusterBackupResponse
|
|
10992
|
+
*/
|
|
10993
|
+
async reactivateDBClusterBackupWithOptions(request: $_model.ReactivateDBClusterBackupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReactivateDBClusterBackupResponse> {
|
|
10994
|
+
request.validate();
|
|
10995
|
+
let query = { };
|
|
10996
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
10997
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
10998
|
+
}
|
|
10999
|
+
|
|
11000
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
11001
|
+
query: OpenApiUtil.query(query),
|
|
11002
|
+
});
|
|
11003
|
+
let params = new $OpenApiUtil.Params({
|
|
11004
|
+
action: "ReactivateDBClusterBackup",
|
|
11005
|
+
version: "2017-08-01",
|
|
11006
|
+
protocol: "HTTPS",
|
|
11007
|
+
pathname: "/",
|
|
11008
|
+
method: "POST",
|
|
11009
|
+
authType: "AK",
|
|
11010
|
+
style: "RPC",
|
|
11011
|
+
reqBodyType: "formData",
|
|
11012
|
+
bodyType: "json",
|
|
11013
|
+
});
|
|
11014
|
+
return $dara.cast<$_model.ReactivateDBClusterBackupResponse>(await this.callApi(params, req, runtime), new $_model.ReactivateDBClusterBackupResponse({}));
|
|
11015
|
+
}
|
|
11016
|
+
|
|
11017
|
+
/**
|
|
11018
|
+
* Reactivates the backup feature.
|
|
11019
|
+
*
|
|
11020
|
+
* @param request - ReactivateDBClusterBackupRequest
|
|
11021
|
+
* @returns ReactivateDBClusterBackupResponse
|
|
11022
|
+
*/
|
|
11023
|
+
async reactivateDBClusterBackup(request: $_model.ReactivateDBClusterBackupRequest): Promise<$_model.ReactivateDBClusterBackupResponse> {
|
|
11024
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
11025
|
+
return await this.reactivateDBClusterBackupWithOptions(request, runtime);
|
|
11026
|
+
}
|
|
11027
|
+
|
|
10750
11028
|
/**
|
|
10751
11029
|
* Updates the storage usage of a cluster.
|
|
10752
11030
|
*
|
|
@@ -10822,6 +11100,10 @@ export default class Client extends OpenApi {
|
|
|
10822
11100
|
query["DBClusterId"] = request.DBClusterId;
|
|
10823
11101
|
}
|
|
10824
11102
|
|
|
11103
|
+
if (!$dara.isNull(request.force)) {
|
|
11104
|
+
query["Force"] = request.force;
|
|
11105
|
+
}
|
|
11106
|
+
|
|
10825
11107
|
if (!$dara.isNull(request.GDNId)) {
|
|
10826
11108
|
query["GDNId"] = request.GDNId;
|
|
10827
11109
|
}
|
|
@@ -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
|
+
|