Merge pull request #7815 from hashicorp/denislavdenov-patch-1

Update license.mdx
This commit is contained in:
Denislav Denov 2020-05-08 16:04:39 +03:00 committed by GitHub
commit 7d9ac06f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 38 additions and 2 deletions

View File

@ -43,11 +43,16 @@ Usage: consul license <subcommand> [options] [args]
$ 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
reset Resets the license in the datacenter
```
## put
@ -109,3 +114,34 @@ Licensed Features:
Redundancy Zone
Advanced Network Federation
```
## reset
Resets license for the datacenter to the one builtin in Consul binary, 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
```