LicenseAutoAssignConfigDetails

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

Bases: oci.stack_monitoring.models.config.Config

A configuration of the LICENSE_AUTO_ASSIGN type, consists of an enumeration value which indicates which license should be assigned by default to new resources.

Attributes

CONFIG_TYPE_AUTO_PROMOTE str(object=’’) -> str
CONFIG_TYPE_LICENSE_AUTO_ASSIGN str(object=’’) -> str
CONFIG_TYPE_LICENSE_ENTERPRISE_EXTENSIBILITY str(object=’’) -> str
LICENSE_ENTERPRISE_EDITION A constant which can be used with the license property of a LicenseAutoAssignConfigDetails.
LICENSE_STANDARD_EDITION A constant which can be used with the license property of a LicenseAutoAssignConfigDetails.
LIFECYCLE_STATE_ACTIVE str(object=’’) -> str
LIFECYCLE_STATE_CREATING str(object=’’) -> str
LIFECYCLE_STATE_DELETED str(object=’’) -> str
LIFECYCLE_STATE_DELETING str(object=’’) -> str
LIFECYCLE_STATE_FAILED str(object=’’) -> str
LIFECYCLE_STATE_UPDATING str(object=’’) -> str
compartment_id [Required] Gets the compartment_id of this Config.
config_type [Required] Gets the config_type of this Config.
defined_tags Gets the defined_tags of this Config.
display_name Gets the display_name of this Config.
freeform_tags Gets the freeform_tags of this Config.
id [Required] Gets the id of this Config.
license [Required] Gets the license of this LicenseAutoAssignConfigDetails.
lifecycle_state [Required] Gets the lifecycle_state of this Config.
system_tags Gets the system_tags of this Config.
time_created Gets the time_created of this Config.
time_updated Gets the time_updated of this Config.

Methods

__init__(**kwargs) Initializes a new LicenseAutoAssignConfigDetails 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.
CONFIG_TYPE_AUTO_PROMOTE = 'AUTO_PROMOTE'
CONFIG_TYPE_LICENSE_AUTO_ASSIGN = 'LICENSE_AUTO_ASSIGN'
CONFIG_TYPE_LICENSE_ENTERPRISE_EXTENSIBILITY = 'LICENSE_ENTERPRISE_EXTENSIBILITY'
LICENSE_ENTERPRISE_EDITION = 'ENTERPRISE_EDITION'

A constant which can be used with the license property of a LicenseAutoAssignConfigDetails. 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 LicenseAutoAssignConfigDetails. This constant has a value of “STANDARD_EDITION”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'
LIFECYCLE_STATE_CREATING = 'CREATING'
LIFECYCLE_STATE_DELETED = 'DELETED'
LIFECYCLE_STATE_DELETING = 'DELETING'
LIFECYCLE_STATE_FAILED = 'FAILED'
LIFECYCLE_STATE_UPDATING = 'UPDATING'
__init__(**kwargs)

Initializes a new LicenseAutoAssignConfigDetails 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:
  • id (str) – The value to assign to the id property of this LicenseAutoAssignConfigDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this LicenseAutoAssignConfigDetails.
  • display_name (str) – The value to assign to the display_name property of this LicenseAutoAssignConfigDetails.
  • time_created (datetime) – The value to assign to the time_created property of this LicenseAutoAssignConfigDetails.
  • time_updated (datetime) – The value to assign to the time_updated property of this LicenseAutoAssignConfigDetails.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this LicenseAutoAssignConfigDetails. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • config_type (str) – The value to assign to the config_type property of this LicenseAutoAssignConfigDetails. Allowed values for this property are: “AUTO_PROMOTE”, “LICENSE_AUTO_ASSIGN”, “LICENSE_ENTERPRISE_EXTENSIBILITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this LicenseAutoAssignConfigDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this LicenseAutoAssignConfigDetails.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this LicenseAutoAssignConfigDetails.
  • license (str) – The value to assign to the license property of this LicenseAutoAssignConfigDetails. Allowed values for this property are: “STANDARD_EDITION”, “ENTERPRISE_EDITION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
compartment_id

[Required] Gets the compartment_id of this Config. The OCID of the compartment containing the configuration.

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

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

Allowed values for this property are: “AUTO_PROMOTE”, “LICENSE_AUTO_ASSIGN”, “LICENSE_ENTERPRISE_EXTENSIBILITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

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

Gets the display_name of this Config. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

Gets the freeform_tags of this Config. 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 Config.
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.

id

[Required] Gets the id of this Config. The Unique Oracle ID (OCID) that is immutable on creation.

Returns:The id of this Config.
Return type:str
license

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

Allowed values for this property are: “STANDARD_EDITION”, “ENTERPRISE_EDITION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The license of this LicenseAutoAssignConfigDetails.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this Config. The current state of the configuration.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this Config.
Return type:str
system_tags

Gets the system_tags of this Config. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this Config.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this Config. The time the configuration was created. An RFC3339 formatted datetime string.

Returns:The time_created of this Config.
Return type:datetime
time_updated

Gets the time_updated of this Config. The time the Config was updated.

Returns:The time_updated of this Config.
Return type:datetime