Module Values.CreateLicenseConfigurationRequestSource

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.

Sourcetype nonrec t = {
  1. name : String_.t;
    (*

    Name of the license configuration.

    *)
  2. description : String_.t option;
    (*

    Description of the license configuration.

    *)
  3. licenseCountingType : LicenseCountingType.t;
    (*

    Dimension used to track the license inventory.

    *)
  4. licenseCount : BoxLong.t option;
    (*

    Number of licenses managed by the license configuration.

    *)
  5. licenseCountHardLimit : BoxBoolean.t option;
    (*

    Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.

    *)
  6. licenseRules : StringList.t option;
    (*

    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 | 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.

    *)
  7. tags : TagList.t option;
    (*

    Tags to add to the license configuration.

    *)
  8. disassociateWhenNotFound : BoxBoolean.t option;
    (*

    When true, disassociates a resource when software is uninstalled.

    *)
  9. productInformationList : ProductInformationList.t option;
    (*

    Product information.

    *)
  10. licenseExpiry : BoxLong.t option;
    (*

    License configuration expiry.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?licenseCount:??? -> ?licenseCountHardLimit:??? -> ?licenseRules:??? -> ?tags:??? -> ?disassociateWhenNotFound:??? -> ?productInformationList:??? -> ?licenseExpiry:??? -> name:String_.t -> licenseCountingType:LicenseCountingType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BoxBoolean.t | `Enum of string | `List of [> `String of String_.t | `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of String_.t ] list | `String of String_.t ]) list ] list | `String of String_.t ]) list ] list | `Long of BoxLong.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t