CreateProductLicenseDetails¶
- class oci.license_manager.models.CreateProductLicenseDetails(**kwargs)¶
Bases:
objectDetails for creating a new product license.
Attributes:
A constant which can be used with the license_unit property of a CreateProductLicenseDetails.
A constant which can be used with the license_unit property of a CreateProductLicenseDetails.
A constant which can be used with the license_unit property of a CreateProductLicenseDetails.
[Required] Gets the compartment_id of this CreateProductLicenseDetails.
Gets the defined_tags of this CreateProductLicenseDetails.
[Required] Gets the display_name of this CreateProductLicenseDetails.
Gets the freeform_tags of this CreateProductLicenseDetails.
Gets the images of this CreateProductLicenseDetails.
[Required] Gets the is_vendor_oracle of this CreateProductLicenseDetails.
[Required] Gets the license_unit of this CreateProductLicenseDetails.
Gets the vendor_name of this CreateProductLicenseDetails.
Methods:
__init__(**kwargs)Initializes a new CreateProductLicenseDetails 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 CreateProductLicenseDetails. 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 CreateProductLicenseDetails. This constant has a value of “OCPU”
- LICENSE_UNIT_PROCESSORS = 'PROCESSORS'¶
A constant which can be used with the license_unit property of a CreateProductLicenseDetails. This constant has a value of “PROCESSORS”
- __init__(**kwargs)¶
Initializes a new CreateProductLicenseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateProductLicenseDetails.
is_vendor_oracle (bool) – The value to assign to the is_vendor_oracle property of this CreateProductLicenseDetails.
display_name (str) – The value to assign to the display_name property of this CreateProductLicenseDetails.
license_unit (str) – The value to assign to the license_unit property of this CreateProductLicenseDetails. Allowed values for this property are: “OCPU”, “NAMED_USER_PLUS”, “PROCESSORS”
vendor_name (str) – The value to assign to the vendor_name property of this CreateProductLicenseDetails.
images (list[oci.license_manager.models.ImageDetails]) – The value to assign to the images property of this CreateProductLicenseDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateProductLicenseDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateProductLicenseDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateProductLicenseDetails. The compartment OCID where product licenses are created.
- Returns
The compartment_id of this CreateProductLicenseDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateProductLicenseDetails. 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 CreateProductLicenseDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this CreateProductLicenseDetails. Name of the product license.
- Returns
The display_name of this CreateProductLicenseDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateProductLicenseDetails. 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 CreateProductLicenseDetails.
- Return type
dict(str, str)
- property images¶
Gets the images of this CreateProductLicenseDetails. The image details associated with the product license.
- Returns
The images of this CreateProductLicenseDetails.
- Return type
- property is_vendor_oracle¶
[Required] Gets the is_vendor_oracle of this CreateProductLicenseDetails. Specifies if the product license vendor is Oracle or a third party.
- Returns
The is_vendor_oracle of this CreateProductLicenseDetails.
- Return type
bool
- property license_unit¶
[Required] Gets the license_unit of this CreateProductLicenseDetails. The product license unit.
Allowed values for this property are: “OCPU”, “NAMED_USER_PLUS”, “PROCESSORS”
- Returns
The license_unit of this CreateProductLicenseDetails.
- Return type
str
- property vendor_name¶
Gets the vendor_name of this CreateProductLicenseDetails. The product license vendor name, for example: Microsoft, RHEL, and so on.
- Returns
The vendor_name of this CreateProductLicenseDetails.
- Return type
str