manage
apply-entitlement
Extended description
You are required to keep a record of the size of you deployments to report to IBM as requested. You can use the License Service to measure your IBM Cloud Pak® for Data use against your license terms.
Use the cpd-cli
manage
apply-entitlement
command to provide information about the type
of IBM Cloud Pak for Data license that you purchased, so
that the License Service can provide accurate usage
information against your license terms.
Syntax
cpd-cli manage apply-entitlement \
--cpd_instance_ns=<project-name> \
[--entitlement=cpd-enterprise|cpd-standard] \
[--production=true|false] \
[--preview=true|false]
Arguments
The apply-entitlement
command has no arguments.
Options
Option | Description |
---|---|
--cpd_instance_ns |
The
project (namespace) where IBM Cloud Pak for Data is
installed.
|
--entitlement |
The type of Cloud Pak for Data license that you
purchased.
|
--preview |
Preview the commands that run when you issue this CLI
command. The command issues a series of
The
|
--production |
Specify whether you purchased a non-production
license. Restriction: This option applies only to
Cloud Pak for Data
Enterprise Edition.
|
Examples
Use a script to create environment variables with the correct values for your environment. For details, see Best practice: Setting up install variables.
- Tell the License Service that you using a production deployment of Cloud Pak for Data Enterprise Edition
-
cpd-cli manage apply-entitlement \ --cpd_instance_ns=${PROJECT_CPD_INSTANCE} \ --entitlement=cpd-enterprise
- Tell the License Service that you using a non-production deployment of Cloud Pak for Data Enterprise Edition
-
cpd-cli manage apply-entitlement \ --cpd_instance_ns=${PROJECT_CPD_INSTANCE} \ --entitlement=cpd-enterprise \ --production=false