1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:33:46 +02:00

linode-cli-*: update page

This commit is contained in:
K.B.Dharun Krishna 2023-09-15 15:32:04 +05:30
parent e93552e7bf
commit f2d698157c
6 changed files with 51 additions and 41 deletions

View file

@ -1,6 +1,8 @@
# linode-cli domains
> Command-line interface to manage Linode Domains and DNS via `linode-cli`.
> 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:
@ -8,27 +10,27 @@
- Create a new managed domain:
`linode-cli domains create --domain [domain-name] --type [master/slave] --soa-email [email]`
`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]`
`linode-cli domains view {{domain_id}}`
- Delete a managed domain:
`linode-cli domains delete [domain-id]`
`linode-cli domains delete {{domain_id}}`
- List records for a specific domain:
`linode-cli domains records-list [domain-id]`
`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/etc.] --name [subdomain] --target [target-value]`
`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]`
`linode-cli domains records-update {{domain_id}} {{record_id}} --target {{new_target_value}}`
- Delete a DNS record from a domain:

View file

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

View file

@ -1,6 +1,8 @@
# linode-cli lke
> Command-line interface to manage Linode Kubernetes Engine (LKE) clusters via `linode-cli`.
> 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:
@ -8,16 +10,16 @@
- Create a new LKE cluster:
`linode-cli lke clusters create --region [region] --type [type] --node-type [node-type] --nodes-count [count]`
`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]`
`linode-cli lke clusters view {{cluster_id}}`
- Update an existing LKE cluster:
`linode-cli lke clusters update [cluster-id] --node-type [new-node-type]`
`linode-cli lke clusters update {{cluster_id}} --node-type {{new_node_type}}`
- Delete an LKE cluster:
`linode-cli lke clusters delete [cluster-id]`
`linode-cli lke clusters delete {{cluster_id}}`

View file

@ -1,6 +1,8 @@
# linode-cli nodebalancers
> Command-line interface to manage Linode NodeBalancers via `linode-cli`.
> Manage Linode NodeBalancers.
> See also: `linode-cli`.
> More information: <https://www.linode.com/docs/products/tools/cli/guides/nodebalancers/>.
- List all NodeBalancers:
@ -8,24 +10,24 @@
- Create a new NodeBalancer:
`linode-cli nodebalancers create --region [region]`
`linode-cli nodebalancers create --region {{region}}`
- View details of a specific NodeBalancer:
`linode-cli nodebalancers view [nodebalancer-id]`
`linode-cli nodebalancers view {{nodebalancer_id}}`
- Update an existing NodeBalancer:
`linode-cli nodebalancers update [nodebalancer-id] --label [new-label]`
`linode-cli nodebalancers update {{nodebalancer_id}} --label {{new_label}}`
- Delete a NodeBalancer:
`linode-cli nodebalancers delete [nodebalancer-id]`
`linode-cli nodebalancers delete {{nodebalancer_id}}`
- List configurations for a NodeBalancer:
`linode-cli nodebalancers configs list [nodebalancer-id]`
`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]`
`linode-cli nodebalancers configs create {{nodebalancer_id}} --port {{port}} --protocol {{protocol}}`

View file

@ -1,6 +1,8 @@
# linode-cli object-storage
> Command-line interface to manage Linode Object Storage via `linode-cli`.
> 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:
@ -8,11 +10,11 @@
- Create a new Object Storage bucket:
`linode-cli object-storage buckets create --cluster [cluster-id] --label [bucket-label]`
`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]`
`linode-cli object-storage buckets delete {{cluster_id}} {{bucket_label}}`
- List Object Storage cluster regions:
@ -24,8 +26,8 @@
- Create a new access key for Object Storage:
`linode-cli object-storage keys create --label [label]`
`linode-cli object-storage keys create --label {{label}}`
- Revoke an access key for Object Storage:
`linode-cli object-storage keys revoke [access-key-id]`
`linode-cli object-storage keys revoke {{access_key_id}}`

View file

@ -8,18 +8,18 @@
`linode-cli linodes list`
- Manage Linode Kubernetes Engine (LKE):
- View documentation for managing Linode Kubernetes Engine (LKE):
`linode-cli lke clusters [list|create|delete]`
`tldr linode-cli lke`
- Manage NodeBalancers:
- View documentation for managing NodeBalancers:
`linode-cli nodebalancers [list|create|delete]`
`tldr linode-cli nodebalancers`
- Manage Object Storage:
- View documentation for managing Object Storage:
`linode-cli object-storage buckets [list|create|delete]`
` tldr linode-cli object-storage`
- Manage DNS domains:
- View documentation for managing DNS domains:
`linode-cli domains [list|create|delete]`
`tldr linode-cli domains`