ProductLicenseConsumerSummary¶
- class oci.license_manager.models.ProductLicenseConsumerSummary(**kwargs)¶
Bases:
objectDetails of a resource that is consuming a particular product license.
Attributes:
A constant which can be used with the license_unit_type property of a ProductLicenseConsumerSummary.
A constant which can be used with the license_unit_type property of a ProductLicenseConsumerSummary.
A constant which can be used with the license_unit_type property of a ProductLicenseConsumerSummary.
A constant which can be used with the resource_unit_type property of a ProductLicenseConsumerSummary.
A constant which can be used with the resource_unit_type property of a ProductLicenseConsumerSummary.
[Required] Gets the are_all_options_available of this ProductLicenseConsumerSummary.
[Required] Gets the is_base_license_available of this ProductLicenseConsumerSummary.
[Required] Gets the license_unit_type of this ProductLicenseConsumerSummary.
[Required] Gets the license_units_consumed of this ProductLicenseConsumerSummary.
[Required] Gets the missing_products of this ProductLicenseConsumerSummary.
[Required] Gets the product_name of this ProductLicenseConsumerSummary.
[Required] Gets the resource_compartment_id of this ProductLicenseConsumerSummary.
[Required] Gets the resource_compartment_name of this ProductLicenseConsumerSummary.
[Required] Gets the resource_id of this ProductLicenseConsumerSummary.
[Required] Gets the resource_name of this ProductLicenseConsumerSummary.
[Required] Gets the resource_unit_count of this ProductLicenseConsumerSummary.
[Required] Gets the resource_unit_type of this ProductLicenseConsumerSummary.
Methods:
__init__(**kwargs)Initializes a new ProductLicenseConsumerSummary object with values from keyword arguments.
- LICENSE_UNIT_TYPE_NAMED_USER_PLUS = 'NAMED_USER_PLUS'¶
A constant which can be used with the license_unit_type property of a ProductLicenseConsumerSummary. This constant has a value of “NAMED_USER_PLUS”
- LICENSE_UNIT_TYPE_OCPU = 'OCPU'¶
A constant which can be used with the license_unit_type property of a ProductLicenseConsumerSummary. This constant has a value of “OCPU”
- LICENSE_UNIT_TYPE_PROCESSORS = 'PROCESSORS'¶
A constant which can be used with the license_unit_type property of a ProductLicenseConsumerSummary. This constant has a value of “PROCESSORS”
- RESOURCE_UNIT_TYPE_ECPU = 'ECPU'¶
A constant which can be used with the resource_unit_type property of a ProductLicenseConsumerSummary. This constant has a value of “ECPU”
- RESOURCE_UNIT_TYPE_OCPU = 'OCPU'¶
A constant which can be used with the resource_unit_type property of a ProductLicenseConsumerSummary. This constant has a value of “OCPU”
- __init__(**kwargs)¶
Initializes a new ProductLicenseConsumerSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
resource_id (str) – The value to assign to the resource_id property of this ProductLicenseConsumerSummary.
resource_name (str) – The value to assign to the resource_name property of this ProductLicenseConsumerSummary.
product_name (str) – The value to assign to the product_name property of this ProductLicenseConsumerSummary.
resource_compartment_id (str) – The value to assign to the resource_compartment_id property of this ProductLicenseConsumerSummary.
resource_compartment_name (str) – The value to assign to the resource_compartment_name property of this ProductLicenseConsumerSummary.
resource_unit_type (str) – The value to assign to the resource_unit_type property of this ProductLicenseConsumerSummary. Allowed values for this property are: “OCPU”, “ECPU”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
resource_unit_count (float) – The value to assign to the resource_unit_count property of this ProductLicenseConsumerSummary.
license_unit_type (str) – The value to assign to the license_unit_type property of this ProductLicenseConsumerSummary. 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’.
license_units_consumed (float) – The value to assign to the license_units_consumed property of this ProductLicenseConsumerSummary.
is_base_license_available (bool) – The value to assign to the is_base_license_available property of this ProductLicenseConsumerSummary.
are_all_options_available (bool) – The value to assign to the are_all_options_available property of this ProductLicenseConsumerSummary.
missing_products (list[oci.license_manager.models.Product]) – The value to assign to the missing_products property of this ProductLicenseConsumerSummary.
- property are_all_options_available¶
[Required] Gets the are_all_options_available of this ProductLicenseConsumerSummary. Specifies if all options are available.
- Returns
The are_all_options_available of this ProductLicenseConsumerSummary.
- Return type
bool
- property is_base_license_available¶
[Required] Gets the is_base_license_available of this ProductLicenseConsumerSummary. Specifies if the base license is available.
- Returns
The is_base_license_available of this ProductLicenseConsumerSummary.
- Return type
bool
- property license_unit_type¶
[Required] Gets the license_unit_type of this ProductLicenseConsumerSummary. 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_type of this ProductLicenseConsumerSummary.
- Return type
str
- property license_units_consumed¶
[Required] Gets the license_units_consumed of this ProductLicenseConsumerSummary. Number of license units consumed by the resource.
- Returns
The license_units_consumed of this ProductLicenseConsumerSummary.
- Return type
float
- property missing_products¶
[Required] Gets the missing_products of this ProductLicenseConsumerSummary. Collection of missing product licenses.
- Returns
The missing_products of this ProductLicenseConsumerSummary.
- Return type
- property product_name¶
[Required] Gets the product_name of this ProductLicenseConsumerSummary. The resource product name.
- Returns
The product_name of this ProductLicenseConsumerSummary.
- Return type
str
- property resource_compartment_id¶
[Required] Gets the resource_compartment_id of this ProductLicenseConsumerSummary. The OCID of the compartment that contains the resource.
- Returns
The resource_compartment_id of this ProductLicenseConsumerSummary.
- Return type
str
- property resource_compartment_name¶
[Required] Gets the resource_compartment_name of this ProductLicenseConsumerSummary. The display name of the compartment that contains the resource.
- Returns
The resource_compartment_name of this ProductLicenseConsumerSummary.
- Return type
str
- property resource_id¶
[Required] Gets the resource_id of this ProductLicenseConsumerSummary. The OCID of the resource.
- Returns
The resource_id of this ProductLicenseConsumerSummary.
- Return type
str
- property resource_name¶
[Required] Gets the resource_name of this ProductLicenseConsumerSummary. The display name of the resource.
- Returns
The resource_name of this ProductLicenseConsumerSummary.
- Return type
str
- property resource_unit_count¶
[Required] Gets the resource_unit_count of this ProductLicenseConsumerSummary. Number of units of the resource
- Returns
The resource_unit_count of this ProductLicenseConsumerSummary.
- Return type
float
- property resource_unit_type¶
[Required] Gets the resource_unit_type of this ProductLicenseConsumerSummary. The unit type for the resource.
Allowed values for this property are: “OCPU”, “ECPU”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The resource_unit_type of this ProductLicenseConsumerSummary.
- Return type
str