|
1 | 1 | openapi: 3.0.1 |
2 | 2 | info: |
3 | | - version: 4.101.1 |
| 3 | + version: 4.102.0 |
4 | 4 |
|
5 | 5 | title: Linode API |
6 | 6 | description: | |
@@ -1691,6 +1691,8 @@ paths: |
1691 | 1691 | Adds a Payment Method to your Account with the option to set it as the default method. Adding a default |
1692 | 1692 | Payment Method removes the default status from any other Payment Method. |
1693 | 1693 |
|
| 1694 | + An Account can have up to 6 active Payment Methods. |
| 1695 | + |
1694 | 1696 | Prior to adding a Payment Method, ensure that your billing address information is up-to-date |
1695 | 1697 | with a valid `zip` by using the Account Update ([PUT /account](/docs/api/account/#account-update)) endpoint. |
1696 | 1698 | operationId: createPaymentMethod |
@@ -4175,7 +4177,7 @@ paths: |
4175 | 4177 | A Backup ID from another Linode's available backups. Your User must have |
4176 | 4178 | `read_write` access to that Linode, the Backup must have a `status` of |
4177 | 4179 | `successful`, and the Linode must be deployed to the same `region` as the Backup. |
4178 | | - See [/linode/instances/{linodeId}/backups](/docs/api/linode-instances/#backups-list) |
| 4180 | + See [GET /linode/instances/{linodeId}/backups](/docs/api/linode-instances/#backups-list) |
4179 | 4181 | for a Linode's available backups. |
4180 | 4182 |
|
4181 | 4183 | This field and the `image` field are mutually exclusive. |
@@ -6356,6 +6358,57 @@ paths: |
6356 | 6358 | - lang: CLI |
6357 | 6359 | source: > |
6358 | 6360 | linode-cli linodes upgrade 123 |
| 6361 | + /linode/instances/{linodeId}/nodebalancers: |
| 6362 | + parameters: |
| 6363 | + - name: linodeId |
| 6364 | + in: path |
| 6365 | + description: ID of the Linode to look up |
| 6366 | + required: true |
| 6367 | + schema: |
| 6368 | + type: integer |
| 6369 | + x-linode-cli-command: linodes |
| 6370 | + get: |
| 6371 | + x-linode-grant: read_only |
| 6372 | + tags: |
| 6373 | + - Linode Instances |
| 6374 | + summary: Linode NodeBalancers View |
| 6375 | + description: | |
| 6376 | + Returns a list of NodeBalancers that are assigned to this Linode and readable by the requesting User. |
| 6377 | + |
| 6378 | + Read permission to a NodeBalancer can be given to a User by accessing the User's Grants Update |
| 6379 | + ([PUT /account/users/{username}/grants](https://www.linode.com/docs/api/account/#users-grants-update)) endpoint. |
| 6380 | + operationId: getLinodeNodeBalancers |
| 6381 | + x-linode-cli-action: nodebalancers |
| 6382 | + security: |
| 6383 | + - personalAccessToken: [] |
| 6384 | + - oauth: |
| 6385 | + - linodes:read_only |
| 6386 | + responses: |
| 6387 | + '200': |
| 6388 | + description: Returns a paginated list of NodeBalancers. |
| 6389 | + content: |
| 6390 | + application/json: |
| 6391 | + schema: |
| 6392 | + type: object |
| 6393 | + properties: |
| 6394 | + data: |
| 6395 | + type: array |
| 6396 | + items: |
| 6397 | + $ref: '#/components/schemas/NodeBalancer' |
| 6398 | + page: |
| 6399 | + $ref: '#/components/schemas/PaginationEnvelope/properties/page' |
| 6400 | + pages: |
| 6401 | + $ref: '#/components/schemas/PaginationEnvelope/properties/pages' |
| 6402 | + results: |
| 6403 | + $ref: '#/components/schemas/PaginationEnvelope/properties/results' |
| 6404 | + x-code-samples: |
| 6405 | + - lang: Shell |
| 6406 | + source: > |
| 6407 | + curl -H "Authorization: Bearer $TOKEN" \ |
| 6408 | + https://api.linode.com/v4/linode/instances/123/nodebalancers |
| 6409 | + - lang: CLI |
| 6410 | + source: > |
| 6411 | + linode-cli linodes nodebalancers 123 |
6359 | 6412 | /linode/instances/{linodeId}/password: |
6360 | 6413 | parameters: |
6361 | 6414 | - name: linodeId |
@@ -8253,6 +8306,36 @@ paths: |
8253 | 8306 | - lang: CLI |
8254 | 8307 | source: > |
8255 | 8308 | linode-cli lke kubeconfig-view 12345 |
| 8309 | + delete: |
| 8310 | + operationId: deleteLKEClusterKubeconfig |
| 8311 | + x-linode-cli-action: kubeconfig-delete |
| 8312 | + security: |
| 8313 | + - personalAccessToken: [] |
| 8314 | + - oauth: |
| 8315 | + - lke:read_write |
| 8316 | + tags: |
| 8317 | + - Linode Kubernetes Engine (LKE) |
| 8318 | + summary: Kubeconfig Delete |
| 8319 | + description: | |
| 8320 | + Delete and regenerate the Kubeconfig file for a Cluster. |
| 8321 | + responses: |
| 8322 | + '200': |
| 8323 | + description: Kubeconfig file deleted and regenerated successfully. |
| 8324 | + content: |
| 8325 | + application/json: |
| 8326 | + schema: |
| 8327 | + type: object |
| 8328 | + default: |
| 8329 | + $ref: '#/components/responses/ErrorResponse' |
| 8330 | + x-code-samples: |
| 8331 | + - lang: Shell |
| 8332 | + source: > |
| 8333 | + curl -H "Authorization: Bearer $TOKEN" \ |
| 8334 | + -X DELETE \ |
| 8335 | + https://api.linode.com/v4/lke/clusters/12345/kubeconfig |
| 8336 | + - lang: CLI |
| 8337 | + source: > |
| 8338 | + linode-cli lke kubeconfig-delete 12345 |
8256 | 8339 | /lke/versions: |
8257 | 8340 | x-linode-cli-command: lke |
8258 | 8341 | get: |
@@ -10390,9 +10473,7 @@ paths: |
10390 | 10473 | - Networking |
10391 | 10474 | summary: Firewalls List |
10392 | 10475 | description: | |
10393 | | - Returns a paginated list of your Firewalls. |
10394 | | - |
10395 | | - Cloud Firewall is not available in every data center region. For the current list of availability, access the Regions List ([GET /regions](/docs/api/regions/#regions-list)) endpoint or see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/). |
| 10476 | + Returns a paginated list of accessible Firewalls. |
10396 | 10477 | operationId: getFirewalls |
10397 | 10478 | x-linode-cli-action: list |
10398 | 10479 | security: |
@@ -10446,11 +10527,6 @@ paths: |
10446 | 10527 | Additional disabled Firewalls can still be added to a Linode instance. |
10447 | 10528 |
|
10448 | 10529 | A `firewall_create` Event is generated when this endpoint returns successfully. |
10449 | | - |
10450 | | - Cloud Firewall is not fully available in every data center region. For the current list |
10451 | | - of locations with full availability, access the Regions List ([GET /regions](/docs/api/regions/#regions-list)) |
10452 | | - endpoint or see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/). |
10453 | | - Certain Regions have partial Firewall availability |
10454 | 10530 | operationId: createFirewalls |
10455 | 10531 | x-linode-cli-action: create |
10456 | 10532 | security: |
@@ -10588,8 +10664,6 @@ paths: |
10588 | 10664 | returned in the response. Instead, use the |
10589 | 10665 | [List Firewall Devices](/docs/api/networking/#firewall-devices-list) |
10590 | 10666 | endpoint to review them. |
10591 | | - |
10592 | | - Cloud Firewall is not available in every data center region. For the current list of availability, access the Regions List ([GET /regions](/docs/api/regions/#regions-list)) endpoint or see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/). |
10593 | 10667 | responses: |
10594 | 10668 | '200': |
10595 | 10669 | description: Returns information about this Firewall. |
@@ -10635,8 +10709,6 @@ paths: |
10635 | 10709 |
|
10636 | 10710 | If a Firewall's status is changed with this endpoint, a corresponding `firewall_enable` or |
10637 | 10711 | `firewall_disable` Event will be generated. |
10638 | | - |
10639 | | - Cloud Firewall is not available in every data center region. For the current list of availability, access the Regions List ([GET /regions](/docs/api/regions/#regions-list)) endpoint or see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/). |
10640 | 10712 | operationId: updateFirewall |
10641 | 10713 | x-linode-cli-action: update |
10642 | 10714 | security: |
@@ -10696,8 +10768,6 @@ paths: |
10696 | 10768 | from any Linode services that the Firewall was assigned to. |
10697 | 10769 |
|
10698 | 10770 | A `firewall_delete` Event is generated when this endpoint returns successfully. |
10699 | | - |
10700 | | - Cloud Firewall is not available in every data center region. For the current list of availability, access the Regions List ([GET /regions](/docs/api/regions/#regions-list)) endpoint or see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/). |
10701 | 10771 | responses: |
10702 | 10772 | '200': |
10703 | 10773 | description: Delete Successful. |
@@ -10741,8 +10811,6 @@ paths: |
10741 | 10811 | Returns a paginated list of a Firewall's Devices. A Firewall Device assigns a |
10742 | 10812 | Firewall to a Linode service (referred to as the Device's `entity`). Currently, |
10743 | 10813 | only Devices with an entity of type `linode` are accepted. |
10744 | | - |
10745 | | - Cloud Firewall is not available in every data center region. For the current list of availability, access the Regions List ([GET /regions](/docs/api/regions/#regions-list)) endpoint or see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/). |
10746 | 10814 | operationId: getFirewallDevices |
10747 | 10815 | x-linode-cli-action: devices-list |
10748 | 10816 | security: |
@@ -10797,8 +10865,6 @@ paths: |
10797 | 10865 | **Note:** When a Firewall is assigned to a Linode and you attempt |
10798 | 10866 | to [migrate the Linode to a data center](/docs/api/linode-instances/#dc-migrationpending-host-migration-initiate) that does not support Cloud Firewalls, the migration will fail. |
10799 | 10867 | Use the [List Regions](/docs/api/regions/#regions-list) endpoint to view a list of a data center's capabilities. |
10800 | | - |
10801 | | - Cloud Firewall is not available in every data center region. For the current list of availability, access the Regions List ([GET /regions](/docs/api/regions/#regions-list)) endpoint or see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/). |
10802 | 10868 | operationId: createFirewallDevice |
10803 | 10869 | x-linode-cli-action: device-create |
10804 | 10870 | security: |
@@ -10867,8 +10933,6 @@ paths: |
10867 | 10933 | Returns information for a Firewall Device, which assigns a Firewall |
10868 | 10934 | to a Linode service (referred to as the Device's `entity`). Currently, |
10869 | 10935 | only Devices with an entity of type `linode` are accepted. |
10870 | | - |
10871 | | - Cloud Firewall is not available in every data center region. For the current list of availability, access the Regions List ([GET /regions](/docs/api/regions/#regions-list)) endpoint or see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/). |
10872 | 10936 | operationId: getFirewallDevice |
10873 | 10937 | x-linode-cli-action: device-view |
10874 | 10938 | security: |
@@ -10913,8 +10977,6 @@ paths: |
10913 | 10977 | will remain in effect. |
10914 | 10978 |
|
10915 | 10979 | A `firewall_device_remove` Event is generated when the Firewall Device is removed successfully. |
10916 | | - |
10917 | | - Cloud Firewall is not available in every data center region. For the current list of availability, access the Regions List ([GET /regions](/docs/api/regions/#regions-list)) endpoint or see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/). |
10918 | 10980 | responses: |
10919 | 10981 | '200': |
10920 | 10982 | description: Delete Successful. |
@@ -10953,16 +11015,6 @@ paths: |
10953 | 11015 | summary: Firewall Rules List |
10954 | 11016 | description: | |
10955 | 11017 | Returns the inbound and outbound Rules for a Firewall. |
10956 | | - |
10957 | | - This endpoint is in **beta**. |
10958 | | - |
10959 | | - |
10960 | | - * Gain access to [Linode Cloud Firewall](https://www.linode.com/products/firewall/) by signing up for our [Greenlight Beta program](https://www.linode.com/green-light/#sign-up-form). |
10961 | | - * During the beta, Cloud Firewall is not available in every [data center region](/docs/api/regions). For the current list of availability, see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/). |
10962 | | - * Please make sure to prepend all requests with |
10963 | | - `/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking |
10964 | | - updates in the future. This notice will be removed when this endpoint is out of |
10965 | | - beta. |
10966 | 11018 | operationId: getFirewallRules |
10967 | 11019 | x-linode-cli-action: rules-list |
10968 | 11020 | security: |
@@ -10996,8 +11048,6 @@ paths: |
10996 | 11048 | description: | |
10997 | 11049 | Updates the inbound and outbound Rules for a Firewall. Using this endpoint will |
10998 | 11050 | replace all of a Firewall's ruleset with the Rules specified in your request. |
10999 | | - |
11000 | | - Cloud Firewall is not available in every data center region. For the current list of availability, access the Regions List ([GET /regions](/docs/api/regions/#regions-list)) endpoint or see the [Cloud Firewall Product Documentation](https://www.linode.com/docs/products/networking/cloud-firewall/). |
11001 | 11051 | operationId: updateFirewallRules |
11002 | 11052 | x-linode-cli-action: rules-update |
11003 | 11053 | security: |
|
0 commit comments