Module: Ovh::Endpoints::Vps

Included in:
Client
Defined in:
lib/ovh/endpoints/vps.rb

Instance Method Summary collapse

Instance Method Details

#vps(options: {}) ⇒ Object



5
6
7
# File 'lib/ovh/endpoints/vps.rb', line 5

def vps(options: {})        
  get("/vps", options: options)
end

#vps_ip_countries_available(service_name, options: {}) ⇒ Object

Get the countries you can select for your IPs geolocation



15
16
17
# File 'lib/ovh/endpoints/vps.rb', line 15

def vps_ip_countries_available(service_name, options: {})        
  get("/vps/#{service_name}/ipCountryAvailable", options: options)
end

#vps_ips(service_name, options: {}) ⇒ Object

Ips associated to this virtual server



10
11
12
# File 'lib/ovh/endpoints/vps.rb', line 10

def vps_ips(service_name, options: {})        
  get("/vps/#{service_name}/ips", options: options)
end