Server IP : 103.119.228.120 / Your IP : 3.142.53.151 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/stack_monitoring/models/ |
Upload File : |
# 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: 20210330 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 DiscoveryDetails(object): """ The request of DiscoveryJob Resource details. """ #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "WEBLOGIC_DOMAIN" RESOURCE_TYPE_WEBLOGIC_DOMAIN = "WEBLOGIC_DOMAIN" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "EBS_INSTANCE" RESOURCE_TYPE_EBS_INSTANCE = "EBS_INSTANCE" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "SQL_SERVER" RESOURCE_TYPE_SQL_SERVER = "SQL_SERVER" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "APACHE_TOMCAT" RESOURCE_TYPE_APACHE_TOMCAT = "APACHE_TOMCAT" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "ORACLE_DATABASE" RESOURCE_TYPE_ORACLE_DATABASE = "ORACLE_DATABASE" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "OCI_ORACLE_DB" RESOURCE_TYPE_OCI_ORACLE_DB = "OCI_ORACLE_DB" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "OCI_ORACLE_CDB" RESOURCE_TYPE_OCI_ORACLE_CDB = "OCI_ORACLE_CDB" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "OCI_ORACLE_PDB" RESOURCE_TYPE_OCI_ORACLE_PDB = "OCI_ORACLE_PDB" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "HOST" RESOURCE_TYPE_HOST = "HOST" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "ORACLE_PSFT" RESOURCE_TYPE_ORACLE_PSFT = "ORACLE_PSFT" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "ORACLE_MFT" RESOURCE_TYPE_ORACLE_MFT = "ORACLE_MFT" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "APACHE_HTTP_SERVER" RESOURCE_TYPE_APACHE_HTTP_SERVER = "APACHE_HTTP_SERVER" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "ORACLE_GOLDENGATE" RESOURCE_TYPE_ORACLE_GOLDENGATE = "ORACLE_GOLDENGATE" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "CUSTOM_RESOURCE" RESOURCE_TYPE_CUSTOM_RESOURCE = "CUSTOM_RESOURCE" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "ORACLE_HTTP_SERVER" RESOURCE_TYPE_ORACLE_HTTP_SERVER = "ORACLE_HTTP_SERVER" #: A constant which can be used with the resource_type property of a DiscoveryDetails. #: This constant has a value of "MICROSOFT_IIS" RESOURCE_TYPE_MICROSOFT_IIS = "MICROSOFT_IIS" #: A constant which can be used with the license property of a DiscoveryDetails. #: This constant has a value of "STANDARD_EDITION" LICENSE_STANDARD_EDITION = "STANDARD_EDITION" #: A constant which can be used with the license property of a DiscoveryDetails. #: This constant has a value of "ENTERPRISE_EDITION" LICENSE_ENTERPRISE_EDITION = "ENTERPRISE_EDITION" def __init__(self, **kwargs): """ Initializes a new DiscoveryDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param agent_id: The value to assign to the agent_id property of this DiscoveryDetails. :type agent_id: str :param resource_type: The value to assign to the resource_type property of this DiscoveryDetails. Allowed values for this property are: "WEBLOGIC_DOMAIN", "EBS_INSTANCE", "SQL_SERVER", "APACHE_TOMCAT", "ORACLE_DATABASE", "OCI_ORACLE_DB", "OCI_ORACLE_CDB", "OCI_ORACLE_PDB", "HOST", "ORACLE_PSFT", "ORACLE_MFT", "APACHE_HTTP_SERVER", "ORACLE_GOLDENGATE", "CUSTOM_RESOURCE", "ORACLE_HTTP_SERVER", "MICROSOFT_IIS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type resource_type: str :param resource_name: The value to assign to the resource_name property of this DiscoveryDetails. :type resource_name: str :param license: The value to assign to the license property of this DiscoveryDetails. 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'. :type license: str :param properties: The value to assign to the properties property of this DiscoveryDetails. :type properties: oci.stack_monitoring.models.PropertyDetails :param credentials: The value to assign to the credentials property of this DiscoveryDetails. :type credentials: oci.stack_monitoring.models.CredentialCollection :param tags: The value to assign to the tags property of this DiscoveryDetails. :type tags: oci.stack_monitoring.models.PropertyDetails """ self.swagger_types = { 'agent_id': 'str', 'resource_type': 'str', 'resource_name': 'str', 'license': 'str', 'properties': 'PropertyDetails', 'credentials': 'CredentialCollection', 'tags': 'PropertyDetails' } self.attribute_map = { 'agent_id': 'agentId', 'resource_type': 'resourceType', 'resource_name': 'resourceName', 'license': 'license', 'properties': 'properties', 'credentials': 'credentials', 'tags': 'tags' } self._agent_id = None self._resource_type = None self._resource_name = None self._license = None self._properties = None self._credentials = None self._tags = None @property def agent_id(self): """ **[Required]** Gets the agent_id of this DiscoveryDetails. The OCID of Management Agent :return: The agent_id of this DiscoveryDetails. :rtype: str """ return self._agent_id @agent_id.setter def agent_id(self, agent_id): """ Sets the agent_id of this DiscoveryDetails. The OCID of Management Agent :param agent_id: The agent_id of this DiscoveryDetails. :type: str """ self._agent_id = agent_id @property def resource_type(self): """ **[Required]** Gets the resource_type of this DiscoveryDetails. Resource Type. Allowed values for this property are: "WEBLOGIC_DOMAIN", "EBS_INSTANCE", "SQL_SERVER", "APACHE_TOMCAT", "ORACLE_DATABASE", "OCI_ORACLE_DB", "OCI_ORACLE_CDB", "OCI_ORACLE_PDB", "HOST", "ORACLE_PSFT", "ORACLE_MFT", "APACHE_HTTP_SERVER", "ORACLE_GOLDENGATE", "CUSTOM_RESOURCE", "ORACLE_HTTP_SERVER", "MICROSOFT_IIS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The resource_type of this DiscoveryDetails. :rtype: str """ return self._resource_type @resource_type.setter def resource_type(self, resource_type): """ Sets the resource_type of this DiscoveryDetails. Resource Type. :param resource_type: The resource_type of this DiscoveryDetails. :type: str """ allowed_values = ["WEBLOGIC_DOMAIN", "EBS_INSTANCE", "SQL_SERVER", "APACHE_TOMCAT", "ORACLE_DATABASE", "OCI_ORACLE_DB", "OCI_ORACLE_CDB", "OCI_ORACLE_PDB", "HOST", "ORACLE_PSFT", "ORACLE_MFT", "APACHE_HTTP_SERVER", "ORACLE_GOLDENGATE", "CUSTOM_RESOURCE", "ORACLE_HTTP_SERVER", "MICROSOFT_IIS"] 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_name(self): """ **[Required]** Gets the resource_name of this DiscoveryDetails. The Name of resource type :return: The resource_name of this DiscoveryDetails. :rtype: str """ return self._resource_name @resource_name.setter def resource_name(self, resource_name): """ Sets the resource_name of this DiscoveryDetails. The Name of resource type :param resource_name: The resource_name of this DiscoveryDetails. :type: str """ self._resource_name = resource_name @property def license(self): """ Gets the license of this DiscoveryDetails. License edition of the monitored resource. 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'. :return: The license of this DiscoveryDetails. :rtype: str """ return self._license @license.setter def license(self, license): """ Sets the license of this DiscoveryDetails. License edition of the monitored resource. :param license: The license of this DiscoveryDetails. :type: str """ allowed_values = ["STANDARD_EDITION", "ENTERPRISE_EDITION"] if not value_allowed_none_or_none_sentinel(license, allowed_values): license = 'UNKNOWN_ENUM_VALUE' self._license = license @property def properties(self): """ **[Required]** Gets the properties of this DiscoveryDetails. :return: The properties of this DiscoveryDetails. :rtype: oci.stack_monitoring.models.PropertyDetails """ return self._properties @properties.setter def properties(self, properties): """ Sets the properties of this DiscoveryDetails. :param properties: The properties of this DiscoveryDetails. :type: oci.stack_monitoring.models.PropertyDetails """ self._properties = properties @property def credentials(self): """ Gets the credentials of this DiscoveryDetails. :return: The credentials of this DiscoveryDetails. :rtype: oci.stack_monitoring.models.CredentialCollection """ return self._credentials @credentials.setter def credentials(self, credentials): """ Sets the credentials of this DiscoveryDetails. :param credentials: The credentials of this DiscoveryDetails. :type: oci.stack_monitoring.models.CredentialCollection """ self._credentials = credentials @property def tags(self): """ Gets the tags of this DiscoveryDetails. :return: The tags of this DiscoveryDetails. :rtype: oci.stack_monitoring.models.PropertyDetails """ return self._tags @tags.setter def tags(self, tags): """ Sets the tags of this DiscoveryDetails. :param tags: The tags of this DiscoveryDetails. :type: oci.stack_monitoring.models.PropertyDetails """ self._tags = 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