ibm_cloud_power 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (330) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +255 -0
  4. data/Rakefile +10 -0
  5. data/docs/CloneTaskReference.md +19 -0
  6. data/docs/CloneTaskStatus.md +23 -0
  7. data/docs/ClonedVolume.md +19 -0
  8. data/docs/ClonedVolumeDetail.md +19 -0
  9. data/docs/CloudInstance.md +37 -0
  10. data/docs/CloudInstanceCreate.md +29 -0
  11. data/docs/CloudInstanceReference.md +31 -0
  12. data/docs/CloudInstanceUpdate.md +25 -0
  13. data/docs/CloudInstanceUsageLimits.md +37 -0
  14. data/docs/CreateDataVolume.md +29 -0
  15. data/docs/CreateImage.md +37 -0
  16. data/docs/Error.md +19 -0
  17. data/docs/Event.md +33 -0
  18. data/docs/EventUser.md +21 -0
  19. data/docs/Events.md +17 -0
  20. data/docs/ExportImage.md +23 -0
  21. data/docs/IPAddressRange.md +19 -0
  22. data/docs/Image.md +39 -0
  23. data/docs/ImageReference.md +33 -0
  24. data/docs/ImageSpecifications.md +29 -0
  25. data/docs/ImageVolume.md +23 -0
  26. data/docs/Images.md +17 -0
  27. data/docs/MinMaxDefault.md +21 -0
  28. data/docs/MultiVolumesCreate.md +29 -0
  29. data/docs/Network.md +37 -0
  30. data/docs/NetworkCreate.md +29 -0
  31. data/docs/NetworkIpAddressMetrics.md +23 -0
  32. data/docs/NetworkPort.md +29 -0
  33. data/docs/NetworkPortCreate.md +19 -0
  34. data/docs/NetworkPortPvmInstance.md +19 -0
  35. data/docs/NetworkPortUpdate.md +19 -0
  36. data/docs/NetworkPorts.md +17 -0
  37. data/docs/NetworkReference.md +27 -0
  38. data/docs/NetworkUpdate.md +23 -0
  39. data/docs/Networks.md +17 -0
  40. data/docs/Operations.md +21 -0
  41. data/docs/PCloudEventsApi.md +114 -0
  42. data/docs/PCloudImagesApi.md +342 -0
  43. data/docs/PCloudInstancesApi.md +148 -0
  44. data/docs/PCloudNetworksApi.md +504 -0
  45. data/docs/PCloudPVMInstancesApi.md +809 -0
  46. data/docs/PCloudSAPApi.md +150 -0
  47. data/docs/PCloudSnapshotsApi.md +200 -0
  48. data/docs/PCloudSystemPoolsApi.md +54 -0
  49. data/docs/PCloudTasksApi.md +100 -0
  50. data/docs/PCloudTenantsApi.md +102 -0
  51. data/docs/PCloudTenantsSSHKeysApi.md +248 -0
  52. data/docs/PCloudVolumesApi.md +746 -0
  53. data/docs/PVMInstance.md +77 -0
  54. data/docs/PVMInstanceAction.md +17 -0
  55. data/docs/PVMInstanceAddNetwork.md +19 -0
  56. data/docs/PVMInstanceCapture.md +29 -0
  57. data/docs/PVMInstanceClone.md +31 -0
  58. data/docs/PVMInstanceConsole.md +17 -0
  59. data/docs/PVMInstanceCreate.md +53 -0
  60. data/docs/PVMInstanceFault.md +23 -0
  61. data/docs/PVMInstanceHealth.md +21 -0
  62. data/docs/PVMInstanceMultiCreate.md +21 -0
  63. data/docs/PVMInstanceNetwork.md +33 -0
  64. data/docs/PVMInstanceNetworks.md +17 -0
  65. data/docs/PVMInstanceOperation.md +19 -0
  66. data/docs/PVMInstanceReference.md +71 -0
  67. data/docs/PVMInstanceRemoveNetwork.md +17 -0
  68. data/docs/PVMInstanceUpdate.md +33 -0
  69. data/docs/PVMInstanceUpdateResponse.md +27 -0
  70. data/docs/PVMInstanceVolumeUpdate.md +17 -0
  71. data/docs/PVMInstances.md +17 -0
  72. data/docs/PeeringNetwork.md +21 -0
  73. data/docs/PinPolicy.md +16 -0
  74. data/docs/SAPCreate.md +33 -0
  75. data/docs/SAPProfile.md +25 -0
  76. data/docs/SAPProfileReference.md +19 -0
  77. data/docs/SAPProfiles.md +17 -0
  78. data/docs/SRC.md +19 -0
  79. data/docs/SSHKey.md +21 -0
  80. data/docs/SSHKeys.md +17 -0
  81. data/docs/Snapshot.md +35 -0
  82. data/docs/SnapshotCreate.md +21 -0
  83. data/docs/SnapshotCreateResponse.md +17 -0
  84. data/docs/SnapshotRestore.md +17 -0
  85. data/docs/SnapshotUpdate.md +19 -0
  86. data/docs/Snapshots.md +17 -0
  87. data/docs/SoftwareLicenses.md +25 -0
  88. data/docs/StockImage.md +21 -0
  89. data/docs/System.md +21 -0
  90. data/docs/SystemPool.md +31 -0
  91. data/docs/Task.md +33 -0
  92. data/docs/TaskReference.md +19 -0
  93. data/docs/Tenant.md +29 -0
  94. data/docs/TenantUpdate.md +19 -0
  95. data/docs/UpdateVolume.md +23 -0
  96. data/docs/VirtualCores.md +21 -0
  97. data/docs/Volume.md +41 -0
  98. data/docs/VolumeInfo.md +19 -0
  99. data/docs/VolumeReference.md +43 -0
  100. data/docs/Volumes.md +17 -0
  101. data/docs/VolumesClone.md +31 -0
  102. data/docs/VolumesCloneAsyncRequest.md +19 -0
  103. data/docs/VolumesCloneCancel.md +17 -0
  104. data/docs/VolumesCloneCreate.md +19 -0
  105. data/docs/VolumesCloneDetail.md +33 -0
  106. data/docs/VolumesCloneExecute.md +19 -0
  107. data/docs/VolumesCloneRequest.md +19 -0
  108. data/docs/VolumesCloneResponse.md +17 -0
  109. data/docs/VolumesClones.md +17 -0
  110. data/git_push.sh +58 -0
  111. data/ibm_cloud_power.gemspec +38 -0
  112. data/lib/ibm_cloud_power.rb +144 -0
  113. data/lib/ibm_cloud_power/api/p_cloud_events_api.rb +163 -0
  114. data/lib/ibm_cloud_power/api/p_cloud_images_api.rb +473 -0
  115. data/lib/ibm_cloud_power/api/p_cloud_instances_api.rb +210 -0
  116. data/lib/ibm_cloud_power/api/p_cloud_networks_api.rb +719 -0
  117. data/lib/ibm_cloud_power/api/p_cloud_pvm_instances_api.rb +1166 -0
  118. data/lib/ibm_cloud_power/api/p_cloud_sap_api.rb +216 -0
  119. data/lib/ibm_cloud_power/api/p_cloud_snapshots_api.rb +288 -0
  120. data/lib/ibm_cloud_power/api/p_cloud_system_pools_api.rb +82 -0
  121. data/lib/ibm_cloud_power/api/p_cloud_tasks_api.rb +142 -0
  122. data/lib/ibm_cloud_power/api/p_cloud_tenants_api.rb +150 -0
  123. data/lib/ibm_cloud_power/api/p_cloud_tenants_ssh_keys_api.rb +356 -0
  124. data/lib/ibm_cloud_power/api/p_cloud_volumes_api.rb +1065 -0
  125. data/lib/ibm_cloud_power/api_client.rb +387 -0
  126. data/lib/ibm_cloud_power/api_error.rb +57 -0
  127. data/lib/ibm_cloud_power/configuration.rb +241 -0
  128. data/lib/ibm_cloud_power/models/clone_task_reference.rb +229 -0
  129. data/lib/ibm_cloud_power/models/clone_task_status.rb +285 -0
  130. data/lib/ibm_cloud_power/models/cloned_volume.rb +219 -0
  131. data/lib/ibm_cloud_power/models/cloned_volume_detail.rb +227 -0
  132. data/lib/ibm_cloud_power/models/cloud_instance.rb +361 -0
  133. data/lib/ibm_cloud_power/models/cloud_instance_create.rb +294 -0
  134. data/lib/ibm_cloud_power/models/cloud_instance_reference.rb +315 -0
  135. data/lib/ibm_cloud_power/models/cloud_instance_update.rb +249 -0
  136. data/lib/ibm_cloud_power/models/cloud_instance_usage_limits.rb +334 -0
  137. data/lib/ibm_cloud_power/models/create_data_volume.rb +313 -0
  138. data/lib/ibm_cloud_power/models/create_image.rb +360 -0
  139. data/lib/ibm_cloud_power/models/error.rb +217 -0
  140. data/lib/ibm_cloud_power/models/event.rb +357 -0
  141. data/lib/ibm_cloud_power/models/event_user.rb +234 -0
  142. data/lib/ibm_cloud_power/models/events.rb +216 -0
  143. data/lib/ibm_cloud_power/models/export_image.rb +249 -0
  144. data/lib/ibm_cloud_power/models/image.rb +351 -0
  145. data/lib/ibm_cloud_power/models/image_reference.rb +333 -0
  146. data/lib/ibm_cloud_power/models/image_specifications.rb +269 -0
  147. data/lib/ibm_cloud_power/models/image_volume.rb +259 -0
  148. data/lib/ibm_cloud_power/models/images.rb +216 -0
  149. data/lib/ibm_cloud_power/models/ip_address_range.rb +229 -0
  150. data/lib/ibm_cloud_power/models/min_max_default.rb +244 -0
  151. data/lib/ibm_cloud_power/models/multi_volumes_create.rb +313 -0
  152. data/lib/ibm_cloud_power/models/network.rb +395 -0
  153. data/lib/ibm_cloud_power/models/network_create.rb +314 -0
  154. data/lib/ibm_cloud_power/models/network_ip_address_metrics.rb +260 -0
  155. data/lib/ibm_cloud_power/models/network_port.rb +293 -0
  156. data/lib/ibm_cloud_power/models/network_port_create.rb +219 -0
  157. data/lib/ibm_cloud_power/models/network_port_pvm_instance.rb +220 -0
  158. data/lib/ibm_cloud_power/models/network_port_update.rb +219 -0
  159. data/lib/ibm_cloud_power/models/network_ports.rb +216 -0
  160. data/lib/ibm_cloud_power/models/network_reference.rb +325 -0
  161. data/lib/ibm_cloud_power/models/network_update.rb +243 -0
  162. data/lib/ibm_cloud_power/models/networks.rb +216 -0
  163. data/lib/ibm_cloud_power/models/operations.rb +287 -0
  164. data/lib/ibm_cloud_power/models/peering_network.rb +241 -0
  165. data/lib/ibm_cloud_power/models/pin_policy.rb +37 -0
  166. data/lib/ibm_cloud_power/models/pvm_instance.rb +612 -0
  167. data/lib/ibm_cloud_power/models/pvm_instance_action.rb +248 -0
  168. data/lib/ibm_cloud_power/models/pvm_instance_add_network.rb +224 -0
  169. data/lib/ibm_cloud_power/models/pvm_instance_capture.rb +317 -0
  170. data/lib/ibm_cloud_power/models/pvm_instance_clone.rb +328 -0
  171. data/lib/ibm_cloud_power/models/pvm_instance_console.rb +214 -0
  172. data/lib/ibm_cloud_power/models/pvm_instance_create.rb +483 -0
  173. data/lib/ibm_cloud_power/models/pvm_instance_fault.rb +240 -0
  174. data/lib/ibm_cloud_power/models/pvm_instance_health.rb +230 -0
  175. data/lib/ibm_cloud_power/models/pvm_instance_multi_create.rb +279 -0
  176. data/lib/ibm_cloud_power/models/pvm_instance_network.rb +290 -0
  177. data/lib/ibm_cloud_power/models/pvm_instance_networks.rb +216 -0
  178. data/lib/ibm_cloud_power/models/pvm_instance_operation.rb +262 -0
  179. data/lib/ibm_cloud_power/models/pvm_instance_reference.rb +566 -0
  180. data/lib/ibm_cloud_power/models/pvm_instance_remove_network.rb +209 -0
  181. data/lib/ibm_cloud_power/models/pvm_instance_update.rb +322 -0
  182. data/lib/ibm_cloud_power/models/pvm_instance_update_response.rb +292 -0
  183. data/lib/ibm_cloud_power/models/pvm_instance_volume_update.rb +214 -0
  184. data/lib/ibm_cloud_power/models/pvm_instances.rb +216 -0
  185. data/lib/ibm_cloud_power/models/sap_create.rb +311 -0
  186. data/lib/ibm_cloud_power/models/sap_profile.rb +310 -0
  187. data/lib/ibm_cloud_power/models/sap_profile_reference.rb +229 -0
  188. data/lib/ibm_cloud_power/models/sap_profiles.rb +216 -0
  189. data/lib/ibm_cloud_power/models/snapshot.rb +321 -0
  190. data/lib/ibm_cloud_power/models/snapshot_create.rb +236 -0
  191. data/lib/ibm_cloud_power/models/snapshot_create_response.rb +214 -0
  192. data/lib/ibm_cloud_power/models/snapshot_restore.rb +211 -0
  193. data/lib/ibm_cloud_power/models/snapshot_update.rb +219 -0
  194. data/lib/ibm_cloud_power/models/snapshots.rb +216 -0
  195. data/lib/ibm_cloud_power/models/software_licenses.rb +257 -0
  196. data/lib/ibm_cloud_power/models/src.rb +219 -0
  197. data/lib/ibm_cloud_power/models/ssh_key.rb +239 -0
  198. data/lib/ibm_cloud_power/models/ssh_keys.rb +216 -0
  199. data/lib/ibm_cloud_power/models/stock_image.rb +230 -0
  200. data/lib/ibm_cloud_power/models/system.rb +239 -0
  201. data/lib/ibm_cloud_power/models/system_pool.rb +277 -0
  202. data/lib/ibm_cloud_power/models/task.rb +334 -0
  203. data/lib/ibm_cloud_power/models/task_reference.rb +229 -0
  204. data/lib/ibm_cloud_power/models/tenant.rb +295 -0
  205. data/lib/ibm_cloud_power/models/tenant_update.rb +221 -0
  206. data/lib/ibm_cloud_power/models/update_volume.rb +239 -0
  207. data/lib/ibm_cloud_power/models/virtual_cores.rb +253 -0
  208. data/lib/ibm_cloud_power/models/volume.rb +356 -0
  209. data/lib/ibm_cloud_power/models/volume_info.rb +219 -0
  210. data/lib/ibm_cloud_power/models/volume_reference.rb +396 -0
  211. data/lib/ibm_cloud_power/models/volumes.rb +216 -0
  212. data/lib/ibm_cloud_power/models/volumes_clone.rb +284 -0
  213. data/lib/ibm_cloud_power/models/volumes_clone_async_request.rb +231 -0
  214. data/lib/ibm_cloud_power/models/volumes_clone_cancel.rb +209 -0
  215. data/lib/ibm_cloud_power/models/volumes_clone_create.rb +231 -0
  216. data/lib/ibm_cloud_power/models/volumes_clone_detail.rb +296 -0
  217. data/lib/ibm_cloud_power/models/volumes_clone_execute.rb +224 -0
  218. data/lib/ibm_cloud_power/models/volumes_clone_request.rb +231 -0
  219. data/lib/ibm_cloud_power/models/volumes_clone_response.rb +211 -0
  220. data/lib/ibm_cloud_power/models/volumes_clones.rb +211 -0
  221. data/lib/ibm_cloud_power/version.rb +15 -0
  222. data/spec/api/p_cloud_events_api_spec.rb +62 -0
  223. data/spec/api/p_cloud_images_api_spec.rb +117 -0
  224. data/spec/api/p_cloud_instances_api_spec.rb +69 -0
  225. data/spec/api/p_cloud_networks_api_spec.rb +161 -0
  226. data/spec/api/p_cloud_pvm_instances_api_spec.rb +240 -0
  227. data/spec/api/p_cloud_sap_api_spec.rb +70 -0
  228. data/spec/api/p_cloud_snapshots_api_spec.rb +83 -0
  229. data/spec/api/p_cloud_system_pools_api_spec.rb +46 -0
  230. data/spec/api/p_cloud_tasks_api_spec.rb +57 -0
  231. data/spec/api/p_cloud_tenants_api_spec.rb +58 -0
  232. data/spec/api/p_cloud_tenants_ssh_keys_api_spec.rb +95 -0
  233. data/spec/api/p_cloud_volumes_api_spec.rb +223 -0
  234. data/spec/api_client_spec.rb +226 -0
  235. data/spec/configuration_spec.rb +42 -0
  236. data/spec/models/clone_task_reference_spec.rb +47 -0
  237. data/spec/models/clone_task_status_spec.rb +63 -0
  238. data/spec/models/cloned_volume_detail_spec.rb +47 -0
  239. data/spec/models/cloned_volume_spec.rb +47 -0
  240. data/spec/models/cloud_instance_create_spec.rb +77 -0
  241. data/spec/models/cloud_instance_reference_spec.rb +83 -0
  242. data/spec/models/cloud_instance_spec.rb +101 -0
  243. data/spec/models/cloud_instance_update_spec.rb +65 -0
  244. data/spec/models/cloud_instance_usage_limits_spec.rb +101 -0
  245. data/spec/models/create_data_volume_spec.rb +81 -0
  246. data/spec/models/create_image_spec.rb +109 -0
  247. data/spec/models/error_spec.rb +47 -0
  248. data/spec/models/event_spec.rb +93 -0
  249. data/spec/models/event_user_spec.rb +53 -0
  250. data/spec/models/events_spec.rb +41 -0
  251. data/spec/models/export_image_spec.rb +59 -0
  252. data/spec/models/image_reference_spec.rb +89 -0
  253. data/spec/models/image_spec.rb +107 -0
  254. data/spec/models/image_specifications_spec.rb +77 -0
  255. data/spec/models/image_volume_spec.rb +59 -0
  256. data/spec/models/images_spec.rb +41 -0
  257. data/spec/models/ip_address_range_spec.rb +47 -0
  258. data/spec/models/min_max_default_spec.rb +53 -0
  259. data/spec/models/multi_volumes_create_spec.rb +81 -0
  260. data/spec/models/network_create_spec.rb +81 -0
  261. data/spec/models/network_ip_address_metrics_spec.rb +59 -0
  262. data/spec/models/network_port_create_spec.rb +47 -0
  263. data/spec/models/network_port_pvm_instance_spec.rb +47 -0
  264. data/spec/models/network_port_spec.rb +77 -0
  265. data/spec/models/network_port_update_spec.rb +47 -0
  266. data/spec/models/network_ports_spec.rb +41 -0
  267. data/spec/models/network_reference_spec.rb +75 -0
  268. data/spec/models/network_spec.rb +105 -0
  269. data/spec/models/network_update_spec.rb +59 -0
  270. data/spec/models/networks_spec.rb +41 -0
  271. data/spec/models/operations_spec.rb +65 -0
  272. data/spec/models/peering_network_spec.rb +53 -0
  273. data/spec/models/pin_policy_spec.rb +35 -0
  274. data/spec/models/pvm_instance_action_spec.rb +45 -0
  275. data/spec/models/pvm_instance_add_network_spec.rb +47 -0
  276. data/spec/models/pvm_instance_capture_spec.rb +81 -0
  277. data/spec/models/pvm_instance_clone_spec.rb +87 -0
  278. data/spec/models/pvm_instance_console_spec.rb +41 -0
  279. data/spec/models/pvm_instance_create_spec.rb +161 -0
  280. data/spec/models/pvm_instance_fault_spec.rb +59 -0
  281. data/spec/models/pvm_instance_health_spec.rb +53 -0
  282. data/spec/models/pvm_instance_multi_create_spec.rb +61 -0
  283. data/spec/models/pvm_instance_network_spec.rb +89 -0
  284. data/spec/models/pvm_instance_networks_spec.rb +41 -0
  285. data/spec/models/pvm_instance_operation_spec.rb +51 -0
  286. data/spec/models/pvm_instance_reference_spec.rb +207 -0
  287. data/spec/models/pvm_instance_remove_network_spec.rb +41 -0
  288. data/spec/models/pvm_instance_spec.rb +225 -0
  289. data/spec/models/pvm_instance_update_response_spec.rb +75 -0
  290. data/spec/models/pvm_instance_update_spec.rb +93 -0
  291. data/spec/models/pvm_instance_volume_update_spec.rb +41 -0
  292. data/spec/models/pvm_instances_spec.rb +41 -0
  293. data/spec/models/sap_create_spec.rb +89 -0
  294. data/spec/models/sap_profile_reference_spec.rb +47 -0
  295. data/spec/models/sap_profile_spec.rb +69 -0
  296. data/spec/models/sap_profiles_spec.rb +41 -0
  297. data/spec/models/snapshot_create_response_spec.rb +41 -0
  298. data/spec/models/snapshot_create_spec.rb +53 -0
  299. data/spec/models/snapshot_restore_spec.rb +41 -0
  300. data/spec/models/snapshot_spec.rb +95 -0
  301. data/spec/models/snapshot_update_spec.rb +47 -0
  302. data/spec/models/snapshots_spec.rb +41 -0
  303. data/spec/models/software_licenses_spec.rb +65 -0
  304. data/spec/models/src_spec.rb +47 -0
  305. data/spec/models/ssh_key_spec.rb +53 -0
  306. data/spec/models/ssh_keys_spec.rb +41 -0
  307. data/spec/models/stock_image_spec.rb +53 -0
  308. data/spec/models/system_pool_spec.rb +83 -0
  309. data/spec/models/system_spec.rb +53 -0
  310. data/spec/models/task_reference_spec.rb +47 -0
  311. data/spec/models/task_spec.rb +89 -0
  312. data/spec/models/tenant_spec.rb +77 -0
  313. data/spec/models/tenant_update_spec.rb +47 -0
  314. data/spec/models/update_volume_spec.rb +59 -0
  315. data/spec/models/virtual_cores_spec.rb +53 -0
  316. data/spec/models/volume_info_spec.rb +47 -0
  317. data/spec/models/volume_reference_spec.rb +119 -0
  318. data/spec/models/volume_spec.rb +113 -0
  319. data/spec/models/volumes_clone_async_request_spec.rb +47 -0
  320. data/spec/models/volumes_clone_cancel_spec.rb +41 -0
  321. data/spec/models/volumes_clone_create_spec.rb +47 -0
  322. data/spec/models/volumes_clone_detail_spec.rb +89 -0
  323. data/spec/models/volumes_clone_execute_spec.rb +47 -0
  324. data/spec/models/volumes_clone_request_spec.rb +47 -0
  325. data/spec/models/volumes_clone_response_spec.rb +47 -0
  326. data/spec/models/volumes_clone_spec.rb +83 -0
  327. data/spec/models/volumes_clones_spec.rb +41 -0
  328. data/spec/models/volumes_spec.rb +41 -0
  329. data/spec/spec_helper.rb +111 -0
  330. metadata +519 -0
@@ -0,0 +1,15 @@
1
+ =begin
2
+ #Power Cloud API
3
+
4
+ #IBM Power Cloud API for Power Hardware / Infrastructure
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: kylej@us.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0-beta2
10
+
11
+ =end
12
+
13
+ module IbmCloudPower
14
+ VERSION = '1.0.1'
15
+ end
@@ -0,0 +1,62 @@
1
+ =begin
2
+ #Power Cloud API
3
+
4
+ #IBM Power Cloud API for Power Hardware / Infrastructure
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: kylej@us.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0-beta2
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for IbmCloudPower::PCloudEventsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PCloudEventsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IbmCloudPower::PCloudEventsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PCloudEventsApi' do
30
+ it 'should create an instance of PCloudEventsApi' do
31
+ expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudEventsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for pcloud_events_get
36
+ # Get a single event
37
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
38
+ # @param event_id Event ID
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :accept_language The language requested for the return document
41
+ # @return [Event]
42
+ describe 'pcloud_events_get test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for pcloud_events_getsince
49
+ # Get events from this cloud instance since a specific timestamp
50
+ # You must append the '?time=' query parameter to the cURL URL to get a list of events.
51
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
52
+ # @param time A time in either ISO 8601 or unix epoch format
53
+ # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :accept_language The language requested for the return document
55
+ # @return [Events]
56
+ describe 'pcloud_events_getsince test' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ end
@@ -0,0 +1,117 @@
1
+ =begin
2
+ #Power Cloud API
3
+
4
+ #IBM Power Cloud API for Power Hardware / Infrastructure
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: kylej@us.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0-beta2
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for IbmCloudPower::PCloudImagesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PCloudImagesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IbmCloudPower::PCloudImagesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PCloudImagesApi' do
30
+ it 'should create an instance of PCloudImagesApi' do
31
+ expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudImagesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for pcloud_cloudinstances_images_delete
36
+ # Delete an image from a cloud instance
37
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
38
+ # @param image_id Image ID of a image
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Object]
41
+ describe 'pcloud_cloudinstances_images_delete test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for pcloud_cloudinstances_images_export_post
48
+ # Export an image
49
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
50
+ # @param image_id Image ID of a image
51
+ # @param body Parameters for exporting an image
52
+ # @param [Hash] opts the optional parameters
53
+ # @return [Object]
54
+ describe 'pcloud_cloudinstances_images_export_post test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ # unit tests for pcloud_cloudinstances_images_get
61
+ # Detailed information of an image
62
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
63
+ # @param image_id Image ID of a image
64
+ # @param [Hash] opts the optional parameters
65
+ # @return [Image]
66
+ describe 'pcloud_cloudinstances_images_get test' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
+ end
70
+ end
71
+
72
+ # unit tests for pcloud_cloudinstances_images_getall
73
+ # List all of the images for this cloud instance
74
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [Images]
77
+ describe 'pcloud_cloudinstances_images_getall test' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ # unit tests for pcloud_cloudinstances_images_post
84
+ # Create a new image from available images
85
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
86
+ # @param body Parameters for the creation of a new image from available images
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [Image]
89
+ describe 'pcloud_cloudinstances_images_post test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ # unit tests for pcloud_images_get
96
+ # Detailed information of an available image
97
+ # @param image_id Image ID of a image
98
+ # @param [Hash] opts the optional parameters
99
+ # @return [Images]
100
+ describe 'pcloud_images_get test' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
+ end
104
+ end
105
+
106
+ # unit tests for pcloud_images_getall
107
+ # List all images available for copying into cloud instances
108
+ # @param [Hash] opts the optional parameters
109
+ # @option opts [Boolean] :sap Include SAP images with get available stock images
110
+ # @return [Images]
111
+ describe 'pcloud_images_getall test' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
114
+ end
115
+ end
116
+
117
+ end
@@ -0,0 +1,69 @@
1
+ =begin
2
+ #Power Cloud API
3
+
4
+ #IBM Power Cloud API for Power Hardware / Infrastructure
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: kylej@us.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0-beta2
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for IbmCloudPower::PCloudInstancesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PCloudInstancesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IbmCloudPower::PCloudInstancesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PCloudInstancesApi' do
30
+ it 'should create an instance of PCloudInstancesApi' do
31
+ expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudInstancesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for pcloud_cloudinstances_delete
36
+ # Delete a Power Cloud instance
37
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Object]
40
+ describe 'pcloud_cloudinstances_delete test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ # unit tests for pcloud_cloudinstances_get
47
+ # Get a cloud instance's current state or information
48
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
49
+ # @param [Hash] opts the optional parameters
50
+ # @return [CloudInstance]
51
+ describe 'pcloud_cloudinstances_get test' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ end
55
+ end
56
+
57
+ # unit tests for pcloud_cloudinstances_put
58
+ # Update or upgrade a cloud instance
59
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
60
+ # @param body Parameters for updating a Power Cloud instance
61
+ # @param [Hash] opts the optional parameters
62
+ # @return [CloudInstance]
63
+ describe 'pcloud_cloudinstances_put 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
+ end
@@ -0,0 +1,161 @@
1
+ =begin
2
+ #Power Cloud API
3
+
4
+ #IBM Power Cloud API for Power Hardware / Infrastructure
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: kylej@us.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0-beta2
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for IbmCloudPower::PCloudNetworksApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PCloudNetworksApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IbmCloudPower::PCloudNetworksApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PCloudNetworksApi' do
30
+ it 'should create an instance of PCloudNetworksApi' do
31
+ expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudNetworksApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for pcloud_networks_delete
36
+ # Delete a network
37
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
38
+ # @param network_id Network ID
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Object]
41
+ describe 'pcloud_networks_delete test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for pcloud_networks_get
48
+ # Get a network's current state or information
49
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
50
+ # @param network_id Network ID
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [Network]
53
+ describe 'pcloud_networks_get test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for pcloud_networks_getall
60
+ # Get all networks in this cloud instance
61
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :filter A filter expression that filters resources listed in the response
64
+ # @return [Networks]
65
+ describe 'pcloud_networks_getall test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for pcloud_networks_ports_delete
72
+ # Delete a network port
73
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
74
+ # @param network_id Network ID
75
+ # @param port_id Port ID
76
+ # @param [Hash] opts the optional parameters
77
+ # @return [Object]
78
+ describe 'pcloud_networks_ports_delete 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 pcloud_networks_ports_get
85
+ # Get a port's information
86
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
87
+ # @param network_id Network ID
88
+ # @param port_id Port ID
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [NetworkPort]
91
+ describe 'pcloud_networks_ports_get test' do
92
+ it 'should work' do
93
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
94
+ end
95
+ end
96
+
97
+ # unit tests for pcloud_networks_ports_getall
98
+ # Get all ports for this network
99
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
100
+ # @param network_id Network ID
101
+ # @param [Hash] opts the optional parameters
102
+ # @return [NetworkPorts]
103
+ describe 'pcloud_networks_ports_getall test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
106
+ end
107
+ end
108
+
109
+ # unit tests for pcloud_networks_ports_post
110
+ # Perform port addition, deletion, and listing
111
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
112
+ # @param network_id Network ID
113
+ # @param [Hash] opts the optional parameters
114
+ # @option opts [NetworkPortCreate] :body Create a Network Port
115
+ # @return [NetworkPort]
116
+ describe 'pcloud_networks_ports_post test' do
117
+ it 'should work' do
118
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
+ end
120
+ end
121
+
122
+ # unit tests for pcloud_networks_ports_put
123
+ # Update a port's information
124
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
125
+ # @param network_id Network ID
126
+ # @param port_id Port ID
127
+ # @param body Parameters for updating a Port
128
+ # @param [Hash] opts the optional parameters
129
+ # @return [NetworkPort]
130
+ describe 'pcloud_networks_ports_put 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 pcloud_networks_post
137
+ # Create a new network
138
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
139
+ # @param body Parameters for the creation of a new network
140
+ # @param [Hash] opts the optional parameters
141
+ # @return [Network]
142
+ describe 'pcloud_networks_post test' do
143
+ it 'should work' do
144
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
145
+ end
146
+ end
147
+
148
+ # unit tests for pcloud_networks_put
149
+ # Update a network
150
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
151
+ # @param network_id Network ID
152
+ # @param body Parameters to update a Network
153
+ # @param [Hash] opts the optional parameters
154
+ # @return [Network]
155
+ describe 'pcloud_networks_put test' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
161
+ end
@@ -0,0 +1,240 @@
1
+ =begin
2
+ #Power Cloud API
3
+
4
+ #IBM Power Cloud API for Power Hardware / Infrastructure
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: kylej@us.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0-beta2
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for IbmCloudPower::PCloudPVMInstancesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PCloudPVMInstancesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IbmCloudPower::PCloudPVMInstancesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PCloudPVMInstancesApi' do
30
+ it 'should create an instance of PCloudPVMInstancesApi' do
31
+ expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudPVMInstancesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for pcloud_pvminstances_action_post
36
+ # Perform an action (start stop reboot immediate-shutdown reset) on a PVMInstance
37
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
38
+ # @param pvm_instance_id PCloud PVM Instance ID
39
+ # @param body Parameters for the desired action
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [Object]
42
+ describe 'pcloud_pvminstances_action_post test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for pcloud_pvminstances_capture_post
49
+ # Capture a PVM instance and create a deployable image
50
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
51
+ # @param pvm_instance_id PCloud PVM Instance ID
52
+ # @param body Parameters for the capture PVMInstance
53
+ # @param [Hash] opts the optional parameters
54
+ # @return [Object]
55
+ describe 'pcloud_pvminstances_capture_post test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
+ end
59
+ end
60
+
61
+ # unit tests for pcloud_pvminstances_console_post
62
+ # Generate the noVNC console URL
63
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
64
+ # @param pvm_instance_id PCloud PVM Instance ID
65
+ # @param [Hash] opts the optional parameters
66
+ # @return [PVMInstanceConsole]
67
+ describe 'pcloud_pvminstances_console_post test' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ end
71
+ end
72
+
73
+ # unit tests for pcloud_pvminstances_delete
74
+ # Delete a PCloud PVM instance
75
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
76
+ # @param pvm_instance_id PCloud PVM Instance ID
77
+ # @param [Hash] opts the optional parameters
78
+ # @return [Object]
79
+ describe 'pcloud_pvminstances_delete test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
+ end
83
+ end
84
+
85
+ # unit tests for pcloud_pvminstances_get
86
+ # Get a PVM instance's current state or information
87
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
88
+ # @param pvm_instance_id PCloud PVM Instance ID
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [PVMInstance]
91
+ describe 'pcloud_pvminstances_get test' do
92
+ it 'should work' do
93
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
94
+ end
95
+ end
96
+
97
+ # unit tests for pcloud_pvminstances_getall
98
+ # Get all the PVM instances for this cloud instance
99
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
100
+ # @param [Hash] opts the optional parameters
101
+ # @return [PVMInstances]
102
+ describe 'pcloud_pvminstances_getall test' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
105
+ end
106
+ end
107
+
108
+ # unit tests for pcloud_pvminstances_networks_delete
109
+ # Remove all addresses of network from a PVM instance
110
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
111
+ # @param pvm_instance_id PCloud PVM Instance ID
112
+ # @param network_id Network ID
113
+ # @param [Hash] opts the optional parameters
114
+ # @option opts [PVMInstanceRemoveNetwork] :body Remove a network from PVM Instance parameters
115
+ # @return [Object]
116
+ describe 'pcloud_pvminstances_networks_delete test' do
117
+ it 'should work' do
118
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
+ end
120
+ end
121
+
122
+ # unit tests for pcloud_pvminstances_networks_get
123
+ # Get a PVM instance's network information
124
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
125
+ # @param pvm_instance_id PCloud PVM Instance ID
126
+ # @param network_id Network ID
127
+ # @param [Hash] opts the optional parameters
128
+ # @return [PVMInstanceNetworks]
129
+ describe 'pcloud_pvminstances_networks_get test' do
130
+ it 'should work' do
131
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
132
+ end
133
+ end
134
+
135
+ # unit tests for pcloud_pvminstances_networks_getall
136
+ # Get all networks for this PVM instance
137
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
138
+ # @param pvm_instance_id PCloud PVM Instance ID
139
+ # @param [Hash] opts the optional parameters
140
+ # @return [PVMInstanceNetworks]
141
+ describe 'pcloud_pvminstances_networks_getall test' do
142
+ it 'should work' do
143
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
144
+ end
145
+ end
146
+
147
+ # unit tests for pcloud_pvminstances_networks_post
148
+ # Perform network addition, deletion, and listing
149
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
150
+ # @param pvm_instance_id PCloud PVM Instance ID
151
+ # @param body Add network to PVM Instance parameters
152
+ # @param [Hash] opts the optional parameters
153
+ # @return [PVMInstanceNetwork]
154
+ describe 'pcloud_pvminstances_networks_post test' do
155
+ it 'should work' do
156
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
157
+ end
158
+ end
159
+
160
+ # unit tests for pcloud_pvminstances_operations_post
161
+ # Perform an operation on a PVMInstance
162
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
163
+ # @param pvm_instance_id PCloud PVM Instance ID
164
+ # @param body Parameters for the desired operations
165
+ # @param [Hash] opts the optional parameters
166
+ # @return [Object]
167
+ describe 'pcloud_pvminstances_operations_post test' do
168
+ it 'should work' do
169
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
170
+ end
171
+ end
172
+
173
+ # unit tests for pcloud_pvminstances_post
174
+ # Create a new PVM instance
175
+ # The order of network IDs passed in will be the order of interfaces defined to the VM.
176
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
177
+ # @param body Parameters for the creation of a new tenant
178
+ # @param [Hash] opts the optional parameters
179
+ # @return [Array<PVMInstance>]
180
+ describe 'pcloud_pvminstances_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 pcloud_pvminstances_put
187
+ # Update a PCloud PVM instance
188
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
189
+ # @param pvm_instance_id PCloud PVM Instance ID
190
+ # @param body Parameters to update a PCloud PVM instance
191
+ # @param [Hash] opts the optional parameters
192
+ # @return [PVMInstanceUpdateResponse]
193
+ describe 'pcloud_pvminstances_put test' do
194
+ it 'should work' do
195
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
196
+ end
197
+ end
198
+
199
+ # unit tests for pcloud_pvminstances_snapshots_getall
200
+ # Get all snapshots for this PVM instance
201
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
202
+ # @param pvm_instance_id PCloud PVM Instance ID
203
+ # @param [Hash] opts the optional parameters
204
+ # @return [Snapshots]
205
+ describe 'pcloud_pvminstances_snapshots_getall test' do
206
+ it 'should work' do
207
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
208
+ end
209
+ end
210
+
211
+ # unit tests for pcloud_pvminstances_snapshots_post
212
+ # Create a PVM instance snapshot
213
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
214
+ # @param pvm_instance_id PCloud PVM Instance ID
215
+ # @param body PVM Instance snapshot create parameters
216
+ # @param [Hash] opts the optional parameters
217
+ # @return [SnapshotCreateResponse]
218
+ describe 'pcloud_pvminstances_snapshots_post test' do
219
+ it 'should work' do
220
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
221
+ end
222
+ end
223
+
224
+ # unit tests for pcloud_pvminstances_snapshots_restore_post
225
+ # Restore a PVM Instance snapshot
226
+ # To roll back the clone operation, append &#39;?restore_fail_action&#x3D;rollback&#39; to the cURL URL. If you&#39;d like to try the clone operation again, append &#39;?restore_fail_action&#x3D;retry&#39; to the cURL URL.
227
+ # @param cloud_instance_id Cloud Instance ID of a PCloud Instance
228
+ # @param pvm_instance_id PCloud PVM Instance ID
229
+ # @param snapshot_id PVM Instance snapshot id
230
+ # @param body PVM Instance snapshot restore parameters
231
+ # @param [Hash] opts the optional parameters
232
+ # @option opts [String] :restore_fail_action Action to take on a failed snapshot restore
233
+ # @return [nil]
234
+ describe 'pcloud_pvminstances_snapshots_restore_post test' do
235
+ it 'should work' do
236
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
237
+ end
238
+ end
239
+
240
+ end