LicenseRecordSummary

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

Bases: object

The license record summary.

Attributes

LICENSE_UNIT_NAMED_USER_PLUS A constant which can be used with the license_unit property of a LicenseRecordSummary.
LICENSE_UNIT_OCPU A constant which can be used with the license_unit property of a LicenseRecordSummary.
LICENSE_UNIT_PROCESSORS A constant which can be used with the license_unit property of a LicenseRecordSummary.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a LicenseRecordSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a LicenseRecordSummary.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a LicenseRecordSummary.
compartment_id Gets the compartment_id of this LicenseRecordSummary.
defined_tags Gets the defined_tags of this LicenseRecordSummary.
display_name [Required] Gets the display_name of this LicenseRecordSummary.
expiration_date Gets the expiration_date of this LicenseRecordSummary.
freeform_tags Gets the freeform_tags of this LicenseRecordSummary.
id [Required] Gets the id of this LicenseRecordSummary.
is_perpetual [Required] Gets the is_perpetual of this LicenseRecordSummary.
is_unlimited [Required] Gets the is_unlimited of this LicenseRecordSummary.
license_count Gets the license_count of this LicenseRecordSummary.
license_unit Gets the license_unit of this LicenseRecordSummary.
lifecycle_state Gets the lifecycle_state of this LicenseRecordSummary.
product_id Gets the product_id of this LicenseRecordSummary.
product_license Gets the product_license of this LicenseRecordSummary.
product_license_id Gets the product_license_id of this LicenseRecordSummary.
support_end_date Gets the support_end_date of this LicenseRecordSummary.
system_tags Gets the system_tags of this LicenseRecordSummary.
time_created Gets the time_created of this LicenseRecordSummary.
time_updated Gets the time_updated of this LicenseRecordSummary.

Methods

__init__(**kwargs) Initializes a new LicenseRecordSummary object with values from keyword arguments.
LICENSE_UNIT_NAMED_USER_PLUS = 'NAMED_USER_PLUS'

A constant which can be used with the license_unit property of a LicenseRecordSummary. This constant has a value of “NAMED_USER_PLUS”

LICENSE_UNIT_OCPU = 'OCPU'

A constant which can be used with the license_unit property of a LicenseRecordSummary. This constant has a value of “OCPU”

LICENSE_UNIT_PROCESSORS = 'PROCESSORS'

A constant which can be used with the license_unit property of a LicenseRecordSummary. This constant has a value of “PROCESSORS”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a LicenseRecordSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a LicenseRecordSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a LicenseRecordSummary. This constant has a value of “INACTIVE”

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this LicenseRecordSummary.
  • product_license_id (str) – The value to assign to the product_license_id property of this LicenseRecordSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this LicenseRecordSummary.
  • display_name (str) – The value to assign to the display_name property of this LicenseRecordSummary.
  • product_id (str) – The value to assign to the product_id property of this LicenseRecordSummary.
  • license_count (int) – The value to assign to the license_count property of this LicenseRecordSummary.
  • expiration_date (datetime) – The value to assign to the expiration_date property of this LicenseRecordSummary.
  • support_end_date (datetime) – The value to assign to the support_end_date property of this LicenseRecordSummary.
  • is_unlimited (bool) – The value to assign to the is_unlimited property of this LicenseRecordSummary.
  • is_perpetual (bool) – The value to assign to the is_perpetual property of this LicenseRecordSummary.
  • time_created (datetime) – The value to assign to the time_created property of this LicenseRecordSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this LicenseRecordSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this LicenseRecordSummary. Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • license_unit (str) – The value to assign to the license_unit property of this LicenseRecordSummary. Allowed values for this property are: “OCPU”, “NAMED_USER_PLUS”, “PROCESSORS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • product_license (str) – The value to assign to the product_license property of this LicenseRecordSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this LicenseRecordSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this LicenseRecordSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this LicenseRecordSummary.
compartment_id

Gets the compartment_id of this LicenseRecordSummary. The compartment OCID where the license record is created.

Returns:The compartment_id of this LicenseRecordSummary.
Return type:str
defined_tags

Gets the defined_tags of this LicenseRecordSummary. 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 LicenseRecordSummary.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this LicenseRecordSummary. License record display name. Avoid entering confidential information.

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

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

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

Gets the freeform_tags of this LicenseRecordSummary. 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 LicenseRecordSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this LicenseRecordSummary. The license record OCID.

Returns:The id of this LicenseRecordSummary.
Return type:str
is_perpetual

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

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

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

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

Gets the license_count of this LicenseRecordSummary. The number of license record units added by the user for the given license record. Default 1

Returns:The license_count of this LicenseRecordSummary.
Return type:int
license_unit

Gets the license_unit of this LicenseRecordSummary. The product license unit.

Allowed values for this property are: “OCPU”, “NAMED_USER_PLUS”, “PROCESSORS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The license_unit of this LicenseRecordSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this LicenseRecordSummary. The current license record state.

Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this LicenseRecordSummary.
Return type:str
product_id

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

Returns:The product_id of this LicenseRecordSummary.
Return type:str
product_license

Gets the product_license of this LicenseRecordSummary. The product license name with which the license record is associated.

Returns:The product_license of this LicenseRecordSummary.
Return type:str
product_license_id

Gets the product_license_id of this LicenseRecordSummary. The product license OCID with which the license record is associated.

Returns:The product_license_id of this LicenseRecordSummary.
Return type:str
support_end_date

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

Returns:The support_end_date of this LicenseRecordSummary.
Return type:datetime
system_tags

Gets the system_tags of this LicenseRecordSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this LicenseRecordSummary.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this LicenseRecordSummary. The time the license record was created. An RFC 3339-formatted datetime string.

Returns:The time_created of this LicenseRecordSummary.
Return type:datetime
time_updated

Gets the time_updated of this LicenseRecordSummary. The time the license record was updated. An RFC 3339-formatted datetime string.

Returns:The time_updated of this LicenseRecordSummary.
Return type:datetime