mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-29 03:51:54 +08:00
fix $ref
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
head:
|
||||
summary: 获取指定镜像详情信息
|
||||
parameters:
|
||||
- $ref: '/parameters/image.yaml#imageId'
|
||||
- $ref: '../parameters/image.yaml#/imageId'
|
||||
responses:
|
||||
200:
|
||||
description: 镜像信息
|
||||
@@ -91,19 +91,19 @@ head:
|
||||
|
||||
put:
|
||||
parameters:
|
||||
- $ref: '/parameters/image.yaml#x-image-meta-name'
|
||||
- $ref: '/parameters/image.yaml#x-image-meta-is_public'
|
||||
- $ref: '/parameters/image.yaml#x-image-meta-description'
|
||||
- $ref: '/parameters/image.yaml#x-image-meta-property-os_arch'
|
||||
- $ref: '/parameters/image.yaml#x-image-meta-property-os_distribution'
|
||||
- $ref: '/parameters/image.yaml#x-image-meta-property-os_version'
|
||||
- $ref: '../parameters/image.yaml#/x-image-meta-name'
|
||||
- $ref: '../parameters/image.yaml#/x-image-meta-is_public'
|
||||
- $ref: '../parameters/image.yaml#/x-image-meta-description'
|
||||
- $ref: '../parameters/image.yaml#/x-image-meta-property-os_arch'
|
||||
- $ref: '../parameters/image.yaml#/x-image-meta-property-os_distribution'
|
||||
- $ref: '../parameters/image.yaml#/x-image-meta-property-os_version'
|
||||
summary: 更新镜像信息
|
||||
responses:
|
||||
200:
|
||||
description: 镜像信息
|
||||
|
||||
schema:
|
||||
$ref: '/schemas/image.yaml#ImageResponse'
|
||||
$ref: '../schemas/image.yaml#/ImageResponse'
|
||||
tags:
|
||||
- glance
|
||||
get:
|
||||
|
||||
+10
-10
@@ -1,18 +1,18 @@
|
||||
get:
|
||||
summary: 按指定条件列出镜像
|
||||
parameters:
|
||||
- $ref: '/parameters/common.yaml#offset'
|
||||
- $ref: '/parameters/common.yaml#limit'
|
||||
- $ref: '/parameters/common.yaml#pending_delete'
|
||||
- $ref: '/parameters/image.yaml#is_public'
|
||||
- $ref: '/parameters/image.yaml#owner'
|
||||
- $ref: '/parameters/image.yaml#name'
|
||||
- $ref: '/parameters/image.yaml#disk_format'
|
||||
- $ref: '/parameters/image.yaml#disk_formats'
|
||||
- $ref: '../parameters/common.yaml#/offset'
|
||||
- $ref: '../parameters/common.yaml#/limit'
|
||||
- $ref: '../parameters/common.yaml#/pending_delete'
|
||||
- $ref: '../parameters/image.yaml#/is_public'
|
||||
- $ref: '../parameters/image.yaml#/owner'
|
||||
- $ref: '../parameters/image.yaml#/name'
|
||||
- $ref: '../parameters/image.yaml#/disk_format'
|
||||
- $ref: '../parameters/image.yaml#/disk_formats'
|
||||
responses:
|
||||
200:
|
||||
description: 镜像列表信息
|
||||
schema:
|
||||
$ref: '/schemas/image.yaml#ImageListResponse'
|
||||
$ref: "../schemas/image.yaml#/ImageListResponse"
|
||||
tags:
|
||||
- glance
|
||||
- glance
|
||||
|
||||
+62
-68
@@ -31,140 +31,134 @@ security:
|
||||
tags:
|
||||
- name: instance
|
||||
|
||||
|
||||
paths:
|
||||
/servers:
|
||||
$ref: '/instance/instances.yaml'
|
||||
$ref: "./instance/instances.yaml"
|
||||
/servers/{instanceId}/add-secgroup:
|
||||
$ref: '/instance/add-secgroup.yaml'
|
||||
$ref: "./instance/add-secgroup.yaml"
|
||||
/servers/{instanceId}/assign-secgroup:
|
||||
$ref: '/instance/assign-secgroup.yaml'
|
||||
$ref: "./instance/assign-secgroup.yaml"
|
||||
/servers/{instanceId}/associate-eip:
|
||||
$ref: '/instance/associate-eip.yaml'
|
||||
$ref: "./instance/associate-eip.yaml"
|
||||
/servers/{instanceId}/attachdisk:
|
||||
$ref: '/instance/attachdisk.yaml'
|
||||
$ref: "./instance/attachdisk.yaml"
|
||||
/servers/{instanceId}/attach-isolate-device:
|
||||
$ref: '/instance/attach-isolate-device.yaml'
|
||||
$ref: "./instance/attach-isolate-device.yaml"
|
||||
/servers/{instanceId}/attachnetwork:
|
||||
$ref: '/instance/attachnetwork.yaml'
|
||||
$ref: "./instance/attachnetwork.yaml"
|
||||
/servers/{instanceId}/cancel-delete:
|
||||
$ref: '/instance/cancel-delete.yaml'
|
||||
$ref: "./instance/cancel-delete.yaml"
|
||||
/servers/{instanceId}/change-bandwidth:
|
||||
$ref: '/instance/change-bandwidth.yaml'
|
||||
$ref: "./instance/change-bandwidth.yaml"
|
||||
/servers/{instanceId}/change-config:
|
||||
$ref: '/instance/change-bandwidth.yaml'
|
||||
$ref: "./instance/change-bandwidth.yaml"
|
||||
/servers/{instanceId}/change-ip-addr:
|
||||
$ref: '/instance/change-ip-addr.yaml'
|
||||
$ref: "./instance/change-ip-addr.yaml"
|
||||
/servers/{instanceId}/create-backup:
|
||||
$ref: '/instance/create-backup.yaml'
|
||||
$ref: "./instance/create-backup.yaml"
|
||||
/servers/{instanceId}/createdisk:
|
||||
$ref: '/instance/createdisk.yaml'
|
||||
$ref: "./instance/createdisk.yaml"
|
||||
/servers/{instanceId}/create-eip:
|
||||
$ref: '/instance/create-eip.yaml'
|
||||
$ref: "./instance/create-eip.yaml"
|
||||
/servers/{instanceId}/del-extra-option:
|
||||
$ref: '/instance/del-extra-option.yaml'
|
||||
$ref: "./instance/del-extra-option.yaml"
|
||||
/servers/{instanceId}/delete-backup:
|
||||
$ref: '/instance/delete-backup.yaml'
|
||||
$ref: "./instance/delete-backup.yaml"
|
||||
/servers/{instanceId}/deploy:
|
||||
$ref: '/instance/deploy.yaml'
|
||||
$ref: "./instance/deploy.yaml"
|
||||
/servers/{instanceId}/detachdisk:
|
||||
$ref: '/instance/detachdisk.yaml'
|
||||
$ref: "./instance/detachdisk.yaml"
|
||||
/servers/{instanceId}/detach-isolate-device:
|
||||
$ref: '/instance/detach-isolate-device.yaml'
|
||||
$ref: "./instance/detach-isolate-device.yaml"
|
||||
/servers/{instanceId}/detachnetwork:
|
||||
$ref: '/instance/detachnetwork.yaml'
|
||||
$ref: "./instance/detachnetwork.yaml"
|
||||
/servers/{instanceId}/dissociate-eip:
|
||||
$ref: '/instance/dissociate-eip.yaml'
|
||||
$ref: "./instance/dissociate-eip.yaml"
|
||||
/servers/{instanceId}/ejectiso:
|
||||
$ref: '/instance/ejectiso.yaml'
|
||||
$ref: "./instance/ejectiso.yaml"
|
||||
/servers/{instanceId}/insertiso:
|
||||
$ref: '/instance/insertiso.yaml'
|
||||
$ref: "./instance/insertiso.yaml"
|
||||
/servers/{instanceId}/live-migrate:
|
||||
$ref: '/instance/live-migrate.yaml'
|
||||
$ref: "./instance/live-migrate.yaml"
|
||||
/servers/{instanceId}/migrate:
|
||||
$ref: '/instance/migrate.yaml'
|
||||
$ref: "./instance/migrate.yaml"
|
||||
/servers/{instanceId}/monitor:
|
||||
$ref: '/instance/monitor.yaml'
|
||||
$ref: "./instance/monitor.yaml"
|
||||
/servers/{instanceId}/purge:
|
||||
$ref: '/instance/purge.yaml'
|
||||
$ref: "./instance/purge.yaml"
|
||||
/servers/{instanceId}/rebuild-root:
|
||||
$ref: '/instance/rebuild-root.yaml'
|
||||
$ref: "./instance/rebuild-root.yaml"
|
||||
/servers/{instanceId}/renew:
|
||||
$ref: '/instance/renew.yaml'
|
||||
$ref: "./instance/renew.yaml"
|
||||
/servers/{instanceId}/reset:
|
||||
$ref: '/instance/reset.yaml'
|
||||
$ref: "./instance/reset.yaml"
|
||||
/servers/{instanceId}/restart:
|
||||
$ref: '/instance/restart.yaml'
|
||||
$ref: "./instance/restart.yaml"
|
||||
/servers/{instanceId}/revoke-secgroup:
|
||||
$ref: '/instance/revoke-secgroup.yaml'
|
||||
$ref: "./instance/revoke-secgroup.yaml"
|
||||
/servers/{instanceId}/save-image:
|
||||
$ref: '/instance/save-image.yaml'
|
||||
$ref: "./instance/save-image.yaml"
|
||||
/servers/{instanceId}/send-keys:
|
||||
$ref: '/instance/send-keys.yaml'
|
||||
$ref: "./instance/send-keys.yaml"
|
||||
/servers/{instanceId}/set-extra-option:
|
||||
$ref: '/instance/set-extra-option.yaml'
|
||||
$ref: "./instance/set-extra-option.yaml"
|
||||
/servers/{instanceId}/set-secgroup:
|
||||
$ref: '/instance/set-secgroup.yaml'
|
||||
$ref: "./instance/set-secgroup.yaml"
|
||||
/servers/{instanceId}:
|
||||
$ref: '/instance/instance.yaml'
|
||||
$ref: "./instance/instance.yaml"
|
||||
/servers/{instanceId}/start:
|
||||
$ref: '/instance/start.yaml'
|
||||
$ref: "./instance/start.yaml"
|
||||
/servers/{instanceId}/status:
|
||||
$ref: '/instance/status.yaml'
|
||||
$ref: "./instance/status.yaml"
|
||||
/servers/{instanceId}/stop:
|
||||
$ref: '/instance/stop.yaml'
|
||||
$ref: "./instance/stop.yaml"
|
||||
/servers/{instanceId}/suspend:
|
||||
$ref: '/instance/suspend.yaml'
|
||||
$ref: "./instance/suspend.yaml"
|
||||
/servers/{instanceId}/switch-to-backup:
|
||||
$ref: '/instance/switch-to-backup.yaml'
|
||||
$ref: "./instance/switch-to-backup.yaml"
|
||||
/servers/{instanceId}/sync:
|
||||
$ref: '/instance/sync.yaml'
|
||||
$ref: "./instance/sync.yaml"
|
||||
/servers/{instanceId}/syncstatus:
|
||||
$ref: '/instance/syncstatus.yaml'
|
||||
$ref: "./instance/syncstatus.yaml"
|
||||
/servers/{instanceId}/user-data:
|
||||
$ref: '/instance/user-data.yaml'
|
||||
$ref: "./instance/user-data.yaml"
|
||||
/servers/{instanceId}/vnc:
|
||||
$ref: '/instance/vnc.yaml'
|
||||
|
||||
|
||||
$ref: "./instance/vnc.yaml"
|
||||
|
||||
/images:
|
||||
$ref: '/image/images.yaml'
|
||||
$ref: "./image/images.yaml"
|
||||
/images/{imageId}:
|
||||
$ref: '/image/image.yaml'
|
||||
|
||||
|
||||
$ref: "./image/image.yaml"
|
||||
|
||||
/natgateways:
|
||||
$ref: '/natgateway/natgateways.yaml'
|
||||
$ref: "./natgateway/natgateways.yaml"
|
||||
/natgateways/{natgatewayId}:
|
||||
$ref: '/natgateway/natgateway.yaml'
|
||||
$ref: "./natgateway/natgateway.yaml"
|
||||
/natdtables:
|
||||
$ref: '/natgateway/dtables.yaml'
|
||||
$ref: "./natgateway/dtables.yaml"
|
||||
/natdtables/{dtableId}:
|
||||
$ref: '/natgateway/dtable.yaml'
|
||||
$ref: "./natgateway/dtable.yaml"
|
||||
/natstables:
|
||||
$ref: '/natgateway/stables.yaml'
|
||||
$ref: "./natgateway/stables.yaml"
|
||||
/natstables/{stableId}:
|
||||
$ref: '/natgateway/stable.yaml'
|
||||
|
||||
$ref: "./natgateway/stable.yaml"
|
||||
|
||||
/loadbalancers:
|
||||
$ref: '/loadbalancer/loadbalancers.yaml'
|
||||
$ref: "./loadbalancer/loadbalancers.yaml"
|
||||
/loadbalancers/{loadbalancerId}:
|
||||
$ref: '/loadbalancer/loadbalancer.yaml'
|
||||
$ref: "./loadbalancer/loadbalancer.yaml"
|
||||
|
||||
/loadbalancerlisteners:
|
||||
$ref: '/loadbalancer/loadbalancerlisteners.yaml'
|
||||
$ref: "./loadbalancer/loadbalancerlisteners.yaml"
|
||||
/loadbalancerlisteners/{loadbalancerlistenerId}:
|
||||
$ref: '/loadbalancer/loadbalancerlistener.yaml'
|
||||
$ref: "./loadbalancer/loadbalancerlistener.yaml"
|
||||
|
||||
/loadbalancerbackendgroups:
|
||||
$ref: '/loadbalancer/loadbalancerbackendgroups.yaml'
|
||||
$ref: "./loadbalancer/loadbalancerbackendgroups.yaml"
|
||||
/loadbalancerbackendgroups/{loadbalancerbackendgroupId}:
|
||||
$ref: '/loadbalancer/loadbalancerbackendgroup.yaml'
|
||||
$ref: "./loadbalancer/loadbalancerbackendgroup.yaml"
|
||||
|
||||
/loadbalancerbackends:
|
||||
$ref: '/loadbalancer/loadbalancerbackends.yaml'
|
||||
$ref: "./loadbalancer/loadbalancerbackends.yaml"
|
||||
/loadbalancerbackends/{loadbalancerbackendId}:
|
||||
$ref: '/loadbalancer/loadbalancerbackend.yaml'
|
||||
$ref: "./loadbalancer/loadbalancerbackend.yaml"
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 绑定安全组到实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceAddSecgroup'
|
||||
$ref: '../schemas/instance.yaml#/InstanceAddSecgroup'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 替换实例默认安全组
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceAssignSecgroup'
|
||||
$ref: '../schemas/instance.yaml#/InstanceAssignSecgroup'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 实例关联弹性IP
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceAssociateEip'
|
||||
$ref: '../schemas/instance.yaml#/InstanceAssociateEip'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 透传设备
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceAttachIsolateDevice'
|
||||
$ref: '../schemas/instance.yaml#/InstanceAttachIsolateDevice'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 挂载磁盘到实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceAttachDisk'
|
||||
$ref: '../schemas/instance.yaml#/InstanceAttachDisk'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 实例绑定网络(从网络上分配IP地址)
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceAttachNetwork'
|
||||
$ref: '../schemas/instance.yaml#/InstanceAttachNetwork'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,11 +1,11 @@
|
||||
post:
|
||||
summary: 恢复回收站实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 更改实例网卡带宽
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceChangeBandwidth'
|
||||
$ref: '../schemas/instance.yaml#/InstanceChangeBandwidth'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 更改实例配置
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceChangeConfig'
|
||||
$ref: '../schemas/instance.yaml#/InstanceChangeConfig'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 更改实例IP地址
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceChangeIpAddr'
|
||||
$ref: '../schemas/instance.yaml#/InstanceChangeIpAddr'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,11 +1,11 @@
|
||||
post:
|
||||
summary: 添加实例备份机
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 创建并绑定弹性IP给实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceCreateEip'
|
||||
$ref: '../schemas/instance.yaml#/InstanceCreateEip'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 创建磁盘并挂载到实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceCreateDisk'
|
||||
$ref: '../schemas/instance.yaml#/InstanceCreateDisk'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 删除实例额外选项
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceDelExtraOption'
|
||||
$ref: '../schemas/instance.yaml#/InstanceDelExtraOption'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 删除实例备份机
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceDeleteBackup'
|
||||
$ref: '../schemas/instance.yaml#/InstanceDeleteBackup'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 重置实例密码信息
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceDeploy'
|
||||
$ref: '../schemas/instance.yaml#/InstanceDeploy'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 解除透传设备
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceDetachIsolateDevice'
|
||||
$ref: '../schemas/instance.yaml#/InstanceDetachIsolateDevice'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 卸载实例磁盘
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceDetachDisk'
|
||||
$ref: '../schemas/instance.yaml#/InstanceDetachDisk'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 移除实例的网络(解绑网络上的IP地址)
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceDetachNetwork'
|
||||
$ref: '../schemas/instance.yaml#/InstanceDetachNetwork'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 解绑实例弹性IP
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceDissociateEip'
|
||||
$ref: '../schemas/instance.yaml#/InstanceDissociateEip'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,11 +1,11 @@
|
||||
post:
|
||||
summary: 卸载实例ISO设备
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 挂载ISO设备到实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceInsertIso'
|
||||
$ref: '../schemas/instance.yaml#/InstanceInsertIso'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
+11
-11
@@ -1,40 +1,40 @@
|
||||
get:
|
||||
summary: 获取指定实例详情信息
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '/parameters/common.yaml#pending_delete'
|
||||
parameters:
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- $ref: '../parameters/common.yaml#/pending_delete'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
put:
|
||||
summary: 更新实实例信息
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceUpdate'
|
||||
$ref: '../schemas/instance.yaml#/InstanceUpdate'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
delete:
|
||||
summary: 删除指定实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '/parameters/common.yaml#override_pending_delete'
|
||||
parameters:
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- $ref: '../parameters/common.yaml#/override_pending_delete'
|
||||
responses:
|
||||
200:
|
||||
description: 被删除实例的信息,删除前确保已解除删除保护,第一次删除时会先进入回收站(可恢复),第二次删除会真正释放资源
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,34 +1,33 @@
|
||||
get:
|
||||
summary: 按指定条件列出实例
|
||||
parameters:
|
||||
- $ref: '/parameters/common.yaml#limit'
|
||||
- $ref: '/parameters/common.yaml#offset'
|
||||
- $ref: '/parameters/common.yaml#provider'
|
||||
- $ref: '/parameters/common.yaml#account'
|
||||
- $ref: '/parameters/common.yaml#cloudprovider'
|
||||
- $ref: '/parameters/common.yaml#billing_type'
|
||||
- $ref: '/parameters/common.yaml#zone'
|
||||
- $ref: '/parameters/common.yaml#wire'
|
||||
- $ref: '/parameters/common.yaml#network'
|
||||
- $ref: '/parameters/common.yaml#vpc'
|
||||
- $ref: '/parameters/common.yaml#region'
|
||||
- $ref: '/parameters/common.yaml#pending_delete'
|
||||
|
||||
- $ref: '/parameters/instance.yaml#host'
|
||||
- $ref: '/parameters/instance.yaml#with_eip'
|
||||
- $ref: '/parameters/instance.yaml#without_eip'
|
||||
- $ref: '/parameters/instance.yaml#gpu'
|
||||
- $ref: '/parameters/instance.yaml#order_by_disk'
|
||||
- $ref: '/parameters/instance.yaml#order_by_host'
|
||||
- $ref: '/parameters/instance.yaml#baremetal'
|
||||
- $ref: '/parameters/instance.yaml#hypervisor'
|
||||
- $ref: '/parameters/instance.yaml#secgroup'
|
||||
- $ref: '/parameters/instance.yaml#disk'
|
||||
- $ref: '../parameters/common.yaml#/limit'
|
||||
- $ref: '../parameters/common.yaml#/offset'
|
||||
- $ref: '../parameters/common.yaml#/provider'
|
||||
- $ref: '../parameters/common.yaml#/account'
|
||||
- $ref: '../parameters/common.yaml#/cloudprovider'
|
||||
- $ref: '../parameters/common.yaml#/billing_type'
|
||||
- $ref: '../parameters/common.yaml#/zone'
|
||||
- $ref: '../parameters/common.yaml#/wire'
|
||||
- $ref: '../parameters/common.yaml#/network'
|
||||
- $ref: '../parameters/common.yaml#/vpc'
|
||||
- $ref: '../parameters/common.yaml#/region'
|
||||
- $ref: '../parameters/common.yaml#/pending_delete'
|
||||
- $ref: '../parameters/instance.yaml#/host'
|
||||
- $ref: '../parameters/instance.yaml#/with_eip'
|
||||
- $ref: '../parameters/instance.yaml#/without_eip'
|
||||
- $ref: '../parameters/instance.yaml#/gpu'
|
||||
- $ref: '../parameters/instance.yaml#/order_by_disk'
|
||||
- $ref: '../parameters/instance.yaml#/order_by_host'
|
||||
- $ref: '../parameters/instance.yaml#/baremetal'
|
||||
- $ref: '../parameters/instance.yaml#/hypervisor'
|
||||
- $ref: '../parameters/instance.yaml#/secgroup'
|
||||
- $ref: '../parameters/instance.yaml#/disk'
|
||||
responses:
|
||||
200:
|
||||
description: 实例列表信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceListResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceListResponse'
|
||||
tags:
|
||||
- instance
|
||||
post:
|
||||
@@ -38,11 +37,11 @@ post:
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceCreate'
|
||||
$ref: '../schemas/instance.yaml#/InstanceCreate'
|
||||
responses:
|
||||
200:
|
||||
description: 新创建的实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 在线迁移实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceLiveMigrate'
|
||||
$ref: '../schemas/instance.yaml#/InstanceLiveMigrate'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 迁移实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceMigrate'
|
||||
$ref: '../schemas/instance.yaml#/InstanceMigrate'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 发送qemu-monitor指令给实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceMonitor'
|
||||
$ref: '../schemas/instance.yaml#/InstanceMonitor'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,11 +1,11 @@
|
||||
post:
|
||||
summary: 抹除数据库实例数据(不真正删除实例)
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 重装系统(更换系统镜像)
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
parameters:
|
||||
- $ref: "../parameters/instance.yaml#/instanceId"
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceRebuildRoot'
|
||||
$ref: "../schemas/instance.yaml#/InstanceRebuildRoot"
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: "../schemas/instance.yaml#/InstanceResponse"
|
||||
tags:
|
||||
- instance
|
||||
- instance
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 续费实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceRenew'
|
||||
$ref: '../schemas/instance.yaml#/InstanceRenew'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 重启实例(软重启)
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceReset'
|
||||
$ref: '../schemas/instance.yaml#/InstanceReset'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 重启实例(硬重启)
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceRestart'
|
||||
$ref: '../schemas/instance.yaml#/InstanceRestart'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 解绑实例安全组
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceRevokeSecgroup'
|
||||
$ref: '../schemas/instance.yaml#/InstanceRevokeSecgroup'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 保存镜像
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceSaveImage'
|
||||
$ref: '../schemas/instance.yaml#/InstanceSaveImage'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 发送按键给实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceSendKeys'
|
||||
$ref: '../schemas/instance.yaml#/InstanceSendKeys'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 设置实例额外选项(USB透传)
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceSetExtraOption'
|
||||
$ref: '../schemas/instance.yaml#/InstanceSetExtraOption'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 批量设置安全组
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceSetSecgroup'
|
||||
$ref: '../schemas/instance.yaml#/InstanceSetSecgroup'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,11 +1,11 @@
|
||||
post:
|
||||
summary: 启动实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 更改实例状态
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceStatus'
|
||||
$ref: '../schemas/instance.yaml#/InstanceStatus'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 关闭实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceStop'
|
||||
$ref: '../schemas/instance.yaml#/InstanceStop'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,11 +1,11 @@
|
||||
post:
|
||||
summary: 休眠实例
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,11 +1,11 @@
|
||||
post:
|
||||
summary: 备份机转换
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,11 +1,11 @@
|
||||
post:
|
||||
summary: 同步配置信息
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,11 +1,11 @@
|
||||
post:
|
||||
summary: 同步实例状态
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,16 +1,16 @@
|
||||
post:
|
||||
summary: 更新实例UserData
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
- in: body
|
||||
name: server
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceUserData'
|
||||
$ref: '../schemas/instance.yaml#/InstanceUserData'
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,11 +1,11 @@
|
||||
get:
|
||||
summary: 获取指定实例VNC信息
|
||||
parameters:
|
||||
- $ref: '/parameters/instance.yaml#instanceId'
|
||||
- $ref: '../parameters/instance.yaml#/instanceId'
|
||||
responses:
|
||||
200:
|
||||
description: 实例VNC信息
|
||||
schema:
|
||||
$ref: '/schemas/instance.yaml#InstanceVncResponse'
|
||||
$ref: '../schemas/instance.yaml#/InstanceVncResponse'
|
||||
tags:
|
||||
- instance
|
||||
@@ -1,22 +1,22 @@
|
||||
get:
|
||||
summary: 获取指定loadbalancer实例信息
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#loadbalancerId'
|
||||
parameters:
|
||||
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerId"
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerResponse"
|
||||
tags:
|
||||
- loadbalancers
|
||||
delete:
|
||||
summary: 删除指定loadbalancer实例
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#loadbalancerId'
|
||||
parameters:
|
||||
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerId"
|
||||
responses:
|
||||
200:
|
||||
description: 被删除实例的信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerResponse"
|
||||
tags:
|
||||
- loadbalancers
|
||||
- loadbalancers
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
get:
|
||||
summary: 获取指定loadbalancer后端服务器信息
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#loadbalancerbackendId'
|
||||
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerbackendId"
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerBackendResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerBackendResponse"
|
||||
tags:
|
||||
- loadbalancerbackends
|
||||
delete:
|
||||
summary: 删除指定loadbalancer后端服务器
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#loadbalancerbackendId'
|
||||
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerbackendId"
|
||||
responses:
|
||||
200:
|
||||
description: 被删除后端服务器的信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerBackendResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerBackendResponse"
|
||||
tags:
|
||||
- loadbalancerbackends
|
||||
- loadbalancerbackends
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
get:
|
||||
summary: 获取指定loadbalancer后端服务器组信息
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#loadbalancerbackendgroupId'
|
||||
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerbackendgroupId"
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerBackendGroupResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerBackendGroupResponse"
|
||||
tags:
|
||||
- loadbalancerbackendgroups
|
||||
delete:
|
||||
summary: 删除指定loadbalancer后端服务器组实例
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#loadbalancerbackendgroupId'
|
||||
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerbackendgroupId"
|
||||
responses:
|
||||
200:
|
||||
description: 被删除后端服务器组的信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerBackendGroupResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerBackendGroupResponse"
|
||||
tags:
|
||||
- loadbalancerbackendgroups
|
||||
- loadbalancerbackendgroups
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
get:
|
||||
summary: 按指定条件列出loadbalancer后端服务器组
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#loadbalancer'
|
||||
- $ref: "../parameters/loadbalancer.yaml#/loadbalancer"
|
||||
responses:
|
||||
200:
|
||||
description: 后端服务器组列表
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerBackendGroupListResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerBackendGroupListResponse"
|
||||
tags:
|
||||
- loadbalancerbackendgroups
|
||||
post:
|
||||
summary: 创建loadbalancer后端服务器组
|
||||
parameters:
|
||||
- name: loadbalancer
|
||||
in: body
|
||||
schema: { type: string }
|
||||
required: true
|
||||
description: 指定loadbalaner实例uuid
|
||||
- name: loadbalancer
|
||||
in: body
|
||||
schema: { type: string }
|
||||
required: true
|
||||
description: 指定loadbalaner实例uuid
|
||||
responses:
|
||||
200:
|
||||
description: 新创建的后端服务器组信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerBackendGroupResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerBackendGroupResponse"
|
||||
tags:
|
||||
- loadbalancerbackendgroups
|
||||
- loadbalancerbackendgroups
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
get:
|
||||
summary: 按指定条件列出loadbalancer后端服务器
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#backend_group'
|
||||
- $ref: '/parameters/loadbalancer.yaml#address'
|
||||
- $ref: '/parameters/loadbalancer.yaml#port'
|
||||
- $ref: "../parameters/loadbalancer.yaml#/backend_group"
|
||||
- $ref: "../parameters/loadbalancer.yaml#/address"
|
||||
- $ref: "../parameters/loadbalancer.yaml#/port"
|
||||
responses:
|
||||
200:
|
||||
description: 后端服务器组列表
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerBackendListResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerBackendListResponse"
|
||||
tags:
|
||||
- loadbalancerbackends
|
||||
post:
|
||||
summary: 创建loadbalancer后端服务器
|
||||
parameters:
|
||||
- name: loadbalancerbackend
|
||||
in: body
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerBackendCreateRequest'
|
||||
- name: loadbalancerbackend
|
||||
in: body
|
||||
schema:
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerBackendCreateRequest"
|
||||
responses:
|
||||
200:
|
||||
description: 新创建的后端服务器组信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerBackendResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerBackendResponse"
|
||||
tags:
|
||||
- loadbalancerbackends
|
||||
- loadbalancerbackends
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
get:
|
||||
summary: 获取指定loadbalancer监听实例信息
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#loadbalancerlistenerId'
|
||||
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerlistenerId"
|
||||
responses:
|
||||
200:
|
||||
description: 实例信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerListenerResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerListenerResponse"
|
||||
tags:
|
||||
- loadbalancerlisteners
|
||||
delete:
|
||||
summary: 删除指定loadbalancer监听实例
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#loadbalancerlistenerId'
|
||||
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerlistenerId"
|
||||
responses:
|
||||
200:
|
||||
description: 被删除实例的信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerListenerResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerListenerResponse"
|
||||
tags:
|
||||
- loadbalancerlisteners
|
||||
- loadbalancerlisteners
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
get:
|
||||
summary: 按指定条件列出loadbalancer监听实例
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#loadbalancer'
|
||||
- $ref: '/parameters/loadbalancer.yaml#listener_type'
|
||||
- $ref: '/parameters/loadbalancer.yaml#listener_port'
|
||||
- $ref: "../parameters/loadbalancer.yaml#/loadbalancer"
|
||||
- $ref: "../parameters/loadbalancer.yaml#/listener_type"
|
||||
- $ref: "../parameters/loadbalancer.yaml#/listener_port"
|
||||
responses:
|
||||
200:
|
||||
description: 监听实例列表信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerListenerListResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerListenerListResponse"
|
||||
tags:
|
||||
- loadbalancerlisteners
|
||||
post:
|
||||
summary: 创建loadbalancer监听实例
|
||||
parameters:
|
||||
- name: loadbalancerlistener
|
||||
in: body
|
||||
required: true
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerListenerCreateRequest'
|
||||
- name: loadbalancerlistener
|
||||
in: body
|
||||
required: true
|
||||
schema:
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerListenerCreateRequest"
|
||||
responses:
|
||||
200:
|
||||
description: 新创建的实例信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerListenerResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerListenerResponse"
|
||||
tags:
|
||||
- loadbalancerlisteners
|
||||
- loadbalancerlisteners
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
get:
|
||||
summary: 按指定条件列出loadbalancer实例
|
||||
parameters:
|
||||
- $ref: '/parameters/loadbalancer.yaml#address'
|
||||
- $ref: "../parameters/loadbalancer.yaml#/address"
|
||||
responses:
|
||||
200:
|
||||
description: 实例列表信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerListResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerListResponse"
|
||||
tags:
|
||||
- loadbalancers
|
||||
post:
|
||||
@@ -15,6 +15,6 @@ post:
|
||||
200:
|
||||
description: 新创建的实例信息
|
||||
schema:
|
||||
$ref: '/schemas/loadbalancer.yaml#LoadbalancerResponse'
|
||||
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerResponse"
|
||||
tags:
|
||||
- loadbalancers
|
||||
- loadbalancers
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
get:
|
||||
summary: 获取指定SNAT详情信息
|
||||
parameters:
|
||||
- $ref: '/parameters/natgateway.yaml#dtableId'
|
||||
parameters:
|
||||
- $ref: "../parameters/natgateway.yaml#/dtableId"
|
||||
responses:
|
||||
200:
|
||||
description: DNAT信息
|
||||
schema:
|
||||
$ref: '/schemas/natgateway.yaml#DTableResponse'
|
||||
$ref: "../schemas/natgateway.yaml#/DTableResponse"
|
||||
tags:
|
||||
- DNAT
|
||||
- DNAT
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
get:
|
||||
summary: 按指定条件列出NAT网关DNAT
|
||||
parameters:
|
||||
- $ref: '/parameters/common.yaml#offset'
|
||||
- $ref: '/parameters/common.yaml#limit'
|
||||
- $ref: '/parameters/common.yaml#provider'
|
||||
- $ref: '/parameters/common.yaml#account'
|
||||
- $ref: '/parameters/common.yaml#cloudprovider'
|
||||
- $ref: '/parameters/common.yaml#brand'
|
||||
- $ref: "../parameters/common.yaml#/offset"
|
||||
- $ref: "../parameters/common.yaml#/limit"
|
||||
- $ref: "../parameters/common.yaml#/provider"
|
||||
- $ref: "../parameters/common.yaml#/account"
|
||||
- $ref: "../parameters/common.yaml#/cloudprovider"
|
||||
- $ref: "../parameters/common.yaml#/brand"
|
||||
|
||||
- $ref: '/parameters/natgateway.yaml#natgateway'
|
||||
- $ref: "../parameters/natgateway.yaml#/natgateway"
|
||||
responses:
|
||||
200:
|
||||
description: NAT网关 DNAT
|
||||
schema:
|
||||
$ref: '/schemas/natgateway.yaml#DTableListResponse'
|
||||
$ref: "../schemas/natgateway.yaml#/DTableListResponse"
|
||||
tags:
|
||||
- DNAT
|
||||
- DNAT
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
get:
|
||||
summary: 获取指定DNAT详情信息
|
||||
parameters:
|
||||
- $ref: '/parameters/natgateway.yaml#natgatewayId'
|
||||
parameters:
|
||||
- $ref: "../parameters/natgateway.yaml#/natgatewayId"
|
||||
responses:
|
||||
200:
|
||||
description: NAT网关信息
|
||||
schema:
|
||||
$ref: '/schemas/natgateway.yaml#NatGatewayResponse'
|
||||
$ref: "../schemas/natgateway.yaml#/NatGatewayResponse"
|
||||
tags:
|
||||
- NAT
|
||||
- NAT
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
get:
|
||||
summary: 按指定条件列出NAT网关
|
||||
parameters:
|
||||
- $ref: '/parameters/common.yaml#offset'
|
||||
- $ref: '/parameters/common.yaml#limit'
|
||||
- $ref: '/parameters/common.yaml#cloudregion'
|
||||
- $ref: '/parameters/common.yaml#vpc'
|
||||
- $ref: '/parameters/common.yaml#provider'
|
||||
- $ref: '/parameters/common.yaml#account'
|
||||
- $ref: '/parameters/common.yaml#cloudprovider'
|
||||
- $ref: '/parameters/common.yaml#brand'
|
||||
- $ref: "../parameters/common.yaml#/offset"
|
||||
- $ref: "../parameters/common.yaml#/limit"
|
||||
- $ref: "../parameters/common.yaml#/cloudregion"
|
||||
- $ref: "../parameters/common.yaml#/vpc"
|
||||
- $ref: "../parameters/common.yaml#/provider"
|
||||
- $ref: "../parameters/common.yaml#/account"
|
||||
- $ref: "../parameters/common.yaml#/cloudprovider"
|
||||
- $ref: "../parameters/common.yaml#/brand"
|
||||
responses:
|
||||
200:
|
||||
description: NAT网关列表信息
|
||||
schema:
|
||||
$ref: '/schemas/natgateway.yaml#NatGatewayListResponse'
|
||||
$ref: "../schemas/natgateway.yaml#/NatGatewayListResponse"
|
||||
tags:
|
||||
- NAT
|
||||
- NAT
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
get:
|
||||
summary: 获取指定SNAT详情信息
|
||||
parameters:
|
||||
- $ref: '/parameters/natgateway.yaml#stableId'
|
||||
parameters:
|
||||
- $ref: "../parameters/natgateway.yaml#/stableId"
|
||||
responses:
|
||||
200:
|
||||
description: SNAT信息
|
||||
schema:
|
||||
$ref: '/schemas/natgateway.yaml#STableResponse'
|
||||
$ref: "../schemas/natgateway.yaml#/STableResponse"
|
||||
tags:
|
||||
- SNAT
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
get:
|
||||
summary: 按指定条件列出NAT网关SNAT
|
||||
parameters:
|
||||
- $ref: '/parameters/common.yaml#limit'
|
||||
- $ref: '/parameters/common.yaml#offset'
|
||||
- $ref: '/parameters/common.yaml#network'
|
||||
- $ref: '/parameters/common.yaml#provider'
|
||||
- $ref: '/parameters/common.yaml#account'
|
||||
- $ref: '/parameters/common.yaml#cloudprovider'
|
||||
- $ref: '/parameters/common.yaml#brand'
|
||||
- $ref: "../parameters/common.yaml#/limit"
|
||||
- $ref: "../parameters/common.yaml#/offset"
|
||||
- $ref: "../parameters/common.yaml#/network"
|
||||
- $ref: "../parameters/common.yaml#/provider"
|
||||
- $ref: "../parameters/common.yaml#/account"
|
||||
- $ref: "../parameters/common.yaml#/cloudprovider"
|
||||
- $ref: "../parameters/common.yaml#/brand"
|
||||
|
||||
- $ref: '/parameters/natgateway.yaml#natgateway'
|
||||
- $ref: "../parameters/natgateway.yaml#/natgateway"
|
||||
|
||||
responses:
|
||||
200:
|
||||
description: NAT网关 SNAT
|
||||
schema:
|
||||
$ref: '/schemas/natgateway.yaml#STableListResponse'
|
||||
$ref: "../schemas/natgateway.yaml#/STableListResponse"
|
||||
tags:
|
||||
- SNAT
|
||||
- SNAT
|
||||
|
||||
Reference in New Issue
Block a user