API Parameters
API parameters are types that you would import to provide as arguments to a Client.
- enum vshieldpy.api_defs.AutoRenew(value)
Auto-renew options.
Valid values are as follows:
- Enable = <AutoRenew.Enable: 1>
- Disable = <AutoRenew.Disable: 0>
- enum vshieldpy.api_defs.OperatingSystems(value)
Operating systems that can be installed on server’s and dedicated server’s.
Valid values are as follows:
- WindowsServer22 = <OperatingSystems.WindowsServer22: 'winserv22'>
- WindowsServer19 = <OperatingSystems.WindowsServer19: 'winserv19'>
- Debian10 = <OperatingSystems.Debian10: 'debian10'>
- Ubuntu20 = <OperatingSystems.Ubuntu20: 'ubuntu20'>
- Centos9 = <OperatingSystems.Centos9: 'centos9'>
- Custom = <OperatingSystems.Custom: ''>
- enum vshieldpy.api_defs.ServerActions(value)
Actions that can be performed on a server.
Valid values are as follows:
- Start = <ServerActions.Start: 'start'>
- Stop = <ServerActions.Stop: 'stop'>
- Reinstall = <ServerActions.Reinstall: 'reinstall'>
- Restart = <ServerActions.Restart: 'restart'>
- FixNetwork = <ServerActions.FixNetwork: 'fixnetwork'>
- ChangePass = <ServerActions.ChangePass: 'changepass'>
- RenewLicense = <ServerActions.RenewLicense: 'renewlicense'>
- enum vshieldpy.api_defs.ServiceActions(value)
Actions that can be performed on a Dedicated Server.
Valid values are as follows:
- Start = <ServiceActions.Start: 'start'>
- Stop = <ServiceActions.Stop: 'stop'>
- Reinstall = <ServiceActions.Reinstall: 'reinstall'>
- Restart = <ServiceActions.Restart: 'restart'>
- enum vshieldpy.api_defs.Actions(value)
All possible actions that can be performed on a service or server.
Valid values are as follows:
- Start = <Actions.Start: 'start'>
- Stop = <Actions.Stop: 'stop'>
- Reinstall = <Actions.Reinstall: 'reinstall'>
- Restart = <Actions.Restart: 'restart'>
- FixNetwork = <Actions.FixNetwork: 'fixnetwork'>
- ChangePass = <Actions.ChangePass: 'changepass'>
- RenewLicense = <Actions.RenewLicense: 'renewlicense'>
- enum vshieldpy.api_defs.Plans(value)
Server plans that vShield offers.
Valid values are as follows:
- VDS_1 = <Plans.VDS_1: 1>
- VDS_2 = <Plans.VDS_2: 2>
- VDS_3 = <Plans.VDS_3: 3>
- VDS_PRO_BRONZE = <Plans.VDS_PRO_BRONZE: 4>
- VDS_PRO_SILVER = <Plans.VDS_PRO_SILVER: 5>
- VDS_PRO_GOLD = <Plans.VDS_PRO_GOLD: 6>
- VDS_PRO_DIAMOND = <Plans.VDS_PRO_DIAMOND: 7>
- VDS_PRO_ENTERPRISE = <Plans.VDS_PRO_ENTERPRISE: 8>
- VPS_S = <Plans.VPS_S: 9>
- VPS_M = <Plans.VPS_M: 10>
- VPS_L = <Plans.VPS_L: 11>
- VPS_XL = <Plans.VPS_XL: 12>