Skip to content

Create License

licensemanager_create_license R Documentation

Creates a license

Description

Creates a license.

Usage

licensemanager_create_license(LicenseName, ProductName, ProductSKU,
  Issuer, HomeRegion, Validity, Entitlements, Beneficiary,
  ConsumptionConfiguration, LicenseMetadata, ClientToken)

Arguments

LicenseName

[required] License name.

ProductName

[required] Product name.

ProductSKU

[required] Product SKU.

Issuer

[required] License issuer.

HomeRegion

[required] Home Region for the license.

Validity

[required] Date and time range during which the license is valid, in ISO8601-UTC format.

Entitlements

[required] License entitlements.

Beneficiary

[required] License beneficiary.

ConsumptionConfiguration

[required] Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.

LicenseMetadata

Information about the license.

ClientToken

[required] Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Value

A list with the following syntax:

list(
  LicenseArn = "string",
  Status = "AVAILABLE"|"PENDING_AVAILABLE"|"DEACTIVATED"|"SUSPENDED"|"EXPIRED"|"PENDING_DELETE"|"DELETED",
  Version = "string"
)

Request syntax

svc$create_license(
  LicenseName = "string",
  ProductName = "string",
  ProductSKU = "string",
  Issuer = list(
    Name = "string",
    SignKey = "string"
  ),
  HomeRegion = "string",
  Validity = list(
    Begin = "string",
    End = "string"
  ),
  Entitlements = list(
    list(
      Name = "string",
      Value = "string",
      MaxCount = 123,
      Overage = TRUE|FALSE,
      Unit = "Count"|"None"|"Seconds"|"Microseconds"|"Milliseconds"|"Bytes"|"Kilobytes"|"Megabytes"|"Gigabytes"|"Terabytes"|"Bits"|"Kilobits"|"Megabits"|"Gigabits"|"Terabits"|"Percent"|"Bytes/Second"|"Kilobytes/Second"|"Megabytes/Second"|"Gigabytes/Second"|"Terabytes/Second"|"Bits/Second"|"Kilobits/Second"|"Megabits/Second"|"Gigabits/Second"|"Terabits/Second"|"Count/Second",
      AllowCheckIn = TRUE|FALSE
    )
  ),
  Beneficiary = "string",
  ConsumptionConfiguration = list(
    RenewType = "None"|"Weekly"|"Monthly",
    ProvisionalConfiguration = list(
      MaxTimeToLiveInMinutes = 123
    ),
    BorrowConfiguration = list(
      AllowEarlyCheckIn = TRUE|FALSE,
      MaxTimeToLiveInMinutes = 123
    )
  ),
  LicenseMetadata = list(
    list(
      Name = "string",
      Value = "string"
    )
  ),
  ClientToken = "string"
)