CreateLicenseAutoAssignConfigDetails

class oci.stack_monitoring.models.CreateLicenseAutoAssignConfigDetails(**kwargs)

Bases: oci.stack_monitoring.models.create_config_details.CreateConfigDetails

The details of a LICENSE_AUTO_ASSIGN configuration.

Attributes

LICENSE_ENTERPRISE_EDITION A constant which can be used with the license property of a CreateLicenseAutoAssignConfigDetails.
LICENSE_STANDARD_EDITION A constant which can be used with the license property of a CreateLicenseAutoAssignConfigDetails.
compartment_id [Required] Gets the compartment_id of this CreateConfigDetails.
config_type [Required] Gets the config_type of this CreateConfigDetails.
defined_tags Gets the defined_tags of this CreateConfigDetails.
display_name Gets the display_name of this CreateConfigDetails.
freeform_tags Gets the freeform_tags of this CreateConfigDetails.
license [Required] Gets the license of this CreateLicenseAutoAssignConfigDetails.

Methods

__init__(**kwargs) Initializes a new CreateLicenseAutoAssignConfigDetails 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_ENTERPRISE_EDITION = 'ENTERPRISE_EDITION'

A constant which can be used with the license property of a CreateLicenseAutoAssignConfigDetails. This constant has a value of “ENTERPRISE_EDITION”

LICENSE_STANDARD_EDITION = 'STANDARD_EDITION'

A constant which can be used with the license property of a CreateLicenseAutoAssignConfigDetails. This constant has a value of “STANDARD_EDITION”

__init__(**kwargs)

Initializes a new CreateLicenseAutoAssignConfigDetails object with values from keyword arguments. The default value of the config_type attribute of this class is LICENSE_AUTO_ASSIGN and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateLicenseAutoAssignConfigDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateLicenseAutoAssignConfigDetails.
  • config_type (str) – The value to assign to the config_type property of this CreateLicenseAutoAssignConfigDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateLicenseAutoAssignConfigDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateLicenseAutoAssignConfigDetails.
  • license (str) – The value to assign to the license property of this CreateLicenseAutoAssignConfigDetails. Allowed values for this property are: “STANDARD_EDITION”, “ENTERPRISE_EDITION”
compartment_id

[Required] Gets the compartment_id of this CreateConfigDetails. Compartment in which the configuration is created.

Returns:The compartment_id of this CreateConfigDetails.
Return type:str
config_type

[Required] Gets the config_type of this CreateConfigDetails. The type of configuration.

Returns:The config_type of this CreateConfigDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateConfigDetails. 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 CreateConfigDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateConfigDetails. The display name of the configuration.

Returns:The display_name of this CreateConfigDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateConfigDetails. 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 CreateConfigDetails.
Return type:dict(str, str)
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.

license

[Required] Gets the license of this CreateLicenseAutoAssignConfigDetails. License edition.

Allowed values for this property are: “STANDARD_EDITION”, “ENTERPRISE_EDITION”

Returns:The license of this CreateLicenseAutoAssignConfigDetails.
Return type:str