403Webshell
Server IP : 103.119.228.120  /  Your IP : 18.216.174.32
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 :  /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/jms/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/jms/models/fleet_diagnosis_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: 20210610


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 FleetDiagnosisSummary(object):
    """
    Diagnosis of a resource needed by the fleet.
    """

    #: A constant which can be used with the resource_type property of a FleetDiagnosisSummary.
    #: This constant has a value of "INVENTORY_LOG"
    RESOURCE_TYPE_INVENTORY_LOG = "INVENTORY_LOG"

    #: A constant which can be used with the resource_type property of a FleetDiagnosisSummary.
    #: This constant has a value of "OPERATION_LOG"
    RESOURCE_TYPE_OPERATION_LOG = "OPERATION_LOG"

    #: A constant which can be used with the resource_type property of a FleetDiagnosisSummary.
    #: This constant has a value of "CRYPTO_SUMMARIZED_LOG"
    RESOURCE_TYPE_CRYPTO_SUMMARIZED_LOG = "CRYPTO_SUMMARIZED_LOG"

    #: A constant which can be used with the resource_type property of a FleetDiagnosisSummary.
    #: This constant has a value of "ANALYSIS_OSS_BUCKET"
    RESOURCE_TYPE_ANALYSIS_OSS_BUCKET = "ANALYSIS_OSS_BUCKET"

    #: A constant which can be used with the resource_state property of a FleetDiagnosisSummary.
    #: This constant has a value of "ACTIVE"
    RESOURCE_STATE_ACTIVE = "ACTIVE"

    #: A constant which can be used with the resource_state property of a FleetDiagnosisSummary.
    #: This constant has a value of "INACTIVE"
    RESOURCE_STATE_INACTIVE = "INACTIVE"

    #: A constant which can be used with the resource_state property of a FleetDiagnosisSummary.
    #: This constant has a value of "NOT_FOUND"
    RESOURCE_STATE_NOT_FOUND = "NOT_FOUND"

    #: A constant which can be used with the resource_state property of a FleetDiagnosisSummary.
    #: This constant has a value of "OTHER"
    RESOURCE_STATE_OTHER = "OTHER"

    def __init__(self, **kwargs):
        """
        Initializes a new FleetDiagnosisSummary object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param resource_type:
            The value to assign to the resource_type property of this FleetDiagnosisSummary.
            Allowed values for this property are: "INVENTORY_LOG", "OPERATION_LOG", "CRYPTO_SUMMARIZED_LOG", "ANALYSIS_OSS_BUCKET", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type resource_type: str

        :param resource_id:
            The value to assign to the resource_id property of this FleetDiagnosisSummary.
        :type resource_id: str

        :param resource_state:
            The value to assign to the resource_state property of this FleetDiagnosisSummary.
            Allowed values for this property are: "ACTIVE", "INACTIVE", "NOT_FOUND", "OTHER", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type resource_state: str

        :param resource_diagnosis:
            The value to assign to the resource_diagnosis property of this FleetDiagnosisSummary.
        :type resource_diagnosis: str

        """
        self.swagger_types = {
            'resource_type': 'str',
            'resource_id': 'str',
            'resource_state': 'str',
            'resource_diagnosis': 'str'
        }

        self.attribute_map = {
            'resource_type': 'resourceType',
            'resource_id': 'resourceId',
            'resource_state': 'resourceState',
            'resource_diagnosis': 'resourceDiagnosis'
        }

        self._resource_type = None
        self._resource_id = None
        self._resource_state = None
        self._resource_diagnosis = None

    @property
    def resource_type(self):
        """
        **[Required]** Gets the resource_type of this FleetDiagnosisSummary.
        The type of the resource needed by the fleet.
        This is the role of a resource in the fleet. Use the OCID to determine the actual OCI
        resource type such as log group or log.

        Allowed values for this property are: "INVENTORY_LOG", "OPERATION_LOG", "CRYPTO_SUMMARIZED_LOG", "ANALYSIS_OSS_BUCKET", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The resource_type of this FleetDiagnosisSummary.
        :rtype: str
        """
        return self._resource_type

    @resource_type.setter
    def resource_type(self, resource_type):
        """
        Sets the resource_type of this FleetDiagnosisSummary.
        The type of the resource needed by the fleet.
        This is the role of a resource in the fleet. Use the OCID to determine the actual OCI
        resource type such as log group or log.


        :param resource_type: The resource_type of this FleetDiagnosisSummary.
        :type: str
        """
        allowed_values = ["INVENTORY_LOG", "OPERATION_LOG", "CRYPTO_SUMMARIZED_LOG", "ANALYSIS_OSS_BUCKET"]
        if not value_allowed_none_or_none_sentinel(resource_type, allowed_values):
            resource_type = 'UNKNOWN_ENUM_VALUE'
        self._resource_type = resource_type

    @property
    def resource_id(self):
        """
        Gets the resource_id of this FleetDiagnosisSummary.
        The OCID of the external resouce needed by the fleet.


        :return: The resource_id of this FleetDiagnosisSummary.
        :rtype: str
        """
        return self._resource_id

    @resource_id.setter
    def resource_id(self, resource_id):
        """
        Sets the resource_id of this FleetDiagnosisSummary.
        The OCID of the external resouce needed by the fleet.


        :param resource_id: The resource_id of this FleetDiagnosisSummary.
        :type: str
        """
        self._resource_id = resource_id

    @property
    def resource_state(self):
        """
        Gets the resource_state of this FleetDiagnosisSummary.
        The state of the resource. The resource state is ACTIVE when it works properly for the fleet.
        In case it would cause an issue for the fleet function, the state is INACTIVE.
        When JMS can't locate the resource, the state is NOT_FOUND.
        OTHER covers other cases, such as a temporarily network issue that prevents JMS from detecting the
        resource. Check the resourceDiagnosis for details.

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


        :return: The resource_state of this FleetDiagnosisSummary.
        :rtype: str
        """
        return self._resource_state

    @resource_state.setter
    def resource_state(self, resource_state):
        """
        Sets the resource_state of this FleetDiagnosisSummary.
        The state of the resource. The resource state is ACTIVE when it works properly for the fleet.
        In case it would cause an issue for the fleet function, the state is INACTIVE.
        When JMS can't locate the resource, the state is NOT_FOUND.
        OTHER covers other cases, such as a temporarily network issue that prevents JMS from detecting the
        resource. Check the resourceDiagnosis for details.


        :param resource_state: The resource_state of this FleetDiagnosisSummary.
        :type: str
        """
        allowed_values = ["ACTIVE", "INACTIVE", "NOT_FOUND", "OTHER"]
        if not value_allowed_none_or_none_sentinel(resource_state, allowed_values):
            resource_state = 'UNKNOWN_ENUM_VALUE'
        self._resource_state = resource_state

    @property
    def resource_diagnosis(self):
        """
        Gets the resource_diagnosis of this FleetDiagnosisSummary.
        The diagnosis message.


        :return: The resource_diagnosis of this FleetDiagnosisSummary.
        :rtype: str
        """
        return self._resource_diagnosis

    @resource_diagnosis.setter
    def resource_diagnosis(self, resource_diagnosis):
        """
        Sets the resource_diagnosis of this FleetDiagnosisSummary.
        The diagnosis message.


        :param resource_diagnosis: The resource_diagnosis of this FleetDiagnosisSummary.
        :type: str
        """
        self._resource_diagnosis = resource_diagnosis

    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