Importing Product Licenses into License Manager
Import product licenses you create into License Manager using a downloadable template.
You can create product licenses using a downloadable, predefined Excel template, and then import them individually or in bulk into License Manager. The following types of licenses are supported for import:
- Full Use: Licenses that have a specific count associated with them. See your support contract for any licensing details, and account for any usage outside of Oracle Cloud Infrastructure when entering quantities for Full Use licenses. You can import several files but they can only be imported one at a time.
- ULA: Unlimited License Agreement. A count doesn't need to be entered for ULA licenses.
Importing license records into License Manager consists of the following tasks performed in order:
Downloading the and Completing the Excel Template
Use the oci license-manager bulk-upload-template get command and required parameters to download the Excel template to your computer:
oci license-manager bulk-upload-template get [OPTIONS]The
bulkUploadTemplate.xlsxtemplate is downloaded to your computer. Complete the template to create a product license file as described in Using the Console.Importing the Licenses into License Manager
Use the oci license-manager license-record import-licenses command and required parameters to import the completed Excel license file into License Manager:
oci license-manager license-record import-licenses --compartment-id compartment-ocid --file-content file_content [OPTIONS] --file-name file_name [OPTIONS]compartment-ocidis the compartment where the license file is uploaded to.file_contentis the path of the license file on your computer to be uploaded.file_nameis the name of the license file.For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Importing license records into License Manager consists of the following tasks performed in order:
Downloading the and Completing the Excel Template
Run the GetBulkUploadTemplate operation to download the Excel template to your computer.
The
bulkUploadTemplate.xlsxtemplate is downloaded to your computer. Complete the template to create a product license file as described in Using the Console.Importing the Licenses into License Manager
Run the BulkUploadLicenseRecords operation to import the completed Excel license file into License Manager.