LaunchInstanceLicensingConfig¶
- class oci.core.models.LaunchInstanceLicensingConfig(**kwargs)¶
Bases:
objectThe license config requested for the instance.
Attributes:
A constant which can be used with the license_type property of a LaunchInstanceLicensingConfig.
A constant which can be used with the license_type property of a LaunchInstanceLicensingConfig.
A constant which can be used with the license_type property of a LaunchInstanceLicensingConfig.
A constant which can be used with the type property of a LaunchInstanceLicensingConfig.
Gets the license_type of this LaunchInstanceLicensingConfig.
[Required] Gets the type of this LaunchInstanceLicensingConfig.
Methods:
__init__(**kwargs)Initializes a new LaunchInstanceLicensingConfig object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- LICENSE_TYPE_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'¶
A constant which can be used with the license_type property of a LaunchInstanceLicensingConfig. 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 LaunchInstanceLicensingConfig. This constant has a value of “OCI_PROVIDED”
- LICENSE_TYPE_PARTNER_PROVIDED = 'PARTNER_PROVIDED'¶
A constant which can be used with the license_type property of a LaunchInstanceLicensingConfig. This constant has a value of “PARTNER_PROVIDED”
- TYPE_WINDOWS = 'WINDOWS'¶
A constant which can be used with the type property of a LaunchInstanceLicensingConfig. This constant has a value of “WINDOWS”
- __init__(**kwargs)¶
Initializes a new LaunchInstanceLicensingConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 LaunchInstanceLicensingConfig. 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 LaunchInstanceLicensingConfig. Allowed values for this property are: “OCI_PROVIDED”, “BRING_YOUR_OWN_LICENSE”, “PARTNER_PROVIDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property license_type¶
Gets the license_type of this LaunchInstanceLicensingConfig. License Type for the OS license. * OCI_PROVIDED - OCI provided license (e.g. metered $/OCPU-hour). * BRING_YOUR_OWN_LICENSE - Bring your own license. * PARTNER_PROVIDED - Partner provided license.
Allowed values for this property are: “OCI_PROVIDED”, “BRING_YOUR_OWN_LICENSE”, “PARTNER_PROVIDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The license_type of this LaunchInstanceLicensingConfig.
- Return type
str
- property type¶
[Required] Gets the type of this LaunchInstanceLicensingConfig. 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 LaunchInstanceLicensingConfig.
- Return type
str