mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Update license.mdx
Hello team, I noticed that the reset part of the consul license command was missing in the documentation so I added it and created this PR.
This commit is contained in:
parent
82379779a2
commit
2b39b21f0f
@ -42,12 +42,17 @@ Usage: consul license <subcommand> [options] [args]
|
||||
Retrieve the current license:
|
||||
|
||||
$ consul license get
|
||||
|
||||
Reset the current license:
|
||||
|
||||
$ consul license reset
|
||||
|
||||
For more examples, ask for subcommand help or view the documentation.
|
||||
|
||||
Subcommands:
|
||||
get Get the current license
|
||||
put Puts a new license in the datacenter
|
||||
get Get the current license
|
||||
put Puts a new license in the datacenter
|
||||
reset Resets the license in the datacenter
|
||||
```
|
||||
|
||||
## put
|
||||
@ -109,3 +114,34 @@ Licensed Features:
|
||||
Redundancy Zone
|
||||
Advanced Network Federation
|
||||
```
|
||||
|
||||
## reset
|
||||
|
||||
Resets a license in the datacenter to the builtin on if it is still valid.
|
||||
If the builtin license is invalid, the current one stays active.
|
||||
|
||||
Usage: `consul license reset [options]`
|
||||
|
||||
#### API Options
|
||||
|
||||
@include 'http_api_options_client.mdx'
|
||||
|
||||
@include 'http_api_options_server.mdx'
|
||||
|
||||
The output looks like this:
|
||||
|
||||
```text
|
||||
License is valid
|
||||
License ID: 2afbf681-0d1a-0649-cb6c-333ec9f0989c
|
||||
Customer ID: 0259271d-8ffc-e85e-0830-c0822c1f5f2b
|
||||
Expires At: 2019-05-22 03:59:59.999 +0000 UTC
|
||||
Datacenter: *
|
||||
Package: premium
|
||||
Licensed Features:
|
||||
Automated Backups
|
||||
Automated Upgrades
|
||||
Enhanced Read Scalability
|
||||
Network Segments
|
||||
Redundancy Zone
|
||||
Advanced Network Federation
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user