ionoscloud 5.1.1 → 5.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +1 -1
  4. data/docs/models/KubernetesClusterProperties.md +0 -2
  5. data/docs/models/KubernetesClusterPropertiesForPost.md +0 -2
  6. data/docs/models/KubernetesNodePoolProperties.md +0 -3
  7. data/docs/models/KubernetesNodePoolPropertiesForPost.md +0 -3
  8. data/lib/ionoscloud/api_client.rb +2 -2
  9. data/lib/ionoscloud/models/attached_volumes.rb +65 -11
  10. data/lib/ionoscloud/models/backup_unit.rb +45 -5
  11. data/lib/ionoscloud/models/backup_unit_properties.rb +27 -3
  12. data/lib/ionoscloud/models/backup_unit_sso.rb +9 -1
  13. data/lib/ionoscloud/models/backup_units.rb +38 -8
  14. data/lib/ionoscloud/models/balanced_nics.rb +65 -11
  15. data/lib/ionoscloud/models/cdroms.rb +65 -11
  16. data/lib/ionoscloud/models/connectable_datacenter.rb +27 -3
  17. data/lib/ionoscloud/models/contract.rb +18 -2
  18. data/lib/ionoscloud/models/contract_properties.rb +45 -5
  19. data/lib/ionoscloud/models/data_center_entities.rb +36 -4
  20. data/lib/ionoscloud/models/datacenter.rb +54 -6
  21. data/lib/ionoscloud/models/datacenter_element_metadata.rb +72 -8
  22. data/lib/ionoscloud/models/datacenter_properties.rb +56 -10
  23. data/lib/ionoscloud/models/datacenters.rb +65 -11
  24. data/lib/ionoscloud/models/error.rb +20 -6
  25. data/lib/ionoscloud/models/error_message.rb +18 -2
  26. data/lib/ionoscloud/models/firewall_rule.rb +45 -5
  27. data/lib/ionoscloud/models/firewall_rules.rb +65 -11
  28. data/lib/ionoscloud/models/firewallrule_properties.rb +81 -9
  29. data/lib/ionoscloud/models/group.rb +45 -5
  30. data/lib/ionoscloud/models/group_entities.rb +18 -2
  31. data/lib/ionoscloud/models/group_members.rb +38 -8
  32. data/lib/ionoscloud/models/group_properties.rb +90 -10
  33. data/lib/ionoscloud/models/group_share.rb +36 -4
  34. data/lib/ionoscloud/models/group_share_properties.rb +18 -2
  35. data/lib/ionoscloud/models/group_shares.rb +38 -8
  36. data/lib/ionoscloud/models/group_users.rb +38 -8
  37. data/lib/ionoscloud/models/groups.rb +38 -8
  38. data/lib/ionoscloud/models/image.rb +45 -5
  39. data/lib/ionoscloud/models/image_properties.rb +173 -23
  40. data/lib/ionoscloud/models/images.rb +38 -8
  41. data/lib/ionoscloud/models/info.rb +27 -3
  42. data/lib/ionoscloud/models/ip_block.rb +45 -5
  43. data/lib/ionoscloud/models/ip_block_properties.rb +49 -13
  44. data/lib/ionoscloud/models/ip_blocks.rb +65 -11
  45. data/lib/ionoscloud/models/ip_consumer.rb +81 -9
  46. data/lib/ionoscloud/models/ip_failover.rb +18 -2
  47. data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +18 -2
  48. data/lib/ionoscloud/models/kubernetes_cluster.rb +54 -6
  49. data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +9 -1
  50. data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +54 -6
  51. data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +54 -6
  52. data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +70 -34
  53. data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +48 -24
  54. data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +49 -13
  55. data/lib/ionoscloud/models/kubernetes_clusters.rb +38 -8
  56. data/lib/ionoscloud/models/kubernetes_config.rb +36 -4
  57. data/lib/ionoscloud/models/kubernetes_config_properties.rb +9 -1
  58. data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +18 -2
  59. data/lib/ionoscloud/models/kubernetes_node.rb +45 -5
  60. data/lib/ionoscloud/models/kubernetes_node_metadata.rb +45 -5
  61. data/lib/ionoscloud/models/kubernetes_node_pool.rb +45 -5
  62. data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +45 -5
  63. data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +45 -5
  64. data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +9 -1
  65. data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +163 -47
  66. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +152 -42
  67. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +89 -25
  68. data/lib/ionoscloud/models/kubernetes_node_pools.rb +38 -8
  69. data/lib/ionoscloud/models/kubernetes_node_properties.rb +36 -4
  70. data/lib/ionoscloud/models/kubernetes_nodes.rb +38 -8
  71. data/lib/ionoscloud/models/label.rb +45 -5
  72. data/lib/ionoscloud/models/label_properties.rb +45 -5
  73. data/lib/ionoscloud/models/label_resource.rb +45 -5
  74. data/lib/ionoscloud/models/label_resource_properties.rb +18 -2
  75. data/lib/ionoscloud/models/label_resources.rb +65 -11
  76. data/lib/ionoscloud/models/labels.rb +38 -8
  77. data/lib/ionoscloud/models/lan.rb +54 -6
  78. data/lib/ionoscloud/models/lan_entities.rb +9 -1
  79. data/lib/ionoscloud/models/lan_nics.rb +65 -11
  80. data/lib/ionoscloud/models/lan_post.rb +54 -6
  81. data/lib/ionoscloud/models/lan_properties.rb +38 -8
  82. data/lib/ionoscloud/models/lan_properties_post.rb +38 -8
  83. data/lib/ionoscloud/models/lans.rb +65 -11
  84. data/lib/ionoscloud/models/loadbalancer.rb +54 -6
  85. data/lib/ionoscloud/models/loadbalancer_entities.rb +9 -1
  86. data/lib/ionoscloud/models/loadbalancer_properties.rb +27 -3
  87. data/lib/ionoscloud/models/loadbalancers.rb +65 -11
  88. data/lib/ionoscloud/models/location.rb +45 -5
  89. data/lib/ionoscloud/models/location_properties.rb +31 -11
  90. data/lib/ionoscloud/models/locations.rb +38 -8
  91. data/lib/ionoscloud/models/nic.rb +54 -6
  92. data/lib/ionoscloud/models/nic_entities.rb +9 -1
  93. data/lib/ionoscloud/models/nic_properties.rb +65 -11
  94. data/lib/ionoscloud/models/nics.rb +65 -11
  95. data/lib/ionoscloud/models/no_state_meta_data.rb +63 -7
  96. data/lib/ionoscloud/models/pagination_links.rb +27 -3
  97. data/lib/ionoscloud/models/peer.rb +45 -5
  98. data/lib/ionoscloud/models/private_cross_connect.rb +45 -5
  99. data/lib/ionoscloud/models/private_cross_connect_properties.rb +40 -12
  100. data/lib/ionoscloud/models/private_cross_connects.rb +38 -8
  101. data/lib/ionoscloud/models/request.rb +45 -5
  102. data/lib/ionoscloud/models/request_metadata.rb +36 -4
  103. data/lib/ionoscloud/models/request_properties.rb +38 -8
  104. data/lib/ionoscloud/models/request_status.rb +36 -4
  105. data/lib/ionoscloud/models/request_status_metadata.rb +38 -8
  106. data/lib/ionoscloud/models/request_target.rb +18 -2
  107. data/lib/ionoscloud/models/requests.rb +65 -11
  108. data/lib/ionoscloud/models/resource.rb +54 -6
  109. data/lib/ionoscloud/models/resource_entities.rb +9 -1
  110. data/lib/ionoscloud/models/resource_groups.rb +38 -8
  111. data/lib/ionoscloud/models/resource_limits.rb +153 -17
  112. data/lib/ionoscloud/models/resource_properties.rb +18 -2
  113. data/lib/ionoscloud/models/resource_reference.rb +27 -3
  114. data/lib/ionoscloud/models/resources.rb +38 -8
  115. data/lib/ionoscloud/models/resources_users.rb +38 -8
  116. data/lib/ionoscloud/models/s3_bucket.rb +9 -1
  117. data/lib/ionoscloud/models/s3_key.rb +45 -5
  118. data/lib/ionoscloud/models/s3_key_metadata.rb +18 -2
  119. data/lib/ionoscloud/models/s3_key_properties.rb +18 -2
  120. data/lib/ionoscloud/models/s3_keys.rb +38 -8
  121. data/lib/ionoscloud/models/s3_object_storage_sso.rb +9 -1
  122. data/lib/ionoscloud/models/server.rb +54 -6
  123. data/lib/ionoscloud/models/server_entities.rb +27 -3
  124. data/lib/ionoscloud/models/server_properties.rb +72 -8
  125. data/lib/ionoscloud/models/servers.rb +65 -11
  126. data/lib/ionoscloud/models/snapshot.rb +45 -5
  127. data/lib/ionoscloud/models/snapshot_properties.rb +144 -16
  128. data/lib/ionoscloud/models/snapshots.rb +38 -8
  129. data/lib/ionoscloud/models/user.rb +54 -6
  130. data/lib/ionoscloud/models/user_metadata.rb +27 -3
  131. data/lib/ionoscloud/models/user_post.rb +9 -1
  132. data/lib/ionoscloud/models/user_properties.rb +72 -8
  133. data/lib/ionoscloud/models/user_properties_post.rb +72 -8
  134. data/lib/ionoscloud/models/user_properties_put.rb +63 -7
  135. data/lib/ionoscloud/models/user_put.rb +18 -2
  136. data/lib/ionoscloud/models/users.rb +65 -11
  137. data/lib/ionoscloud/models/users_entities.rb +18 -2
  138. data/lib/ionoscloud/models/volume.rb +45 -5
  139. data/lib/ionoscloud/models/volume_properties.rb +173 -23
  140. data/lib/ionoscloud/models/volumes.rb +65 -11
  141. data/lib/ionoscloud/version.rb +1 -1
  142. metadata +2 -304
  143. data/spec/api/_api_spec.rb +0 -49
  144. data/spec/api/backup_unit_api_spec.rb +0 -140
  145. data/spec/api/contract_api_spec.rb +0 -49
  146. data/spec/api/data_center_api_spec.rb +0 -128
  147. data/spec/api/image_api_spec.rb +0 -111
  148. data/spec/api/ip_blocks_api_spec.rb +0 -128
  149. data/spec/api/kubernetes_api_spec.rb +0 -306
  150. data/spec/api/label_api_spec.rb +0 -480
  151. data/spec/api/lan_api_spec.rb +0 -186
  152. data/spec/api/load_balancer_api_spec.rb +0 -203
  153. data/spec/api/location_api_spec.rb +0 -80
  154. data/spec/api/nic_api_spec.rb +0 -251
  155. data/spec/api/private_cross_connect_api_spec.rb +0 -110
  156. data/spec/api/request_api_spec.rb +0 -92
  157. data/spec/api/server_api_spec.rb +0 -337
  158. data/spec/api/snapshot_api_spec.rb +0 -111
  159. data/spec/api/user_management_api_spec.rb +0 -497
  160. data/spec/api/volume_api_spec.rb +0 -171
  161. data/spec/models/attached_volumes_spec.rb +0 -70
  162. data/spec/models/backup_unit_properties_spec.rb +0 -46
  163. data/spec/models/backup_unit_spec.rb +0 -62
  164. data/spec/models/backup_unit_sso_spec.rb +0 -34
  165. data/spec/models/backup_units_spec.rb +0 -56
  166. data/spec/models/balanced_nics_spec.rb +0 -70
  167. data/spec/models/cdroms_spec.rb +0 -70
  168. data/spec/models/connectable_datacenter_spec.rb +0 -46
  169. data/spec/models/contract_properties_spec.rb +0 -58
  170. data/spec/models/contract_spec.rb +0 -40
  171. data/spec/models/data_center_entities_spec.rb +0 -52
  172. data/spec/models/datacenter_element_metadata_spec.rb +0 -80
  173. data/spec/models/datacenter_properties_spec.rb +0 -64
  174. data/spec/models/datacenter_spec.rb +0 -64
  175. data/spec/models/datacenters_spec.rb +0 -70
  176. data/spec/models/error_message_spec.rb +0 -40
  177. data/spec/models/error_spec.rb +0 -40
  178. data/spec/models/firewall_rule_spec.rb +0 -58
  179. data/spec/models/firewall_rules_spec.rb +0 -70
  180. data/spec/models/firewallrule_properties_spec.rb +0 -86
  181. data/spec/models/group_entities_spec.rb +0 -40
  182. data/spec/models/group_members_spec.rb +0 -52
  183. data/spec/models/group_properties_spec.rb +0 -88
  184. data/spec/models/group_share_properties_spec.rb +0 -40
  185. data/spec/models/group_share_spec.rb +0 -52
  186. data/spec/models/group_shares_spec.rb +0 -52
  187. data/spec/models/group_spec.rb +0 -58
  188. data/spec/models/group_users_spec.rb +0 -52
  189. data/spec/models/groups_spec.rb +0 -52
  190. data/spec/models/image_properties_spec.rb +0 -154
  191. data/spec/models/image_spec.rb +0 -58
  192. data/spec/models/images_spec.rb +0 -52
  193. data/spec/models/info_spec.rb +0 -46
  194. data/spec/models/ip_block_properties_spec.rb +0 -58
  195. data/spec/models/ip_block_spec.rb +0 -58
  196. data/spec/models/ip_blocks_spec.rb +0 -70
  197. data/spec/models/ip_consumer_spec.rb +0 -82
  198. data/spec/models/ip_failover_spec.rb +0 -40
  199. data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
  200. data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
  201. data/spec/models/kubernetes_cluster_for_post_spec.rb +0 -68
  202. data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
  203. data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -64
  204. data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -58
  205. data/spec/models/kubernetes_cluster_properties_spec.rb +0 -76
  206. data/spec/models/kubernetes_cluster_spec.rb +0 -68
  207. data/spec/models/kubernetes_clusters_spec.rb +0 -56
  208. data/spec/models/kubernetes_config_properties_spec.rb +0 -34
  209. data/spec/models/kubernetes_config_spec.rb +0 -56
  210. data/spec/models/kubernetes_maintenance_window_spec.rb +0 -44
  211. data/spec/models/kubernetes_node_metadata_spec.rb +0 -62
  212. data/spec/models/kubernetes_node_pool_for_post_spec.rb +0 -62
  213. data/spec/models/kubernetes_node_pool_for_put_spec.rb +0 -62
  214. data/spec/models/kubernetes_node_pool_lan_spec.rb +0 -34
  215. data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +0 -138
  216. data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
  217. data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -144
  218. data/spec/models/kubernetes_node_pool_spec.rb +0 -62
  219. data/spec/models/kubernetes_node_pools_spec.rb +0 -56
  220. data/spec/models/kubernetes_node_properties_spec.rb +0 -52
  221. data/spec/models/kubernetes_node_spec.rb +0 -62
  222. data/spec/models/kubernetes_nodes_spec.rb +0 -56
  223. data/spec/models/label_properties_spec.rb +0 -58
  224. data/spec/models/label_resource_properties_spec.rb +0 -40
  225. data/spec/models/label_resource_spec.rb +0 -62
  226. data/spec/models/label_resources_spec.rb +0 -74
  227. data/spec/models/label_spec.rb +0 -62
  228. data/spec/models/labels_spec.rb +0 -56
  229. data/spec/models/lan_entities_spec.rb +0 -34
  230. data/spec/models/lan_nics_spec.rb +0 -70
  231. data/spec/models/lan_post_spec.rb +0 -64
  232. data/spec/models/lan_properties_post_spec.rb +0 -52
  233. data/spec/models/lan_properties_spec.rb +0 -52
  234. data/spec/models/lan_spec.rb +0 -64
  235. data/spec/models/lans_spec.rb +0 -70
  236. data/spec/models/loadbalancer_entities_spec.rb +0 -34
  237. data/spec/models/loadbalancer_properties_spec.rb +0 -46
  238. data/spec/models/loadbalancer_spec.rb +0 -64
  239. data/spec/models/loadbalancers_spec.rb +0 -70
  240. data/spec/models/location_properties_spec.rb +0 -46
  241. data/spec/models/location_spec.rb +0 -58
  242. data/spec/models/locations_spec.rb +0 -52
  243. data/spec/models/nic_entities_spec.rb +0 -34
  244. data/spec/models/nic_properties_spec.rb +0 -70
  245. data/spec/models/nic_spec.rb +0 -64
  246. data/spec/models/nics_spec.rb +0 -70
  247. data/spec/models/no_state_meta_data_spec.rb +0 -70
  248. data/spec/models/pagination_links_spec.rb +0 -46
  249. data/spec/models/peer_spec.rb +0 -58
  250. data/spec/models/private_cross_connect_properties_spec.rb +0 -52
  251. data/spec/models/private_cross_connect_spec.rb +0 -58
  252. data/spec/models/private_cross_connects_spec.rb +0 -52
  253. data/spec/models/request_metadata_spec.rb +0 -52
  254. data/spec/models/request_properties_spec.rb +0 -52
  255. data/spec/models/request_spec.rb +0 -58
  256. data/spec/models/request_status_metadata_spec.rb +0 -56
  257. data/spec/models/request_status_spec.rb +0 -52
  258. data/spec/models/request_target_spec.rb +0 -44
  259. data/spec/models/requests_spec.rb +0 -70
  260. data/spec/models/resource_entities_spec.rb +0 -34
  261. data/spec/models/resource_groups_spec.rb +0 -52
  262. data/spec/models/resource_limits_spec.rb +0 -130
  263. data/spec/models/resource_properties_spec.rb +0 -40
  264. data/spec/models/resource_reference_spec.rb +0 -46
  265. data/spec/models/resource_spec.rb +0 -64
  266. data/spec/models/resources_spec.rb +0 -52
  267. data/spec/models/resources_users_spec.rb +0 -52
  268. data/spec/models/s3_bucket_spec.rb +0 -34
  269. data/spec/models/s3_key_metadata_spec.rb +0 -40
  270. data/spec/models/s3_key_properties_spec.rb +0 -40
  271. data/spec/models/s3_key_spec.rb +0 -58
  272. data/spec/models/s3_keys_spec.rb +0 -52
  273. data/spec/models/s3_object_storage_sso_spec.rb +0 -34
  274. data/spec/models/server_entities_spec.rb +0 -46
  275. data/spec/models/server_properties_spec.rb +0 -84
  276. data/spec/models/server_spec.rb +0 -64
  277. data/spec/models/servers_spec.rb +0 -70
  278. data/spec/models/snapshot_properties_spec.rb +0 -128
  279. data/spec/models/snapshot_spec.rb +0 -58
  280. data/spec/models/snapshots_spec.rb +0 -52
  281. data/spec/models/type_spec.rb +0 -28
  282. data/spec/models/user_metadata_spec.rb +0 -46
  283. data/spec/models/user_post_spec.rb +0 -34
  284. data/spec/models/user_properties_post_spec.rb +0 -76
  285. data/spec/models/user_properties_put_spec.rb +0 -70
  286. data/spec/models/user_properties_spec.rb +0 -76
  287. data/spec/models/user_put_spec.rb +0 -40
  288. data/spec/models/user_spec.rb +0 -64
  289. data/spec/models/users_entities_spec.rb +0 -40
  290. data/spec/models/users_spec.rb +0 -70
  291. data/spec/models/volume_properties_spec.rb +0 -158
  292. data/spec/models/volume_spec.rb +0 -58
  293. data/spec/models/volumes_spec.rb +0 -70
@@ -1,186 +0,0 @@
1
- =begin
2
- #CLOUD API
3
-
4
- #An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to perform a variety of management tasks such as spinning up additional servers, adding volumes, adjusting networking, and so forth. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.
5
-
6
- The version of the OpenAPI document: 5.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for Ionoscloud::LanApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'LanApi' do
20
- before do
21
- # run before each test
22
- @api_instance = Ionoscloud::LanApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of LanApi' do
30
- it 'should create an instance of LanApi' do
31
- expect(@api_instance).to be_instance_of(Ionoscloud::LanApi)
32
- end
33
- end
34
-
35
- # unit tests for datacenters_lans_delete
36
- # Delete a Lan.
37
- # Removes the specific Lan
38
- # @param datacenter_id The unique ID of the datacenter
39
- # @param lan_id The unique ID of the LAN
40
- # @param [Hash] opts the optional parameters
41
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
42
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
43
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
44
- # @return [Object]
45
- describe 'datacenters_lans_delete test' do
46
- it 'should work' do
47
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
- end
49
- end
50
-
51
- # unit tests for datacenters_lans_find_by_id
52
- # Retrieve a Lan
53
- # Retrieves the attributes of a given LAN
54
- # @param datacenter_id The unique ID of the datacenter
55
- # @param lan_id The unique ID of the LAN
56
- # @param [Hash] opts the optional parameters
57
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
58
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
59
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
60
- # @return [Lan]
61
- describe 'datacenters_lans_find_by_id test' do
62
- it 'should work' do
63
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
64
- end
65
- end
66
-
67
- # unit tests for datacenters_lans_get
68
- # List Lans
69
- # Retrieve a list of LANs within the datacenter
70
- # @param datacenter_id The unique ID of the datacenter
71
- # @param [Hash] opts the optional parameters
72
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
73
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
74
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
75
- # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with <code>limit</code> for pagination)
76
- # @option opts [Integer] :limit the maximum number of elements to return (use together with <code>offset</code> for pagination)
77
- # @return [Lans]
78
- describe 'datacenters_lans_get test' do
79
- it 'should work' do
80
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
- end
82
- end
83
-
84
- # unit tests for datacenters_lans_nics_find_by_id
85
- # Retrieve a nic attached to lan
86
- # This will retrieve the properties of an attached nic.
87
- # @param datacenter_id The unique ID of the datacenter
88
- # @param lan_id The unique ID of the LAN
89
- # @param nic_id The unique ID of the NIC
90
- # @param [Hash] opts the optional parameters
91
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
92
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
93
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
94
- # @return [Nic]
95
- describe 'datacenters_lans_nics_find_by_id test' do
96
- it 'should work' do
97
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
- end
99
- end
100
-
101
- # unit tests for datacenters_lans_nics_get
102
- # List Lan Members
103
- # You can retrieve a list of nics attached to a lan
104
- # @param datacenter_id The unique ID of the datacenter
105
- # @param lan_id The unique ID of the LAN
106
- # @param [Hash] opts the optional parameters
107
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
108
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
109
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
110
- # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with <code>limit</code> for pagination)
111
- # @option opts [Integer] :limit the maximum number of elements to return (use together with <code>offset</code> for pagination)
112
- # @return [LanNics]
113
- describe 'datacenters_lans_nics_get test' do
114
- it 'should work' do
115
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
- end
117
- end
118
-
119
- # unit tests for datacenters_lans_nics_post
120
- # Attach a nic
121
- # This will attach a pre-existing nic to a lan.
122
- # @param datacenter_id The unique ID of the datacenter
123
- # @param lan_id The unique ID of the LAN
124
- # @param nic Nic to be attached
125
- # @param [Hash] opts the optional parameters
126
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
127
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
128
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
129
- # @return [Nic]
130
- describe 'datacenters_lans_nics_post test' do
131
- it 'should work' do
132
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
- end
134
- end
135
-
136
- # unit tests for datacenters_lans_patch
137
- # Partially modify a Lan
138
- # You can use update attributes of a resource
139
- # @param datacenter_id The unique ID of the datacenter
140
- # @param lan_id The unique ID of the LAN
141
- # @param lan Modified Lan
142
- # @param [Hash] opts the optional parameters
143
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
144
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
145
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
146
- # @return [Lan]
147
- describe 'datacenters_lans_patch test' do
148
- it 'should work' do
149
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
150
- end
151
- end
152
-
153
- # unit tests for datacenters_lans_post
154
- # Create a Lan
155
- # Creates a LAN within the datacenter
156
- # @param datacenter_id The unique ID of the datacenter
157
- # @param lan Lan to be created
158
- # @param [Hash] opts the optional parameters
159
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
160
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
161
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
162
- # @return [LanPost]
163
- describe 'datacenters_lans_post test' do
164
- it 'should work' do
165
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
166
- end
167
- end
168
-
169
- # unit tests for datacenters_lans_put
170
- # Modify a Lan
171
- # You can use update attributes of a resource
172
- # @param datacenter_id The unique ID of the datacenter
173
- # @param lan_id The unique ID of the LAN
174
- # @param lan Modified Lan
175
- # @param [Hash] opts the optional parameters
176
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
177
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
178
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
179
- # @return [Lan]
180
- describe 'datacenters_lans_put test' do
181
- it 'should work' do
182
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
183
- end
184
- end
185
-
186
- end
@@ -1,203 +0,0 @@
1
- =begin
2
- #CLOUD API
3
-
4
- #An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to perform a variety of management tasks such as spinning up additional servers, adding volumes, adjusting networking, and so forth. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.
5
-
6
- The version of the OpenAPI document: 5.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for Ionoscloud::LoadBalancerApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'LoadBalancerApi' do
20
- before do
21
- # run before each test
22
- @api_instance = Ionoscloud::LoadBalancerApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of LoadBalancerApi' do
30
- it 'should create an instance of LoadBalancerApi' do
31
- expect(@api_instance).to be_instance_of(Ionoscloud::LoadBalancerApi)
32
- end
33
- end
34
-
35
- # unit tests for datacenters_loadbalancers_balancednics_delete
36
- # Detach a nic from loadbalancer
37
- # This will remove a nic from Load Balancer
38
- # @param datacenter_id The unique ID of the datacenter
39
- # @param loadbalancer_id The unique ID of the Load Balancer
40
- # @param nic_id The unique ID of the NIC
41
- # @param [Hash] opts the optional parameters
42
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
43
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
44
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
45
- # @return [Object]
46
- describe 'datacenters_loadbalancers_balancednics_delete test' do
47
- it 'should work' do
48
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
- end
50
- end
51
-
52
- # unit tests for datacenters_loadbalancers_balancednics_find_by_nic_id
53
- # Retrieve a nic attached to Load Balancer
54
- # This will retrieve the properties of an attached nic.
55
- # @param datacenter_id The unique ID of the datacenter
56
- # @param loadbalancer_id The unique ID of the Load Balancer
57
- # @param nic_id The unique ID of the NIC
58
- # @param [Hash] opts the optional parameters
59
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
60
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
61
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
62
- # @return [Nic]
63
- describe 'datacenters_loadbalancers_balancednics_find_by_nic_id test' do
64
- it 'should work' do
65
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
- end
67
- end
68
-
69
- # unit tests for datacenters_loadbalancers_balancednics_get
70
- # List Load Balancer Members
71
- # You can retrieve a list of nics attached to a Load Balancer
72
- # @param datacenter_id The unique ID of the datacenter
73
- # @param loadbalancer_id The unique ID of the Load Balancer
74
- # @param [Hash] opts the optional parameters
75
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
76
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
77
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
78
- # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with <code>limit</code> for pagination)
79
- # @option opts [Integer] :limit the maximum number of elements to return (use together with <code>offset</code> for pagination)
80
- # @return [BalancedNics]
81
- describe 'datacenters_loadbalancers_balancednics_get test' do
82
- it 'should work' do
83
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
- end
85
- end
86
-
87
- # unit tests for datacenters_loadbalancers_balancednics_post
88
- # Attach a nic to Load Balancer
89
- # This will attach a pre-existing nic to a Load Balancer.
90
- # @param datacenter_id The unique ID of the datacenter
91
- # @param loadbalancer_id The unique ID of the Load Balancer
92
- # @param nic Nic id to be attached
93
- # @param [Hash] opts the optional parameters
94
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
95
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
96
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
97
- # @return [Nic]
98
- describe 'datacenters_loadbalancers_balancednics_post test' do
99
- it 'should work' do
100
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
101
- end
102
- end
103
-
104
- # unit tests for datacenters_loadbalancers_delete
105
- # Delete a Loadbalancer.
106
- # Removes the specific Loadbalancer
107
- # @param datacenter_id The unique ID of the datacenter
108
- # @param loadbalancer_id The unique ID of the Load Balancer
109
- # @param [Hash] opts the optional parameters
110
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
111
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
112
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
113
- # @return [Object]
114
- describe 'datacenters_loadbalancers_delete test' do
115
- it 'should work' do
116
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
117
- end
118
- end
119
-
120
- # unit tests for datacenters_loadbalancers_find_by_id
121
- # Retrieve a loadbalancer
122
- # Retrieves the attributes of a given Loadbalancer
123
- # @param datacenter_id The unique ID of the datacenter
124
- # @param loadbalancer_id The unique ID of the Load Balancer
125
- # @param [Hash] opts the optional parameters
126
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
127
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
128
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
129
- # @return [Loadbalancer]
130
- describe 'datacenters_loadbalancers_find_by_id test' do
131
- it 'should work' do
132
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
- end
134
- end
135
-
136
- # unit tests for datacenters_loadbalancers_get
137
- # List Load Balancers
138
- # Retrieve a list of Load Balancers within the datacenter
139
- # @param datacenter_id The unique ID of the datacenter
140
- # @param [Hash] opts the optional parameters
141
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
142
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
143
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
144
- # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with <code>limit</code> for pagination)
145
- # @option opts [Integer] :limit the maximum number of elements to return (use together with <code>offset</code> for pagination)
146
- # @return [Loadbalancers]
147
- describe 'datacenters_loadbalancers_get test' do
148
- it 'should work' do
149
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
150
- end
151
- end
152
-
153
- # unit tests for datacenters_loadbalancers_patch
154
- # Partially modify a Loadbalancer
155
- # You can use update attributes of a resource
156
- # @param datacenter_id The unique ID of the datacenter
157
- # @param loadbalancer_id The unique ID of the Load Balancer
158
- # @param loadbalancer Modified Loadbalancer
159
- # @param [Hash] opts the optional parameters
160
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
161
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
162
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
163
- # @return [Loadbalancer]
164
- describe 'datacenters_loadbalancers_patch test' do
165
- it 'should work' do
166
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
167
- end
168
- end
169
-
170
- # unit tests for datacenters_loadbalancers_post
171
- # Create a Load Balancer
172
- # Creates a Loadbalancer within the datacenter
173
- # @param datacenter_id The unique ID of the datacenter
174
- # @param loadbalancer Loadbalancer to be created
175
- # @param [Hash] opts the optional parameters
176
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
177
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
178
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
179
- # @return [Loadbalancer]
180
- describe 'datacenters_loadbalancers_post test' do
181
- it 'should work' do
182
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
183
- end
184
- end
185
-
186
- # unit tests for datacenters_loadbalancers_put
187
- # Modify a Load Balancer
188
- # You can use update attributes of a resource
189
- # @param datacenter_id The unique ID of the datacenter
190
- # @param loadbalancer_id The unique ID of the Load Balancer
191
- # @param loadbalancer Modified Loadbalancer
192
- # @param [Hash] opts the optional parameters
193
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
194
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
195
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
196
- # @return [Loadbalancer]
197
- describe 'datacenters_loadbalancers_put test' do
198
- it 'should work' do
199
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
- end
201
- end
202
-
203
- end
@@ -1,80 +0,0 @@
1
- =begin
2
- #CLOUD API
3
-
4
- #An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to perform a variety of management tasks such as spinning up additional servers, adding volumes, adjusting networking, and so forth. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.
5
-
6
- The version of the OpenAPI document: 5.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for Ionoscloud::LocationApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'LocationApi' do
20
- before do
21
- # run before each test
22
- @api_instance = Ionoscloud::LocationApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of LocationApi' do
30
- it 'should create an instance of LocationApi' do
31
- expect(@api_instance).to be_instance_of(Ionoscloud::LocationApi)
32
- end
33
- end
34
-
35
- # unit tests for locations_find_by_region_id
36
- # List Locations within a region
37
- # Retrieve a list of Locations within a world's region
38
- # @param region_id
39
- # @param [Hash] opts the optional parameters
40
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
41
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
42
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
43
- # @return [Locations]
44
- describe 'locations_find_by_region_id test' do
45
- it 'should work' do
46
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
- end
48
- end
49
-
50
- # unit tests for locations_find_by_region_id_and_id
51
- # Retrieve a Location
52
- # Retrieves the attributes of a given location
53
- # @param region_id
54
- # @param location_id
55
- # @param [Hash] opts the optional parameters
56
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
57
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
58
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
59
- # @return [Location]
60
- describe 'locations_find_by_region_id_and_id test' do
61
- it 'should work' do
62
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
- end
64
- end
65
-
66
- # unit tests for locations_get
67
- # List Locations
68
- # Retrieve a list of Locations. This list represents where you can provision your virtual data centers
69
- # @param [Hash] opts the optional parameters
70
- # @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
71
- # @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
72
- # @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
73
- # @return [Locations]
74
- describe 'locations_get test' do
75
- it 'should work' do
76
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
- end
78
- end
79
-
80
- end