LicensingConfig¶
-
class
oci.core.models.
LicensingConfig
(**kwargs)¶ Bases:
object
Configuration of the Operating System license.
Attributes
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
A constant which can be used with the license_type property of a LicensingConfig. LICENSE_TYPE_OCI_PROVIDED
A constant which can be used with the license_type property of a LicensingConfig. TYPE_WINDOWS
A constant which can be used with the type property of a LicensingConfig. license_type
Gets the license_type of this LicensingConfig. os_version
Gets the os_version of this LicensingConfig. type
Gets the type of this LicensingConfig. Methods
__init__
(**kwargs)Initializes a new LicensingConfig object with values from keyword arguments. -
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
= 'BRING_YOUR_OWN_LICENSE'¶ A constant which can be used with the license_type property of a LicensingConfig. This constant has a value of “BRING_YOUR_OWN_LICENSE”
-
LICENSE_TYPE_OCI_PROVIDED
= 'OCI_PROVIDED'¶ A constant which can be used with the license_type property of a LicensingConfig. This constant has a value of “OCI_PROVIDED”
-
TYPE_WINDOWS
= 'WINDOWS'¶ A constant which can be used with the type property of a LicensingConfig. This constant has a value of “WINDOWS”
-
__init__
(**kwargs)¶ Initializes a new LicensingConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - type (str) – The value to assign to the type property of this LicensingConfig. Allowed values for this property are: “WINDOWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- license_type (str) – The value to assign to the license_type property of this LicensingConfig. Allowed values for this property are: “OCI_PROVIDED”, “BRING_YOUR_OWN_LICENSE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- os_version (str) – The value to assign to the os_version property of this LicensingConfig.
-
license_type
¶ Gets the license_type of this LicensingConfig. License Type for the OS license. * OCI_PROVIDED - OCI provided license (e.g. metered $/OCPU-hour). * BRING_YOUR_OWN_LICENSE - Bring your own license.
Allowed values for this property are: “OCI_PROVIDED”, “BRING_YOUR_OWN_LICENSE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The license_type of this LicensingConfig. Return type: str
-
os_version
¶ Gets the os_version of this LicensingConfig. The Operating System version of the license config.
Returns: The os_version of this LicensingConfig. Return type: str
-
type
¶ Gets the type of this LicensingConfig. Operating System type of the Configuration.
Allowed values for this property are: “WINDOWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this LicensingConfig. Return type: str
-