license showid
Displays the cluster ID for use when creating a new license.
Permissions required: login.
Syntax
- CLI
-
maprcli license showid [ -cluster <cluster> ] -showNodes show the total licensed nodes available. default: false ] - REST
Request Type GET Request URL http[s]://<host>:<port>/rest/license/showid[?<parameters>]
Parameters
|
Parameter |
Description |
|---|---|
|
|
The cluster on which to run the command. |
showNodes |
When set to true, displays both the number of nodes
that the license supports, and the current number of nodes to which the
license applies. A value of Default Value: |
Output
Sample Output
# maprcli license showid
id
5119043355327235351
# maprcli license showid -showNodes true
maxLicensedNodes id currentLicensedNodes
-1 5119043355327235351 1
Examples
- CLI
-
maprcli license showid -showNodes true - REST
https://abc.sj.us:8443/rest/license/showid?showNodes=true