Skip to content

Commit 14f4a0e

Browse files
Merge pull request #504 from linode/release-4.101.0
Release 4.101.0
2 parents 7ae1fb2 + 100bcf1 commit 14f4a0e

File tree

1 file changed

+96
-3
lines changed

1 file changed

+96
-3
lines changed

openapi.yaml

Lines changed: 96 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.100.1
3+
version: 4.101.0
44

55
title: Linode API
66
description: |
@@ -1798,6 +1798,43 @@ paths:
17981798
- lang: CLI
17991799
source: >
18001800
linode-cli account payment-method-view 123
1801+
delete:
1802+
x-linode-grant: read_write
1803+
tags:
1804+
- Account
1805+
summary: Payment Method Delete
1806+
description: |
1807+
Deactivate the specified Payment Method.
1808+
1809+
The default Payment Method can not be deleted. To add a new default Payment Method, access the Payment Method
1810+
Add ([POST /account/payment-methods](/docs/api/account/#payment-method-add)) endpoint. To designate an existing
1811+
Payment Method as the default method, access the Payment Method Make Default
1812+
([POST /account/payment-methods/{paymentMethodId}/make-default](/docs/api/account/#payment-method-make-default))
1813+
endpoint.
1814+
operationId: deletePaymentMethod
1815+
x-linode-cli-action: payment-method-delete
1816+
security:
1817+
- personalAccessToken: []
1818+
- oauth:
1819+
- account:read_only
1820+
responses:
1821+
'200':
1822+
description: Payment Method deactivated.
1823+
content:
1824+
application/json:
1825+
schema:
1826+
type: object
1827+
default:
1828+
$ref: '#/components/responses/ErrorResponse'
1829+
x-code-samples:
1830+
- lang: Shell
1831+
source: >
1832+
curl -H "Authorization: Bearer $TOKEN" \
1833+
-X DELETE \
1834+
https://api.linode.com/v4/account/payment-methods/123
1835+
- lang: CLI
1836+
source: >
1837+
linode-cli account payment-method-delete 123
18011838
/account/payment-methods/{paymentMethodId}/make-default:
18021839
x-linode-cli-command: account
18031840
parameters:
@@ -7415,7 +7452,13 @@ paths:
74157452
"node_pools": [
74167453
{
74177454
"type": "g6-standard-4",
7418-
"count": 6
7455+
"count": 6,
7456+
"autoscaler": {
7457+
"enabled": true,
7458+
"max": 12,
7459+
"min": 3
7460+
}
7461+
}
74197462
},
74207463
{
74217464
"type": "g6-standard-8",
@@ -7709,7 +7752,12 @@ paths:
77097752
-X POST -d '{
77107753
"type": "g6-standard-4",
77117754
"count": 6,
7712-
"tags": ["example-tag"]
7755+
"tags": ["example-tag"],
7756+
"autoscaler": {
7757+
"enabled": true,
7758+
"max": 12,
7759+
"min": 3
7760+
}
77137761
}' \
77147762
https://api.linode.com/v4/lke/clusters/12345/pools
77157763
- lang: CLI
@@ -19131,6 +19179,30 @@ components:
1913119179
Specifies a collection of Linodes which will be members of a Kubernetes
1913219180
cluster.
1913319181
properties:
19182+
autoscaler:
19183+
type: object
19184+
description: |
19185+
When enabled, the number of nodes autoscales within the defined minimum and maximum values.
19186+
19187+
When making a request, `max` and `min` require each other.
19188+
properties:
19189+
enabled:
19190+
type: boolean
19191+
description: Whether autoscaling is enabled for this Node Pool. Defaults to `false`.
19192+
example: true
19193+
max:
19194+
type: integer
19195+
minimum: 1
19196+
maximum: 100
19197+
description: |
19198+
The maximum number of nodes to autoscale to. Defaults to the Node Pool's `count`. Defaults to the value provided by the `count` field.
19199+
example: 12
19200+
min:
19201+
type: integer
19202+
minimum: 1
19203+
maximum: 100
19204+
description: The minimum number of nodes to autoscale to. Defaults to the Node Pool's `count`.
19205+
example: 3
1913419206
type:
1913519207
$ref: '#/components/schemas/LKENodePool/properties/type'
1913619208
count:
@@ -19161,6 +19233,27 @@ components:
1916119233
Node Pools consist of a Linode type, the number of Linodes to
1916219234
deploy of that type, and additional status information.
1916319235
properties:
19236+
autoscaler:
19237+
type: object
19238+
description: |
19239+
When enabled, the number of nodes autoscales within the defined minimum and maximum values.
19240+
properties:
19241+
enabled:
19242+
type: boolean
19243+
description: Whether autoscaling is enabled for this Node Pool. Defaults to `false`.
19244+
example: true
19245+
max:
19246+
type: integer
19247+
minimum: 1
19248+
maximum: 100
19249+
description: The maximum number of nodes to autoscale to. Defaults to the Node Pool's `count`.
19250+
example: 12
19251+
min:
19252+
type: integer
19253+
minimum: 1
19254+
maximum: 100
19255+
description: The minimum number of nodes to autoscale to. Defaults to the Node Pool's `count`.
19256+
example: 3
1916419257
type:
1916519258
type: string
1916619259
description: The Linode Type for all of the nodes in the Node Pool.

0 commit comments

Comments
 (0)