Skip to content

Commit 158871e

Browse files
authored
Merge pull request #514 from bbiggerr/migration-queue
[New] Region Migrations List
2 parents 1d5ae49 + c1d8e8f commit 158871e

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

openapi.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14592,6 +14592,54 @@ paths:
1459214592
- lang: CLI
1459314593
source: >
1459414594
linode-cli regions view us-east
14595+
/regions/{regionId}/migrations:
14596+
x-linode-cli-command: regions
14597+
parameters:
14598+
- name: regionId
14599+
in: path
14600+
description: ID of the Region to look up.
14601+
required: true
14602+
schema:
14603+
type: string
14604+
get:
14605+
servers:
14606+
- url: https://api.linode.com/v4beta
14607+
tags:
14608+
- Regions
14609+
summary: Region Migrations List
14610+
description: |
14611+
Returns the number of queued migrations for the Region. Scheduled migrations that have not been placed on the
14612+
queue are not included in this count.
14613+
14614+
Only the Block Storage Volumes migration queue size is returned at this time.
14615+
14616+
**Beta**: This endpoint is in beta. Please make sure to prepend all requests with
14617+
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
14618+
updates in the future. This notice will be removed when this endpoint is out of
14619+
beta.
14620+
operationId: getRegionMigrations
14621+
x-linode-cli-action: migrations
14622+
responses:
14623+
'200':
14624+
description: A Region Migrations object.
14625+
content:
14626+
application/json:
14627+
schema:
14628+
type: object
14629+
properties:
14630+
volumes:
14631+
type: integer
14632+
description: The size of the Block Storage Volumes migration queue for the Region.
14633+
example: 42
14634+
default:
14635+
$ref: '#/components/responses/ErrorResponse'
14636+
x-code-samples:
14637+
- lang: Shell
14638+
source: >
14639+
curl https://api.linode.com/v4/regions/us-east/migrations
14640+
- lang: CLI
14641+
source: >
14642+
linode-cli regions migrations us-east
1459514643
/support/tickets:
1459614644
x-linode-cli-command: tickets
1459714645
get:

0 commit comments

Comments
 (0)