Creates a license configuration.
A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a license must be associated with a host), and the number of licenses purchased and used.
licensemanager_create_license_configuration(Name, Description,
LicenseCountingType, LicenseCount, LicenseCountHardLimit, LicenseRules,
Tags, DisassociateWhenNotFound, ProductInformationList)
[required] Name of the license configuration.
Description of the license configuration.
[required] Dimension used to track the license inventory.
Number of licenses managed by the license configuration.
Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.
License rules. The syntax is \#name=value (for example, \#allowedTenancy=EC2-DedicatedHost). The available rules vary by dimension, as follows.
Cores
dimension: allowedTenancy
| licenseAffinityToHost
|
maximumCores
| minimumCores
Instances
dimension: allowedTenancy
| maximumCores
|
minimumCores
| maximumSockets
| minimumSockets
|
maximumVcpus
| minimumVcpus
Sockets
dimension: allowedTenancy
| licenseAffinityToHost
|
maximumSockets
| minimumSockets
vCPUs
dimension: allowedTenancy
| honorVcpuOptimization
|
maximumVcpus
| minimumVcpus
The unit for licenseAffinityToHost
is days and the range is 1 to 180.
The possible values for allowedTenancy
are EC2-Default
,
EC2-DedicatedHost
, and EC2-DedicatedInstance
. The possible values
for honorVcpuOptimization
are True
and False
.
Tags to add to the license configuration.
When true, disassociates a resource when software is uninstalled.
Product information.
svc$create_license_configuration( Name = "string", Description = "string", LicenseCountingType = "vCPU"|"Instance"|"Core"|"Socket", LicenseCount = 123, LicenseCountHardLimit = TRUE|FALSE, LicenseRules = list( "string" ), Tags = list( list( Key = "string", Value = "string" ) ), DisassociateWhenNotFound = TRUE|FALSE, ProductInformationList = list( list( ResourceType = "string", ProductInformationFilterList = list( list( ProductInformationFilterName = "string", ProductInformationFilterValue = list( "string" ), ProductInformationFilterComparator = "string" ) ) ) ) )