403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.144.89.152
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /lib/mysqlsh/lib/python3.9/site-packages/oci/management_agent/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/mysqlsh/lib/python3.9/site-packages/oci/management_agent/models/management_agent_summary.py
# coding: utf-8
# Copyright (c) 2016, 2024, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200202


from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel  # noqa: F401
from oci.decorators import init_model_state_from_kwargs


@init_model_state_from_kwargs
class ManagementAgentSummary(object):
    """
    The summary of the Management Agent inventory including the associated plugins.
    """

    #: A constant which can be used with the platform_type property of a ManagementAgentSummary.
    #: This constant has a value of "LINUX"
    PLATFORM_TYPE_LINUX = "LINUX"

    #: A constant which can be used with the platform_type property of a ManagementAgentSummary.
    #: This constant has a value of "WINDOWS"
    PLATFORM_TYPE_WINDOWS = "WINDOWS"

    #: A constant which can be used with the platform_type property of a ManagementAgentSummary.
    #: This constant has a value of "SOLARIS"
    PLATFORM_TYPE_SOLARIS = "SOLARIS"

    #: A constant which can be used with the platform_type property of a ManagementAgentSummary.
    #: This constant has a value of "MACOSX"
    PLATFORM_TYPE_MACOSX = "MACOSX"

    #: A constant which can be used with the availability_status property of a ManagementAgentSummary.
    #: This constant has a value of "ACTIVE"
    AVAILABILITY_STATUS_ACTIVE = "ACTIVE"

    #: A constant which can be used with the availability_status property of a ManagementAgentSummary.
    #: This constant has a value of "SILENT"
    AVAILABILITY_STATUS_SILENT = "SILENT"

    #: A constant which can be used with the availability_status property of a ManagementAgentSummary.
    #: This constant has a value of "NOT_AVAILABLE"
    AVAILABILITY_STATUS_NOT_AVAILABLE = "NOT_AVAILABLE"

    #: A constant which can be used with the lifecycle_state property of a ManagementAgentSummary.
    #: This constant has a value of "CREATING"
    LIFECYCLE_STATE_CREATING = "CREATING"

    #: A constant which can be used with the lifecycle_state property of a ManagementAgentSummary.
    #: This constant has a value of "UPDATING"
    LIFECYCLE_STATE_UPDATING = "UPDATING"

    #: A constant which can be used with the lifecycle_state property of a ManagementAgentSummary.
    #: This constant has a value of "ACTIVE"
    LIFECYCLE_STATE_ACTIVE = "ACTIVE"

    #: A constant which can be used with the lifecycle_state property of a ManagementAgentSummary.
    #: This constant has a value of "INACTIVE"
    LIFECYCLE_STATE_INACTIVE = "INACTIVE"

    #: A constant which can be used with the lifecycle_state property of a ManagementAgentSummary.
    #: This constant has a value of "TERMINATED"
    LIFECYCLE_STATE_TERMINATED = "TERMINATED"

    #: A constant which can be used with the lifecycle_state property of a ManagementAgentSummary.
    #: This constant has a value of "DELETING"
    LIFECYCLE_STATE_DELETING = "DELETING"

    #: A constant which can be used with the lifecycle_state property of a ManagementAgentSummary.
    #: This constant has a value of "DELETED"
    LIFECYCLE_STATE_DELETED = "DELETED"

    #: A constant which can be used with the lifecycle_state property of a ManagementAgentSummary.
    #: This constant has a value of "FAILED"
    LIFECYCLE_STATE_FAILED = "FAILED"

    #: A constant which can be used with the install_type property of a ManagementAgentSummary.
    #: This constant has a value of "AGENT"
    INSTALL_TYPE_AGENT = "AGENT"

    #: A constant which can be used with the install_type property of a ManagementAgentSummary.
    #: This constant has a value of "GATEWAY"
    INSTALL_TYPE_GATEWAY = "GATEWAY"

    def __init__(self, **kwargs):
        """
        Initializes a new ManagementAgentSummary object with values from keyword arguments.
        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 ManagementAgentSummary.
        :type id: str

        :param install_key_id:
            The value to assign to the install_key_id property of this ManagementAgentSummary.
        :type install_key_id: str

        :param display_name:
            The value to assign to the display_name property of this ManagementAgentSummary.
        :type display_name: str

        :param platform_type:
            The value to assign to the platform_type property of this ManagementAgentSummary.
            Allowed values for this property are: "LINUX", "WINDOWS", "SOLARIS", "MACOSX", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type platform_type: str

        :param platform_name:
            The value to assign to the platform_name property of this ManagementAgentSummary.
        :type platform_name: str

        :param platform_version:
            The value to assign to the platform_version property of this ManagementAgentSummary.
        :type platform_version: str

        :param version:
            The value to assign to the version property of this ManagementAgentSummary.
        :type version: str

        :param resource_artifact_version:
            The value to assign to the resource_artifact_version property of this ManagementAgentSummary.
        :type resource_artifact_version: str

        :param is_agent_auto_upgradable:
            The value to assign to the is_agent_auto_upgradable property of this ManagementAgentSummary.
        :type is_agent_auto_upgradable: bool

        :param time_created:
            The value to assign to the time_created property of this ManagementAgentSummary.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this ManagementAgentSummary.
        :type time_updated: datetime

        :param host:
            The value to assign to the host property of this ManagementAgentSummary.
        :type host: str

        :param host_id:
            The value to assign to the host_id property of this ManagementAgentSummary.
        :type host_id: str

        :param plugin_list:
            The value to assign to the plugin_list property of this ManagementAgentSummary.
        :type plugin_list: list[oci.management_agent.models.ManagementAgentPluginDetails]

        :param compartment_id:
            The value to assign to the compartment_id property of this ManagementAgentSummary.
        :type compartment_id: str

        :param time_last_heartbeat:
            The value to assign to the time_last_heartbeat property of this ManagementAgentSummary.
        :type time_last_heartbeat: datetime

        :param availability_status:
            The value to assign to the availability_status property of this ManagementAgentSummary.
            Allowed values for this property are: "ACTIVE", "SILENT", "NOT_AVAILABLE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type availability_status: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this ManagementAgentSummary.
            Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "TERMINATED", "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 lifecycle_details:
            The value to assign to the lifecycle_details property of this ManagementAgentSummary.
        :type lifecycle_details: str

        :param is_customer_deployed:
            The value to assign to the is_customer_deployed property of this ManagementAgentSummary.
        :type is_customer_deployed: bool

        :param install_type:
            The value to assign to the install_type property of this ManagementAgentSummary.
            Allowed values for this property are: "AGENT", "GATEWAY", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type install_type: str

        :param data_source_summary_list:
            The value to assign to the data_source_summary_list property of this ManagementAgentSummary.
        :type data_source_summary_list: list[oci.management_agent.models.DataSourceSummaryItem]

        :param freeform_tags:
            The value to assign to the freeform_tags property of this ManagementAgentSummary.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this ManagementAgentSummary.
        :type defined_tags: dict(str, dict(str, object))

        """
        self.swagger_types = {
            'id': 'str',
            'install_key_id': 'str',
            'display_name': 'str',
            'platform_type': 'str',
            'platform_name': 'str',
            'platform_version': 'str',
            'version': 'str',
            'resource_artifact_version': 'str',
            'is_agent_auto_upgradable': 'bool',
            'time_created': 'datetime',
            'time_updated': 'datetime',
            'host': 'str',
            'host_id': 'str',
            'plugin_list': 'list[ManagementAgentPluginDetails]',
            'compartment_id': 'str',
            'time_last_heartbeat': 'datetime',
            'availability_status': 'str',
            'lifecycle_state': 'str',
            'lifecycle_details': 'str',
            'is_customer_deployed': 'bool',
            'install_type': 'str',
            'data_source_summary_list': 'list[DataSourceSummaryItem]',
            'freeform_tags': 'dict(str, str)',
            'defined_tags': 'dict(str, dict(str, object))'
        }

        self.attribute_map = {
            'id': 'id',
            'install_key_id': 'installKeyId',
            'display_name': 'displayName',
            'platform_type': 'platformType',
            'platform_name': 'platformName',
            'platform_version': 'platformVersion',
            'version': 'version',
            'resource_artifact_version': 'resourceArtifactVersion',
            'is_agent_auto_upgradable': 'isAgentAutoUpgradable',
            'time_created': 'timeCreated',
            'time_updated': 'timeUpdated',
            'host': 'host',
            'host_id': 'hostId',
            'plugin_list': 'pluginList',
            'compartment_id': 'compartmentId',
            'time_last_heartbeat': 'timeLastHeartbeat',
            'availability_status': 'availabilityStatus',
            'lifecycle_state': 'lifecycleState',
            'lifecycle_details': 'lifecycleDetails',
            'is_customer_deployed': 'isCustomerDeployed',
            'install_type': 'installType',
            'data_source_summary_list': 'dataSourceSummaryList',
            'freeform_tags': 'freeformTags',
            'defined_tags': 'definedTags'
        }

        self._id = None
        self._install_key_id = None
        self._display_name = None
        self._platform_type = None
        self._platform_name = None
        self._platform_version = None
        self._version = None
        self._resource_artifact_version = None
        self._is_agent_auto_upgradable = None
        self._time_created = None
        self._time_updated = None
        self._host = None
        self._host_id = None
        self._plugin_list = None
        self._compartment_id = None
        self._time_last_heartbeat = None
        self._availability_status = None
        self._lifecycle_state = None
        self._lifecycle_details = None
        self._is_customer_deployed = None
        self._install_type = None
        self._data_source_summary_list = None
        self._freeform_tags = None
        self._defined_tags = None

    @property
    def id(self):
        """
        **[Required]** Gets the id of this ManagementAgentSummary.
        agent identifier


        :return: The id of this ManagementAgentSummary.
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """
        Sets the id of this ManagementAgentSummary.
        agent identifier


        :param id: The id of this ManagementAgentSummary.
        :type: str
        """
        self._id = id

    @property
    def install_key_id(self):
        """
        Gets the install_key_id of this ManagementAgentSummary.
        agent install key identifier


        :return: The install_key_id of this ManagementAgentSummary.
        :rtype: str
        """
        return self._install_key_id

    @install_key_id.setter
    def install_key_id(self, install_key_id):
        """
        Sets the install_key_id of this ManagementAgentSummary.
        agent install key identifier


        :param install_key_id: The install_key_id of this ManagementAgentSummary.
        :type: str
        """
        self._install_key_id = install_key_id

    @property
    def display_name(self):
        """
        Gets the display_name of this ManagementAgentSummary.
        Management Agent Name


        :return: The display_name of this ManagementAgentSummary.
        :rtype: str
        """
        return self._display_name

    @display_name.setter
    def display_name(self, display_name):
        """
        Sets the display_name of this ManagementAgentSummary.
        Management Agent Name


        :param display_name: The display_name of this ManagementAgentSummary.
        :type: str
        """
        self._display_name = display_name

    @property
    def platform_type(self):
        """
        Gets the platform_type of this ManagementAgentSummary.
        Platform Type

        Allowed values for this property are: "LINUX", "WINDOWS", "SOLARIS", "MACOSX", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The platform_type of this ManagementAgentSummary.
        :rtype: str
        """
        return self._platform_type

    @platform_type.setter
    def platform_type(self, platform_type):
        """
        Sets the platform_type of this ManagementAgentSummary.
        Platform Type


        :param platform_type: The platform_type of this ManagementAgentSummary.
        :type: str
        """
        allowed_values = ["LINUX", "WINDOWS", "SOLARIS", "MACOSX"]
        if not value_allowed_none_or_none_sentinel(platform_type, allowed_values):
            platform_type = 'UNKNOWN_ENUM_VALUE'
        self._platform_type = platform_type

    @property
    def platform_name(self):
        """
        Gets the platform_name of this ManagementAgentSummary.
        Platform Name


        :return: The platform_name of this ManagementAgentSummary.
        :rtype: str
        """
        return self._platform_name

    @platform_name.setter
    def platform_name(self, platform_name):
        """
        Sets the platform_name of this ManagementAgentSummary.
        Platform Name


        :param platform_name: The platform_name of this ManagementAgentSummary.
        :type: str
        """
        self._platform_name = platform_name

    @property
    def platform_version(self):
        """
        Gets the platform_version of this ManagementAgentSummary.
        Platform Version


        :return: The platform_version of this ManagementAgentSummary.
        :rtype: str
        """
        return self._platform_version

    @platform_version.setter
    def platform_version(self, platform_version):
        """
        Sets the platform_version of this ManagementAgentSummary.
        Platform Version


        :param platform_version: The platform_version of this ManagementAgentSummary.
        :type: str
        """
        self._platform_version = platform_version

    @property
    def version(self):
        """
        **[Required]** Gets the version of this ManagementAgentSummary.
        Management Agent Version


        :return: The version of this ManagementAgentSummary.
        :rtype: str
        """
        return self._version

    @version.setter
    def version(self, version):
        """
        Sets the version of this ManagementAgentSummary.
        Management Agent Version


        :param version: The version of this ManagementAgentSummary.
        :type: str
        """
        self._version = version

    @property
    def resource_artifact_version(self):
        """
        Gets the resource_artifact_version of this ManagementAgentSummary.
        Version of the deployment artifact instantiated by this Management Agent.
        The format for Standalone resourceMode is YYMMDD.HHMM, and the format for other modes
        (whose artifacts are based upon Standalone but can advance independently)
        is YYMMDD.HHMM.VVVVVVVVVVVV.
        VVVVVVVVVVVV is always a numeric value between 000000000000 and 999999999999


        :return: The resource_artifact_version of this ManagementAgentSummary.
        :rtype: str
        """
        return self._resource_artifact_version

    @resource_artifact_version.setter
    def resource_artifact_version(self, resource_artifact_version):
        """
        Sets the resource_artifact_version of this ManagementAgentSummary.
        Version of the deployment artifact instantiated by this Management Agent.
        The format for Standalone resourceMode is YYMMDD.HHMM, and the format for other modes
        (whose artifacts are based upon Standalone but can advance independently)
        is YYMMDD.HHMM.VVVVVVVVVVVV.
        VVVVVVVVVVVV is always a numeric value between 000000000000 and 999999999999


        :param resource_artifact_version: The resource_artifact_version of this ManagementAgentSummary.
        :type: str
        """
        self._resource_artifact_version = resource_artifact_version

    @property
    def is_agent_auto_upgradable(self):
        """
        Gets the is_agent_auto_upgradable of this ManagementAgentSummary.
        true if the agent can be upgraded automatically; false if it must be upgraded manually. This flag is derived from the tenancy level auto upgrade preference.


        :return: The is_agent_auto_upgradable of this ManagementAgentSummary.
        :rtype: bool
        """
        return self._is_agent_auto_upgradable

    @is_agent_auto_upgradable.setter
    def is_agent_auto_upgradable(self, is_agent_auto_upgradable):
        """
        Sets the is_agent_auto_upgradable of this ManagementAgentSummary.
        true if the agent can be upgraded automatically; false if it must be upgraded manually. This flag is derived from the tenancy level auto upgrade preference.


        :param is_agent_auto_upgradable: The is_agent_auto_upgradable of this ManagementAgentSummary.
        :type: bool
        """
        self._is_agent_auto_upgradable = is_agent_auto_upgradable

    @property
    def time_created(self):
        """
        Gets the time_created of this ManagementAgentSummary.
        The time the Management Agent was created. An RFC3339 formatted datetime string


        :return: The time_created of this ManagementAgentSummary.
        :rtype: datetime
        """
        return self._time_created

    @time_created.setter
    def time_created(self, time_created):
        """
        Sets the time_created of this ManagementAgentSummary.
        The time the Management Agent was created. An RFC3339 formatted datetime string


        :param time_created: The time_created of this ManagementAgentSummary.
        :type: datetime
        """
        self._time_created = time_created

    @property
    def time_updated(self):
        """
        Gets the time_updated of this ManagementAgentSummary.
        The time the Management Agent was last updated. An RFC3339 formatted datetime string


        :return: The time_updated of this ManagementAgentSummary.
        :rtype: datetime
        """
        return self._time_updated

    @time_updated.setter
    def time_updated(self, time_updated):
        """
        Sets the time_updated of this ManagementAgentSummary.
        The time the Management Agent was last updated. An RFC3339 formatted datetime string


        :param time_updated: The time_updated of this ManagementAgentSummary.
        :type: datetime
        """
        self._time_updated = time_updated

    @property
    def host(self):
        """
        Gets the host of this ManagementAgentSummary.
        Management Agent host machine name


        :return: The host of this ManagementAgentSummary.
        :rtype: str
        """
        return self._host

    @host.setter
    def host(self, host):
        """
        Sets the host of this ManagementAgentSummary.
        Management Agent host machine name


        :param host: The host of this ManagementAgentSummary.
        :type: str
        """
        self._host = host

    @property
    def host_id(self):
        """
        Gets the host_id of this ManagementAgentSummary.
        Host resource ocid


        :return: The host_id of this ManagementAgentSummary.
        :rtype: str
        """
        return self._host_id

    @host_id.setter
    def host_id(self, host_id):
        """
        Sets the host_id of this ManagementAgentSummary.
        Host resource ocid


        :param host_id: The host_id of this ManagementAgentSummary.
        :type: str
        """
        self._host_id = host_id

    @property
    def plugin_list(self):
        """
        Gets the plugin_list of this ManagementAgentSummary.
        list of managementAgentPlugins associated with the agent


        :return: The plugin_list of this ManagementAgentSummary.
        :rtype: list[oci.management_agent.models.ManagementAgentPluginDetails]
        """
        return self._plugin_list

    @plugin_list.setter
    def plugin_list(self, plugin_list):
        """
        Sets the plugin_list of this ManagementAgentSummary.
        list of managementAgentPlugins associated with the agent


        :param plugin_list: The plugin_list of this ManagementAgentSummary.
        :type: list[oci.management_agent.models.ManagementAgentPluginDetails]
        """
        self._plugin_list = plugin_list

    @property
    def compartment_id(self):
        """
        **[Required]** Gets the compartment_id of this ManagementAgentSummary.
        Compartment Identifier


        :return: The compartment_id of this ManagementAgentSummary.
        :rtype: str
        """
        return self._compartment_id

    @compartment_id.setter
    def compartment_id(self, compartment_id):
        """
        Sets the compartment_id of this ManagementAgentSummary.
        Compartment Identifier


        :param compartment_id: The compartment_id of this ManagementAgentSummary.
        :type: str
        """
        self._compartment_id = compartment_id

    @property
    def time_last_heartbeat(self):
        """
        Gets the time_last_heartbeat of this ManagementAgentSummary.
        The time the Management Agent has last recorded its heartbeat. An RFC3339 formatted datetime string


        :return: The time_last_heartbeat of this ManagementAgentSummary.
        :rtype: datetime
        """
        return self._time_last_heartbeat

    @time_last_heartbeat.setter
    def time_last_heartbeat(self, time_last_heartbeat):
        """
        Sets the time_last_heartbeat of this ManagementAgentSummary.
        The time the Management Agent has last recorded its heartbeat. An RFC3339 formatted datetime string


        :param time_last_heartbeat: The time_last_heartbeat of this ManagementAgentSummary.
        :type: datetime
        """
        self._time_last_heartbeat = time_last_heartbeat

    @property
    def availability_status(self):
        """
        Gets the availability_status of this ManagementAgentSummary.
        The current availability status of managementAgent

        Allowed values for this property are: "ACTIVE", "SILENT", "NOT_AVAILABLE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The availability_status of this ManagementAgentSummary.
        :rtype: str
        """
        return self._availability_status

    @availability_status.setter
    def availability_status(self, availability_status):
        """
        Sets the availability_status of this ManagementAgentSummary.
        The current availability status of managementAgent


        :param availability_status: The availability_status of this ManagementAgentSummary.
        :type: str
        """
        allowed_values = ["ACTIVE", "SILENT", "NOT_AVAILABLE"]
        if not value_allowed_none_or_none_sentinel(availability_status, allowed_values):
            availability_status = 'UNKNOWN_ENUM_VALUE'
        self._availability_status = availability_status

    @property
    def lifecycle_state(self):
        """
        Gets the lifecycle_state of this ManagementAgentSummary.
        The current state of managementAgent

        Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "TERMINATED", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this ManagementAgentSummary.
        :rtype: str
        """
        return self._lifecycle_state

    @lifecycle_state.setter
    def lifecycle_state(self, lifecycle_state):
        """
        Sets the lifecycle_state of this ManagementAgentSummary.
        The current state of managementAgent


        :param lifecycle_state: The lifecycle_state of this ManagementAgentSummary.
        :type: str
        """
        allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "TERMINATED", "DELETING", "DELETED", "FAILED"]
        if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
            lifecycle_state = 'UNKNOWN_ENUM_VALUE'
        self._lifecycle_state = lifecycle_state

    @property
    def lifecycle_details(self):
        """
        Gets the lifecycle_details of this ManagementAgentSummary.
        A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.


        :return: The lifecycle_details of this ManagementAgentSummary.
        :rtype: str
        """
        return self._lifecycle_details

    @lifecycle_details.setter
    def lifecycle_details(self, lifecycle_details):
        """
        Sets the lifecycle_details of this ManagementAgentSummary.
        A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.


        :param lifecycle_details: The lifecycle_details of this ManagementAgentSummary.
        :type: str
        """
        self._lifecycle_details = lifecycle_details

    @property
    def is_customer_deployed(self):
        """
        Gets the is_customer_deployed of this ManagementAgentSummary.
        true, if the agent image is manually downloaded and installed. false, if the agent is deployed as a plugin in Oracle Cloud Agent.


        :return: The is_customer_deployed of this ManagementAgentSummary.
        :rtype: bool
        """
        return self._is_customer_deployed

    @is_customer_deployed.setter
    def is_customer_deployed(self, is_customer_deployed):
        """
        Sets the is_customer_deployed of this ManagementAgentSummary.
        true, if the agent image is manually downloaded and installed. false, if the agent is deployed as a plugin in Oracle Cloud Agent.


        :param is_customer_deployed: The is_customer_deployed of this ManagementAgentSummary.
        :type: bool
        """
        self._is_customer_deployed = is_customer_deployed

    @property
    def install_type(self):
        """
        Gets the install_type of this ManagementAgentSummary.
        The install type, either AGENT or GATEWAY

        Allowed values for this property are: "AGENT", "GATEWAY", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The install_type of this ManagementAgentSummary.
        :rtype: str
        """
        return self._install_type

    @install_type.setter
    def install_type(self, install_type):
        """
        Sets the install_type of this ManagementAgentSummary.
        The install type, either AGENT or GATEWAY


        :param install_type: The install_type of this ManagementAgentSummary.
        :type: str
        """
        allowed_values = ["AGENT", "GATEWAY"]
        if not value_allowed_none_or_none_sentinel(install_type, allowed_values):
            install_type = 'UNKNOWN_ENUM_VALUE'
        self._install_type = install_type

    @property
    def data_source_summary_list(self):
        """
        Gets the data_source_summary_list of this ManagementAgentSummary.
        list of dataSources summaries associated with the agent


        :return: The data_source_summary_list of this ManagementAgentSummary.
        :rtype: list[oci.management_agent.models.DataSourceSummaryItem]
        """
        return self._data_source_summary_list

    @data_source_summary_list.setter
    def data_source_summary_list(self, data_source_summary_list):
        """
        Sets the data_source_summary_list of this ManagementAgentSummary.
        list of dataSources summaries associated with the agent


        :param data_source_summary_list: The data_source_summary_list of this ManagementAgentSummary.
        :type: list[oci.management_agent.models.DataSourceSummaryItem]
        """
        self._data_source_summary_list = data_source_summary_list

    @property
    def freeform_tags(self):
        """
        Gets the freeform_tags of this ManagementAgentSummary.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{\"bar-key\": \"value\"}`


        :return: The freeform_tags of this ManagementAgentSummary.
        :rtype: dict(str, str)
        """
        return self._freeform_tags

    @freeform_tags.setter
    def freeform_tags(self, freeform_tags):
        """
        Sets the freeform_tags of this ManagementAgentSummary.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{\"bar-key\": \"value\"}`


        :param freeform_tags: The freeform_tags of this ManagementAgentSummary.
        :type: dict(str, str)
        """
        self._freeform_tags = freeform_tags

    @property
    def defined_tags(self):
        """
        Gets the defined_tags of this ManagementAgentSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`


        :return: The defined_tags of this ManagementAgentSummary.
        :rtype: dict(str, dict(str, object))
        """
        return self._defined_tags

    @defined_tags.setter
    def defined_tags(self, defined_tags):
        """
        Sets the defined_tags of this ManagementAgentSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`


        :param defined_tags: The defined_tags of this ManagementAgentSummary.
        :type: dict(str, dict(str, object))
        """
        self._defined_tags = defined_tags

    def __repr__(self):
        return formatted_flat_dict(self)

    def __eq__(self, other):
        if other is None:
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        return not self == other

Youez - 2016 - github.com/yon3zu
LinuXploit