Server IP : 103.119.228.120 / Your IP : 18.117.156.170 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/lib/mysqlsh/lib/python3.9/site-packages/oci/nosql/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: 20190828 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 TableUsageSummary(object): """ TableUsageSummary represents a single usage record, or slice, that includes information about read and write throughput consumed during that period as well as the current information regarding storage capacity. In addition the count of throttling exceptions for the period is reported. """ def __init__(self, **kwargs): """ Initializes a new TableUsageSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param seconds_in_period: The value to assign to the seconds_in_period property of this TableUsageSummary. :type seconds_in_period: int :param read_units: The value to assign to the read_units property of this TableUsageSummary. :type read_units: int :param write_units: The value to assign to the write_units property of this TableUsageSummary. :type write_units: int :param storage_in_g_bs: The value to assign to the storage_in_g_bs property of this TableUsageSummary. :type storage_in_g_bs: int :param read_throttle_count: The value to assign to the read_throttle_count property of this TableUsageSummary. :type read_throttle_count: int :param write_throttle_count: The value to assign to the write_throttle_count property of this TableUsageSummary. :type write_throttle_count: int :param storage_throttle_count: The value to assign to the storage_throttle_count property of this TableUsageSummary. :type storage_throttle_count: int :param max_shard_size_usage_in_percent: The value to assign to the max_shard_size_usage_in_percent property of this TableUsageSummary. :type max_shard_size_usage_in_percent: int :param time_started: The value to assign to the time_started property of this TableUsageSummary. :type time_started: datetime """ self.swagger_types = { 'seconds_in_period': 'int', 'read_units': 'int', 'write_units': 'int', 'storage_in_g_bs': 'int', 'read_throttle_count': 'int', 'write_throttle_count': 'int', 'storage_throttle_count': 'int', 'max_shard_size_usage_in_percent': 'int', 'time_started': 'datetime' } self.attribute_map = { 'seconds_in_period': 'secondsInPeriod', 'read_units': 'readUnits', 'write_units': 'writeUnits', 'storage_in_g_bs': 'storageInGBs', 'read_throttle_count': 'readThrottleCount', 'write_throttle_count': 'writeThrottleCount', 'storage_throttle_count': 'storageThrottleCount', 'max_shard_size_usage_in_percent': 'maxShardSizeUsageInPercent', 'time_started': 'timeStarted' } self._seconds_in_period = None self._read_units = None self._write_units = None self._storage_in_g_bs = None self._read_throttle_count = None self._write_throttle_count = None self._storage_throttle_count = None self._max_shard_size_usage_in_percent = None self._time_started = None @property def seconds_in_period(self): """ Gets the seconds_in_period of this TableUsageSummary. The length of the sampling period. :return: The seconds_in_period of this TableUsageSummary. :rtype: int """ return self._seconds_in_period @seconds_in_period.setter def seconds_in_period(self, seconds_in_period): """ Sets the seconds_in_period of this TableUsageSummary. The length of the sampling period. :param seconds_in_period: The seconds_in_period of this TableUsageSummary. :type: int """ self._seconds_in_period = seconds_in_period @property def read_units(self): """ Gets the read_units of this TableUsageSummary. Read throughput during the sampling period. :return: The read_units of this TableUsageSummary. :rtype: int """ return self._read_units @read_units.setter def read_units(self, read_units): """ Sets the read_units of this TableUsageSummary. Read throughput during the sampling period. :param read_units: The read_units of this TableUsageSummary. :type: int """ self._read_units = read_units @property def write_units(self): """ Gets the write_units of this TableUsageSummary. Write throughput during the sampling period. :return: The write_units of this TableUsageSummary. :rtype: int """ return self._write_units @write_units.setter def write_units(self, write_units): """ Sets the write_units of this TableUsageSummary. Write throughput during the sampling period. :param write_units: The write_units of this TableUsageSummary. :type: int """ self._write_units = write_units @property def storage_in_g_bs(self): """ Gets the storage_in_g_bs of this TableUsageSummary. The size of the table, in GB. :return: The storage_in_g_bs of this TableUsageSummary. :rtype: int """ return self._storage_in_g_bs @storage_in_g_bs.setter def storage_in_g_bs(self, storage_in_g_bs): """ Sets the storage_in_g_bs of this TableUsageSummary. The size of the table, in GB. :param storage_in_g_bs: The storage_in_g_bs of this TableUsageSummary. :type: int """ self._storage_in_g_bs = storage_in_g_bs @property def read_throttle_count(self): """ Gets the read_throttle_count of this TableUsageSummary. The number of times reads were throttled due to exceeding the read throughput limit. :return: The read_throttle_count of this TableUsageSummary. :rtype: int """ return self._read_throttle_count @read_throttle_count.setter def read_throttle_count(self, read_throttle_count): """ Sets the read_throttle_count of this TableUsageSummary. The number of times reads were throttled due to exceeding the read throughput limit. :param read_throttle_count: The read_throttle_count of this TableUsageSummary. :type: int """ self._read_throttle_count = read_throttle_count @property def write_throttle_count(self): """ Gets the write_throttle_count of this TableUsageSummary. The number of times writes were throttled due to exceeding the write throughput limit. :return: The write_throttle_count of this TableUsageSummary. :rtype: int """ return self._write_throttle_count @write_throttle_count.setter def write_throttle_count(self, write_throttle_count): """ Sets the write_throttle_count of this TableUsageSummary. The number of times writes were throttled due to exceeding the write throughput limit. :param write_throttle_count: The write_throttle_count of this TableUsageSummary. :type: int """ self._write_throttle_count = write_throttle_count @property def storage_throttle_count(self): """ Gets the storage_throttle_count of this TableUsageSummary. The number of times writes were throttled because the table exceeded its size limit. :return: The storage_throttle_count of this TableUsageSummary. :rtype: int """ return self._storage_throttle_count @storage_throttle_count.setter def storage_throttle_count(self, storage_throttle_count): """ Sets the storage_throttle_count of this TableUsageSummary. The number of times writes were throttled because the table exceeded its size limit. :param storage_throttle_count: The storage_throttle_count of this TableUsageSummary. :type: int """ self._storage_throttle_count = storage_throttle_count @property def max_shard_size_usage_in_percent(self): """ Gets the max_shard_size_usage_in_percent of this TableUsageSummary. The percentage of allowed per-shard usage for the table shard with the highest usage. :return: The max_shard_size_usage_in_percent of this TableUsageSummary. :rtype: int """ return self._max_shard_size_usage_in_percent @max_shard_size_usage_in_percent.setter def max_shard_size_usage_in_percent(self, max_shard_size_usage_in_percent): """ Sets the max_shard_size_usage_in_percent of this TableUsageSummary. The percentage of allowed per-shard usage for the table shard with the highest usage. :param max_shard_size_usage_in_percent: The max_shard_size_usage_in_percent of this TableUsageSummary. :type: int """ self._max_shard_size_usage_in_percent = max_shard_size_usage_in_percent @property def time_started(self): """ Gets the time_started of this TableUsageSummary. The time stamp of this usage record. :return: The time_started of this TableUsageSummary. :rtype: datetime """ return self._time_started @time_started.setter def time_started(self, time_started): """ Sets the time_started of this TableUsageSummary. The time stamp of this usage record. :param time_started: The time_started of this TableUsageSummary. :type: datetime """ self._time_started = time_started 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