| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/oci/stack_monitoring/models/__pycache__/ |
Upload File : |
a
���f; � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdZdZdZdZdZdZ dZ
d Zd
Zdd� Z
ed
d� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zd-d.� Zd/d0� Zd1d2� Zd3S )4�Configap
A configuration item that, for example defines whether resources of a specific type
should be discovered automatically.
In this case, the 'configType' is set to 'AUTO_PROMOTE' and additional fields like
'resourceType' and 'isEnabled' determine if such resources are to be discovered
automatically (also referred to as 'Automatic Promotion').
�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�AUTO_PROMOTE�LICENSE_AUTO_ASSIGN� LICENSE_ENTERPRISE_EXTENSIBILITYc K sx ddddddddddd�
| _ dddd d
ddd
ddd�
| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _dS )a�
Initializes a new Config 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:
* :class:`~oci.stack_monitoring.models.LicenseEnterpriseExtensibilityConfigDetails`
* :class:`~oci.stack_monitoring.models.LicenseAutoAssignConfigDetails`
* :class:`~oci.stack_monitoring.models.AutoPromoteConfigDetails`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param id:
The value to assign to the id property of this Config.
:type id: str
:param compartment_id:
The value to assign to the compartment_id property of this Config.
:type compartment_id: str
:param display_name:
The value to assign to the display_name property of this Config.
:type display_name: str
:param time_created:
The value to assign to the time_created property of this Config.
:type time_created: datetime
:param time_updated:
The value to assign to the time_updated property of this Config.
:type time_updated: datetime
:param lifecycle_state:
The value to assign to the lifecycle_state property of this Config.
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'.
:type lifecycle_state: str
:param config_type:
The value to assign to the config_type property of this Config.
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'.
:type config_type: str
:param freeform_tags:
The value to assign to the freeform_tags property of this Config.
:type freeform_tags: dict(str, str)
:param defined_tags:
The value to assign to the defined_tags property of this Config.
:type defined_tags: dict(str, dict(str, object))
:param system_tags:
The value to assign to the system_tags property of this Config.
:type system_tags: dict(str, dict(str, object))
�strZdatetimezdict(str, str)zdict(str, dict(str, object)))
�id�compartment_id�display_name�time_created�time_updated�lifecycle_state�config_type�
freeform_tags�defined_tags�system_tagsr Z
compartmentIdZdisplayNameZtimeCreatedZtimeUpdatedZlifecycleState�
configTypeZfreeformTagsZdefinedTagsZ
systemTagsN)Z
swagger_typesZ
attribute_map�_id�_compartment_id�
_display_name�
_time_created�
_time_updated�_lifecycle_state�_config_type�_freeform_tags�
_defined_tags�_system_tags)�self�kwargs� r( �F/usr/lib/python3.9/site-packages/oci/stack_monitoring/models/config.py�__init__; s@ 9��
zConfig.__init__c C s4 | d }|dkrdS |dkr dS |dkr,dS dS d S )
z�
Given the hash representation of a subtype of this class,
use the info in the hash to return the class of the subtype.
r r Z+LicenseEnterpriseExtensibilityConfigDetailsr ZLicenseAutoAssignConfigDetailsr
ZAutoPromoteConfigDetailsr Nr( )Zobject_dictionary�typer( r( r) �get_subtype� s zConfig.get_subtypec C s | j S )z�
**[Required]** Gets the id of this Config.
The Unique Oracle ID (OCID) that is immutable on creation.
:return: The id of this Config.
:rtype: str
�r �r&