ibm_cloud_power 2.0.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (444) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +72 -0
  3. data/README.md +150 -76
  4. data/docs/AuxiliaryVolumeForOnboarding.md +20 -0
  5. data/docs/AuxiliaryVolumesForOnboarding.md +20 -0
  6. data/docs/CloneTaskStatus.md +5 -5
  7. data/docs/ClonedVolume.md +3 -3
  8. data/docs/ClonedVolumeDetail.md +3 -3
  9. data/docs/CloudConnection.md +17 -15
  10. data/docs/CloudConnectionCreate.md +12 -4
  11. data/docs/CloudConnectionCreateResponse.md +17 -15
  12. data/docs/CloudConnectionEndpointClassic.md +1 -1
  13. data/docs/CloudConnectionEndpointClassicUpdate.md +20 -0
  14. data/docs/CloudConnectionGRETunnel.md +2 -4
  15. data/docs/CloudConnectionGRETunnelCreate.md +20 -0
  16. data/docs/CloudConnectionUpdate.md +6 -6
  17. data/docs/CloudConnectionVPC.md +3 -3
  18. data/docs/CloudConnectionVirtualPrivateCloudsVirtualPrivateCloudsInner.md +3 -3
  19. data/docs/CloudInstance.md +13 -13
  20. data/docs/CloudInstanceReference.md +8 -8
  21. data/docs/CloudInstanceUsageLimits.md +8 -8
  22. data/docs/ConsoleLanguage.md +20 -0
  23. data/docs/ConsoleLanguages.md +18 -0
  24. data/docs/CreateDataVolume.md +17 -15
  25. data/docs/CreateImage.md +15 -15
  26. data/docs/DisasterRecoveryLocation.md +20 -0
  27. data/docs/DisasterRecoveryLocations.md +18 -0
  28. data/docs/Event.md +11 -11
  29. data/docs/EventUser.md +4 -4
  30. data/docs/ExportImage.md +2 -2
  31. data/docs/FlashCopyMapping.md +30 -0
  32. data/docs/IKEPolicy.md +4 -4
  33. data/docs/IKEPolicyAuthentication.md +15 -0
  34. data/docs/IKEPolicyCreate.md +4 -4
  35. data/docs/IKEPolicyOptions.md +2 -2
  36. data/docs/IKEPolicyTemplate.md +2 -2
  37. data/docs/IKEPolicyUpdate.md +4 -4
  38. data/docs/IPAddressRange.md +3 -3
  39. data/docs/IPSECPolicyAuthentication.md +15 -0
  40. data/docs/IPSecPolicy.md +2 -2
  41. data/docs/IPSecPolicyCreate.md +2 -2
  42. data/docs/IPSecPolicyOptions.md +2 -2
  43. data/docs/IPSecPolicyTemplate.md +1 -1
  44. data/docs/IPSecPolicyUpdate.md +2 -2
  45. data/docs/Image.md +17 -17
  46. data/docs/ImageReference.md +12 -12
  47. data/docs/ImageSpecifications.md +8 -8
  48. data/docs/ImageVolume.md +4 -4
  49. data/docs/MaximumStorageAllocation.md +4 -4
  50. data/docs/MinMaxDefault.md +4 -4
  51. data/docs/MultiVolumesCreate.md +19 -17
  52. data/docs/Network.md +18 -14
  53. data/docs/NetworkCloudConnectionsInner.md +20 -0
  54. data/docs/NetworkCreate.md +7 -7
  55. data/docs/NetworkIpAddressMetrics.md +2 -2
  56. data/docs/NetworkPort.md +11 -11
  57. data/docs/NetworkPortPvmInstance.md +3 -3
  58. data/docs/NetworkReference.md +10 -8
  59. data/docs/NetworkUpdate.md +5 -5
  60. data/docs/Operation.md +1 -1
  61. data/docs/PCloudCloudConnectionsApi.md +56 -56
  62. data/docs/PCloudDisasterRecoveryApi.md +130 -0
  63. data/docs/PCloudEventsApi.md +10 -8
  64. data/docs/PCloudImagesApi.md +56 -52
  65. data/docs/PCloudInstancesApi.md +4 -132
  66. data/docs/PCloudJobsApi.md +6 -6
  67. data/docs/PCloudNetworksApi.md +20 -20
  68. data/docs/PCloudPVMInstancesApi.md +201 -73
  69. data/docs/PCloudPlacementGroupsApi.md +28 -28
  70. data/docs/PCloudSAPApi.md +1 -1
  71. data/docs/PCloudSPPPlacementGroupsApi.md +399 -0
  72. data/docs/PCloudSharedProcessorPoolsApi.md +332 -0
  73. data/docs/PCloudSnapshotsApi.md +2 -2
  74. data/docs/PCloudSystemPoolsApi.md +4 -4
  75. data/docs/PCloudTasksApi.md +9 -9
  76. data/docs/PCloudTenantsApi.md +4 -4
  77. data/docs/PCloudTenantsSSHKeysApi.md +16 -16
  78. data/docs/PCloudVPNConnectionsApi.md +2 -67
  79. data/docs/PCloudVPNPoliciesApi.md +6 -6
  80. data/docs/PCloudVolumeGroupsApi.md +657 -0
  81. data/docs/PCloudVolumeOnboardingApi.md +200 -0
  82. data/docs/PCloudVolumesApi.md +330 -64
  83. data/docs/PVMInstance.md +60 -46
  84. data/docs/PVMInstanceAddNetwork.md +3 -3
  85. data/docs/PVMInstanceCapture.md +4 -4
  86. data/docs/PVMInstanceClone.md +11 -11
  87. data/docs/PVMInstanceConsole.md +1 -1
  88. data/docs/PVMInstanceCreate.md +38 -30
  89. data/docs/PVMInstanceFault.md +3 -3
  90. data/docs/PVMInstanceHealth.md +3 -3
  91. data/docs/PVMInstanceMultiCreate.md +2 -2
  92. data/docs/PVMInstanceNetwork.md +12 -12
  93. data/docs/PVMInstanceOperation.md +3 -3
  94. data/docs/PVMInstanceReference.md +52 -40
  95. data/docs/PVMInstanceUpdate.md +12 -10
  96. data/docs/PVMInstanceUpdateResponse.md +11 -9
  97. data/docs/PeeringNetwork.md +3 -3
  98. data/docs/PlacementGroup.md +3 -3
  99. data/docs/RemoteCopyRelationship.md +44 -0
  100. data/docs/SAPCreate.md +20 -14
  101. data/docs/SAPProfile.md +6 -6
  102. data/docs/SAPProfileReference.md +3 -3
  103. data/docs/SPPPlacementGroup.md +24 -0
  104. data/docs/SPPPlacementGroupCreate.md +20 -0
  105. data/docs/SPPPlacementGroups.md +18 -0
  106. data/docs/SRC.md +3 -3
  107. data/docs/SSHKey.md +3 -3
  108. data/docs/SharedProcessorPool.md +36 -0
  109. data/docs/SharedProcessorPoolCreate.md +24 -0
  110. data/docs/SharedProcessorPoolDetail.md +20 -0
  111. data/docs/SharedProcessorPoolPlacementGroup.md +22 -0
  112. data/docs/SharedProcessorPoolServer.md +32 -0
  113. data/docs/SharedProcessorPoolUpdate.md +20 -0
  114. data/docs/SharedProcessorPools.md +18 -0
  115. data/docs/Site.md +20 -0
  116. data/docs/Snapshot.md +15 -15
  117. data/docs/SnapshotCreate.md +4 -4
  118. data/docs/SnapshotUpdate.md +3 -3
  119. data/docs/SoftwareLicenses.md +3 -3
  120. data/docs/StatusDescription.md +18 -0
  121. data/docs/StatusDescriptionError.md +22 -0
  122. data/docs/StockImage.md +4 -4
  123. data/docs/StorageAffinity.md +3 -3
  124. data/docs/StoragePoolCapacity.md +2 -2
  125. data/docs/StorageTypeCapacity.md +3 -3
  126. data/docs/SystemPool.md +8 -8
  127. data/docs/Task.md +10 -10
  128. data/docs/TaskReference.md +3 -3
  129. data/docs/Tenant.md +9 -9
  130. data/docs/UpdateVolume.md +4 -4
  131. data/docs/VirtualCores.md +4 -4
  132. data/docs/Volume.md +41 -19
  133. data/docs/VolumeAction.md +18 -0
  134. data/docs/VolumeGroup.md +28 -0
  135. data/docs/VolumeGroupAction.md +22 -0
  136. data/docs/VolumeGroupActionReset.md +18 -0
  137. data/docs/VolumeGroupActionStart.md +18 -0
  138. data/docs/VolumeGroupActionStop.md +18 -0
  139. data/docs/VolumeGroupCreate.md +22 -0
  140. data/docs/VolumeGroupCreateResponse.md +24 -0
  141. data/docs/VolumeGroupDetails.md +30 -0
  142. data/docs/VolumeGroupRemoteCopyRelationships.md +20 -0
  143. data/docs/VolumeGroupStorageDetails.md +34 -0
  144. data/docs/VolumeGroupUpdate.md +20 -0
  145. data/docs/VolumeGroups.md +18 -0
  146. data/docs/VolumeGroupsDetails.md +18 -0
  147. data/docs/VolumeInfo.md +3 -3
  148. data/docs/VolumeOnboarding.md +30 -0
  149. data/docs/VolumeOnboardingCommon.md +24 -0
  150. data/docs/VolumeOnboardingCreate.md +20 -0
  151. data/docs/VolumeOnboardingCreateResponse.md +20 -0
  152. data/docs/VolumeOnboardingFailure.md +20 -0
  153. data/docs/VolumeOnboardings.md +18 -0
  154. data/docs/VolumeReference.md +43 -21
  155. data/docs/VolumeRemoteCopyRelationship.md +48 -0
  156. data/docs/VolumesAttach.md +18 -0
  157. data/docs/VolumesAttachmentResponse.md +18 -0
  158. data/docs/VolumesClone.md +11 -11
  159. data/docs/VolumesCloneAsyncRequest.md +1 -1
  160. data/docs/VolumesCloneDetail.md +12 -12
  161. data/docs/VolumesCloneExecute.md +1 -1
  162. data/docs/VolumesCloneResponse.md +3 -1
  163. data/ibm_cloud_power-2.1.0.gem +0 -0
  164. data/ibm_cloud_power.gemspec +1 -1
  165. data/lib/ibm_cloud_power/api/p_cloud_cloud_connections_api.rb +39 -39
  166. data/lib/ibm_cloud_power/api/p_cloud_disaster_recovery_api.rb +138 -0
  167. data/lib/ibm_cloud_power/api/p_cloud_events_api.rb +18 -13
  168. data/lib/ibm_cloud_power/api/p_cloud_images_api.rb +32 -26
  169. data/lib/ibm_cloud_power/api/p_cloud_instances_api.rb +3 -136
  170. data/lib/ibm_cloud_power/api/p_cloud_jobs_api.rb +6 -6
  171. data/lib/ibm_cloud_power/api/p_cloud_networks_api.rb +11 -11
  172. data/lib/ibm_cloud_power/api/p_cloud_placement_groups_api.rb +17 -17
  173. data/lib/ibm_cloud_power/api/p_cloud_pvm_instances_api.rb +182 -41
  174. data/lib/ibm_cloud_power/api/p_cloud_sap_api.rb +1 -1
  175. data/lib/ibm_cloud_power/api/p_cloud_shared_processor_pools_api.rb +367 -0
  176. data/lib/ibm_cloud_power/api/p_cloud_snapshots_api.rb +3 -3
  177. data/lib/ibm_cloud_power/api/p_cloud_spp_placement_groups_api.rb +435 -0
  178. data/lib/ibm_cloud_power/api/p_cloud_storage_capacity_api.rb +1 -1
  179. data/lib/ibm_cloud_power/api/p_cloud_system_pools_api.rb +3 -3
  180. data/lib/ibm_cloud_power/api/p_cloud_tasks_api.rb +6 -6
  181. data/lib/ibm_cloud_power/api/p_cloud_tenants_api.rb +3 -3
  182. data/lib/ibm_cloud_power/api/p_cloud_tenants_ssh_keys_api.rb +9 -9
  183. data/lib/ibm_cloud_power/api/p_cloud_volume_groups_api.rb +707 -0
  184. data/lib/ibm_cloud_power/api/p_cloud_volume_onboarding_api.rb +222 -0
  185. data/lib/ibm_cloud_power/api/p_cloud_volumes_api.rb +334 -40
  186. data/lib/ibm_cloud_power/api/p_cloud_vpn_connections_api.rb +3 -66
  187. data/lib/ibm_cloud_power/api/p_cloud_vpn_policies_api.rb +5 -5
  188. data/lib/ibm_cloud_power/api_client.rb +1 -1
  189. data/lib/ibm_cloud_power/api_error.rb +1 -1
  190. data/lib/ibm_cloud_power/configuration.rb +1 -1
  191. data/lib/ibm_cloud_power/models/auxiliary_volume_for_onboarding.rb +235 -0
  192. data/lib/ibm_cloud_power/models/auxiliary_volumes_for_onboarding.rb +241 -0
  193. data/lib/ibm_cloud_power/models/clone_task_reference.rb +1 -1
  194. data/lib/ibm_cloud_power/models/clone_task_status.rb +30 -30
  195. data/lib/ibm_cloud_power/models/cloned_volume.rb +15 -15
  196. data/lib/ibm_cloud_power/models/cloned_volume_detail.rb +19 -19
  197. data/lib/ibm_cloud_power/models/cloud_connection.rb +96 -86
  198. data/lib/ibm_cloud_power/models/cloud_connection_create.rb +56 -16
  199. data/lib/ibm_cloud_power/models/cloud_connection_create_response.rb +96 -86
  200. data/lib/ibm_cloud_power/models/cloud_connection_endpoint_classic.rb +2 -2
  201. data/lib/ibm_cloud_power/models/cloud_connection_endpoint_classic_update.rb +229 -0
  202. data/lib/ibm_cloud_power/models/cloud_connection_endpoint_vpc.rb +1 -1
  203. data/lib/ibm_cloud_power/models/cloud_connection_gre_tunnel.rb +12 -22
  204. data/lib/ibm_cloud_power/models/cloud_connection_gre_tunnel_create.rb +240 -0
  205. data/lib/ibm_cloud_power/models/cloud_connection_update.rb +25 -25
  206. data/lib/ibm_cloud_power/models/cloud_connection_virtual_private_clouds.rb +1 -1
  207. data/lib/ibm_cloud_power/models/cloud_connection_virtual_private_clouds_virtual_private_clouds_inner.rb +20 -20
  208. data/lib/ibm_cloud_power/models/cloud_connection_vpc.rb +15 -15
  209. data/lib/ibm_cloud_power/models/cloud_connections.rb +1 -1
  210. data/lib/ibm_cloud_power/models/cloud_instance.rb +83 -83
  211. data/lib/ibm_cloud_power/models/cloud_instance_reference.rb +51 -51
  212. data/lib/ibm_cloud_power/models/cloud_instance_usage_limits.rb +42 -42
  213. data/lib/ibm_cloud_power/models/console_language.rb +235 -0
  214. data/lib/ibm_cloud_power/models/console_languages.rb +227 -0
  215. data/lib/ibm_cloud_power/models/create_cos_image_import_job.rb +1 -1
  216. data/lib/ibm_cloud_power/models/create_data_volume.rb +78 -68
  217. data/lib/ibm_cloud_power/models/create_image.rb +61 -62
  218. data/lib/ibm_cloud_power/models/dead_peer_detection.rb +1 -1
  219. data/lib/ibm_cloud_power/models/disaster_recovery_location.rb +232 -0
  220. data/lib/ibm_cloud_power/models/disaster_recovery_locations.rb +227 -0
  221. data/lib/ibm_cloud_power/models/error.rb +1 -1
  222. data/lib/ibm_cloud_power/models/event.rb +66 -66
  223. data/lib/ibm_cloud_power/models/event_user.rb +16 -16
  224. data/lib/ibm_cloud_power/models/events.rb +1 -1
  225. data/lib/ibm_cloud_power/models/export_image.rb +17 -17
  226. data/lib/ibm_cloud_power/models/flash_copy_mapping.rb +285 -0
  227. data/lib/ibm_cloud_power/models/ike_policies.rb +1 -1
  228. data/lib/ibm_cloud_power/models/ike_policy.rb +4 -17
  229. data/lib/ibm_cloud_power/models/ike_policy_authentication.rb +42 -0
  230. data/lib/ibm_cloud_power/models/ike_policy_create.rb +32 -22
  231. data/lib/ibm_cloud_power/models/ike_policy_options.rb +1 -1
  232. data/lib/ibm_cloud_power/models/ike_policy_ref.rb +1 -1
  233. data/lib/ibm_cloud_power/models/ike_policy_template.rb +1 -1
  234. data/lib/ibm_cloud_power/models/ike_policy_update.rb +28 -17
  235. data/lib/ibm_cloud_power/models/image.rb +87 -87
  236. data/lib/ibm_cloud_power/models/image_reference.rb +82 -82
  237. data/lib/ibm_cloud_power/models/image_specifications.rb +30 -30
  238. data/lib/ibm_cloud_power/models/image_volume.rb +22 -22
  239. data/lib/ibm_cloud_power/models/images.rb +1 -1
  240. data/lib/ibm_cloud_power/models/ip_address_range.rb +20 -20
  241. data/lib/ibm_cloud_power/models/ip_sec_policies.rb +1 -1
  242. data/lib/ibm_cloud_power/models/ip_sec_policy.rb +4 -17
  243. data/lib/ibm_cloud_power/models/ip_sec_policy_create.rb +32 -22
  244. data/lib/ibm_cloud_power/models/ip_sec_policy_options.rb +1 -1
  245. data/lib/ibm_cloud_power/models/ip_sec_policy_ref.rb +1 -1
  246. data/lib/ibm_cloud_power/models/ip_sec_policy_template.rb +1 -1
  247. data/lib/ibm_cloud_power/models/ip_sec_policy_update.rb +28 -17
  248. data/lib/ibm_cloud_power/models/ipsec_policy_authentication.rb +41 -0
  249. data/lib/ibm_cloud_power/models/job.rb +1 -1
  250. data/lib/ibm_cloud_power/models/job_reference.rb +1 -1
  251. data/lib/ibm_cloud_power/models/jobs.rb +1 -1
  252. data/lib/ibm_cloud_power/models/maximum_storage_allocation.rb +22 -22
  253. data/lib/ibm_cloud_power/models/min_max_default.rb +22 -22
  254. data/lib/ibm_cloud_power/models/multi_volumes_create.rb +85 -75
  255. data/lib/ibm_cloud_power/models/network.rb +109 -87
  256. data/lib/ibm_cloud_power/models/network_cloud_connections_inner.rb +230 -0
  257. data/lib/ibm_cloud_power/models/network_create.rb +37 -37
  258. data/lib/ibm_cloud_power/models/network_id.rb +1 -1
  259. data/lib/ibm_cloud_power/models/network_ids.rb +1 -1
  260. data/lib/ibm_cloud_power/models/network_ip_address_metrics.rb +17 -17
  261. data/lib/ibm_cloud_power/models/network_port.rb +52 -52
  262. data/lib/ibm_cloud_power/models/network_port_create.rb +1 -1
  263. data/lib/ibm_cloud_power/models/network_port_pvm_instance.rb +15 -15
  264. data/lib/ibm_cloud_power/models/network_port_update.rb +1 -1
  265. data/lib/ibm_cloud_power/models/network_ports.rb +1 -1
  266. data/lib/ibm_cloud_power/models/network_reference.rb +59 -49
  267. data/lib/ibm_cloud_power/models/network_update.rb +24 -24
  268. data/lib/ibm_cloud_power/models/networks.rb +1 -1
  269. data/lib/ibm_cloud_power/models/operation.rb +2 -2
  270. data/lib/ibm_cloud_power/models/operations.rb +1 -1
  271. data/lib/ibm_cloud_power/models/options.rb +1 -1
  272. data/lib/ibm_cloud_power/models/peer_subnet_update.rb +1 -1
  273. data/lib/ibm_cloud_power/models/peer_subnets.rb +1 -1
  274. data/lib/ibm_cloud_power/models/peering_network.rb +20 -20
  275. data/lib/ibm_cloud_power/models/pin_policy.rb +7 -4
  276. data/lib/ibm_cloud_power/models/placement_group.rb +22 -22
  277. data/lib/ibm_cloud_power/models/placement_group_create.rb +1 -1
  278. data/lib/ibm_cloud_power/models/placement_group_server.rb +1 -1
  279. data/lib/ibm_cloud_power/models/placement_groups.rb +1 -1
  280. data/lib/ibm_cloud_power/models/pvm_instance.rb +284 -215
  281. data/lib/ibm_cloud_power/models/pvm_instance_action.rb +1 -1
  282. data/lib/ibm_cloud_power/models/pvm_instance_add_network.rb +15 -15
  283. data/lib/ibm_cloud_power/models/pvm_instance_capture.rb +26 -26
  284. data/lib/ibm_cloud_power/models/pvm_instance_clone.rb +49 -49
  285. data/lib/ibm_cloud_power/models/pvm_instance_console.rb +2 -2
  286. data/lib/ibm_cloud_power/models/pvm_instance_create.rb +202 -150
  287. data/lib/ibm_cloud_power/models/pvm_instance_fault.rb +15 -15
  288. data/lib/ibm_cloud_power/models/pvm_instance_health.rb +15 -15
  289. data/lib/ibm_cloud_power/models/pvm_instance_multi_create.rb +12 -12
  290. data/lib/ibm_cloud_power/models/pvm_instance_network.rb +54 -54
  291. data/lib/ibm_cloud_power/models/pvm_instance_networks.rb +1 -1
  292. data/lib/ibm_cloud_power/models/pvm_instance_operation.rb +19 -19
  293. data/lib/ibm_cloud_power/models/pvm_instance_reference.rb +252 -191
  294. data/lib/ibm_cloud_power/models/pvm_instance_remove_network.rb +1 -1
  295. data/lib/ibm_cloud_power/models/pvm_instance_update.rb +50 -40
  296. data/lib/ibm_cloud_power/models/pvm_instance_update_response.rb +46 -36
  297. data/lib/ibm_cloud_power/models/pvm_instance_volume_update.rb +1 -1
  298. data/lib/ibm_cloud_power/models/pvm_instances.rb +1 -1
  299. data/lib/ibm_cloud_power/models/remote_copy_relationship.rb +360 -0
  300. data/lib/ibm_cloud_power/models/sap_create.rb +87 -57
  301. data/lib/ibm_cloud_power/models/sap_profile.rb +39 -39
  302. data/lib/ibm_cloud_power/models/sap_profile_reference.rb +20 -20
  303. data/lib/ibm_cloud_power/models/sap_profiles.rb +1 -1
  304. data/lib/ibm_cloud_power/models/shared_processor_pool.rb +337 -0
  305. data/lib/ibm_cloud_power/models/shared_processor_pool_create.rb +265 -0
  306. data/lib/ibm_cloud_power/models/shared_processor_pool_detail.rb +241 -0
  307. data/lib/ibm_cloud_power/models/shared_processor_pool_placement_group.rb +255 -0
  308. data/lib/ibm_cloud_power/models/shared_processor_pool_server.rb +290 -0
  309. data/lib/ibm_cloud_power/models/shared_processor_pool_update.rb +230 -0
  310. data/lib/ibm_cloud_power/models/shared_processor_pools.rb +222 -0
  311. data/lib/ibm_cloud_power/models/site.rb +230 -0
  312. data/lib/ibm_cloud_power/models/snapshot.rb +72 -72
  313. data/lib/ibm_cloud_power/models/snapshot_create.rb +14 -14
  314. data/lib/ibm_cloud_power/models/snapshot_create_response.rb +1 -1
  315. data/lib/ibm_cloud_power/models/snapshot_restore.rb +1 -1
  316. data/lib/ibm_cloud_power/models/snapshot_update.rb +15 -15
  317. data/lib/ibm_cloud_power/models/snapshots.rb +1 -1
  318. data/lib/ibm_cloud_power/models/software_licenses.rb +17 -17
  319. data/lib/ibm_cloud_power/models/spp_placement_group.rb +267 -0
  320. data/lib/ibm_cloud_power/models/spp_placement_group_create.rb +274 -0
  321. data/lib/ibm_cloud_power/models/spp_placement_groups.rb +222 -0
  322. data/lib/ibm_cloud_power/models/src.rb +15 -15
  323. data/lib/ibm_cloud_power/models/ssh_key.rb +15 -15
  324. data/lib/ibm_cloud_power/models/ssh_keys.rb +1 -1
  325. data/lib/ibm_cloud_power/models/status.rb +1 -1
  326. data/lib/ibm_cloud_power/models/status_description.rb +223 -0
  327. data/lib/ibm_cloud_power/models/status_description_error.rb +243 -0
  328. data/lib/ibm_cloud_power/models/stock_image.rb +16 -16
  329. data/lib/ibm_cloud_power/models/storage_affinity.rb +4 -4
  330. data/lib/ibm_cloud_power/models/storage_pool_capacity.rb +12 -12
  331. data/lib/ibm_cloud_power/models/storage_pools_capacity.rb +1 -1
  332. data/lib/ibm_cloud_power/models/storage_type_capacity.rb +15 -15
  333. data/lib/ibm_cloud_power/models/storage_types_capacity.rb +1 -1
  334. data/lib/ibm_cloud_power/models/system.rb +1 -1
  335. data/lib/ibm_cloud_power/models/system_pool.rb +33 -33
  336. data/lib/ibm_cloud_power/models/task.rb +67 -67
  337. data/lib/ibm_cloud_power/models/task_reference.rb +20 -20
  338. data/lib/ibm_cloud_power/models/tenant.rb +54 -54
  339. data/lib/ibm_cloud_power/models/tenant_update.rb +1 -1
  340. data/lib/ibm_cloud_power/models/update_volume.rb +19 -19
  341. data/lib/ibm_cloud_power/models/virtual_cores.rb +16 -16
  342. data/lib/ibm_cloud_power/models/volume.rb +234 -90
  343. data/lib/ibm_cloud_power/models/volume_action.rb +225 -0
  344. data/lib/ibm_cloud_power/models/volume_group.rb +279 -0
  345. data/lib/ibm_cloud_power/models/volume_group_action.rb +238 -0
  346. data/lib/ibm_cloud_power/models/volume_group_action_reset.rb +262 -0
  347. data/lib/ibm_cloud_power/models/volume_group_action_start.rb +262 -0
  348. data/lib/ibm_cloud_power/models/volume_group_action_stop.rb +226 -0
  349. data/lib/ibm_cloud_power/models/volume_group_create.rb +247 -0
  350. data/lib/ibm_cloud_power/models/volume_group_create_response.rb +265 -0
  351. data/lib/ibm_cloud_power/models/volume_group_details.rb +291 -0
  352. data/lib/ibm_cloud_power/models/volume_group_remote_copy_relationships.rb +232 -0
  353. data/lib/ibm_cloud_power/models/volume_group_storage_details.rb +307 -0
  354. data/lib/ibm_cloud_power/models/volume_group_update.rb +234 -0
  355. data/lib/ibm_cloud_power/models/volume_groups.rb +227 -0
  356. data/lib/ibm_cloud_power/models/volume_groups_details.rb +227 -0
  357. data/lib/ibm_cloud_power/models/volume_info.rb +15 -15
  358. data/lib/ibm_cloud_power/models/volume_onboarding.rb +296 -0
  359. data/lib/ibm_cloud_power/models/volume_onboarding_common.rb +257 -0
  360. data/lib/ibm_cloud_power/models/volume_onboarding_create.rb +236 -0
  361. data/lib/ibm_cloud_power/models/volume_onboarding_create_response.rb +230 -0
  362. data/lib/ibm_cloud_power/models/volume_onboarding_failure.rb +232 -0
  363. data/lib/ibm_cloud_power/models/volume_onboardings.rb +227 -0
  364. data/lib/ibm_cloud_power/models/volume_reference.rb +261 -117
  365. data/lib/ibm_cloud_power/models/volume_remote_copy_relationship.rb +387 -0
  366. data/lib/ibm_cloud_power/models/volumes.rb +1 -1
  367. data/lib/ibm_cloud_power/models/volumes_attach.rb +227 -0
  368. data/lib/ibm_cloud_power/models/volumes_attachment_response.rb +225 -0
  369. data/lib/ibm_cloud_power/models/volumes_clone.rb +50 -50
  370. data/lib/ibm_cloud_power/models/volumes_clone_async_request.rb +2 -2
  371. data/lib/ibm_cloud_power/models/volumes_clone_cancel.rb +1 -1
  372. data/lib/ibm_cloud_power/models/volumes_clone_create.rb +1 -1
  373. data/lib/ibm_cloud_power/models/volumes_clone_detail.rb +56 -56
  374. data/lib/ibm_cloud_power/models/volumes_clone_execute.rb +2 -2
  375. data/lib/ibm_cloud_power/models/volumes_clone_request.rb +1 -1
  376. data/lib/ibm_cloud_power/models/volumes_clone_response.rb +14 -6
  377. data/lib/ibm_cloud_power/models/volumes_clones.rb +1 -1
  378. data/lib/ibm_cloud_power/models/vp_naa_s_options.rb +1 -1
  379. data/lib/ibm_cloud_power/models/vpn_connection.rb +1 -1
  380. data/lib/ibm_cloud_power/models/vpn_connection_create.rb +1 -1
  381. data/lib/ibm_cloud_power/models/vpn_connection_create_response.rb +1 -1
  382. data/lib/ibm_cloud_power/models/vpn_connection_update.rb +1 -1
  383. data/lib/ibm_cloud_power/models/vpn_connections.rb +1 -1
  384. data/lib/ibm_cloud_power/version.rb +2 -2
  385. data/lib/ibm_cloud_power.rb +55 -5
  386. data/spec/api/p_cloud_disaster_recovery_api_spec.rb +56 -0
  387. data/spec/api/p_cloud_shared_processor_pools_api_spec.rb +95 -0
  388. data/spec/api/p_cloud_spp_placement_groups_api_spec.rb +108 -0
  389. data/spec/api/p_cloud_volume_groups_api_spec.rb +155 -0
  390. data/spec/api/p_cloud_volume_onboarding_api_spec.rb +70 -0
  391. data/spec/api_client_spec.rb +1 -1
  392. data/spec/configuration_spec.rb +1 -1
  393. data/spec/models/auxiliary_volume_for_onboarding_spec.rb +40 -0
  394. data/spec/models/auxiliary_volumes_for_onboarding_spec.rb +40 -0
  395. data/spec/models/cloud_connection_endpoint_classic_update_spec.rb +40 -0
  396. data/spec/models/cloud_connection_gre_tunnel_create_spec.rb +40 -0
  397. data/spec/models/console_language_spec.rb +40 -0
  398. data/spec/models/console_languages_spec.rb +34 -0
  399. data/spec/models/disaster_recovery_location_spec.rb +40 -0
  400. data/spec/models/disaster_recovery_locations_spec.rb +34 -0
  401. data/spec/models/flash_copy_mapping_spec.rb +70 -0
  402. data/spec/models/ike_policy_authentication_spec.rb +28 -0
  403. data/spec/models/ipsec_policy_authentication_spec.rb +28 -0
  404. data/spec/models/network_cloud_connections_inner_spec.rb +40 -0
  405. data/spec/models/remote_copy_relationship_spec.rb +112 -0
  406. data/spec/models/shared_processor_pool_create_spec.rb +52 -0
  407. data/spec/models/shared_processor_pool_detail_spec.rb +40 -0
  408. data/spec/models/shared_processor_pool_placement_group_spec.rb +46 -0
  409. data/spec/models/shared_processor_pool_server_spec.rb +76 -0
  410. data/spec/models/shared_processor_pool_spec.rb +88 -0
  411. data/spec/models/shared_processor_pool_update_spec.rb +40 -0
  412. data/spec/models/shared_processor_pools_spec.rb +34 -0
  413. data/spec/models/site_spec.rb +40 -0
  414. data/spec/models/spp_placement_group_create_spec.rb +44 -0
  415. data/spec/models/spp_placement_group_spec.rb +52 -0
  416. data/spec/models/spp_placement_groups_spec.rb +34 -0
  417. data/spec/models/status_description_error_spec.rb +46 -0
  418. data/spec/models/status_description_spec.rb +34 -0
  419. data/spec/models/volume_action_spec.rb +34 -0
  420. data/spec/models/volume_group_action_reset_spec.rb +38 -0
  421. data/spec/models/volume_group_action_spec.rb +46 -0
  422. data/spec/models/volume_group_action_start_spec.rb +38 -0
  423. data/spec/models/volume_group_action_stop_spec.rb +34 -0
  424. data/spec/models/volume_group_create_response_spec.rb +52 -0
  425. data/spec/models/volume_group_create_spec.rb +46 -0
  426. data/spec/models/volume_group_details_spec.rb +70 -0
  427. data/spec/models/volume_group_remote_copy_relationships_spec.rb +40 -0
  428. data/spec/models/volume_group_spec.rb +64 -0
  429. data/spec/models/volume_group_storage_details_spec.rb +82 -0
  430. data/spec/models/volume_group_update_spec.rb +40 -0
  431. data/spec/models/volume_groups_details_spec.rb +34 -0
  432. data/spec/models/volume_groups_spec.rb +34 -0
  433. data/spec/models/volume_onboarding_common_spec.rb +52 -0
  434. data/spec/models/volume_onboarding_create_response_spec.rb +40 -0
  435. data/spec/models/volume_onboarding_create_spec.rb +40 -0
  436. data/spec/models/volume_onboarding_failure_spec.rb +40 -0
  437. data/spec/models/volume_onboarding_spec.rb +70 -0
  438. data/spec/models/volume_onboardings_spec.rb +34 -0
  439. data/spec/models/volume_remote_copy_relationship_spec.rb +124 -0
  440. data/spec/models/volumes_attach_spec.rb +34 -0
  441. data/spec/models/volumes_attachment_response_spec.rb +34 -0
  442. data/spec/spec_helper.rb +1 -1
  443. data/test.rb +32 -0
  444. metadata +361 -142
@@ -4,28 +4,98 @@ All URIs are relative to *http://localhost*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
+ | [**pcloud_cloudinstances_volumes_action_post**](PCloudVolumesApi.md#pcloud_cloudinstances_volumes_action_post) | **POST** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/action | Perform an action on a Volume |
7
8
  | [**pcloud_cloudinstances_volumes_delete**](PCloudVolumesApi.md#pcloud_cloudinstances_volumes_delete) | **DELETE** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id} | Delete a cloud instance volume |
8
- | [**pcloud_cloudinstances_volumes_get**](PCloudVolumesApi.md#pcloud_cloudinstances_volumes_get) | **GET** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id} | Detailed information of a volume |
9
+ | [**pcloud_cloudinstances_volumes_flash_copy_mappings_get**](PCloudVolumesApi.md#pcloud_cloudinstances_volumes_flash_copy_mappings_get) | **GET** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/flash-copy-mappings | Get a list of flashcopy mappings of a given volume |
10
+ | [**pcloud_cloudinstances_volumes_get**](PCloudVolumesApi.md#pcloud_cloudinstances_volumes_get) | **GET** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id} | Detailed info of a volume |
9
11
  | [**pcloud_cloudinstances_volumes_getall**](PCloudVolumesApi.md#pcloud_cloudinstances_volumes_getall) | **GET** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes | List all volumes for this cloud instance |
10
- | [**pcloud_cloudinstances_volumes_post**](PCloudVolumesApi.md#pcloud_cloudinstances_volumes_post) | **POST** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes | Create a new data volume |
12
+ | [**pcloud_cloudinstances_volumes_post**](PCloudVolumesApi.md#pcloud_cloudinstances_volumes_post) | **POST** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes | Create a new data Volume |
11
13
  | [**pcloud_cloudinstances_volumes_put**](PCloudVolumesApi.md#pcloud_cloudinstances_volumes_put) | **PUT** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id} | Update a cloud instance volume |
12
- | [**pcloud_pvminstances_volumes_delete**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_delete) | **DELETE** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id} | Detach a volume from a PVM Instance |
13
- | [**pcloud_pvminstances_volumes_get**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_get) | **GET** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id} | Detailed information of a volume attached to a PVM Instance |
14
+ | [**pcloud_cloudinstances_volumes_remote_copy_relationship_get**](PCloudVolumesApi.md#pcloud_cloudinstances_volumes_remote_copy_relationship_get) | **GET** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/remote-copy | Get remote copy relationship of a volume |
15
+ | [**pcloud_pvminstances_volumes_delete**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_delete) | **DELETE** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id} | Detach a volume from a PVMInstance |
16
+ | [**pcloud_pvminstances_volumes_get**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_get) | **GET** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id} | Detailed info of a volume attached to a PVMInstance |
14
17
  | [**pcloud_pvminstances_volumes_getall**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_getall) | **GET** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes | List all volumes attached to a PVM Instance |
15
- | [**pcloud_pvminstances_volumes_post**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_post) | **POST** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id} | Attach a volume to a PVM Instance |
18
+ | [**pcloud_pvminstances_volumes_post**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_post) | **POST** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id} | Attach a volume to a PVMInstance |
16
19
  | [**pcloud_pvminstances_volumes_put**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_put) | **PUT** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id} | Update a volume attached to a PVMInstance |
17
20
  | [**pcloud_pvminstances_volumes_setboot_put**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_setboot_put) | **PUT** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}/setboot | Set the PVMInstance volume as the boot volume |
18
- | [**pcloud_v2_volumes_clone_post**](PCloudVolumesApi.md#pcloud_v2_volumes_clone_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone | Create a volume clone for specified volumes (version 2) |
19
- | [**pcloud_v2_volumes_clonetasks_get**](PCloudVolumesApi.md#pcloud_v2_volumes_clonetasks_get) | **GET** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id} | Get the status of a volume clone request for the specified clone task ID |
21
+ | [**pcloud_v2_pvminstances_volumes_post**](PCloudVolumesApi.md#pcloud_v2_pvminstances_volumes_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes | Attach all volumes to a PVMInstance |
22
+ | [**pcloud_v2_volumes_clone_post**](PCloudVolumesApi.md#pcloud_v2_volumes_clone_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone | Create a volume clone for specified volumes |
23
+ | [**pcloud_v2_volumes_clonetasks_get**](PCloudVolumesApi.md#pcloud_v2_volumes_clonetasks_get) | **GET** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id} | Get the status of a volumes clone request for the specified clone task ID |
20
24
  | [**pcloud_v2_volumes_post**](PCloudVolumesApi.md#pcloud_v2_volumes_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes | Create multiple data volumes from a single definition |
21
- | [**pcloud_v2_volumesclone_cancel_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_cancel_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/cancel | Cancel a volume-clone request, initiates the Cleanup action. The Cleanup action performs the cleanup of the preparatory clones and snapshot volumes. |
25
+ | [**pcloud_v2_volumesclone_cancel_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_cancel_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/cancel | Cancel a volumes-clone request, initiates the Cleanup action Cleanup action performs the cleanup of the preparatory clones and snapshot volumes |
22
26
  | [**pcloud_v2_volumesclone_delete**](PCloudVolumesApi.md#pcloud_v2_volumesclone_delete) | **DELETE** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id} | Delete a volumes-clone request |
23
- | [**pcloud_v2_volumesclone_execute_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_execute_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute | Initiate the Execute action for a volumes-clone request. The Execute action creates the cloned volumes using the volume snapshots. |
27
+ | [**pcloud_v2_volumesclone_execute_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_execute_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute | Initiate the Execute action for a volumes-clone request Execute action creates the cloned volumes using the volume snapshots |
24
28
  | [**pcloud_v2_volumesclone_get**](PCloudVolumesApi.md#pcloud_v2_volumesclone_get) | **GET** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id} | Get the details for a volumes-clone request |
25
29
  | [**pcloud_v2_volumesclone_getall**](PCloudVolumesApi.md#pcloud_v2_volumesclone_getall) | **GET** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone | Get the list of volumes-clone request for a cloud instance |
26
- | [**pcloud_v2_volumesclone_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone | Create a new volumes clone request and initiate the Prepare action |
27
- | [**pcloud_v2_volumesclone_start_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_start_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/start | Initiate the Start action for a volume-clone request. The Start action starts the consistency group to initiate the flash copy. |
28
- | [**pcloud_volumes_clone_post**](PCloudVolumesApi.md#pcloud_volumes_clone_post) | **POST** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/clone | Create a volume clone for specified volumes (version 1 - depricated) |
30
+ | [**pcloud_v2_volumesclone_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone | Create a new volumes clone request and initiates the Prepare action Requires a minimum of two volumes Requires a minimum of one volume to be in the 'in-use' state Requires a unique volumes clone name Prepare action does the preparatory work for creating the snapshot volumes |
31
+ | [**pcloud_v2_volumesclone_start_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_start_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/start | Initiate the Start action for a volumes-clone request Start action starts the consistency group to initiate the flash copy |
32
+ | [**pcloud_volumes_clone_post**](PCloudVolumesApi.md#pcloud_volumes_clone_post) | **POST** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/clone | Create a volume clone for specified volumes |
33
+
34
+
35
+ ## pcloud_cloudinstances_volumes_action_post
36
+
37
+ > Object pcloud_cloudinstances_volumes_action_post(cloud_instance_id, volume_id, body)
38
+
39
+ Perform an action on a Volume
40
+
41
+ ### Examples
42
+
43
+ ```ruby
44
+ require 'time'
45
+ require 'ibm_cloud_power'
46
+
47
+ api_instance = IbmCloudPower::PCloudVolumesApi.new
48
+ cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
49
+ volume_id = 'volume_id_example' # String | Volume ID
50
+ body = IbmCloudPower::VolumeAction.new({replication_enabled: false}) # VolumeAction | Parameters for the desired action
51
+
52
+ begin
53
+ # Perform an action on a Volume
54
+ result = api_instance.pcloud_cloudinstances_volumes_action_post(cloud_instance_id, volume_id, body)
55
+ p result
56
+ rescue IbmCloudPower::ApiError => e
57
+ puts "Error when calling PCloudVolumesApi->pcloud_cloudinstances_volumes_action_post: #{e}"
58
+ end
59
+ ```
60
+
61
+ #### Using the pcloud_cloudinstances_volumes_action_post_with_http_info variant
62
+
63
+ This returns an Array which contains the response data, status code and headers.
64
+
65
+ > <Array(Object, Integer, Hash)> pcloud_cloudinstances_volumes_action_post_with_http_info(cloud_instance_id, volume_id, body)
66
+
67
+ ```ruby
68
+ begin
69
+ # Perform an action on a Volume
70
+ data, status_code, headers = api_instance.pcloud_cloudinstances_volumes_action_post_with_http_info(cloud_instance_id, volume_id, body)
71
+ p status_code # => 2xx
72
+ p headers # => { ... }
73
+ p data # => Object
74
+ rescue IbmCloudPower::ApiError => e
75
+ puts "Error when calling PCloudVolumesApi->pcloud_cloudinstances_volumes_action_post_with_http_info: #{e}"
76
+ end
77
+ ```
78
+
79
+ ### Parameters
80
+
81
+ | Name | Type | Description | Notes |
82
+ | ---- | ---- | ----------- | ----- |
83
+ | **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
84
+ | **volume_id** | **String** | Volume ID | |
85
+ | **body** | [**VolumeAction**](VolumeAction.md) | Parameters for the desired action | |
86
+
87
+ ### Return type
88
+
89
+ **Object**
90
+
91
+ ### Authorization
92
+
93
+ No authorization required
94
+
95
+ ### HTTP request headers
96
+
97
+ - **Content-Type**: application/json
98
+ - **Accept**: application/json
29
99
 
30
100
 
31
101
  ## pcloud_cloudinstances_volumes_delete
@@ -92,11 +162,75 @@ No authorization required
92
162
  - **Accept**: */*
93
163
 
94
164
 
165
+ ## pcloud_cloudinstances_volumes_flash_copy_mappings_get
166
+
167
+ > <Array<FlashCopyMapping>> pcloud_cloudinstances_volumes_flash_copy_mappings_get(cloud_instance_id, volume_id)
168
+
169
+ Get a list of flashcopy mappings of a given volume
170
+
171
+ ### Examples
172
+
173
+ ```ruby
174
+ require 'time'
175
+ require 'ibm_cloud_power'
176
+
177
+ api_instance = IbmCloudPower::PCloudVolumesApi.new
178
+ cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
179
+ volume_id = 'volume_id_example' # String | Volume ID
180
+
181
+ begin
182
+ # Get a list of flashcopy mappings of a given volume
183
+ result = api_instance.pcloud_cloudinstances_volumes_flash_copy_mappings_get(cloud_instance_id, volume_id)
184
+ p result
185
+ rescue IbmCloudPower::ApiError => e
186
+ puts "Error when calling PCloudVolumesApi->pcloud_cloudinstances_volumes_flash_copy_mappings_get: #{e}"
187
+ end
188
+ ```
189
+
190
+ #### Using the pcloud_cloudinstances_volumes_flash_copy_mappings_get_with_http_info variant
191
+
192
+ This returns an Array which contains the response data, status code and headers.
193
+
194
+ > <Array(<Array<FlashCopyMapping>>, Integer, Hash)> pcloud_cloudinstances_volumes_flash_copy_mappings_get_with_http_info(cloud_instance_id, volume_id)
195
+
196
+ ```ruby
197
+ begin
198
+ # Get a list of flashcopy mappings of a given volume
199
+ data, status_code, headers = api_instance.pcloud_cloudinstances_volumes_flash_copy_mappings_get_with_http_info(cloud_instance_id, volume_id)
200
+ p status_code # => 2xx
201
+ p headers # => { ... }
202
+ p data # => <Array<FlashCopyMapping>>
203
+ rescue IbmCloudPower::ApiError => e
204
+ puts "Error when calling PCloudVolumesApi->pcloud_cloudinstances_volumes_flash_copy_mappings_get_with_http_info: #{e}"
205
+ end
206
+ ```
207
+
208
+ ### Parameters
209
+
210
+ | Name | Type | Description | Notes |
211
+ | ---- | ---- | ----------- | ----- |
212
+ | **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
213
+ | **volume_id** | **String** | Volume ID | |
214
+
215
+ ### Return type
216
+
217
+ [**Array&lt;FlashCopyMapping&gt;**](FlashCopyMapping.md)
218
+
219
+ ### Authorization
220
+
221
+ No authorization required
222
+
223
+ ### HTTP request headers
224
+
225
+ - **Content-Type**: Not defined
226
+ - **Accept**: application/json
227
+
228
+
95
229
  ## pcloud_cloudinstances_volumes_get
96
230
 
97
231
  > <Volume> pcloud_cloudinstances_volumes_get(cloud_instance_id, volume_id)
98
232
 
99
- Detailed information of a volume
233
+ Detailed info of a volume
100
234
 
101
235
  ### Examples
102
236
 
@@ -109,7 +243,7 @@ cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of
109
243
  volume_id = 'volume_id_example' # String | Volume ID
110
244
 
111
245
  begin
112
- # Detailed information of a volume
246
+ # Detailed info of a volume
113
247
  result = api_instance.pcloud_cloudinstances_volumes_get(cloud_instance_id, volume_id)
114
248
  p result
115
249
  rescue IbmCloudPower::ApiError => e
@@ -125,7 +259,7 @@ This returns an Array which contains the response data, status code and headers.
125
259
 
126
260
  ```ruby
127
261
  begin
128
- # Detailed information of a volume
262
+ # Detailed info of a volume
129
263
  data, status_code, headers = api_instance.pcloud_cloudinstances_volumes_get_with_http_info(cloud_instance_id, volume_id)
130
264
  p status_code # => 2xx
131
265
  p headers # => { ... }
@@ -171,7 +305,9 @@ require 'ibm_cloud_power'
171
305
  api_instance = IbmCloudPower::PCloudVolumesApi.new
172
306
  cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
173
307
  opts = {
174
- affinity: 'affinity_example' # String | A pvmInstance (id or name), limits a volumes list response to only volumes that have affinity to the pvmInstance
308
+ replication_enabled: true, # Boolean | true or false, limits a volumes list to replication or non replication enabled volumes
309
+ affinity: 'affinity_example', # String | A pvmInstance (id or name), limits a volumes list response to only volumes that have affinity to the pvmInstance
310
+ auxiliary: true # Boolean | true or false, limits a volume list to auxiliary or non auxiliary volumes
175
311
  }
176
312
 
177
313
  begin
@@ -206,7 +342,9 @@ end
206
342
  | Name | Type | Description | Notes |
207
343
  | ---- | ---- | ----------- | ----- |
208
344
  | **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
345
+ | **replication_enabled** | **Boolean** | true or false, limits a volumes list to replication or non replication enabled volumes | [optional] |
209
346
  | **affinity** | **String** | A pvmInstance (id or name), limits a volumes list response to only volumes that have affinity to the pvmInstance | [optional] |
347
+ | **auxiliary** | **Boolean** | true or false, limits a volume list to auxiliary or non auxiliary volumes | [optional] |
210
348
 
211
349
  ### Return type
212
350
 
@@ -226,9 +364,7 @@ No authorization required
226
364
 
227
365
  > <Volume> pcloud_cloudinstances_volumes_post(cloud_instance_id, body)
228
366
 
229
- Create a new data volume
230
-
231
- All regions use Tier 1 (NVMe-based flash storage) or Tier 3 (SSD flash storage) storage types.
367
+ Create a new data Volume
232
368
 
233
369
  ### Examples
234
370
 
@@ -241,7 +377,7 @@ cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of
241
377
  body = IbmCloudPower::CreateDataVolume.new({name: 'name_example', size: 3.56}) # CreateDataVolume | Parameters for the creation of a new data volume
242
378
 
243
379
  begin
244
- # Create a new data volume
380
+ # Create a new data Volume
245
381
  result = api_instance.pcloud_cloudinstances_volumes_post(cloud_instance_id, body)
246
382
  p result
247
383
  rescue IbmCloudPower::ApiError => e
@@ -257,7 +393,7 @@ This returns an Array which contains the response data, status code and headers.
257
393
 
258
394
  ```ruby
259
395
  begin
260
- # Create a new data volume
396
+ # Create a new data Volume
261
397
  data, status_code, headers = api_instance.pcloud_cloudinstances_volumes_post_with_http_info(cloud_instance_id, body)
262
398
  p status_code # => 2xx
263
399
  p headers # => { ... }
@@ -354,11 +490,75 @@ No authorization required
354
490
  - **Accept**: application/json
355
491
 
356
492
 
493
+ ## pcloud_cloudinstances_volumes_remote_copy_relationship_get
494
+
495
+ > <VolumeRemoteCopyRelationship> pcloud_cloudinstances_volumes_remote_copy_relationship_get(cloud_instance_id, volume_id)
496
+
497
+ Get remote copy relationship of a volume
498
+
499
+ ### Examples
500
+
501
+ ```ruby
502
+ require 'time'
503
+ require 'ibm_cloud_power'
504
+
505
+ api_instance = IbmCloudPower::PCloudVolumesApi.new
506
+ cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
507
+ volume_id = 'volume_id_example' # String | Volume ID
508
+
509
+ begin
510
+ # Get remote copy relationship of a volume
511
+ result = api_instance.pcloud_cloudinstances_volumes_remote_copy_relationship_get(cloud_instance_id, volume_id)
512
+ p result
513
+ rescue IbmCloudPower::ApiError => e
514
+ puts "Error when calling PCloudVolumesApi->pcloud_cloudinstances_volumes_remote_copy_relationship_get: #{e}"
515
+ end
516
+ ```
517
+
518
+ #### Using the pcloud_cloudinstances_volumes_remote_copy_relationship_get_with_http_info variant
519
+
520
+ This returns an Array which contains the response data, status code and headers.
521
+
522
+ > <Array(<VolumeRemoteCopyRelationship>, Integer, Hash)> pcloud_cloudinstances_volumes_remote_copy_relationship_get_with_http_info(cloud_instance_id, volume_id)
523
+
524
+ ```ruby
525
+ begin
526
+ # Get remote copy relationship of a volume
527
+ data, status_code, headers = api_instance.pcloud_cloudinstances_volumes_remote_copy_relationship_get_with_http_info(cloud_instance_id, volume_id)
528
+ p status_code # => 2xx
529
+ p headers # => { ... }
530
+ p data # => <VolumeRemoteCopyRelationship>
531
+ rescue IbmCloudPower::ApiError => e
532
+ puts "Error when calling PCloudVolumesApi->pcloud_cloudinstances_volumes_remote_copy_relationship_get_with_http_info: #{e}"
533
+ end
534
+ ```
535
+
536
+ ### Parameters
537
+
538
+ | Name | Type | Description | Notes |
539
+ | ---- | ---- | ----------- | ----- |
540
+ | **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
541
+ | **volume_id** | **String** | Volume ID | |
542
+
543
+ ### Return type
544
+
545
+ [**VolumeRemoteCopyRelationship**](VolumeRemoteCopyRelationship.md)
546
+
547
+ ### Authorization
548
+
549
+ No authorization required
550
+
551
+ ### HTTP request headers
552
+
553
+ - **Content-Type**: Not defined
554
+ - **Accept**: application/json
555
+
556
+
357
557
  ## pcloud_pvminstances_volumes_delete
358
558
 
359
559
  > Object pcloud_pvminstances_volumes_delete(cloud_instance_id, pvm_instance_id, volume_id)
360
560
 
361
- Detach a volume from a PVM Instance
561
+ Detach a volume from a PVMInstance
362
562
 
363
563
  ### Examples
364
564
 
@@ -372,7 +572,7 @@ pvm_instance_id = 'pvm_instance_id_example' # String | PCloud PVM Instance ID
372
572
  volume_id = 'volume_id_example' # String | Volume ID
373
573
 
374
574
  begin
375
- # Detach a volume from a PVM Instance
575
+ # Detach a volume from a PVMInstance
376
576
  result = api_instance.pcloud_pvminstances_volumes_delete(cloud_instance_id, pvm_instance_id, volume_id)
377
577
  p result
378
578
  rescue IbmCloudPower::ApiError => e
@@ -388,7 +588,7 @@ This returns an Array which contains the response data, status code and headers.
388
588
 
389
589
  ```ruby
390
590
  begin
391
- # Detach a volume from a PVM Instance
591
+ # Detach a volume from a PVMInstance
392
592
  data, status_code, headers = api_instance.pcloud_pvminstances_volumes_delete_with_http_info(cloud_instance_id, pvm_instance_id, volume_id)
393
593
  p status_code # => 2xx
394
594
  p headers # => { ... }
@@ -424,7 +624,7 @@ No authorization required
424
624
 
425
625
  > <Volume> pcloud_pvminstances_volumes_get(cloud_instance_id, pvm_instance_id, volume_id)
426
626
 
427
- Detailed information of a volume attached to a PVM Instance
627
+ Detailed info of a volume attached to a PVMInstance
428
628
 
429
629
  ### Examples
430
630
 
@@ -438,7 +638,7 @@ pvm_instance_id = 'pvm_instance_id_example' # String | PCloud PVM Instance ID
438
638
  volume_id = 'volume_id_example' # String | Volume ID
439
639
 
440
640
  begin
441
- # Detailed information of a volume attached to a PVM Instance
641
+ # Detailed info of a volume attached to a PVMInstance
442
642
  result = api_instance.pcloud_pvminstances_volumes_get(cloud_instance_id, pvm_instance_id, volume_id)
443
643
  p result
444
644
  rescue IbmCloudPower::ApiError => e
@@ -454,7 +654,7 @@ This returns an Array which contains the response data, status code and headers.
454
654
 
455
655
  ```ruby
456
656
  begin
457
- # Detailed information of a volume attached to a PVM Instance
657
+ # Detailed info of a volume attached to a PVMInstance
458
658
  data, status_code, headers = api_instance.pcloud_pvminstances_volumes_get_with_http_info(cloud_instance_id, pvm_instance_id, volume_id)
459
659
  p status_code # => 2xx
460
660
  p headers # => { ... }
@@ -554,7 +754,7 @@ No authorization required
554
754
 
555
755
  > Object pcloud_pvminstances_volumes_post(cloud_instance_id, pvm_instance_id, volume_id)
556
756
 
557
- Attach a volume to a PVM Instance
757
+ Attach a volume to a PVMInstance
558
758
 
559
759
  ### Examples
560
760
 
@@ -568,7 +768,7 @@ pvm_instance_id = 'pvm_instance_id_example' # String | PCloud PVM Instance ID
568
768
  volume_id = 'volume_id_example' # String | Volume ID
569
769
 
570
770
  begin
571
- # Attach a volume to a PVM Instance
771
+ # Attach a volume to a PVMInstance
572
772
  result = api_instance.pcloud_pvminstances_volumes_post(cloud_instance_id, pvm_instance_id, volume_id)
573
773
  p result
574
774
  rescue IbmCloudPower::ApiError => e
@@ -584,7 +784,7 @@ This returns an Array which contains the response data, status code and headers.
584
784
 
585
785
  ```ruby
586
786
  begin
587
- # Attach a volume to a PVM Instance
787
+ # Attach a volume to a PVMInstance
588
788
  data, status_code, headers = api_instance.pcloud_pvminstances_volumes_post_with_http_info(cloud_instance_id, pvm_instance_id, volume_id)
589
789
  p status_code # => 2xx
590
790
  p headers # => { ... }
@@ -750,11 +950,77 @@ No authorization required
750
950
  - **Accept**: */*
751
951
 
752
952
 
953
+ ## pcloud_v2_pvminstances_volumes_post
954
+
955
+ > <VolumesAttachmentResponse> pcloud_v2_pvminstances_volumes_post(cloud_instance_id, pvm_instance_id, body)
956
+
957
+ Attach all volumes to a PVMInstance
958
+
959
+ ### Examples
960
+
961
+ ```ruby
962
+ require 'time'
963
+ require 'ibm_cloud_power'
964
+
965
+ api_instance = IbmCloudPower::PCloudVolumesApi.new
966
+ cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
967
+ pvm_instance_id = 'pvm_instance_id_example' # String | PCloud PVM Instance ID
968
+ body = IbmCloudPower::VolumesAttach.new({volume_ids: ['volume_ids_example']}) # VolumesAttach | Parameter to attach volumes to a PVMInstance
969
+
970
+ begin
971
+ # Attach all volumes to a PVMInstance
972
+ result = api_instance.pcloud_v2_pvminstances_volumes_post(cloud_instance_id, pvm_instance_id, body)
973
+ p result
974
+ rescue IbmCloudPower::ApiError => e
975
+ puts "Error when calling PCloudVolumesApi->pcloud_v2_pvminstances_volumes_post: #{e}"
976
+ end
977
+ ```
978
+
979
+ #### Using the pcloud_v2_pvminstances_volumes_post_with_http_info variant
980
+
981
+ This returns an Array which contains the response data, status code and headers.
982
+
983
+ > <Array(<VolumesAttachmentResponse>, Integer, Hash)> pcloud_v2_pvminstances_volumes_post_with_http_info(cloud_instance_id, pvm_instance_id, body)
984
+
985
+ ```ruby
986
+ begin
987
+ # Attach all volumes to a PVMInstance
988
+ data, status_code, headers = api_instance.pcloud_v2_pvminstances_volumes_post_with_http_info(cloud_instance_id, pvm_instance_id, body)
989
+ p status_code # => 2xx
990
+ p headers # => { ... }
991
+ p data # => <VolumesAttachmentResponse>
992
+ rescue IbmCloudPower::ApiError => e
993
+ puts "Error when calling PCloudVolumesApi->pcloud_v2_pvminstances_volumes_post_with_http_info: #{e}"
994
+ end
995
+ ```
996
+
997
+ ### Parameters
998
+
999
+ | Name | Type | Description | Notes |
1000
+ | ---- | ---- | ----------- | ----- |
1001
+ | **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
1002
+ | **pvm_instance_id** | **String** | PCloud PVM Instance ID | |
1003
+ | **body** | [**VolumesAttach**](VolumesAttach.md) | Parameter to attach volumes to a PVMInstance | |
1004
+
1005
+ ### Return type
1006
+
1007
+ [**VolumesAttachmentResponse**](VolumesAttachmentResponse.md)
1008
+
1009
+ ### Authorization
1010
+
1011
+ No authorization required
1012
+
1013
+ ### HTTP request headers
1014
+
1015
+ - **Content-Type**: application/json
1016
+ - **Accept**: application/json
1017
+
1018
+
753
1019
  ## pcloud_v2_volumes_clone_post
754
1020
 
755
1021
  > <CloneTaskReference> pcloud_v2_volumes_clone_post(cloud_instance_id, body)
756
1022
 
757
- Create a volume clone for specified volumes (version 2)
1023
+ Create a volume clone for specified volumes
758
1024
 
759
1025
  ### Examples
760
1026
 
@@ -767,7 +1033,7 @@ cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of
767
1033
  body = IbmCloudPower::VolumesCloneAsyncRequest.new({name: 'name_example', volume_ids: ['volume_ids_example']}) # VolumesCloneAsyncRequest | Parameters for the cloning of volumes
768
1034
 
769
1035
  begin
770
- # Create a volume clone for specified volumes (version 2)
1036
+ # Create a volume clone for specified volumes
771
1037
  result = api_instance.pcloud_v2_volumes_clone_post(cloud_instance_id, body)
772
1038
  p result
773
1039
  rescue IbmCloudPower::ApiError => e
@@ -783,7 +1049,7 @@ This returns an Array which contains the response data, status code and headers.
783
1049
 
784
1050
  ```ruby
785
1051
  begin
786
- # Create a volume clone for specified volumes (version 2)
1052
+ # Create a volume clone for specified volumes
787
1053
  data, status_code, headers = api_instance.pcloud_v2_volumes_clone_post_with_http_info(cloud_instance_id, body)
788
1054
  p status_code # => 2xx
789
1055
  p headers # => { ... }
@@ -818,7 +1084,7 @@ No authorization required
818
1084
 
819
1085
  > <CloneTaskStatus> pcloud_v2_volumes_clonetasks_get(cloud_instance_id, clone_task_id)
820
1086
 
821
- Get the status of a volume clone request for the specified clone task ID
1087
+ Get the status of a volumes clone request for the specified clone task ID
822
1088
 
823
1089
  ### Examples
824
1090
 
@@ -831,7 +1097,7 @@ cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of
831
1097
  clone_task_id = 'clone_task_id_example' # String | Volumes Clone Task ID
832
1098
 
833
1099
  begin
834
- # Get the status of a volume clone request for the specified clone task ID
1100
+ # Get the status of a volumes clone request for the specified clone task ID
835
1101
  result = api_instance.pcloud_v2_volumes_clonetasks_get(cloud_instance_id, clone_task_id)
836
1102
  p result
837
1103
  rescue IbmCloudPower::ApiError => e
@@ -847,7 +1113,7 @@ This returns an Array which contains the response data, status code and headers.
847
1113
 
848
1114
  ```ruby
849
1115
  begin
850
- # Get the status of a volume clone request for the specified clone task ID
1116
+ # Get the status of a volumes clone request for the specified clone task ID
851
1117
  data, status_code, headers = api_instance.pcloud_v2_volumes_clonetasks_get_with_http_info(cloud_instance_id, clone_task_id)
852
1118
  p status_code # => 2xx
853
1119
  p headers # => { ... }
@@ -875,7 +1141,7 @@ No authorization required
875
1141
  ### HTTP request headers
876
1142
 
877
1143
  - **Content-Type**: Not defined
878
- - **Accept**: application/json
1144
+ - **Accept**: application/json, percentComplete, status
879
1145
 
880
1146
 
881
1147
  ## pcloud_v2_volumes_post
@@ -946,7 +1212,7 @@ No authorization required
946
1212
 
947
1213
  > <VolumesClone> pcloud_v2_volumesclone_cancel_post(cloud_instance_id, volumes_clone_id, opts)
948
1214
 
949
- Cancel a volume-clone request, initiates the Cleanup action. The Cleanup action performs the cleanup of the preparatory clones and snapshot volumes.
1215
+ Cancel a volumes-clone request, initiates the Cleanup action Cleanup action performs the cleanup of the preparatory clones and snapshot volumes
950
1216
 
951
1217
  ### Examples
952
1218
 
@@ -956,13 +1222,13 @@ require 'ibm_cloud_power'
956
1222
 
957
1223
  api_instance = IbmCloudPower::PCloudVolumesApi.new
958
1224
  cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
959
- volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID, can be identified by the volumes-clone id or the volumes-clone name
1225
+ volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID
960
1226
  opts = {
961
1227
  body: IbmCloudPower::VolumesCloneCancel.new # VolumesCloneCancel | Parameters for cancelling a volumes-clone request
962
1228
  }
963
1229
 
964
1230
  begin
965
- # Cancel a volume-clone request, initiates the Cleanup action. The Cleanup action performs the cleanup of the preparatory clones and snapshot volumes.
1231
+ # Cancel a volumes-clone request, initiates the Cleanup action Cleanup action performs the cleanup of the preparatory clones and snapshot volumes
966
1232
  result = api_instance.pcloud_v2_volumesclone_cancel_post(cloud_instance_id, volumes_clone_id, opts)
967
1233
  p result
968
1234
  rescue IbmCloudPower::ApiError => e
@@ -978,7 +1244,7 @@ This returns an Array which contains the response data, status code and headers.
978
1244
 
979
1245
  ```ruby
980
1246
  begin
981
- # Cancel a volume-clone request, initiates the Cleanup action. The Cleanup action performs the cleanup of the preparatory clones and snapshot volumes.
1247
+ # Cancel a volumes-clone request, initiates the Cleanup action Cleanup action performs the cleanup of the preparatory clones and snapshot volumes
982
1248
  data, status_code, headers = api_instance.pcloud_v2_volumesclone_cancel_post_with_http_info(cloud_instance_id, volumes_clone_id, opts)
983
1249
  p status_code # => 2xx
984
1250
  p headers # => { ... }
@@ -993,7 +1259,7 @@ end
993
1259
  | Name | Type | Description | Notes |
994
1260
  | ---- | ---- | ----------- | ----- |
995
1261
  | **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
996
- | **volumes_clone_id** | **String** | Volumes Clone ID, can be identified by the volumes-clone id or the volumes-clone name | |
1262
+ | **volumes_clone_id** | **String** | Volumes Clone ID | |
997
1263
  | **body** | [**VolumesCloneCancel**](VolumesCloneCancel.md) | Parameters for cancelling a volumes-clone request | [optional] |
998
1264
 
999
1265
  ### Return type
@@ -1024,7 +1290,7 @@ require 'ibm_cloud_power'
1024
1290
 
1025
1291
  api_instance = IbmCloudPower::PCloudVolumesApi.new
1026
1292
  cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
1027
- volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID, can be identified by the volumes-clone id or the volumes-clone name
1293
+ volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID
1028
1294
 
1029
1295
  begin
1030
1296
  # Delete a volumes-clone request
@@ -1058,7 +1324,7 @@ end
1058
1324
  | Name | Type | Description | Notes |
1059
1325
  | ---- | ---- | ----------- | ----- |
1060
1326
  | **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
1061
- | **volumes_clone_id** | **String** | Volumes Clone ID, can be identified by the volumes-clone id or the volumes-clone name | |
1327
+ | **volumes_clone_id** | **String** | Volumes Clone ID | |
1062
1328
 
1063
1329
  ### Return type
1064
1330
 
@@ -1078,7 +1344,7 @@ No authorization required
1078
1344
 
1079
1345
  > <VolumesClone> pcloud_v2_volumesclone_execute_post(cloud_instance_id, volumes_clone_id, body)
1080
1346
 
1081
- Initiate the Execute action for a volumes-clone request. The Execute action creates the cloned volumes using the volume snapshots.
1347
+ Initiate the Execute action for a volumes-clone request Execute action creates the cloned volumes using the volume snapshots
1082
1348
 
1083
1349
  ### Examples
1084
1350
 
@@ -1088,11 +1354,11 @@ require 'ibm_cloud_power'
1088
1354
 
1089
1355
  api_instance = IbmCloudPower::PCloudVolumesApi.new
1090
1356
  cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
1091
- volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID, can be identified by the volumes-clone id or the volumes-clone name
1357
+ volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID
1092
1358
  body = IbmCloudPower::VolumesCloneExecute.new({name: 'name_example'}) # VolumesCloneExecute | Parameters for the cloning of volumes
1093
1359
 
1094
1360
  begin
1095
- # Initiate the Execute action for a volumes-clone request. The Execute action creates the cloned volumes using the volume snapshots.
1361
+ # Initiate the Execute action for a volumes-clone request Execute action creates the cloned volumes using the volume snapshots
1096
1362
  result = api_instance.pcloud_v2_volumesclone_execute_post(cloud_instance_id, volumes_clone_id, body)
1097
1363
  p result
1098
1364
  rescue IbmCloudPower::ApiError => e
@@ -1108,7 +1374,7 @@ This returns an Array which contains the response data, status code and headers.
1108
1374
 
1109
1375
  ```ruby
1110
1376
  begin
1111
- # Initiate the Execute action for a volumes-clone request. The Execute action creates the cloned volumes using the volume snapshots.
1377
+ # Initiate the Execute action for a volumes-clone request Execute action creates the cloned volumes using the volume snapshots
1112
1378
  data, status_code, headers = api_instance.pcloud_v2_volumesclone_execute_post_with_http_info(cloud_instance_id, volumes_clone_id, body)
1113
1379
  p status_code # => 2xx
1114
1380
  p headers # => { ... }
@@ -1123,7 +1389,7 @@ end
1123
1389
  | Name | Type | Description | Notes |
1124
1390
  | ---- | ---- | ----------- | ----- |
1125
1391
  | **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
1126
- | **volumes_clone_id** | **String** | Volumes Clone ID, can be identified by the volumes-clone id or the volumes-clone name | |
1392
+ | **volumes_clone_id** | **String** | Volumes Clone ID | |
1127
1393
  | **body** | [**VolumesCloneExecute**](VolumesCloneExecute.md) | Parameters for the cloning of volumes | |
1128
1394
 
1129
1395
  ### Return type
@@ -1154,7 +1420,7 @@ require 'ibm_cloud_power'
1154
1420
 
1155
1421
  api_instance = IbmCloudPower::PCloudVolumesApi.new
1156
1422
  cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
1157
- volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID, can be identified by the volumes-clone id or the volumes-clone name
1423
+ volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID
1158
1424
 
1159
1425
  begin
1160
1426
  # Get the details for a volumes-clone request
@@ -1188,7 +1454,7 @@ end
1188
1454
  | Name | Type | Description | Notes |
1189
1455
  | ---- | ---- | ----------- | ----- |
1190
1456
  | **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
1191
- | **volumes_clone_id** | **String** | Volumes Clone ID, can be identified by the volumes-clone id or the volumes-clone name | |
1457
+ | **volumes_clone_id** | **String** | Volumes Clone ID | |
1192
1458
 
1193
1459
  ### Return type
1194
1460
 
@@ -1274,7 +1540,7 @@ No authorization required
1274
1540
 
1275
1541
  > <VolumesClone> pcloud_v2_volumesclone_post(cloud_instance_id, body)
1276
1542
 
1277
- Create a new volumes clone request and initiate the Prepare action
1543
+ Create a new volumes clone request and initiates the Prepare action Requires a minimum of two volumes Requires a minimum of one volume to be in the 'in-use' state Requires a unique volumes clone name Prepare action does the preparatory work for creating the snapshot volumes
1278
1544
 
1279
1545
  ### Examples
1280
1546
 
@@ -1284,10 +1550,10 @@ require 'ibm_cloud_power'
1284
1550
 
1285
1551
  api_instance = IbmCloudPower::PCloudVolumesApi.new
1286
1552
  cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
1287
- body = IbmCloudPower::VolumesCloneCreate.new({name: 'name_example', volume_ids: ['volume_ids_example']}) # VolumesCloneCreate | Parameters for preparing a set of volumes to be cloned (This API requires a minimum of two volumes, a minimum of one volume to be in the 'in-use' state, and a unique volume clone name. The Prepare action does the preparatory work for creating the snapshot volumes.)
1553
+ body = IbmCloudPower::VolumesCloneCreate.new({name: 'name_example', volume_ids: ['volume_ids_example']}) # VolumesCloneCreate | Parameters for preparing a set of volumes to be cloned
1288
1554
 
1289
1555
  begin
1290
- # Create a new volumes clone request and initiate the Prepare action
1556
+ # Create a new volumes clone request and initiates the Prepare action Requires a minimum of two volumes Requires a minimum of one volume to be in the 'in-use' state Requires a unique volumes clone name Prepare action does the preparatory work for creating the snapshot volumes
1291
1557
  result = api_instance.pcloud_v2_volumesclone_post(cloud_instance_id, body)
1292
1558
  p result
1293
1559
  rescue IbmCloudPower::ApiError => e
@@ -1303,7 +1569,7 @@ This returns an Array which contains the response data, status code and headers.
1303
1569
 
1304
1570
  ```ruby
1305
1571
  begin
1306
- # Create a new volumes clone request and initiate the Prepare action
1572
+ # Create a new volumes clone request and initiates the Prepare action Requires a minimum of two volumes Requires a minimum of one volume to be in the 'in-use' state Requires a unique volumes clone name Prepare action does the preparatory work for creating the snapshot volumes
1307
1573
  data, status_code, headers = api_instance.pcloud_v2_volumesclone_post_with_http_info(cloud_instance_id, body)
1308
1574
  p status_code # => 2xx
1309
1575
  p headers # => { ... }
@@ -1318,7 +1584,7 @@ end
1318
1584
  | Name | Type | Description | Notes |
1319
1585
  | ---- | ---- | ----------- | ----- |
1320
1586
  | **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
1321
- | **body** | [**VolumesCloneCreate**](VolumesCloneCreate.md) | Parameters for preparing a set of volumes to be cloned (This API requires a minimum of two volumes, a minimum of one volume to be in the &#39;in-use&#39; state, and a unique volume clone name. The Prepare action does the preparatory work for creating the snapshot volumes.) | |
1587
+ | **body** | [**VolumesCloneCreate**](VolumesCloneCreate.md) | Parameters for preparing a set of volumes to be cloned | |
1322
1588
 
1323
1589
  ### Return type
1324
1590
 
@@ -1338,7 +1604,7 @@ No authorization required
1338
1604
 
1339
1605
  > <VolumesClone> pcloud_v2_volumesclone_start_post(cloud_instance_id, volumes_clone_id)
1340
1606
 
1341
- Initiate the Start action for a volume-clone request. The Start action starts the consistency group to initiate the flash copy.
1607
+ Initiate the Start action for a volumes-clone request Start action starts the consistency group to initiate the flash copy
1342
1608
 
1343
1609
  ### Examples
1344
1610
 
@@ -1348,10 +1614,10 @@ require 'ibm_cloud_power'
1348
1614
 
1349
1615
  api_instance = IbmCloudPower::PCloudVolumesApi.new
1350
1616
  cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
1351
- volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID, can be identified by the volumes-clone id or the volumes-clone name
1617
+ volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID
1352
1618
 
1353
1619
  begin
1354
- # Initiate the Start action for a volume-clone request. The Start action starts the consistency group to initiate the flash copy.
1620
+ # Initiate the Start action for a volumes-clone request Start action starts the consistency group to initiate the flash copy
1355
1621
  result = api_instance.pcloud_v2_volumesclone_start_post(cloud_instance_id, volumes_clone_id)
1356
1622
  p result
1357
1623
  rescue IbmCloudPower::ApiError => e
@@ -1367,7 +1633,7 @@ This returns an Array which contains the response data, status code and headers.
1367
1633
 
1368
1634
  ```ruby
1369
1635
  begin
1370
- # Initiate the Start action for a volume-clone request. The Start action starts the consistency group to initiate the flash copy.
1636
+ # Initiate the Start action for a volumes-clone request Start action starts the consistency group to initiate the flash copy
1371
1637
  data, status_code, headers = api_instance.pcloud_v2_volumesclone_start_post_with_http_info(cloud_instance_id, volumes_clone_id)
1372
1638
  p status_code # => 2xx
1373
1639
  p headers # => { ... }
@@ -1382,7 +1648,7 @@ end
1382
1648
  | Name | Type | Description | Notes |
1383
1649
  | ---- | ---- | ----------- | ----- |
1384
1650
  | **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
1385
- | **volumes_clone_id** | **String** | Volumes Clone ID, can be identified by the volumes-clone id or the volumes-clone name | |
1651
+ | **volumes_clone_id** | **String** | Volumes Clone ID | |
1386
1652
 
1387
1653
  ### Return type
1388
1654
 
@@ -1402,7 +1668,7 @@ No authorization required
1402
1668
 
1403
1669
  > <VolumesCloneResponse> pcloud_volumes_clone_post(cloud_instance_id, body)
1404
1670
 
1405
- Create a volume clone for specified volumes (version 1 - depricated)
1671
+ Create a volume clone for specified volumes
1406
1672
 
1407
1673
  ### Examples
1408
1674
 
@@ -1415,7 +1681,7 @@ cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of
1415
1681
  body = IbmCloudPower::VolumesCloneRequest.new({display_name: 'display_name_example', volume_ids: ['volume_ids_example']}) # VolumesCloneRequest | Parameters for the cloning of volumes
1416
1682
 
1417
1683
  begin
1418
- # Create a volume clone for specified volumes (version 1 - depricated)
1684
+ # Create a volume clone for specified volumes
1419
1685
  result = api_instance.pcloud_volumes_clone_post(cloud_instance_id, body)
1420
1686
  p result
1421
1687
  rescue IbmCloudPower::ApiError => e
@@ -1431,7 +1697,7 @@ This returns an Array which contains the response data, status code and headers.
1431
1697
 
1432
1698
  ```ruby
1433
1699
  begin
1434
- # Create a volume clone for specified volumes (version 1 - depricated)
1700
+ # Create a volume clone for specified volumes
1435
1701
  data, status_code, headers = api_instance.pcloud_volumes_clone_post_with_http_info(cloud_instance_id, body)
1436
1702
  p status_code # => 2xx
1437
1703
  p headers # => { ... }