Class: Ovh::Api::Client
- Inherits:
-
Object
- Object
- Ovh::Api::Client
- Defined in:
- lib/ovh-api/client.rb
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
Instance Method Summary collapse
- #all_dom ⇒ Object
- #auth ⇒ Object
- #cdn ⇒ Object
- #cloud ⇒ Object
- #cluster ⇒ Object
- #connectivity ⇒ Object
- #contact ⇒ Object
- #dbaas ⇒ Object
- #dedicated ⇒ Object
- #dedicated_cloud ⇒ Object
- #domain ⇒ Object
- #email ⇒ Object
- #freefax ⇒ Object
- #horizon_view ⇒ Object
- #hosting ⇒ Object
-
#initialize(base_url: nil, **options, &block) ⇒ Client
constructor
A new instance of Client.
- #ip ⇒ Object
- #ip_loadbalancing ⇒ Object
- #license ⇒ Object
- #me ⇒ Object
- #metrics ⇒ Object
- #ms_services ⇒ Object
- #new_account ⇒ Object
- #nutanix ⇒ Object
- #order ⇒ Object
- #over_the_box ⇒ Object
- #ovh_cloud_connect ⇒ Object
- #pack ⇒ Object
- #partner ⇒ Object
- #price ⇒ Object
- #saas ⇒ Object
- #secret ⇒ Object
- #service ⇒ Object
- #services ⇒ Object
- #sms ⇒ Object
- #ssl ⇒ Object
- #ssl_gateway ⇒ Object
- #stack ⇒ Object
- #startup ⇒ Object
- #storage ⇒ Object
- #supply ⇒ Object
- #support ⇒ Object
- #telephony ⇒ Object
- #veeam ⇒ Object
- #veeam_cloud_connect ⇒ Object
- #vip ⇒ Object
- #vps ⇒ Object
- #vrack ⇒ Object
- #xdsl ⇒ Object
Constructor Details
#initialize(base_url: nil, **options, &block) ⇒ Client
Returns a new instance of Client.
7 8 9 10 |
# File 'lib/ovh-api/client.rb', line 7 def initialize(base_url: nil, **, &block) @configuration = Configuration.new(base_url: base_url, **, &block) @connection = Connection.new(@configuration) end |
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
5 6 7 |
# File 'lib/ovh-api/client.rb', line 5 def configuration @configuration end |
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
5 6 7 |
# File 'lib/ovh-api/client.rb', line 5 def connection @connection end |
Instance Method Details
#all_dom ⇒ Object
12 13 14 |
# File 'lib/ovh-api/client.rb', line 12 def all_dom @all_dom ||= Ovh::Api::Api::AllDom.new(@connection) end |
#auth ⇒ Object
16 17 18 |
# File 'lib/ovh-api/client.rb', line 16 def auth @auth ||= Ovh::Api::Api::Auth.new(@connection) end |
#cdn ⇒ Object
20 21 22 |
# File 'lib/ovh-api/client.rb', line 20 def cdn @cdn ||= Ovh::Api::Api::Cdn.new(@connection) end |
#cloud ⇒ Object
24 25 26 |
# File 'lib/ovh-api/client.rb', line 24 def cloud @cloud ||= Ovh::Api::Api::Cloud.new(@connection) end |
#cluster ⇒ Object
28 29 30 |
# File 'lib/ovh-api/client.rb', line 28 def cluster @cluster ||= Ovh::Api::Api::Cluster.new(@connection) end |
#connectivity ⇒ Object
32 33 34 |
# File 'lib/ovh-api/client.rb', line 32 def connectivity @connectivity ||= Ovh::Api::Api::Connectivity.new(@connection) end |
#contact ⇒ Object
36 37 38 |
# File 'lib/ovh-api/client.rb', line 36 def contact @contact ||= Ovh::Api::Api::Contact.new(@connection) end |
#dbaas ⇒ Object
40 41 42 |
# File 'lib/ovh-api/client.rb', line 40 def dbaas @dbaas ||= Ovh::Api::Api::Dbaas.new(@connection) end |
#dedicated ⇒ Object
44 45 46 |
# File 'lib/ovh-api/client.rb', line 44 def dedicated @dedicated ||= Ovh::Api::Api::Dedicated.new(@connection) end |
#dedicated_cloud ⇒ Object
48 49 50 |
# File 'lib/ovh-api/client.rb', line 48 def dedicated_cloud @dedicated_cloud ||= Ovh::Api::Api::DedicatedCloud.new(@connection) end |
#domain ⇒ Object
52 53 54 |
# File 'lib/ovh-api/client.rb', line 52 def domain @domain ||= Ovh::Api::Api::Domain.new(@connection) end |
#email ⇒ Object
56 57 58 |
# File 'lib/ovh-api/client.rb', line 56 def email @email ||= Ovh::Api::Api::Email.new(@connection) end |
#freefax ⇒ Object
60 61 62 |
# File 'lib/ovh-api/client.rb', line 60 def freefax @freefax ||= Ovh::Api::Api::Freefax.new(@connection) end |
#horizon_view ⇒ Object
64 65 66 |
# File 'lib/ovh-api/client.rb', line 64 def horizon_view @horizon_view ||= Ovh::Api::Api::HorizonView.new(@connection) end |
#hosting ⇒ Object
68 69 70 |
# File 'lib/ovh-api/client.rb', line 68 def hosting @hosting ||= Ovh::Api::Api::Hosting.new(@connection) end |
#ip ⇒ Object
72 73 74 |
# File 'lib/ovh-api/client.rb', line 72 def ip @ip ||= Ovh::Api::Api::Ip.new(@connection) end |
#ip_loadbalancing ⇒ Object
76 77 78 |
# File 'lib/ovh-api/client.rb', line 76 def ip_loadbalancing @ip_loadbalancing ||= Ovh::Api::Api::IpLoadbalancing.new(@connection) end |
#license ⇒ Object
80 81 82 |
# File 'lib/ovh-api/client.rb', line 80 def license @license ||= Ovh::Api::Api::License.new(@connection) end |
#me ⇒ Object
84 85 86 |
# File 'lib/ovh-api/client.rb', line 84 def me @me ||= Ovh::Api::Api::Me.new(@connection) end |
#metrics ⇒ Object
88 89 90 |
# File 'lib/ovh-api/client.rb', line 88 def metrics @metrics ||= Ovh::Api::Api::Metrics.new(@connection) end |
#ms_services ⇒ Object
92 93 94 |
# File 'lib/ovh-api/client.rb', line 92 def ms_services @ms_services ||= Ovh::Api::Api::MsServices.new(@connection) end |
#new_account ⇒ Object
96 97 98 |
# File 'lib/ovh-api/client.rb', line 96 def new_account @new_account ||= Ovh::Api::Api::NewAccount.new(@connection) end |
#nutanix ⇒ Object
100 101 102 |
# File 'lib/ovh-api/client.rb', line 100 def nutanix @nutanix ||= Ovh::Api::Api::Nutanix.new(@connection) end |
#order ⇒ Object
104 105 106 |
# File 'lib/ovh-api/client.rb', line 104 def order @order ||= Ovh::Api::Api::Order.new(@connection) end |
#over_the_box ⇒ Object
108 109 110 |
# File 'lib/ovh-api/client.rb', line 108 def over_the_box @over_the_box ||= Ovh::Api::Api::OverTheBox.new(@connection) end |
#ovh_cloud_connect ⇒ Object
112 113 114 |
# File 'lib/ovh-api/client.rb', line 112 def ovh_cloud_connect @ovh_cloud_connect ||= Ovh::Api::Api::OvhCloudConnect.new(@connection) end |
#pack ⇒ Object
116 117 118 |
# File 'lib/ovh-api/client.rb', line 116 def pack @pack ||= Ovh::Api::Api::Pack.new(@connection) end |
#partner ⇒ Object
120 121 122 |
# File 'lib/ovh-api/client.rb', line 120 def partner @partner ||= Ovh::Api::Api::Partner.new(@connection) end |
#price ⇒ Object
124 125 126 |
# File 'lib/ovh-api/client.rb', line 124 def price @price ||= Ovh::Api::Api::Price.new(@connection) end |
#saas ⇒ Object
128 129 130 |
# File 'lib/ovh-api/client.rb', line 128 def saas @saas ||= Ovh::Api::Api::Saas.new(@connection) end |
#secret ⇒ Object
132 133 134 |
# File 'lib/ovh-api/client.rb', line 132 def secret @secret ||= Ovh::Api::Api::Secret.new(@connection) end |
#service ⇒ Object
136 137 138 |
# File 'lib/ovh-api/client.rb', line 136 def service @service ||= Ovh::Api::Api::Service.new(@connection) end |
#services ⇒ Object
140 141 142 |
# File 'lib/ovh-api/client.rb', line 140 def services @services ||= Ovh::Api::Api::Services.new(@connection) end |
#sms ⇒ Object
144 145 146 |
# File 'lib/ovh-api/client.rb', line 144 def sms @sms ||= Ovh::Api::Api::Sms.new(@connection) end |
#ssl ⇒ Object
148 149 150 |
# File 'lib/ovh-api/client.rb', line 148 def ssl @ssl ||= Ovh::Api::Api::Ssl.new(@connection) end |
#ssl_gateway ⇒ Object
152 153 154 |
# File 'lib/ovh-api/client.rb', line 152 def ssl_gateway @ssl_gateway ||= Ovh::Api::Api::SslGateway.new(@connection) end |
#stack ⇒ Object
156 157 158 |
# File 'lib/ovh-api/client.rb', line 156 def stack @stack ||= Ovh::Api::Api::Stack.new(@connection) end |
#startup ⇒ Object
160 161 162 |
# File 'lib/ovh-api/client.rb', line 160 def startup @startup ||= Ovh::Api::Api::Startup.new(@connection) end |
#storage ⇒ Object
164 165 166 |
# File 'lib/ovh-api/client.rb', line 164 def storage @storage ||= Ovh::Api::Api::Storage.new(@connection) end |
#supply ⇒ Object
168 169 170 |
# File 'lib/ovh-api/client.rb', line 168 def supply @supply ||= Ovh::Api::Api::Supply.new(@connection) end |
#support ⇒ Object
172 173 174 |
# File 'lib/ovh-api/client.rb', line 172 def support @support ||= Ovh::Api::Api::Support.new(@connection) end |
#telephony ⇒ Object
176 177 178 |
# File 'lib/ovh-api/client.rb', line 176 def telephony @telephony ||= Ovh::Api::Api::Telephony.new(@connection) end |
#veeam ⇒ Object
180 181 182 |
# File 'lib/ovh-api/client.rb', line 180 def veeam @veeam ||= Ovh::Api::Api::Veeam.new(@connection) end |
#veeam_cloud_connect ⇒ Object
184 185 186 |
# File 'lib/ovh-api/client.rb', line 184 def veeam_cloud_connect @veeam_cloud_connect ||= Ovh::Api::Api::VeeamCloudConnect.new(@connection) end |
#vip ⇒ Object
188 189 190 |
# File 'lib/ovh-api/client.rb', line 188 def vip @vip ||= Ovh::Api::Api::Vip.new(@connection) end |
#vps ⇒ Object
192 193 194 |
# File 'lib/ovh-api/client.rb', line 192 def vps @vps ||= Ovh::Api::Api::Vps.new(@connection) end |