|
1 | 1 | openapi: 3.0.1 |
2 | 2 | info: |
3 | | - version: 4.100.1 |
| 3 | + version: 4.101.0 |
4 | 4 |
|
5 | 5 | title: Linode API |
6 | 6 | description: | |
@@ -1798,6 +1798,43 @@ paths: |
1798 | 1798 | - lang: CLI |
1799 | 1799 | source: > |
1800 | 1800 | 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 |
1801 | 1838 | /account/payment-methods/{paymentMethodId}/make-default: |
1802 | 1839 | x-linode-cli-command: account |
1803 | 1840 | parameters: |
@@ -7415,7 +7452,13 @@ paths: |
7415 | 7452 | "node_pools": [ |
7416 | 7453 | { |
7417 | 7454 | "type": "g6-standard-4", |
7418 | | - "count": 6 |
| 7455 | + "count": 6, |
| 7456 | + "autoscaler": { |
| 7457 | + "enabled": true, |
| 7458 | + "max": 12, |
| 7459 | + "min": 3 |
| 7460 | + } |
| 7461 | + } |
7419 | 7462 | }, |
7420 | 7463 | { |
7421 | 7464 | "type": "g6-standard-8", |
@@ -7709,7 +7752,12 @@ paths: |
7709 | 7752 | -X POST -d '{ |
7710 | 7753 | "type": "g6-standard-4", |
7711 | 7754 | "count": 6, |
7712 | | - "tags": ["example-tag"] |
| 7755 | + "tags": ["example-tag"], |
| 7756 | + "autoscaler": { |
| 7757 | + "enabled": true, |
| 7758 | + "max": 12, |
| 7759 | + "min": 3 |
| 7760 | + } |
7713 | 7761 | }' \ |
7714 | 7762 | https://api.linode.com/v4/lke/clusters/12345/pools |
7715 | 7763 | - lang: CLI |
@@ -19131,6 +19179,30 @@ components: |
19131 | 19179 | Specifies a collection of Linodes which will be members of a Kubernetes |
19132 | 19180 | cluster. |
19133 | 19181 | 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 |
19134 | 19206 | type: |
19135 | 19207 | $ref: '#/components/schemas/LKENodePool/properties/type' |
19136 | 19208 | count: |
@@ -19161,6 +19233,27 @@ components: |
19161 | 19233 | Node Pools consist of a Linode type, the number of Linodes to |
19162 | 19234 | deploy of that type, and additional status information. |
19163 | 19235 | 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 |
19164 | 19257 | type: |
19165 | 19258 | type: string |
19166 | 19259 | description: The Linode Type for all of the nodes in the Node Pool. |
|
0 commit comments