feat:对接ACS容器和虚拟机
This commit is contained in:
+12
-1
@@ -53,6 +53,16 @@ export const selectServerPlan = data => {
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
/**删除容器网络 */
|
||||
export const deleteContainerNetwork = data => {
|
||||
return http2.post("/v1/user/container/delete_connect", data, {
|
||||
headers: {
|
||||
"Content-Type": "multipart/form-data"
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
/**修改套餐信息 */
|
||||
export const editServerPlan = data => {
|
||||
return http2.post("/v1/admin/container_plan/update_server_plan", data, {
|
||||
@@ -275,7 +285,7 @@ export const getInstanceConsole = data => {
|
||||
};
|
||||
/**查询容器所有卷信息 */
|
||||
export const getVolumeList = data => {
|
||||
return http2.get(`/v1/admin/volume/get_volume_list?container_id=${data}`);
|
||||
return http2.get(`/v1/admin/volume/get_volume_list?instance_id=${data.instance_id}&page=${data.page}&count=${data.count}`);
|
||||
};
|
||||
/**查询虚拟机所有卷信息 */
|
||||
export const getInstanceVolumeList = data => {
|
||||
@@ -307,6 +317,7 @@ export const deleteVolume = data => {
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
/**获取容器网络信息 */
|
||||
export const getNetworkList = data => {
|
||||
return http2.get(
|
||||
|
||||
Reference in New Issue
Block a user