sagcc get license-tools metering contracts licensekey
Returns all automatic assignments of a run-time component to a license, or a list of assignments based on the following filters:
![*](chapterTOC_bullet.png)
Node alias
![*](chapterTOC_bullet.png)
Run-time component ID
Syntax
Command Central syntax:
sagcc get license-tools metering contracts licensekey
[nodeAlias=nodeAlias] [runtimeComponentId=runtimeComponentId [options]
![*](chapterTOC_bullet.png)
Not supported on
Platform Manager.
Arguments and Options
Argument or Option | Description |
[nodeAlias=nodeAlias] | Optional. Specifies the alias name of the installation in which the run-time component is installed. |
[runtimeComponentId= runtimeComponentId]
| Optional. Specifies the run-time component for which to retrieve the automatic assignment of a license. |
[options] | Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see
Common Options. |
Usage Notes
You use the command to retrieve the following information:
![*](chapterTOC_bullet.png)
The automatic assignment of a license for run-time components that have a license key attached.
![*](chapterTOC_bullet.png)
Whether the identified license of each assignment can be found in an active license manifest file.
![*](chapterTOC_bullet.png)
If the license can be found in an active license manifest file, the command returns a contract item identifier that contains the location ID of the manifest.
![*](chapterTOC_bullet.png)
If the license cannot be found in an active license manifest file, the command returns a contract item identifier that has a null location ID.
Example When Executing on Command Central
To retrieve the automatic license assignment for the run-time component “IntegrationServer_default” installed in the installation with alias name “sag01”:
sagcc get license-tools metering contracts licensekey nodeAlias=sag01
runtimeComponentId=IntegrationServer_default