TopUtilizedProductLicenseSummary¶
-
class
oci.license_manager.models.TopUtilizedProductLicenseSummary(**kwargs)¶ Bases:
objectA summary of the top utilized product licenses.
Attributes
STATUS_INCOMPLETEA constant which can be used with the status property of a TopUtilizedProductLicenseSummary. STATUS_ISSUES_FOUNDA constant which can be used with the status property of a TopUtilizedProductLicenseSummary. STATUS_OKA constant which can be used with the status property of a TopUtilizedProductLicenseSummary. STATUS_WARNINGA constant which can be used with the status property of a TopUtilizedProductLicenseSummary. UNIT_TYPE_NAMED_USER_PLUSA constant which can be used with the unit_type property of a TopUtilizedProductLicenseSummary. UNIT_TYPE_OCPUA constant which can be used with the unit_type property of a TopUtilizedProductLicenseSummary. UNIT_TYPE_PROCESSORSA constant which can be used with the unit_type property of a TopUtilizedProductLicenseSummary. is_unlimited[Required] Gets the is_unlimited of this TopUtilizedProductLicenseSummary. product_license_id[Required] Gets the product_license_id of this TopUtilizedProductLicenseSummary. product_type[Required] Gets the product_type of this TopUtilizedProductLicenseSummary. status[Required] Gets the status of this TopUtilizedProductLicenseSummary. total_license_unit_count[Required] Gets the total_license_unit_count of this TopUtilizedProductLicenseSummary. total_units_consumed[Required] Gets the total_units_consumed of this TopUtilizedProductLicenseSummary. unit_type[Required] Gets the unit_type of this TopUtilizedProductLicenseSummary. Methods
__init__(**kwargs)Initializes a new TopUtilizedProductLicenseSummary object with values from keyword arguments. -
STATUS_INCOMPLETE= 'INCOMPLETE'¶ A constant which can be used with the status property of a TopUtilizedProductLicenseSummary. This constant has a value of “INCOMPLETE”
-
STATUS_ISSUES_FOUND= 'ISSUES_FOUND'¶ A constant which can be used with the status property of a TopUtilizedProductLicenseSummary. This constant has a value of “ISSUES_FOUND”
-
STATUS_OK= 'OK'¶ A constant which can be used with the status property of a TopUtilizedProductLicenseSummary. This constant has a value of “OK”
-
STATUS_WARNING= 'WARNING'¶ A constant which can be used with the status property of a TopUtilizedProductLicenseSummary. This constant has a value of “WARNING”
-
UNIT_TYPE_NAMED_USER_PLUS= 'NAMED_USER_PLUS'¶ A constant which can be used with the unit_type property of a TopUtilizedProductLicenseSummary. This constant has a value of “NAMED_USER_PLUS”
-
UNIT_TYPE_OCPU= 'OCPU'¶ A constant which can be used with the unit_type property of a TopUtilizedProductLicenseSummary. This constant has a value of “OCPU”
-
UNIT_TYPE_PROCESSORS= 'PROCESSORS'¶ A constant which can be used with the unit_type property of a TopUtilizedProductLicenseSummary. This constant has a value of “PROCESSORS”
-
__init__(**kwargs)¶ Initializes a new TopUtilizedProductLicenseSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - product_license_id (str) – The value to assign to the product_license_id property of this TopUtilizedProductLicenseSummary.
- product_type (str) – The value to assign to the product_type property of this TopUtilizedProductLicenseSummary.
- unit_type (str) – The value to assign to the unit_type property of this TopUtilizedProductLicenseSummary. 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’.
- total_units_consumed (float) – The value to assign to the total_units_consumed property of this TopUtilizedProductLicenseSummary.
- total_license_unit_count (int) – The value to assign to the total_license_unit_count property of this TopUtilizedProductLicenseSummary.
- is_unlimited (bool) – The value to assign to the is_unlimited property of this TopUtilizedProductLicenseSummary.
- status (str) – The value to assign to the status property of this TopUtilizedProductLicenseSummary. Allowed values for this property are: “INCOMPLETE”, “ISSUES_FOUND”, “WARNING”, “OK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
is_unlimited¶ [Required] Gets the is_unlimited of this TopUtilizedProductLicenseSummary. Specifies if the license unit count is unlimited.
Returns: The is_unlimited of this TopUtilizedProductLicenseSummary. Return type: bool
-
product_license_id¶ [Required] Gets the product_license_id of this TopUtilizedProductLicenseSummary. The product license OCID.
Returns: The product_license_id of this TopUtilizedProductLicenseSummary. Return type: str
-
product_type¶ [Required] Gets the product_type of this TopUtilizedProductLicenseSummary. The product type.
Returns: The product_type of this TopUtilizedProductLicenseSummary. Return type: str
-
status¶ [Required] Gets the status of this TopUtilizedProductLicenseSummary. The current product license status.
Allowed values for this property are: “INCOMPLETE”, “ISSUES_FOUND”, “WARNING”, “OK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this TopUtilizedProductLicenseSummary. Return type: str
-
total_license_unit_count¶ [Required] Gets the total_license_unit_count of this TopUtilizedProductLicenseSummary. Total number of license units in the product license provided by the user.
Returns: The total_license_unit_count of this TopUtilizedProductLicenseSummary. Return type: int
-
total_units_consumed¶ [Required] Gets the total_units_consumed of this TopUtilizedProductLicenseSummary. Number of license units consumed.
Returns: The total_units_consumed of this TopUtilizedProductLicenseSummary. Return type: float
-
unit_type¶ [Required] Gets the unit_type of this TopUtilizedProductLicenseSummary. 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 unit_type of this TopUtilizedProductLicenseSummary. Return type: str
-