Skip to content

Commit 1c49ea6

Browse files
authored
Merge pull request #860 from bbiggerr/region-price-tiers
Region-specific prices
2 parents f937d0f + df11bf5 commit 1c49ea6

File tree

1 file changed

+105
-14
lines changed

1 file changed

+105
-14
lines changed

openapi.yaml

Lines changed: 105 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2848,6 +2848,8 @@ paths:
28482848
description: Returns a single Transfer object.
28492849
content:
28502850
application/json:
2851+
x-linode-cli-subtables:
2852+
- region_transfers
28512853
schema:
28522854
$ref: '#/components/schemas/Transfer'
28532855
default:
@@ -3188,7 +3190,7 @@ paths:
31883190
"global": {
31893191
"add_linodes": true,
31903192
"add_nodebalancers": false,
3191-
"add_databases": true;
3193+
"add_databases": true,
31923194
"add_domains": true,
31933195
"add_longview": false,
31943196
"add_stackscripts": true,
@@ -8439,22 +8441,20 @@ paths:
84398441
post:
84408442
x-linode-grant: read_write
84418443
summary: DC Migration/Pending Host Migration Initiate
8442-
description: >
8444+
description: |
84438445
Initiate a pending host migration that has been scheduled by Linode or
84448446
initiate a cross data center (DC) migration. A list of pending migrations,
84458447
if any, can be accessed from [GET /account/notifications](/docs/api/account/#notifications-list).
84468448
When the migration begins, your Linode will be shutdown if not already off.
84478449
If the migration initiated the shutdown, it will reboot the Linode when completed.
84488450

8449-
84508451
To initiate a cross DC migration, you must pass a `region` parameter to the
84518452
request body specifying the target data center region.
84528453
You can view a list of all available regions and their feature capabilities
8453-
from [GET /regions](/docs/api/regions/#regions-list). If your Linode has a DC migration already queued
8454+
from [GET /regions](/docs/api/regions/#regions-list). See our [Pricing Page](https://www.linode.com/pricing/) for Region-specific pricing, which applies after migration is complete. If your Linode has a DC migration already queued
84548455
or you have initiated a previously scheduled migration, you will not be able to initiate
84558456
a DC migration until it has completed.
84568457

8457-
84588458
**Note:** Next Generation Network (NGN) data centers do not support IPv6 `/116` pools or IP Failover.
84598459
If you have these features enabled on your Linode and attempt to migrate to an NGN data center,
84608460
the migration will not initiate. If a Linode cannot be migrated because of an incompatibility,
@@ -9645,6 +9645,8 @@ paths:
96459645
description: A single Linode Type.
96469646
content:
96479647
application/json:
9648+
x-linode-cli-subtables:
9649+
- region_prices
96489650
schema:
96499651
$ref: '#/components/schemas/LinodeType'
96509652
default:
@@ -10748,7 +10750,7 @@ paths:
1074810750
curl -H "Content-Type: application/json" \
1074910751
-H "Authorization: Bearer $TOKEN" \
1075010752
-X POST -d '{
10751-
"kubeconfig": true;
10753+
"kubeconfig": true,
1075210754
"servicetoken": true
1075310755
}' \
1075410756
https://api.linode.com/v4/lke/clusters/12345/regenerate
@@ -21890,6 +21892,18 @@ components:
2189021892
description: The amount of the Invoice after taxes in US Dollars.
2189121893
example: 132.50
2189221894
x-linode-cli-display: 6
21895+
billing_source:
21896+
type: string
21897+
enum:
21898+
- akamai
21899+
- linode
21900+
readOnly: true
21901+
description: |
21902+
`akamai`: This Invoice was generated according to the terms of an agreement between the customer and Akamai.
21903+
21904+
`linode`: This Invoice was generated according to the default terms, prices, and discounts.
21905+
example: linode
21906+
x-linode-cli-display: 3.5
2189321907
InvoiceItem:
2189421908
type: object
2189521909
description: An InvoiceItem object.
@@ -21950,6 +21964,16 @@ components:
2195021964
readOnly: true
2195121965
description: The monthly service fee in US Dollars for this Item.
2195221966
example: 5.05
21967+
region:
21968+
type: string
21969+
readOnly: true
21970+
nullable: true
21971+
description: |
21972+
The ID of the applicable Region associated with this Invoice Item.
21973+
21974+
`null` if there is no applicable Region.
21975+
example: us-west
21976+
x-linode-cli-display: 7
2195321977
IPAddress:
2195421978
type: object
2195521979
description: >
@@ -23341,8 +23365,10 @@ components:
2334123365
price:
2334223366
type: object
2334323367
readOnly: true
23344-
description: >
23345-
Cost in US dollars, broken down into hourly and monthly charges.
23368+
description: |
23369+
The default cost of provisioning this Linode Type. Prices are in US dollars, broken down into hourly and monthly charges.
23370+
23371+
Certain Regions have different prices from the default. For Region-specific prices, see `region_prices`.
2334623372
properties:
2334723373
hourly:
2334823374
type: number
@@ -23354,6 +23380,23 @@ components:
2335423380
description: Cost (in US dollars) per month.
2335523381
example: 20
2335623382
x-linode-cli-display: 10
23383+
region_prices:
23384+
type: array
23385+
items:
23386+
type: object
23387+
properties:
23388+
id:
23389+
type: string
23390+
description: The Region ID for these prices.
23391+
example: us-east
23392+
hourly:
23393+
type: number
23394+
description: Cost (in US dollars) per hour for this Region.
23395+
example: 0.036
23396+
monthly:
23397+
type: number
23398+
description: Cost (in US dollars) per month for this Region.
23399+
example: 24
2335723400
addons:
2335823401
type: object
2335923402
readOnly: true
@@ -23369,7 +23412,10 @@ components:
2336923412
properties:
2337023413
price:
2337123414
type: object
23372-
description: Cost of enabling Backups for this Linode Type.
23415+
description: |
23416+
The default cost of enabling Backups for this Linode Type. Prices are in US dollars, broken down into hourly and monthly charges.
23417+
23418+
Certain Regions have different prices from the default. For Region-specific prices, see `region_prices`.
2337323419
properties:
2337423420
hourly:
2337523421
type: number
@@ -23381,6 +23427,23 @@ components:
2338123427
description: >
2338223428
The cost (in US dollars) per month to add Backups service.
2338323429
example: 5
23430+
region_prices:
23431+
type: array
23432+
items:
23433+
type: object
23434+
properties:
23435+
id:
23436+
type: string
23437+
description: The Region ID for these prices.
23438+
example: us-east
23439+
hourly:
23440+
type: number
23441+
description: Cost (in US dollars) per hour to add Backups service in this Region.
23442+
example: 0.0096
23443+
monthly:
23444+
type: number
23445+
description: Cost (in US dollars) per month to add Backups service in this Region.
23446+
example: 6
2338423447
network_out:
2338523448
x-linode-filterable: true
2338623449
type: integer
@@ -23429,7 +23492,7 @@ components:
2342923492
description: >
2343023493
The number of GPUs this Linode Type offers.
2343123494
example: 0
23432-
x-linode-cli-display: 11
23495+
x-linode-cli-display: 6.5
2343323496
LKECluster:
2343423497
type: object
2343523498
description: A Kubernetes cluster.
@@ -26381,14 +26444,15 @@ components:
2638126444
example: null
2638226445
Transfer:
2638326446
type: object
26384-
description: >
26385-
An object representing your network utilization for the current month,
26386-
in Gigabytes.
26447+
description: |
26448+
An object representing your network utilization for the current month, in Gigabytes.
26449+
26450+
Certain Regions have separate utilization quotas and rates. For Region-specific network utilization data, see `region_transfers`.
2638726451
properties:
2638826452
billable:
2638926453
type: integer
2639026454
readOnly: true
26391-
description: >
26455+
description: |
2639226456
The amount of your transfer pool that is billable this billing cycle.
2639326457
example: 0
2639426458
x-linode-cli-display: 3
@@ -26406,6 +26470,33 @@ components:
2640626470
The amount of network usage you have used this billing cycle.
2640726471
example: 2
2640826472
x-linode-cli-display: 2
26473+
region_transfers:
26474+
type: array
26475+
items:
26476+
type: object
26477+
properties:
26478+
id:
26479+
type: string
26480+
description: The Region ID for this network utilization data.
26481+
example: us-east
26482+
billable:
26483+
type: integer
26484+
readOnly: true
26485+
description: |
26486+
The amount of your transfer pool that is billable this billing cycle for this Region.
26487+
example: 0
26488+
quota:
26489+
type: integer
26490+
readOnly: true
26491+
description: >
26492+
The amount of network usage allowed this billing cycle for this Region.
26493+
example: 5010
26494+
used:
26495+
type: integer
26496+
readOnly: true
26497+
description: >
26498+
The amount of network usage you have used this billing cycle for this Region.
26499+
example: 1
2640926500
Tag:
2641026501
type: object
2641126502
description: >

0 commit comments

Comments
 (0)