UpdateLicenseRecordDetails¶
- class oci.license_manager.models.UpdateLicenseRecordDetails(**kwargs)¶
Bases:
objectThe details about updates in the license record.
Methods:
__init__(**kwargs)Initializes a new UpdateLicenseRecordDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this UpdateLicenseRecordDetails.
[Required] Gets the display_name of this UpdateLicenseRecordDetails.
Gets the expiration_date of this UpdateLicenseRecordDetails.
Gets the freeform_tags of this UpdateLicenseRecordDetails.
[Required] Gets the is_perpetual of this UpdateLicenseRecordDetails.
[Required] Gets the is_unlimited of this UpdateLicenseRecordDetails.
Gets the license_count of this UpdateLicenseRecordDetails.
Gets the product_id of this UpdateLicenseRecordDetails.
Gets the support_end_date of this UpdateLicenseRecordDetails.
- __init__(**kwargs)¶
Initializes a new UpdateLicenseRecordDetails 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 UpdateLicenseRecordDetails.
is_perpetual (bool) – The value to assign to the is_perpetual property of this UpdateLicenseRecordDetails.
expiration_date (datetime) – The value to assign to the expiration_date property of this UpdateLicenseRecordDetails.
support_end_date (datetime) – The value to assign to the support_end_date property of this UpdateLicenseRecordDetails.
is_unlimited (bool) – The value to assign to the is_unlimited property of this UpdateLicenseRecordDetails.
license_count (int) – The value to assign to the license_count property of this UpdateLicenseRecordDetails.
product_id (str) – The value to assign to the product_id property of this UpdateLicenseRecordDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateLicenseRecordDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateLicenseRecordDetails.
- property defined_tags¶
Gets the defined_tags of this UpdateLicenseRecordDetails. 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 UpdateLicenseRecordDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this UpdateLicenseRecordDetails. License record name.
- Returns
The display_name of this UpdateLicenseRecordDetails.
- Return type
str
- property expiration_date¶
Gets the expiration_date of this UpdateLicenseRecordDetails. The license record end date in RFC 3339 date format. Example: 2018-09-12
- Returns
The expiration_date of this UpdateLicenseRecordDetails.
- Return type
datetime
- property freeform_tags¶
Gets the freeform_tags of this UpdateLicenseRecordDetails. 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 UpdateLicenseRecordDetails.
- Return type
dict(str, str)
- property is_perpetual¶
[Required] Gets the is_perpetual of this UpdateLicenseRecordDetails. Specifies if the license record term is perpertual.
- Returns
The is_perpetual of this UpdateLicenseRecordDetails.
- Return type
bool
- property is_unlimited¶
[Required] Gets the is_unlimited of this UpdateLicenseRecordDetails. Specifies if the license count is unlimited.
- Returns
The is_unlimited of this UpdateLicenseRecordDetails.
- Return type
bool
- property license_count¶
Gets the license_count of this UpdateLicenseRecordDetails. The number of license units added by a user in a license record. Default 1
- Returns
The license_count of this UpdateLicenseRecordDetails.
- Return type
int
- property product_id¶
Gets the product_id of this UpdateLicenseRecordDetails. The license record product ID.
- Returns
The product_id of this UpdateLicenseRecordDetails.
- Return type
str