ksyun-sdk-node 1.4.9 → 1.5.1
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/service/Aicp/v20240612/index.js +24 -0
- package/dist/service/Bws/v20160304/index.js +3 -0
- package/dist/service/Cdn/v20250503/index.js +0 -333
- package/dist/service/Cdn/v3/index.js +600 -0
- package/dist/service/Cen/v20160304/index.js +147 -103
- package/dist/service/Clickhouse/v20210101/index.js +204 -19
- package/dist/service/Cloud_advisor/v20250610/index.js +81 -0
- package/dist/service/Dmp/v20240101/index.js +362 -0
- package/dist/service/Dts/v20180108/index.js +386 -0
- package/dist/service/Ebs/v20160304/index.js +197 -34
- package/dist/service/Eip/v20160304/index.js +79 -1
- package/dist/service/Influxdb/v20191010/index.js +504 -0
- package/dist/service/Kad/v20161122/index.js +32 -0
- package/dist/service/Kce/v20190806/index.js +234 -43
- package/dist/service/Kce/v20201231/index.js +2 -2
- package/dist/service/Kce/v20230101/index.js +193 -0
- package/dist/service/Kce/v20230306/index.js +434 -0
- package/dist/service/Kce/v20231115/index.js +65 -0
- package/dist/service/Kce2/v20230101/index.js +313 -0
- package/dist/service/Kci/v20200702/index.js +336 -0
- package/dist/service/Kcm/v20160304/index.js +113 -3
- package/dist/service/Kcrs/v20211109/index.js +88 -92
- package/dist/service/Kcs/v20160701/index.js +165 -23
- package/dist/service/Kcs/v20170401/index.js +1 -36
- package/dist/service/Kcs/v20240701/index.js +45 -0
- package/dist/service/Kead/v20200101/index.js +37 -8
- package/dist/service/Ked/v1/index.js +805 -0
- package/dist/service/Ket/v20170101/index.js +42 -0
- package/dist/service/Kfw/v20160304/index.js +59 -0
- package/dist/service/Kingpay/v1/index.js +44 -0
- package/dist/service/Knad/v20230323/index.js +333 -0
- package/dist/service/Kpfs/v20240930/index.js +181 -0
- package/dist/service/Krds/v20160701/index.js +505 -96
- package/dist/service/Krds/v20200825/index.js +48 -8
- package/dist/service/Milvus/v20231010/index.js +366 -0
- package/dist/service/Mongodb/v20170101/index.js +163 -13
- package/dist/service/Mongodb/v20250101/index.js +44 -0
- package/dist/service/Pdns/v20160304/index.js +636 -0
- package/dist/service/Postgresql/v20181225/index.js +950 -0
- package/dist/service/Rabbitmq/v20191017/index.js +107 -6
- package/dist/service/Relyt/v20240117/index.js +45 -0
- package/dist/service/Sks/v20151101/index.js +2 -1
- package/dist/service/Slb/v20160304/index.js +426 -53
- package/dist/service/Slb/v20250430/index.js +750 -0
- package/dist/service/Sqlserver/v20190425/index.js +872 -0
- package/dist/service/Sts/v20151101/index.js +19 -0
- package/dist/service/Tagv2/v20200901/index.js +42 -6
- package/dist/service/Ter/v20240415/index.js +114 -0
- package/dist/service/Tidb/v20210520/index.js +415 -21
- package/dist/service/Trade/v20250220/index.js +97 -0
- package/dist/service/Trade/v20250321/index.js +93 -0
- package/dist/service/Trade/v20250828/index.js +56 -0
- package/dist/service/Vpc/v20160304/index.js +32 -0
- package/dist/service/Waf/v20200707/index.js +188 -5
- package/package.json +1 -1
- package/src/service/Aicp/v20240612/index.js +24 -0
- package/src/service/Bws/v20160304/index.js +3 -0
- package/src/service/Cdn/{v20250503 → v3}/index.js +196 -0
- package/src/service/Cen/v20160304/index.js +144 -100
- package/src/service/Clickhouse/v20210101/index.js +203 -18
- package/src/service/Cloud_advisor/v20250610/index.js +73 -0
- package/src/service/Dmp/v20240101/index.js +354 -0
- package/src/service/Dts/v20180108/index.js +378 -0
- package/src/service/Ebs/v20160304/index.js +194 -31
- package/src/service/Eip/v20160304/index.js +79 -1
- package/src/service/Influxdb/v20191010/index.js +496 -0
- package/src/service/Kad/v20161122/index.js +32 -0
- package/src/service/Kce/v20190806/index.js +233 -42
- package/src/service/Kce/v20201231/index.js +2 -2
- package/src/service/Kce/v20230101/index.js +185 -0
- package/src/service/Kce/v20230306/index.js +426 -0
- package/src/service/Kce/v20231115/index.js +57 -0
- package/src/service/Kce2/v20230101/index.js +305 -0
- package/src/service/Kci/v20200702/index.js +328 -0
- package/src/service/Kcm/v20160304/index.js +110 -0
- package/src/service/Kcrs/v20211109/index.js +87 -91
- package/src/service/Kcs/v20160701/index.js +164 -22
- package/src/service/Kcs/v20170401/index.js +1 -36
- package/src/service/Kcs/v20240701/index.js +37 -0
- package/src/service/Kead/v20200101/index.js +37 -8
- package/src/service/Ked/v1/index.js +797 -0
- package/src/service/Ket/v20170101/index.js +42 -0
- package/src/service/Kfw/v20160304/index.js +51 -0
- package/src/service/Kingpay/v1/index.js +36 -0
- package/src/service/Knad/v20230323/index.js +325 -0
- package/src/service/Kpfs/v20240930/index.js +173 -0
- package/src/service/Krds/v20160701/index.js +502 -93
- package/src/service/Krds/v20200825/index.js +48 -8
- package/src/service/Milvus/v20231010/index.js +358 -0
- package/src/service/Mongodb/v20170101/index.js +162 -12
- package/src/service/Mongodb/v20250101/index.js +36 -0
- package/src/service/Pdns/v20160304/index.js +628 -0
- package/src/service/Postgresql/v20181225/index.js +942 -0
- package/src/service/Rabbitmq/v20191017/index.js +107 -6
- package/src/service/Relyt/v20240117/index.js +37 -0
- package/src/service/Sks/v20151101/index.js +1 -0
- package/src/service/Slb/v20160304/index.js +416 -43
- package/src/service/Slb/v20250430/index.js +742 -0
- package/src/service/Sqlserver/v20190425/index.js +864 -0
- package/src/service/Sts/v20151101/index.js +19 -0
- package/src/service/Tagv2/v20200901/index.js +42 -6
- package/src/service/Ter/v20240415/index.js +106 -0
- package/src/service/Tidb/v20210520/index.js +412 -18
- package/src/service/Trade/v20250220/index.js +89 -0
- package/src/service/Trade/v20250321/index.js +85 -0
- package/src/service/Trade/v20250828/index.js +48 -0
- package/src/service/Vpc/v20160304/index.js +32 -0
- package/src/service/Waf/v20200707/index.js +187 -4
|
@@ -85,7 +85,7 @@ module.exports = class Client extends BaseClient {
|
|
|
85
85
|
Action: "DescribeCacheCluster"
|
|
86
86
|
},
|
|
87
87
|
headers: {
|
|
88
|
-
"Content-Type": "application/
|
|
88
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
paramsType: {
|
|
@@ -102,7 +102,7 @@ module.exports = class Client extends BaseClient {
|
|
|
102
102
|
Action: "DescribeCacheClusters"
|
|
103
103
|
},
|
|
104
104
|
headers: {
|
|
105
|
-
"Content-Type": "application/
|
|
105
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
paramsType: {
|
|
@@ -154,7 +154,6 @@ module.exports = class Client extends BaseClient {
|
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
156
|
paramsType: {
|
|
157
|
-
AvailableZone: "String",
|
|
158
157
|
CacheId: "String",
|
|
159
158
|
Name: "String"
|
|
160
159
|
}
|
|
@@ -226,7 +225,7 @@ module.exports = class Client extends BaseClient {
|
|
|
226
225
|
Action: "DescribeCacheDefaultParameters"
|
|
227
226
|
},
|
|
228
227
|
headers: {
|
|
229
|
-
"Content-Type": "application/
|
|
228
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
230
229
|
}
|
|
231
230
|
},
|
|
232
231
|
paramsType: {
|
|
@@ -248,7 +247,7 @@ module.exports = class Client extends BaseClient {
|
|
|
248
247
|
},
|
|
249
248
|
paramsType: {
|
|
250
249
|
AvailableZone: "String",
|
|
251
|
-
|
|
250
|
+
CacheParameterGroupIds: "String",
|
|
252
251
|
CacheId: "String"
|
|
253
252
|
}
|
|
254
253
|
},
|
|
@@ -474,7 +473,8 @@ module.exports = class Client extends BaseClient {
|
|
|
474
473
|
AvailableZone: "String",
|
|
475
474
|
SnapshotId: "String",
|
|
476
475
|
BucketName: "String",
|
|
477
|
-
ObjectName: "String"
|
|
476
|
+
ObjectName: "String",
|
|
477
|
+
CacheId: "String"
|
|
478
478
|
}
|
|
479
479
|
},
|
|
480
480
|
DescribeRegions: {
|
|
@@ -617,7 +617,7 @@ module.exports = class Client extends BaseClient {
|
|
|
617
617
|
Action: "DescribeInstances"
|
|
618
618
|
},
|
|
619
619
|
headers: {
|
|
620
|
-
"Content-Type": "application/
|
|
620
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
621
621
|
}
|
|
622
622
|
},
|
|
623
623
|
paramsType: {
|
|
@@ -710,7 +710,7 @@ module.exports = class Client extends BaseClient {
|
|
|
710
710
|
Action: "DescribeSecurityGroup"
|
|
711
711
|
},
|
|
712
712
|
headers: {
|
|
713
|
-
"Content-Type": "application/
|
|
713
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
714
714
|
}
|
|
715
715
|
},
|
|
716
716
|
paramsType: {
|
|
@@ -730,7 +730,7 @@ module.exports = class Client extends BaseClient {
|
|
|
730
730
|
Action: "DescribeSecurityGroups"
|
|
731
731
|
},
|
|
732
732
|
headers: {
|
|
733
|
-
"Content-Type": "application/
|
|
733
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
734
734
|
}
|
|
735
735
|
},
|
|
736
736
|
paramsType: {
|
|
@@ -815,6 +815,39 @@ module.exports = class Client extends BaseClient {
|
|
|
815
815
|
Description: "String"
|
|
816
816
|
}
|
|
817
817
|
},
|
|
818
|
+
DescribeCacheReadonlyNode: {
|
|
819
|
+
url: "/",
|
|
820
|
+
method: "GET",
|
|
821
|
+
config: {
|
|
822
|
+
query: {
|
|
823
|
+
Version: "2016-07-01",
|
|
824
|
+
Action: "DescribeCacheReadonlyNode"
|
|
825
|
+
},
|
|
826
|
+
headers: {
|
|
827
|
+
"Content-Type": "application/json"
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
paramsType: {
|
|
831
|
+
CacheId: "String"
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
AddCacheSlaveNode: {
|
|
835
|
+
url: "/",
|
|
836
|
+
method: "PUT",
|
|
837
|
+
config: {
|
|
838
|
+
query: {
|
|
839
|
+
Version: "2016-07-01",
|
|
840
|
+
Action: "AddCacheSlaveNode"
|
|
841
|
+
},
|
|
842
|
+
headers: {
|
|
843
|
+
"Content-Type": "application/json"
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
paramsType: {
|
|
847
|
+
CacheId: "String",
|
|
848
|
+
SlaveVip: "String"
|
|
849
|
+
}
|
|
850
|
+
},
|
|
818
851
|
DescribeHotKeys: {
|
|
819
852
|
url: "/",
|
|
820
853
|
method: "GET",
|
|
@@ -824,7 +857,7 @@ module.exports = class Client extends BaseClient {
|
|
|
824
857
|
Action: "DescribeHotKeys"
|
|
825
858
|
},
|
|
826
859
|
headers: {
|
|
827
|
-
"Content-Type": "application/
|
|
860
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
828
861
|
}
|
|
829
862
|
},
|
|
830
863
|
paramsType: {
|
|
@@ -845,7 +878,7 @@ module.exports = class Client extends BaseClient {
|
|
|
845
878
|
Action: "AnalyzeHotKeys"
|
|
846
879
|
},
|
|
847
880
|
headers: {
|
|
848
|
-
"Content-Type": "application/
|
|
881
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
849
882
|
}
|
|
850
883
|
},
|
|
851
884
|
paramsType: {
|
|
@@ -862,7 +895,7 @@ module.exports = class Client extends BaseClient {
|
|
|
862
895
|
Action: "CloseDirectAccessToCluster"
|
|
863
896
|
},
|
|
864
897
|
headers: {
|
|
865
|
-
"Content-Type": "application/
|
|
898
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
866
899
|
}
|
|
867
900
|
},
|
|
868
901
|
paramsType: {
|
|
@@ -879,7 +912,7 @@ module.exports = class Client extends BaseClient {
|
|
|
879
912
|
Action: "OpenDirectAccessToCluster"
|
|
880
913
|
},
|
|
881
914
|
headers: {
|
|
882
|
-
"Content-Type": "application/
|
|
915
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
883
916
|
}
|
|
884
917
|
},
|
|
885
918
|
paramsType: {
|
|
@@ -898,7 +931,7 @@ module.exports = class Client extends BaseClient {
|
|
|
898
931
|
Action: "DescribeParentBackUpsSnapshots"
|
|
899
932
|
},
|
|
900
933
|
headers: {
|
|
901
|
-
"Content-Type": "application/
|
|
934
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
902
935
|
}
|
|
903
936
|
},
|
|
904
937
|
paramsType: {
|
|
@@ -914,7 +947,7 @@ module.exports = class Client extends BaseClient {
|
|
|
914
947
|
Action: "DescribeBackUpsSnapshotsDetail"
|
|
915
948
|
},
|
|
916
949
|
headers: {
|
|
917
|
-
"Content-Type": "application/
|
|
950
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
918
951
|
}
|
|
919
952
|
},
|
|
920
953
|
paramsType: {
|
|
@@ -931,7 +964,7 @@ module.exports = class Client extends BaseClient {
|
|
|
931
964
|
Action: "DeleteLevelSnapshots"
|
|
932
965
|
},
|
|
933
966
|
headers: {
|
|
934
|
-
"Content-Type": "application/
|
|
967
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
935
968
|
}
|
|
936
969
|
},
|
|
937
970
|
paramsType: {
|
|
@@ -965,7 +998,7 @@ module.exports = class Client extends BaseClient {
|
|
|
965
998
|
Action: "DescribeBigKeys"
|
|
966
999
|
},
|
|
967
1000
|
headers: {
|
|
968
|
-
"Content-Type": "application/
|
|
1001
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
969
1002
|
}
|
|
970
1003
|
},
|
|
971
1004
|
paramsType: {
|
|
@@ -981,7 +1014,7 @@ module.exports = class Client extends BaseClient {
|
|
|
981
1014
|
Action: "DeleteBigKeysAnalyseResult"
|
|
982
1015
|
},
|
|
983
1016
|
headers: {
|
|
984
|
-
"Content-Type": "application/
|
|
1017
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
985
1018
|
}
|
|
986
1019
|
},
|
|
987
1020
|
paramsType: {
|
|
@@ -998,7 +1031,7 @@ module.exports = class Client extends BaseClient {
|
|
|
998
1031
|
Action: "AnalyzeBigKeys"
|
|
999
1032
|
},
|
|
1000
1033
|
headers: {
|
|
1001
|
-
"Content-Type": "application/
|
|
1034
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
1002
1035
|
}
|
|
1003
1036
|
},
|
|
1004
1037
|
paramsType: {
|
|
@@ -1015,12 +1048,10 @@ module.exports = class Client extends BaseClient {
|
|
|
1015
1048
|
Action: "DescribeCreateSnapshotStatus"
|
|
1016
1049
|
},
|
|
1017
1050
|
headers: {
|
|
1018
|
-
"Content-Type": "application/
|
|
1051
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
1019
1052
|
}
|
|
1020
1053
|
},
|
|
1021
|
-
paramsType: {
|
|
1022
|
-
CacheId: "String"
|
|
1023
|
-
}
|
|
1054
|
+
paramsType: {}
|
|
1024
1055
|
},
|
|
1025
1056
|
GetDailyAnalyzeSwitchState: {
|
|
1026
1057
|
url: "/",
|
|
@@ -1100,6 +1131,117 @@ module.exports = class Client extends BaseClient {
|
|
|
1100
1131
|
ServiceLog: "Boolean",
|
|
1101
1132
|
SlowLog: "Boolean"
|
|
1102
1133
|
}
|
|
1134
|
+
},
|
|
1135
|
+
RestoreByTimePointSwitch: {
|
|
1136
|
+
url: "/",
|
|
1137
|
+
method: "POST",
|
|
1138
|
+
config: {
|
|
1139
|
+
query: {
|
|
1140
|
+
Version: "2016-07-01",
|
|
1141
|
+
Action: "RestoreByTimePointSwitch"
|
|
1142
|
+
},
|
|
1143
|
+
headers: {
|
|
1144
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
paramsType: {
|
|
1148
|
+
CacheId: "String",
|
|
1149
|
+
RestoreSwitch: "String"
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
DescribeRestoreTimePoints: {
|
|
1153
|
+
url: "/",
|
|
1154
|
+
method: "GET",
|
|
1155
|
+
config: {
|
|
1156
|
+
query: {
|
|
1157
|
+
Version: "2016-07-01",
|
|
1158
|
+
Action: "DescribeRestoreTimePoints"
|
|
1159
|
+
},
|
|
1160
|
+
headers: {
|
|
1161
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
paramsType: {
|
|
1165
|
+
CacheId: "String"
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
DescribeBigHotKeys: {
|
|
1169
|
+
url: "/",
|
|
1170
|
+
method: "GET",
|
|
1171
|
+
config: {
|
|
1172
|
+
query: {
|
|
1173
|
+
Version: "2016-07-01",
|
|
1174
|
+
Action: "DescribeBigHotKeys"
|
|
1175
|
+
},
|
|
1176
|
+
headers: {
|
|
1177
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
paramsType: {
|
|
1181
|
+
CacheId: "String",
|
|
1182
|
+
NodeId: "String",
|
|
1183
|
+
QueryType: "String",
|
|
1184
|
+
KeyType: "Int",
|
|
1185
|
+
KeyName: "String",
|
|
1186
|
+
StartQueryTime: "String",
|
|
1187
|
+
EndQueryTime: "String",
|
|
1188
|
+
PageSize: "Int",
|
|
1189
|
+
PageNum: "Int"
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
DescribePlugins: {
|
|
1193
|
+
url: "/",
|
|
1194
|
+
method: "GET",
|
|
1195
|
+
config: {
|
|
1196
|
+
query: {
|
|
1197
|
+
Version: "2016-07-01",
|
|
1198
|
+
Action: "DescribePlugins"
|
|
1199
|
+
},
|
|
1200
|
+
headers: {
|
|
1201
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
1202
|
+
}
|
|
1203
|
+
},
|
|
1204
|
+
paramsType: {
|
|
1205
|
+
CacheId: "String",
|
|
1206
|
+
Installed: "Boolean",
|
|
1207
|
+
FuzzySearch: "String",
|
|
1208
|
+
Offset: "Int",
|
|
1209
|
+
Limit: "Int"
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
InstallPlugins: {
|
|
1213
|
+
url: "/",
|
|
1214
|
+
method: "POST",
|
|
1215
|
+
config: {
|
|
1216
|
+
query: {
|
|
1217
|
+
Version: "2016-07-01",
|
|
1218
|
+
Action: "InstallPlugins"
|
|
1219
|
+
},
|
|
1220
|
+
headers: {
|
|
1221
|
+
"Content-Type": "application/json"
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1224
|
+
paramsType: {
|
|
1225
|
+
CacheId: "String",
|
|
1226
|
+
Plugins: "Array"
|
|
1227
|
+
}
|
|
1228
|
+
},
|
|
1229
|
+
UninstallPlugins: {
|
|
1230
|
+
url: "/",
|
|
1231
|
+
method: "POST",
|
|
1232
|
+
config: {
|
|
1233
|
+
query: {
|
|
1234
|
+
Version: "2016-07-01",
|
|
1235
|
+
Action: "UninstallPlugins"
|
|
1236
|
+
},
|
|
1237
|
+
headers: {
|
|
1238
|
+
"Content-Type": "application/json"
|
|
1239
|
+
}
|
|
1240
|
+
},
|
|
1241
|
+
paramsType: {
|
|
1242
|
+
CacheId: "String",
|
|
1243
|
+
PluginNames: "Array"
|
|
1244
|
+
}
|
|
1103
1245
|
}
|
|
1104
1246
|
});
|
|
1105
1247
|
}
|
|
@@ -23,41 +23,6 @@ module.exports = class Client extends BaseClient {
|
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
_defineProperty(this, "_apiList", {
|
|
26
|
-
DescribeCacheReadonlyNode: {
|
|
27
|
-
url: "/",
|
|
28
|
-
method: "GET",
|
|
29
|
-
config: {
|
|
30
|
-
query: {
|
|
31
|
-
Version: "2017-04-01",
|
|
32
|
-
Action: "DescribeCacheReadonlyNode"
|
|
33
|
-
},
|
|
34
|
-
headers: {
|
|
35
|
-
"Content-Type": "application/json"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
paramsType: {
|
|
39
|
-
CacheId: "String",
|
|
40
|
-
AvailableZone: "String"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
AddCacheSlaveNode: {
|
|
44
|
-
url: "/",
|
|
45
|
-
method: "PUT",
|
|
46
|
-
config: {
|
|
47
|
-
query: {
|
|
48
|
-
Version: "2017-04-01",
|
|
49
|
-
Action: "AddCacheSlaveNode"
|
|
50
|
-
},
|
|
51
|
-
headers: {
|
|
52
|
-
"Content-Type": "application/json"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
paramsType: {
|
|
56
|
-
AvailableZone: "String",
|
|
57
|
-
CacheId: "String",
|
|
58
|
-
SlaveVip: "String"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
26
|
DeleteCacheSlaveNode: {
|
|
62
27
|
url: "/",
|
|
63
28
|
method: "PUT",
|
|
@@ -67,7 +32,7 @@ module.exports = class Client extends BaseClient {
|
|
|
67
32
|
Action: "DeleteCacheSlaveNode"
|
|
68
33
|
},
|
|
69
34
|
headers: {
|
|
70
|
-
"Content-Type": "application/
|
|
35
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
71
36
|
}
|
|
72
37
|
},
|
|
73
38
|
paramsType: {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
5
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
+
const BaseClient = require("../../../base/BaseClient.js");
|
|
7
|
+
module.exports = class Client extends BaseClient {
|
|
8
|
+
constructor(...args) {
|
|
9
|
+
super(...args);
|
|
10
|
+
_defineProperty(this, "_baseConfig", {
|
|
11
|
+
protocol: "http://",
|
|
12
|
+
endpoint: "kcs.api.ksyun.com",
|
|
13
|
+
config: {
|
|
14
|
+
timeout: 60,
|
|
15
|
+
//设置timeout
|
|
16
|
+
headers: {
|
|
17
|
+
Accept: "application/json"
|
|
18
|
+
},
|
|
19
|
+
credentials: {
|
|
20
|
+
region: "cn-shanghai-3",
|
|
21
|
+
service: "kcs"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
_defineProperty(this, "_apiList", {
|
|
26
|
+
DescribeCacheByRole: {
|
|
27
|
+
url: "/",
|
|
28
|
+
method: "GET",
|
|
29
|
+
config: {
|
|
30
|
+
query: {
|
|
31
|
+
Version: "2024-07-01",
|
|
32
|
+
Action: "DescribeCacheByRole"
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
paramsType: {
|
|
39
|
+
CacheId: "String",
|
|
40
|
+
Role: "String"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
};
|
|
@@ -23,26 +23,55 @@ module.exports = class Client extends BaseClient {
|
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
_defineProperty(this, "_apiList", {
|
|
26
|
-
|
|
26
|
+
DescribeKead: {
|
|
27
27
|
url: "/",
|
|
28
28
|
method: "GET",
|
|
29
29
|
config: {
|
|
30
30
|
query: {
|
|
31
31
|
Version: "2020-01-01",
|
|
32
|
-
Action: "
|
|
32
|
+
Action: "DescribeKead"
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/json"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
paramsType: {
|
|
39
|
+
KeadId: "Filter",
|
|
40
|
+
ProjectId: "Filter"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
DescribeKeadIp: {
|
|
44
|
+
url: "/",
|
|
45
|
+
method: "GET",
|
|
46
|
+
config: {
|
|
47
|
+
query: {
|
|
48
|
+
Version: "2020-01-01",
|
|
49
|
+
Action: "DescribeKeadIp"
|
|
33
50
|
},
|
|
34
51
|
headers: {
|
|
35
52
|
"Content-Type": "application/json"
|
|
36
53
|
}
|
|
37
54
|
},
|
|
38
55
|
paramsType: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
StartTime: "String",
|
|
44
|
-
endTime: "String"
|
|
56
|
+
Ip: "String",
|
|
57
|
+
ProjectId: "Filter",
|
|
58
|
+
PageSize: "Int",
|
|
59
|
+
OffSet: "Int"
|
|
45
60
|
}
|
|
61
|
+
},
|
|
62
|
+
DescribeBlockIp: {
|
|
63
|
+
url: "/",
|
|
64
|
+
method: "GET",
|
|
65
|
+
config: {
|
|
66
|
+
query: {
|
|
67
|
+
Version: "2020-01-01",
|
|
68
|
+
Action: "DescribeBlockIp"
|
|
69
|
+
},
|
|
70
|
+
headers: {
|
|
71
|
+
"Content-Type": "application/json"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
paramsType: {}
|
|
46
75
|
}
|
|
47
76
|
});
|
|
48
77
|
}
|