CreateLicenseRecordDetails

class oci.license_manager.models.CreateLicenseRecordDetails(**kwargs)

Bases: object

The details about the new license record.

Methods

__init__(**kwargs) Initializes a new CreateLicenseRecordDetails object with values from keyword arguments.

Attributes

defined_tags Gets the defined_tags of this CreateLicenseRecordDetails.
display_name [Required] Gets the display_name of this CreateLicenseRecordDetails.
expiration_date Gets the expiration_date of this CreateLicenseRecordDetails.
freeform_tags Gets the freeform_tags of this CreateLicenseRecordDetails.
is_perpetual [Required] Gets the is_perpetual of this CreateLicenseRecordDetails.
is_unlimited [Required] Gets the is_unlimited of this CreateLicenseRecordDetails.
license_count Gets the license_count of this CreateLicenseRecordDetails.
product_id Gets the product_id of this CreateLicenseRecordDetails.
support_end_date Gets the support_end_date of this CreateLicenseRecordDetails.
__init__(**kwargs)

Initializes a new CreateLicenseRecordDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateLicenseRecordDetails.
  • is_perpetual (bool) – The value to assign to the is_perpetual property of this CreateLicenseRecordDetails.
  • expiration_date (datetime) – The value to assign to the expiration_date property of this CreateLicenseRecordDetails.
  • support_end_date (datetime) – The value to assign to the support_end_date property of this CreateLicenseRecordDetails.
  • is_unlimited (bool) – The value to assign to the is_unlimited property of this CreateLicenseRecordDetails.
  • license_count (int) – The value to assign to the license_count property of this CreateLicenseRecordDetails.
  • product_id (str) – The value to assign to the product_id property of this CreateLicenseRecordDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateLicenseRecordDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateLicenseRecordDetails.
defined_tags

Gets the defined_tags of this CreateLicenseRecordDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateLicenseRecordDetails.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this CreateLicenseRecordDetails. License record name.

Returns:The display_name of this CreateLicenseRecordDetails.
Return type:str
expiration_date

Gets the expiration_date of this CreateLicenseRecordDetails. The license record end date in RFC 3339 date format. Example: 2018-09-12

Returns:The expiration_date of this CreateLicenseRecordDetails.
Return type:datetime
freeform_tags

Gets the freeform_tags of this CreateLicenseRecordDetails. Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateLicenseRecordDetails.
Return type:dict(str, str)
is_perpetual

[Required] Gets the is_perpetual of this CreateLicenseRecordDetails. Specifies if the license record term is perpertual.

Returns:The is_perpetual of this CreateLicenseRecordDetails.
Return type:bool
is_unlimited

[Required] Gets the is_unlimited of this CreateLicenseRecordDetails. Specifies if the license count is unlimited.

Returns:The is_unlimited of this CreateLicenseRecordDetails.
Return type:bool
license_count

Gets the license_count of this CreateLicenseRecordDetails. The number of license units added by a user in a license record. Default 1

Returns:The license_count of this CreateLicenseRecordDetails.
Return type:int
product_id

Gets the product_id of this CreateLicenseRecordDetails. The license record product ID.

Returns:The product_id of this CreateLicenseRecordDetails.
Return type:str
support_end_date

Gets the support_end_date of this CreateLicenseRecordDetails. The license record support end date in RFC 3339 date format. Example: 2018-09-12

Returns:The support_end_date of this CreateLicenseRecordDetails.
Return type:datetime