|
1 | 1 | openapi: 3.0.1
|
2 | 2 | info:
|
3 |
| - version: 4.63.1 |
| 3 | + version: 4.64.0 |
4 | 4 |
|
5 | 5 | title: Linode API
|
6 | 6 | description: |
|
@@ -5545,6 +5545,83 @@ paths:
|
5545 | 5545 | - lang: CLI
|
5546 | 5546 | source: >
|
5547 | 5547 | linode-cli linodes transfer-view 123
|
| 5548 | + /linode/instances/{linodeId}/transfer/{year}/{month}: |
| 5549 | + parameters: |
| 5550 | + - name: linodeId |
| 5551 | + in: path |
| 5552 | + description: ID of the Linode to look up. |
| 5553 | + required: true |
| 5554 | + schema: |
| 5555 | + type: integer |
| 5556 | + - name: year |
| 5557 | + in: path |
| 5558 | + description: Numeric value representing the year to look up. |
| 5559 | + required: true |
| 5560 | + schema: |
| 5561 | + type: integer |
| 5562 | + minimum: 2000 |
| 5563 | + maximum: 2037 |
| 5564 | + - name: month |
| 5565 | + in: path |
| 5566 | + description: Numeric value representing the month to look up. |
| 5567 | + required: true |
| 5568 | + schema: |
| 5569 | + type: integer |
| 5570 | + minimum: 1 |
| 5571 | + maximum: 12 |
| 5572 | + x-linode-cli-command: linodes |
| 5573 | + get: |
| 5574 | + x-linode-grant: read_only |
| 5575 | + tags: |
| 5576 | + - Linode Instances |
| 5577 | + summary: View Network Transfer (year/month) |
| 5578 | + description: > |
| 5579 | + Returns a Linode's network transfer statistics for a specific month. The year/month |
| 5580 | + values must be either a date in the past, or the current month. |
| 5581 | + operationId: getLinodeTransferByYearMonth |
| 5582 | + x-linode-cli-skip: true |
| 5583 | + x-linode-cli-action: transfer-month |
| 5584 | + security: |
| 5585 | + - personalAccessToken: [] |
| 5586 | + - oauth: |
| 5587 | + - linodes:read_only |
| 5588 | + responses: |
| 5589 | + '200': |
| 5590 | + description: > |
| 5591 | + A collection of the specified Linode's network transfer statistics for the requested |
| 5592 | + month. |
| 5593 | + content: |
| 5594 | + application/json: |
| 5595 | + schema: |
| 5596 | + properties: |
| 5597 | + bytes_in: |
| 5598 | + type: integer |
| 5599 | + description: > |
| 5600 | + The amount of inbound public network traffic received by this Linode, in |
| 5601 | + bytes, for a specific year/month. |
| 5602 | + example: 30471077120 |
| 5603 | + readOnly: true |
| 5604 | + bytes_out: |
| 5605 | + type: integer |
| 5606 | + description: > |
| 5607 | + The amount of outbound public network traffic sent by this Linode, in bytes, |
| 5608 | + for a specific year/month. |
| 5609 | + example: 22956600198 |
| 5610 | + readOnly: true |
| 5611 | + bytes_total: |
| 5612 | + type: integer |
| 5613 | + description: > |
| 5614 | + The total amount of public network traffic sent and received by this Linode, |
| 5615 | + in bytes, for a specific year/month. |
| 5616 | + example: 53427677318 |
| 5617 | + readOnly: true |
| 5618 | + default: |
| 5619 | + $ref: '#/components/responses/ErrorResponse' |
| 5620 | + x-code-samples: |
| 5621 | + - lang: Shell |
| 5622 | + source: > |
| 5623 | + curl -H "Authorization: Bearer $TOKEN" \ |
| 5624 | + https://api.linode.com/v4/linode/instances/123/transfer/2018/01 |
5548 | 5625 | /linode/instances/{linodeId}/stats:
|
5549 | 5626 | parameters:
|
5550 | 5627 | - name: linodeId
|
@@ -15674,9 +15751,9 @@ components:
|
15674 | 15751 | type: string
|
15675 | 15752 | description: >
|
15676 | 15753 | This Kubernetes cluster's unique label for display purposes only.
|
15677 |
| - If no label is provided, one will be assigned automatically. |
15678 | 15754 |
|
15679 | 15755 | Labels have the following constraints:
|
| 15756 | + |
15680 | 15757 | * Must start with an alpha character
|
15681 | 15758 | * Must only consist of alphanumeric characters and dashes (`-`)
|
15682 | 15759 | * Must not contain two dashes in a row
|
@@ -17456,9 +17533,20 @@ components:
|
17456 | 17533 | type: string
|
17457 | 17534 | enum:
|
17458 | 17535 | - password
|
| 17536 | + - github |
17459 | 17537 | description: |
|
17460 |
| - This account's Cloud Manager authentication type. Currently, a user's password |
17461 |
| - (in conjunction with their username) is the only available authentication type. |
| 17538 | + This account's Cloud Manager authentication type. Authentication types are chosen through |
| 17539 | + Cloud Manager and authorized when logging into your account. These authentication types are either |
| 17540 | + the user's password (in conjunction with their username), or the name of their |
| 17541 | + indentity provider such as GitHub. For example, if a user: |
| 17542 | + |
| 17543 | + - Has never used Third-Party Authentication, their authentication type will be `password`. |
| 17544 | + - Is using Third-Party Authentication, their authentication type will be the name of their Identity Provider (eg. `github`). |
| 17545 | + - Has used Third-Party Authentication and has since revoked it, their authentication type will be `password`. |
| 17546 | + |
| 17547 | + |
| 17548 | + **Note:** This functionality is not yet available in Cloud Manager. |
| 17549 | + See the [Cloud Manager Changelog](/changelog/cloud-manager/) for the latest updates. |
17462 | 17550 | example: password
|
17463 | 17551 | readOnly: true
|
17464 | 17552 | Region:
|
|
0 commit comments