get: summary: 获取指定存储详情信息 parameters: - $ref: '../parameters/storage.yaml#/storageId' responses: 200: description: 实例信息 schema: $ref: '../schemas/storage.yaml#/StorageResponse' tags: - storages delete: summary: 删除指定存储 parameters: - $ref: '../parameters/storage.yaml#/storageId' responses: 200: schema: $ref: '../schemas/storage.yaml#/StorageResponse' tags: - storages put: summary: 更新存储信息 parameters: - $ref: '../parameters/storage.yaml#/storageId' - in: body name: storage required: true schema: $ref: '../schemas/storage.yaml#/StorageUpdate' responses: 200: description: 实例信息 schema: $ref: '../schemas/storage.yaml#/StorageResponse' tags: - storages enable: post: summary: 使存储可用 parameters: - $ref: '../parameters/storage.yaml#/storageId' responses: 200: description: 实例信息 schema: $ref: '../schemas/storage.yaml#/StorageResponse' tags: - storages disable: post: summary: 使存储不可用 parameters: - $ref: '../parameters/storage.yaml#/storageId' responses: 200: description: 实例信息 schema: $ref: '../schemas/storage.yaml#/StorageResponse' tags: - storages online: post: summary: 使存储在线 parameters: - $ref: '../parameters/storage.yaml#/storageId' responses: 200: description: 实例信息 schema: $ref: '../schemas/storage.yaml#/StorageResponse' tags: - storages offline: post: summary: 使存储离线 parameters: - $ref: '../parameters/storage.yaml#/storageId' responses: 200: description: 实例信息 schema: $ref: '../schemas/storage.yaml#/StorageResponse' tags: - storages