Skip to content

Commit 23cf397

Browse files
committed
feat:add more default product config
1 parent 554a04e commit 23cf397

File tree

1 file changed

+40
-4
lines changed

1 file changed

+40
-4
lines changed

src/constance/config.ts

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,18 @@ export const ProductConfig: IProductConfig = {
6666
"reqBodyType": "json",
6767
"bodyType": "json"
6868
},
69-
"schedulerx": {
70-
"version": "2019-04-30",
71-
"endpoint": "schedulerx.aliyuncs.com",
69+
"rds":{
70+
"version": "2014-08-15",
71+
"endpoint": "rds.aliyuncs.com",
72+
"style": "RPC",
73+
"protocol": "HTTPS",
74+
"pathName": "/",
75+
"reqBodyType": "json",
76+
"bodyType": "json"
77+
},
78+
"slb": {
79+
"version": "2014-05-15",
80+
"endpoint": "slb.[regionId].aliyuncs.com",
7281
"style": "RPC",
7382
"protocol": "HTTPS",
7483
"pathName": "/",
@@ -77,11 +86,38 @@ export const ProductConfig: IProductConfig = {
7786
},
7887
"cs": {
7988
"version": "2015-12-15",
80-
"endpoint": "cs.[regionid].aliyuncs.com",
89+
"endpoint": "cs.[regionId].aliyuncs.com",
8190
"style": "ROA",
8291
"protocol": "HTTPS",
8392
"pathName": "/api/v1/clusters",
8493
"reqBodyType": "json",
8594
"bodyType": "json"
95+
},
96+
"vpc":{
97+
"version": "2016-04-28",
98+
"endpoint": "vpc.[regionId].aliyuncs.com",
99+
"style": "RPC",
100+
"protocol": "HTTPS",
101+
"pathName": "/",
102+
"reqBodyType": "json",
103+
"bodyType": "json"
104+
},
105+
"cms": {
106+
"version": "2019-01-01",
107+
"endpoint": "metrics.[regionId].aliyuncs.com",
108+
"style": "RPC",
109+
"protocol": "HTTPS",
110+
"pathName": "/",
111+
"reqBodyType": "json",
112+
"bodyType": "json"
113+
},
114+
"schedulerx": {
115+
"version": "2019-04-30",
116+
"endpoint": "schedulerx.aliyuncs.com",
117+
"style": "RPC",
118+
"protocol": "HTTPS",
119+
"pathName": "/",
120+
"reqBodyType": "json",
121+
"bodyType": "json"
86122
}
87123
}

0 commit comments

Comments
 (0)