linode-cli-*: update pages;move pages to common directory;linode-cli-{account,events,tickets,volumes}:add page

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

linode-cli: update description

linodes: update page

linode-cli-account: add page

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

linode-cli-events: add page

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

linode-cli-volumes: add page

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

linode-cli-tickets: add page

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

linode-cli: update page

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

linode-cli-domains: update page

Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
K.B.Dharun Krishna
2023-09-15 15:35:21 +05:30
parent f2d698157c
commit f28ae569d4
10 changed files with 109 additions and 9 deletions

View File

@@ -0,0 +1,21 @@
# linode-cli account
> Manage Linode accounts.
> See also: `linode-cli`.
> More information: <https://www.linode.com/docs/products/tools/cli/guides/account/>.
- View account:
`linode-cli account view`
- View account settings:
`linode-cli account settings`
- Make a payment:
`linode-cli account payment-create --cvv {{cvv}} --usd {{amount_in_dollars}}`
- View account notifications:
`linode-cli account notifications-list`

View File

@@ -0,0 +1,37 @@
# linode-cli domains
> Manage Linode Domains and DNS configuration.
> See also: `linode-cli`.
> More information: <https://www.linode.com/docs/products/tools/cli/guides/domains/>.
- List all managed domains:
`linode-cli domains list`
- Create a new managed domain:
`linode-cli domains create --domain {{domain_name}} --type {{master|slave}} --soa-email {{email}}`
- View details of a specific domain:
`linode-cli domains view {{domain_id}}`
- Delete a managed domain:
`linode-cli domains delete {{domain_id}}`
- List records for a specific domain:
`linode-cli domains records-list {{domain_id}}`
- Add a DNS record to a domain:
`linode-cli domains records-create {{domain_id}} --type {{A|AAAA|CNAME|MX|...}} --name {{subdomain}} --target {{target_value}}`
- Update a DNS record for a domain:
`linode-cli domains records-update {{domain_id}} {{record_id}} --target {{new_target_value}}`
- Delete a DNS record from a domain:
`linode-cli domains records-delete {{domain_id}} {{record_id}}`

View File

@@ -0,0 +1,17 @@
# linode-cli events
> Manage Linode events.
> See also: `linode-cli`.
> More information: <https://www.linode.com/docs/products/tools/cli/guides/events/>.
- View a list of events on your account:
`linode-cli events list`
- View details about a specific event:
`linode-cli events view {{event_id}}`
- Mark an event as read:
`linode-cli events mark-read {{event_id}}`

View File

@@ -0,0 +1,37 @@
# linode-cli linodes
> Manage Linode instances.
> See also: `linode-cli`.
> More information: <https://www.linode.com/docs/products/tools/cli/guides/linode-instances/>.
- List all Linodes:
`linode-cli linodes list`
- Create a new Linode:
`linode-cli linodes create --type {{linode_type}} --region {{region}} --image {{image_id}}`
- View details of a specific Linode:
`linode-cli linodes view {{linode_id}}`
- Update settings for a Linode:
`linode-cli linodes update {{linode_id}} --label {{[new_label}}`
- Delete a Linode:
`linode-cli linodes delete {{linode_id}}`
- Perform a power management operation on a Linode:
`linode-cli linodes {{boot|reboot|shutdown}} {{linode_id}}`
- List available backups for a Linode:
`linode-cli linodes backups-list {{linode_id}}`
- Restore a backup to a Linode:
`linode-cli linodes backups-restore {{linode_id}} --backup-id {{backup_id}}`

View File

@@ -0,0 +1,25 @@
# linode-cli lke
> Manage Linode Kubernetes Engine (LKE) clusters.
> See also: `linode-cli`.
> More information: <https://www.linode.com/docs/products/tools/cli/guides/linode-kubernetes-engine/>.
- List all LKE clusters:
`linode-cli lke clusters list`
- Create a new LKE cluster:
`linode-cli lke clusters create --region {{region}} --type {{type}} --node-type {{node_type}} --nodes-count {{count}}`
- View details of a specific LKE cluster:
`linode-cli lke clusters view {{cluster_id}}`
- Update an existing LKE cluster:
`linode-cli lke clusters update {{cluster_id}} --node-type {{new_node_type}}`
- Delete an LKE cluster:
`linode-cli lke clusters delete {{cluster_id}}`

View File

@@ -0,0 +1,33 @@
# linode-cli nodebalancers
> Manage Linode NodeBalancers.
> See also: `linode-cli`.
> More information: <https://www.linode.com/docs/products/tools/cli/guides/nodebalancers/>.
- List all NodeBalancers:
`linode-cli nodebalancers list`
- Create a new NodeBalancer:
`linode-cli nodebalancers create --region {{region}}`
- View details of a specific NodeBalancer:
`linode-cli nodebalancers view {{nodebalancer_id}}`
- Update an existing NodeBalancer:
`linode-cli nodebalancers update {{nodebalancer_id}} --label {{new_label}}`
- Delete a NodeBalancer:
`linode-cli nodebalancers delete {{nodebalancer_id}}`
- List configurations for a NodeBalancer:
`linode-cli nodebalancers configs list {{nodebalancer_id}}`
- Add a new configuration to a NodeBalancer:
`linode-cli nodebalancers configs create {{nodebalancer_id}} --port {{port}} --protocol {{protocol}}`

View File

@@ -0,0 +1,33 @@
# linode-cli object-storage
> Manage Linode Object Storage.
> See also: `linode-cli`.
> More information: <https://www.linode.com/docs/products/tools/cli/guides/object-storage/>.
- List all Object Storage buckets:
`linode-cli object-storage buckets list`
- Create a new Object Storage bucket:
`linode-cli object-storage buckets create --cluster {{cluster_id}} --label {{bucket_label}}`
- Delete an Object Storage bucket:
`linode-cli object-storage buckets delete {{cluster_id}} {{bucket_label}}`
- List Object Storage cluster regions:
`linode-cli object-storage clusters list`
- List access keys for Object Storage:
`linode-cli object-storage keys list`
- Create a new access key for Object Storage:
`linode-cli object-storage keys create --label {{label}}`
- Revoke an access key for Object Storage:
`linode-cli object-storage keys revoke {{access_key_id}}`

View File

@@ -0,0 +1,21 @@
# linode-cli tickets
> Manage Linode Support Tickets.
> See also: `linode-cli`.
> More information: <https://www.linode.com/docs/products/tools/cli/guides/account/>.
- List your Support Tickets:
`linode-cli tickets list`
- Open a new Ticket:
`linode-cli tickets create --summary "{{Summary or quick title for the Ticket}}" --description "{{Detailed description of the issue}}"`
- List replies to a Ticket:
`linode-cli tickets replies {{ticket_id}}`
- Reply to a specific Ticket:
`linode-cli tickets reply {{ticket_id}} --description "{{The content of your reply}}"`

View File

@@ -0,0 +1,29 @@
# linode-cli volumes
> Manage Linode Volumes.
> See also: `linode-cli`.
> More information: <https://www.linode.com/docs/products/tools/cli/guides/block-storage-volumes/>.
- List current Volumnes:
`linode-cli volumes list`
- Create a new Volume and attach it to a specific Linode:
`linode-cli volumes create --label {{volume_label}} --size {{size_in_GB}} --linode-id {{linode_id}}`
- Attach a Volume to a specific Linode:
`linode-cli volumes attach {{volume_id}} --linode-id {{linode_id}}`
- Detach a Volume from a Linode:
`linode-cli volumes detach {{volume_id}}`
- Resize a Volume (Note: size can only be increased):
`linode-cli volumes resize {{volume_id}} --size {{new_size_in_GB}}`
- Delete a Volume:
`linode-cli volumes delete {{volume_id}}`

View File

@@ -0,0 +1,37 @@
# linode-cli
> Manage Linode cloud services.
> Some subcommands such as `events` have their own usage documentation.
> More information: <https://www.linode.com/docs/products/tools/cli/get-started/>.
- List all Linodes:
`linode-cli linodes list`
- View docmentation for managing Linode accounts:
`tldr linode-cli account`
- View documentation for managing Linodes:
`tldr linode-cli linodes`
- View documentation for managing Linode Kubernetes Engine (LKE) clusters:
`tldr linode-cli lke`
- View documentation for managing NodeBalancers:
`tldr linode-cli nodebalancers`
- View documentation for managing Object Storage:
`tldr linode-cli object-storage`
- View documentation for managing DNS domains:
`tldr linode-cli domains`
- View documentation for managing Linode Volumes:
`tldr linode-cli volumes`