Server IP : 103.119.228.120 / Your IP : 18.119.121.234 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/database_management/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: 20201101 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 JobDatabase(object): """ The Managed Database on which the job is executed. """ #: A constant which can be used with the database_type property of a JobDatabase. #: This constant has a value of "EXTERNAL_SIDB" DATABASE_TYPE_EXTERNAL_SIDB = "EXTERNAL_SIDB" #: A constant which can be used with the database_type property of a JobDatabase. #: This constant has a value of "EXTERNAL_RAC" DATABASE_TYPE_EXTERNAL_RAC = "EXTERNAL_RAC" #: A constant which can be used with the database_type property of a JobDatabase. #: This constant has a value of "CLOUD_SIDB" DATABASE_TYPE_CLOUD_SIDB = "CLOUD_SIDB" #: A constant which can be used with the database_type property of a JobDatabase. #: This constant has a value of "CLOUD_RAC" DATABASE_TYPE_CLOUD_RAC = "CLOUD_RAC" #: A constant which can be used with the database_type property of a JobDatabase. #: This constant has a value of "SHARED" DATABASE_TYPE_SHARED = "SHARED" #: A constant which can be used with the database_type property of a JobDatabase. #: This constant has a value of "DEDICATED" DATABASE_TYPE_DEDICATED = "DEDICATED" #: A constant which can be used with the database_sub_type property of a JobDatabase. #: This constant has a value of "CDB" DATABASE_SUB_TYPE_CDB = "CDB" #: A constant which can be used with the database_sub_type property of a JobDatabase. #: This constant has a value of "PDB" DATABASE_SUB_TYPE_PDB = "PDB" #: A constant which can be used with the database_sub_type property of a JobDatabase. #: This constant has a value of "NON_CDB" DATABASE_SUB_TYPE_NON_CDB = "NON_CDB" #: A constant which can be used with the database_sub_type property of a JobDatabase. #: This constant has a value of "ACD" DATABASE_SUB_TYPE_ACD = "ACD" #: A constant which can be used with the database_sub_type property of a JobDatabase. #: This constant has a value of "ADB" DATABASE_SUB_TYPE_ADB = "ADB" #: A constant which can be used with the deployment_type property of a JobDatabase. #: This constant has a value of "ONPREMISE" DEPLOYMENT_TYPE_ONPREMISE = "ONPREMISE" #: A constant which can be used with the deployment_type property of a JobDatabase. #: This constant has a value of "BM" DEPLOYMENT_TYPE_BM = "BM" #: A constant which can be used with the deployment_type property of a JobDatabase. #: This constant has a value of "VM" DEPLOYMENT_TYPE_VM = "VM" #: A constant which can be used with the deployment_type property of a JobDatabase. #: This constant has a value of "EXADATA" DEPLOYMENT_TYPE_EXADATA = "EXADATA" #: A constant which can be used with the deployment_type property of a JobDatabase. #: This constant has a value of "EXADATA_CC" DEPLOYMENT_TYPE_EXADATA_CC = "EXADATA_CC" #: A constant which can be used with the deployment_type property of a JobDatabase. #: This constant has a value of "AUTONOMOUS" DEPLOYMENT_TYPE_AUTONOMOUS = "AUTONOMOUS" #: A constant which can be used with the deployment_type property of a JobDatabase. #: This constant has a value of "EXADATA_XS" DEPLOYMENT_TYPE_EXADATA_XS = "EXADATA_XS" #: A constant which can be used with the workload_type property of a JobDatabase. #: This constant has a value of "OLTP" WORKLOAD_TYPE_OLTP = "OLTP" #: A constant which can be used with the workload_type property of a JobDatabase. #: This constant has a value of "DW" WORKLOAD_TYPE_DW = "DW" #: A constant which can be used with the workload_type property of a JobDatabase. #: This constant has a value of "AJD" WORKLOAD_TYPE_AJD = "AJD" #: A constant which can be used with the workload_type property of a JobDatabase. #: This constant has a value of "APEX" WORKLOAD_TYPE_APEX = "APEX" def __init__(self, **kwargs): """ Initializes a new JobDatabase 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 JobDatabase. :type id: str :param name: The value to assign to the name property of this JobDatabase. :type name: str :param database_type: The value to assign to the database_type property of this JobDatabase. Allowed values for this property are: "EXTERNAL_SIDB", "EXTERNAL_RAC", "CLOUD_SIDB", "CLOUD_RAC", "SHARED", "DEDICATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type database_type: str :param database_sub_type: The value to assign to the database_sub_type property of this JobDatabase. Allowed values for this property are: "CDB", "PDB", "NON_CDB", "ACD", "ADB", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type database_sub_type: str :param deployment_type: The value to assign to the deployment_type property of this JobDatabase. Allowed values for this property are: "ONPREMISE", "BM", "VM", "EXADATA", "EXADATA_CC", "AUTONOMOUS", "EXADATA_XS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type deployment_type: str :param is_cluster: The value to assign to the is_cluster property of this JobDatabase. :type is_cluster: bool :param workload_type: The value to assign to the workload_type property of this JobDatabase. Allowed values for this property are: "OLTP", "DW", "AJD", "APEX", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type workload_type: str """ self.swagger_types = { 'id': 'str', 'name': 'str', 'database_type': 'str', 'database_sub_type': 'str', 'deployment_type': 'str', 'is_cluster': 'bool', 'workload_type': 'str' } self.attribute_map = { 'id': 'id', 'name': 'name', 'database_type': 'databaseType', 'database_sub_type': 'databaseSubType', 'deployment_type': 'deploymentType', 'is_cluster': 'isCluster', 'workload_type': 'workloadType' } self._id = None self._name = None self._database_type = None self._database_sub_type = None self._deployment_type = None self._is_cluster = None self._workload_type = None @property def id(self): """ **[Required]** Gets the id of this JobDatabase. The `OCID`__ of the Managed Database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this JobDatabase. :rtype: str """ return self._id @id.setter def id(self, id): """ Sets the id of this JobDatabase. The `OCID`__ of the Managed Database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this JobDatabase. :type: str """ self._id = id @property def name(self): """ **[Required]** Gets the name of this JobDatabase. The name of the Managed Database. :return: The name of this JobDatabase. :rtype: str """ return self._name @name.setter def name(self, name): """ Sets the name of this JobDatabase. The name of the Managed Database. :param name: The name of this JobDatabase. :type: str """ self._name = name @property def database_type(self): """ Gets the database_type of this JobDatabase. The type of Oracle Database installation. Allowed values for this property are: "EXTERNAL_SIDB", "EXTERNAL_RAC", "CLOUD_SIDB", "CLOUD_RAC", "SHARED", "DEDICATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The database_type of this JobDatabase. :rtype: str """ return self._database_type @database_type.setter def database_type(self, database_type): """ Sets the database_type of this JobDatabase. The type of Oracle Database installation. :param database_type: The database_type of this JobDatabase. :type: str """ allowed_values = ["EXTERNAL_SIDB", "EXTERNAL_RAC", "CLOUD_SIDB", "CLOUD_RAC", "SHARED", "DEDICATED"] if not value_allowed_none_or_none_sentinel(database_type, allowed_values): database_type = 'UNKNOWN_ENUM_VALUE' self._database_type = database_type @property def database_sub_type(self): """ Gets the database_sub_type of this JobDatabase. The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. Allowed values for this property are: "CDB", "PDB", "NON_CDB", "ACD", "ADB", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The database_sub_type of this JobDatabase. :rtype: str """ return self._database_sub_type @database_sub_type.setter def database_sub_type(self, database_sub_type): """ Sets the database_sub_type of this JobDatabase. The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. :param database_sub_type: The database_sub_type of this JobDatabase. :type: str """ allowed_values = ["CDB", "PDB", "NON_CDB", "ACD", "ADB"] if not value_allowed_none_or_none_sentinel(database_sub_type, allowed_values): database_sub_type = 'UNKNOWN_ENUM_VALUE' self._database_sub_type = database_sub_type @property def deployment_type(self): """ Gets the deployment_type of this JobDatabase. A list of the supported infrastructure that can be used to deploy the database. Allowed values for this property are: "ONPREMISE", "BM", "VM", "EXADATA", "EXADATA_CC", "AUTONOMOUS", "EXADATA_XS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The deployment_type of this JobDatabase. :rtype: str """ return self._deployment_type @deployment_type.setter def deployment_type(self, deployment_type): """ Sets the deployment_type of this JobDatabase. A list of the supported infrastructure that can be used to deploy the database. :param deployment_type: The deployment_type of this JobDatabase. :type: str """ allowed_values = ["ONPREMISE", "BM", "VM", "EXADATA", "EXADATA_CC", "AUTONOMOUS", "EXADATA_XS"] if not value_allowed_none_or_none_sentinel(deployment_type, allowed_values): deployment_type = 'UNKNOWN_ENUM_VALUE' self._deployment_type = deployment_type @property def is_cluster(self): """ Gets the is_cluster of this JobDatabase. Indicates whether the Oracle Database is part of a cluster. :return: The is_cluster of this JobDatabase. :rtype: bool """ return self._is_cluster @is_cluster.setter def is_cluster(self, is_cluster): """ Sets the is_cluster of this JobDatabase. Indicates whether the Oracle Database is part of a cluster. :param is_cluster: The is_cluster of this JobDatabase. :type: bool """ self._is_cluster = is_cluster @property def workload_type(self): """ Gets the workload_type of this JobDatabase. The workload type of the Autonomous Database. Allowed values for this property are: "OLTP", "DW", "AJD", "APEX", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The workload_type of this JobDatabase. :rtype: str """ return self._workload_type @workload_type.setter def workload_type(self, workload_type): """ Sets the workload_type of this JobDatabase. The workload type of the Autonomous Database. :param workload_type: The workload_type of this JobDatabase. :type: str """ allowed_values = ["OLTP", "DW", "AJD", "APEX"] if not value_allowed_none_or_none_sentinel(workload_type, allowed_values): workload_type = 'UNKNOWN_ENUM_VALUE' self._workload_type = workload_type 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