Module ker.api.list

api list module

Expand source code
"""
api list module
"""
from enum import Enum


class API_LIST(Enum):
    """
    api uri list
    """
    ACCOUNT_QUOTA = '/quota'
    ACCOUNT_BALANCE = '/balance'
    SSH_LIST = '/listSshKey'
    SSH_CREATE = '/createSshKey'
    SSH_DELETE = '/deleteSshKey'
    SERVERS_LIST = '/listServers'
    SERVER_GET = '/getServer'
    SERVER_CREATE = '/createServer'
    SERVER_SET_POWER = '/setPower'
    SERVER_SET = '/setServer'
    SERVER_REINSTALL = '/reinstallServer'
    SERVER_DELETE = '/deleteServer'
    MONITOR_CPU = '/cpuMonitor'
    MONITOR_NET = '/netMonitor'
    MONITOR_NAT = '/natMonitor'
    MONITOR_IO = '/IOMonitor'
    DNS_LIST = '/dnsGetRecords'
    DNS_ADD = '/dnsAddRecord'
    DNS_EDIT = '/dnsEditRecord'
    DNS_DELETE = '/dnsDeleteRecord'

Classes

class API_LIST (*args, **kwargs)

api uri list

Expand source code
class API_LIST(Enum):
    """
    api uri list
    """
    ACCOUNT_QUOTA = '/quota'
    ACCOUNT_BALANCE = '/balance'
    SSH_LIST = '/listSshKey'
    SSH_CREATE = '/createSshKey'
    SSH_DELETE = '/deleteSshKey'
    SERVERS_LIST = '/listServers'
    SERVER_GET = '/getServer'
    SERVER_CREATE = '/createServer'
    SERVER_SET_POWER = '/setPower'
    SERVER_SET = '/setServer'
    SERVER_REINSTALL = '/reinstallServer'
    SERVER_DELETE = '/deleteServer'
    MONITOR_CPU = '/cpuMonitor'
    MONITOR_NET = '/netMonitor'
    MONITOR_NAT = '/natMonitor'
    MONITOR_IO = '/IOMonitor'
    DNS_LIST = '/dnsGetRecords'
    DNS_ADD = '/dnsAddRecord'
    DNS_EDIT = '/dnsEditRecord'
    DNS_DELETE = '/dnsDeleteRecord'

Ancestors

  • enum.Enum

Class variables

var ACCOUNT_BALANCE

api uri list

var ACCOUNT_QUOTA

api uri list

var DNS_ADD

api uri list

var DNS_DELETE

api uri list

var DNS_EDIT

api uri list

var DNS_LIST

api uri list

var MONITOR_CPU

api uri list

var MONITOR_IO

api uri list

var MONITOR_NAT

api uri list

var MONITOR_NET

api uri list

var SERVERS_LIST

api uri list

var SERVER_CREATE

api uri list

var SERVER_DELETE

api uri list

var SERVER_GET

api uri list

var SERVER_REINSTALL

api uri list

var SERVER_SET

api uri list

var SERVER_SET_POWER

api uri list

var SSH_CREATE

api uri list

var SSH_DELETE

api uri list

var SSH_LIST

api uri list