ibm_cloud_power 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +255 -0
- data/Rakefile +10 -0
- data/docs/CloneTaskReference.md +19 -0
- data/docs/CloneTaskStatus.md +23 -0
- data/docs/ClonedVolume.md +19 -0
- data/docs/ClonedVolumeDetail.md +19 -0
- data/docs/CloudInstance.md +37 -0
- data/docs/CloudInstanceCreate.md +29 -0
- data/docs/CloudInstanceReference.md +31 -0
- data/docs/CloudInstanceUpdate.md +25 -0
- data/docs/CloudInstanceUsageLimits.md +37 -0
- data/docs/CreateDataVolume.md +29 -0
- data/docs/CreateImage.md +37 -0
- data/docs/Error.md +19 -0
- data/docs/Event.md +33 -0
- data/docs/EventUser.md +21 -0
- data/docs/Events.md +17 -0
- data/docs/ExportImage.md +23 -0
- data/docs/IPAddressRange.md +19 -0
- data/docs/Image.md +39 -0
- data/docs/ImageReference.md +33 -0
- data/docs/ImageSpecifications.md +29 -0
- data/docs/ImageVolume.md +23 -0
- data/docs/Images.md +17 -0
- data/docs/MinMaxDefault.md +21 -0
- data/docs/MultiVolumesCreate.md +29 -0
- data/docs/Network.md +37 -0
- data/docs/NetworkCreate.md +29 -0
- data/docs/NetworkIpAddressMetrics.md +23 -0
- data/docs/NetworkPort.md +29 -0
- data/docs/NetworkPortCreate.md +19 -0
- data/docs/NetworkPortPvmInstance.md +19 -0
- data/docs/NetworkPortUpdate.md +19 -0
- data/docs/NetworkPorts.md +17 -0
- data/docs/NetworkReference.md +27 -0
- data/docs/NetworkUpdate.md +23 -0
- data/docs/Networks.md +17 -0
- data/docs/Operations.md +21 -0
- data/docs/PCloudEventsApi.md +114 -0
- data/docs/PCloudImagesApi.md +342 -0
- data/docs/PCloudInstancesApi.md +148 -0
- data/docs/PCloudNetworksApi.md +504 -0
- data/docs/PCloudPVMInstancesApi.md +809 -0
- data/docs/PCloudSAPApi.md +150 -0
- data/docs/PCloudSnapshotsApi.md +200 -0
- data/docs/PCloudSystemPoolsApi.md +54 -0
- data/docs/PCloudTasksApi.md +100 -0
- data/docs/PCloudTenantsApi.md +102 -0
- data/docs/PCloudTenantsSSHKeysApi.md +248 -0
- data/docs/PCloudVolumesApi.md +746 -0
- data/docs/PVMInstance.md +77 -0
- data/docs/PVMInstanceAction.md +17 -0
- data/docs/PVMInstanceAddNetwork.md +19 -0
- data/docs/PVMInstanceCapture.md +29 -0
- data/docs/PVMInstanceClone.md +31 -0
- data/docs/PVMInstanceConsole.md +17 -0
- data/docs/PVMInstanceCreate.md +53 -0
- data/docs/PVMInstanceFault.md +23 -0
- data/docs/PVMInstanceHealth.md +21 -0
- data/docs/PVMInstanceMultiCreate.md +21 -0
- data/docs/PVMInstanceNetwork.md +33 -0
- data/docs/PVMInstanceNetworks.md +17 -0
- data/docs/PVMInstanceOperation.md +19 -0
- data/docs/PVMInstanceReference.md +71 -0
- data/docs/PVMInstanceRemoveNetwork.md +17 -0
- data/docs/PVMInstanceUpdate.md +33 -0
- data/docs/PVMInstanceUpdateResponse.md +27 -0
- data/docs/PVMInstanceVolumeUpdate.md +17 -0
- data/docs/PVMInstances.md +17 -0
- data/docs/PeeringNetwork.md +21 -0
- data/docs/PinPolicy.md +16 -0
- data/docs/SAPCreate.md +33 -0
- data/docs/SAPProfile.md +25 -0
- data/docs/SAPProfileReference.md +19 -0
- data/docs/SAPProfiles.md +17 -0
- data/docs/SRC.md +19 -0
- data/docs/SSHKey.md +21 -0
- data/docs/SSHKeys.md +17 -0
- data/docs/Snapshot.md +35 -0
- data/docs/SnapshotCreate.md +21 -0
- data/docs/SnapshotCreateResponse.md +17 -0
- data/docs/SnapshotRestore.md +17 -0
- data/docs/SnapshotUpdate.md +19 -0
- data/docs/Snapshots.md +17 -0
- data/docs/SoftwareLicenses.md +25 -0
- data/docs/StockImage.md +21 -0
- data/docs/System.md +21 -0
- data/docs/SystemPool.md +31 -0
- data/docs/Task.md +33 -0
- data/docs/TaskReference.md +19 -0
- data/docs/Tenant.md +29 -0
- data/docs/TenantUpdate.md +19 -0
- data/docs/UpdateVolume.md +23 -0
- data/docs/VirtualCores.md +21 -0
- data/docs/Volume.md +41 -0
- data/docs/VolumeInfo.md +19 -0
- data/docs/VolumeReference.md +43 -0
- data/docs/Volumes.md +17 -0
- data/docs/VolumesClone.md +31 -0
- data/docs/VolumesCloneAsyncRequest.md +19 -0
- data/docs/VolumesCloneCancel.md +17 -0
- data/docs/VolumesCloneCreate.md +19 -0
- data/docs/VolumesCloneDetail.md +33 -0
- data/docs/VolumesCloneExecute.md +19 -0
- data/docs/VolumesCloneRequest.md +19 -0
- data/docs/VolumesCloneResponse.md +17 -0
- data/docs/VolumesClones.md +17 -0
- data/git_push.sh +58 -0
- data/ibm_cloud_power.gemspec +38 -0
- data/lib/ibm_cloud_power.rb +144 -0
- data/lib/ibm_cloud_power/api/p_cloud_events_api.rb +163 -0
- data/lib/ibm_cloud_power/api/p_cloud_images_api.rb +473 -0
- data/lib/ibm_cloud_power/api/p_cloud_instances_api.rb +210 -0
- data/lib/ibm_cloud_power/api/p_cloud_networks_api.rb +719 -0
- data/lib/ibm_cloud_power/api/p_cloud_pvm_instances_api.rb +1166 -0
- data/lib/ibm_cloud_power/api/p_cloud_sap_api.rb +216 -0
- data/lib/ibm_cloud_power/api/p_cloud_snapshots_api.rb +288 -0
- data/lib/ibm_cloud_power/api/p_cloud_system_pools_api.rb +82 -0
- data/lib/ibm_cloud_power/api/p_cloud_tasks_api.rb +142 -0
- data/lib/ibm_cloud_power/api/p_cloud_tenants_api.rb +150 -0
- data/lib/ibm_cloud_power/api/p_cloud_tenants_ssh_keys_api.rb +356 -0
- data/lib/ibm_cloud_power/api/p_cloud_volumes_api.rb +1065 -0
- data/lib/ibm_cloud_power/api_client.rb +387 -0
- data/lib/ibm_cloud_power/api_error.rb +57 -0
- data/lib/ibm_cloud_power/configuration.rb +241 -0
- data/lib/ibm_cloud_power/models/clone_task_reference.rb +229 -0
- data/lib/ibm_cloud_power/models/clone_task_status.rb +285 -0
- data/lib/ibm_cloud_power/models/cloned_volume.rb +219 -0
- data/lib/ibm_cloud_power/models/cloned_volume_detail.rb +227 -0
- data/lib/ibm_cloud_power/models/cloud_instance.rb +361 -0
- data/lib/ibm_cloud_power/models/cloud_instance_create.rb +294 -0
- data/lib/ibm_cloud_power/models/cloud_instance_reference.rb +315 -0
- data/lib/ibm_cloud_power/models/cloud_instance_update.rb +249 -0
- data/lib/ibm_cloud_power/models/cloud_instance_usage_limits.rb +334 -0
- data/lib/ibm_cloud_power/models/create_data_volume.rb +313 -0
- data/lib/ibm_cloud_power/models/create_image.rb +360 -0
- data/lib/ibm_cloud_power/models/error.rb +217 -0
- data/lib/ibm_cloud_power/models/event.rb +357 -0
- data/lib/ibm_cloud_power/models/event_user.rb +234 -0
- data/lib/ibm_cloud_power/models/events.rb +216 -0
- data/lib/ibm_cloud_power/models/export_image.rb +249 -0
- data/lib/ibm_cloud_power/models/image.rb +351 -0
- data/lib/ibm_cloud_power/models/image_reference.rb +333 -0
- data/lib/ibm_cloud_power/models/image_specifications.rb +269 -0
- data/lib/ibm_cloud_power/models/image_volume.rb +259 -0
- data/lib/ibm_cloud_power/models/images.rb +216 -0
- data/lib/ibm_cloud_power/models/ip_address_range.rb +229 -0
- data/lib/ibm_cloud_power/models/min_max_default.rb +244 -0
- data/lib/ibm_cloud_power/models/multi_volumes_create.rb +313 -0
- data/lib/ibm_cloud_power/models/network.rb +395 -0
- data/lib/ibm_cloud_power/models/network_create.rb +314 -0
- data/lib/ibm_cloud_power/models/network_ip_address_metrics.rb +260 -0
- data/lib/ibm_cloud_power/models/network_port.rb +293 -0
- data/lib/ibm_cloud_power/models/network_port_create.rb +219 -0
- data/lib/ibm_cloud_power/models/network_port_pvm_instance.rb +220 -0
- data/lib/ibm_cloud_power/models/network_port_update.rb +219 -0
- data/lib/ibm_cloud_power/models/network_ports.rb +216 -0
- data/lib/ibm_cloud_power/models/network_reference.rb +325 -0
- data/lib/ibm_cloud_power/models/network_update.rb +243 -0
- data/lib/ibm_cloud_power/models/networks.rb +216 -0
- data/lib/ibm_cloud_power/models/operations.rb +287 -0
- data/lib/ibm_cloud_power/models/peering_network.rb +241 -0
- data/lib/ibm_cloud_power/models/pin_policy.rb +37 -0
- data/lib/ibm_cloud_power/models/pvm_instance.rb +612 -0
- data/lib/ibm_cloud_power/models/pvm_instance_action.rb +248 -0
- data/lib/ibm_cloud_power/models/pvm_instance_add_network.rb +224 -0
- data/lib/ibm_cloud_power/models/pvm_instance_capture.rb +317 -0
- data/lib/ibm_cloud_power/models/pvm_instance_clone.rb +328 -0
- data/lib/ibm_cloud_power/models/pvm_instance_console.rb +214 -0
- data/lib/ibm_cloud_power/models/pvm_instance_create.rb +483 -0
- data/lib/ibm_cloud_power/models/pvm_instance_fault.rb +240 -0
- data/lib/ibm_cloud_power/models/pvm_instance_health.rb +230 -0
- data/lib/ibm_cloud_power/models/pvm_instance_multi_create.rb +279 -0
- data/lib/ibm_cloud_power/models/pvm_instance_network.rb +290 -0
- data/lib/ibm_cloud_power/models/pvm_instance_networks.rb +216 -0
- data/lib/ibm_cloud_power/models/pvm_instance_operation.rb +262 -0
- data/lib/ibm_cloud_power/models/pvm_instance_reference.rb +566 -0
- data/lib/ibm_cloud_power/models/pvm_instance_remove_network.rb +209 -0
- data/lib/ibm_cloud_power/models/pvm_instance_update.rb +322 -0
- data/lib/ibm_cloud_power/models/pvm_instance_update_response.rb +292 -0
- data/lib/ibm_cloud_power/models/pvm_instance_volume_update.rb +214 -0
- data/lib/ibm_cloud_power/models/pvm_instances.rb +216 -0
- data/lib/ibm_cloud_power/models/sap_create.rb +311 -0
- data/lib/ibm_cloud_power/models/sap_profile.rb +310 -0
- data/lib/ibm_cloud_power/models/sap_profile_reference.rb +229 -0
- data/lib/ibm_cloud_power/models/sap_profiles.rb +216 -0
- data/lib/ibm_cloud_power/models/snapshot.rb +321 -0
- data/lib/ibm_cloud_power/models/snapshot_create.rb +236 -0
- data/lib/ibm_cloud_power/models/snapshot_create_response.rb +214 -0
- data/lib/ibm_cloud_power/models/snapshot_restore.rb +211 -0
- data/lib/ibm_cloud_power/models/snapshot_update.rb +219 -0
- data/lib/ibm_cloud_power/models/snapshots.rb +216 -0
- data/lib/ibm_cloud_power/models/software_licenses.rb +257 -0
- data/lib/ibm_cloud_power/models/src.rb +219 -0
- data/lib/ibm_cloud_power/models/ssh_key.rb +239 -0
- data/lib/ibm_cloud_power/models/ssh_keys.rb +216 -0
- data/lib/ibm_cloud_power/models/stock_image.rb +230 -0
- data/lib/ibm_cloud_power/models/system.rb +239 -0
- data/lib/ibm_cloud_power/models/system_pool.rb +277 -0
- data/lib/ibm_cloud_power/models/task.rb +334 -0
- data/lib/ibm_cloud_power/models/task_reference.rb +229 -0
- data/lib/ibm_cloud_power/models/tenant.rb +295 -0
- data/lib/ibm_cloud_power/models/tenant_update.rb +221 -0
- data/lib/ibm_cloud_power/models/update_volume.rb +239 -0
- data/lib/ibm_cloud_power/models/virtual_cores.rb +253 -0
- data/lib/ibm_cloud_power/models/volume.rb +356 -0
- data/lib/ibm_cloud_power/models/volume_info.rb +219 -0
- data/lib/ibm_cloud_power/models/volume_reference.rb +396 -0
- data/lib/ibm_cloud_power/models/volumes.rb +216 -0
- data/lib/ibm_cloud_power/models/volumes_clone.rb +284 -0
- data/lib/ibm_cloud_power/models/volumes_clone_async_request.rb +231 -0
- data/lib/ibm_cloud_power/models/volumes_clone_cancel.rb +209 -0
- data/lib/ibm_cloud_power/models/volumes_clone_create.rb +231 -0
- data/lib/ibm_cloud_power/models/volumes_clone_detail.rb +296 -0
- data/lib/ibm_cloud_power/models/volumes_clone_execute.rb +224 -0
- data/lib/ibm_cloud_power/models/volumes_clone_request.rb +231 -0
- data/lib/ibm_cloud_power/models/volumes_clone_response.rb +211 -0
- data/lib/ibm_cloud_power/models/volumes_clones.rb +211 -0
- data/lib/ibm_cloud_power/version.rb +15 -0
- data/spec/api/p_cloud_events_api_spec.rb +62 -0
- data/spec/api/p_cloud_images_api_spec.rb +117 -0
- data/spec/api/p_cloud_instances_api_spec.rb +69 -0
- data/spec/api/p_cloud_networks_api_spec.rb +161 -0
- data/spec/api/p_cloud_pvm_instances_api_spec.rb +240 -0
- data/spec/api/p_cloud_sap_api_spec.rb +70 -0
- data/spec/api/p_cloud_snapshots_api_spec.rb +83 -0
- data/spec/api/p_cloud_system_pools_api_spec.rb +46 -0
- data/spec/api/p_cloud_tasks_api_spec.rb +57 -0
- data/spec/api/p_cloud_tenants_api_spec.rb +58 -0
- data/spec/api/p_cloud_tenants_ssh_keys_api_spec.rb +95 -0
- data/spec/api/p_cloud_volumes_api_spec.rb +223 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/clone_task_reference_spec.rb +47 -0
- data/spec/models/clone_task_status_spec.rb +63 -0
- data/spec/models/cloned_volume_detail_spec.rb +47 -0
- data/spec/models/cloned_volume_spec.rb +47 -0
- data/spec/models/cloud_instance_create_spec.rb +77 -0
- data/spec/models/cloud_instance_reference_spec.rb +83 -0
- data/spec/models/cloud_instance_spec.rb +101 -0
- data/spec/models/cloud_instance_update_spec.rb +65 -0
- data/spec/models/cloud_instance_usage_limits_spec.rb +101 -0
- data/spec/models/create_data_volume_spec.rb +81 -0
- data/spec/models/create_image_spec.rb +109 -0
- data/spec/models/error_spec.rb +47 -0
- data/spec/models/event_spec.rb +93 -0
- data/spec/models/event_user_spec.rb +53 -0
- data/spec/models/events_spec.rb +41 -0
- data/spec/models/export_image_spec.rb +59 -0
- data/spec/models/image_reference_spec.rb +89 -0
- data/spec/models/image_spec.rb +107 -0
- data/spec/models/image_specifications_spec.rb +77 -0
- data/spec/models/image_volume_spec.rb +59 -0
- data/spec/models/images_spec.rb +41 -0
- data/spec/models/ip_address_range_spec.rb +47 -0
- data/spec/models/min_max_default_spec.rb +53 -0
- data/spec/models/multi_volumes_create_spec.rb +81 -0
- data/spec/models/network_create_spec.rb +81 -0
- data/spec/models/network_ip_address_metrics_spec.rb +59 -0
- data/spec/models/network_port_create_spec.rb +47 -0
- data/spec/models/network_port_pvm_instance_spec.rb +47 -0
- data/spec/models/network_port_spec.rb +77 -0
- data/spec/models/network_port_update_spec.rb +47 -0
- data/spec/models/network_ports_spec.rb +41 -0
- data/spec/models/network_reference_spec.rb +75 -0
- data/spec/models/network_spec.rb +105 -0
- data/spec/models/network_update_spec.rb +59 -0
- data/spec/models/networks_spec.rb +41 -0
- data/spec/models/operations_spec.rb +65 -0
- data/spec/models/peering_network_spec.rb +53 -0
- data/spec/models/pin_policy_spec.rb +35 -0
- data/spec/models/pvm_instance_action_spec.rb +45 -0
- data/spec/models/pvm_instance_add_network_spec.rb +47 -0
- data/spec/models/pvm_instance_capture_spec.rb +81 -0
- data/spec/models/pvm_instance_clone_spec.rb +87 -0
- data/spec/models/pvm_instance_console_spec.rb +41 -0
- data/spec/models/pvm_instance_create_spec.rb +161 -0
- data/spec/models/pvm_instance_fault_spec.rb +59 -0
- data/spec/models/pvm_instance_health_spec.rb +53 -0
- data/spec/models/pvm_instance_multi_create_spec.rb +61 -0
- data/spec/models/pvm_instance_network_spec.rb +89 -0
- data/spec/models/pvm_instance_networks_spec.rb +41 -0
- data/spec/models/pvm_instance_operation_spec.rb +51 -0
- data/spec/models/pvm_instance_reference_spec.rb +207 -0
- data/spec/models/pvm_instance_remove_network_spec.rb +41 -0
- data/spec/models/pvm_instance_spec.rb +225 -0
- data/spec/models/pvm_instance_update_response_spec.rb +75 -0
- data/spec/models/pvm_instance_update_spec.rb +93 -0
- data/spec/models/pvm_instance_volume_update_spec.rb +41 -0
- data/spec/models/pvm_instances_spec.rb +41 -0
- data/spec/models/sap_create_spec.rb +89 -0
- data/spec/models/sap_profile_reference_spec.rb +47 -0
- data/spec/models/sap_profile_spec.rb +69 -0
- data/spec/models/sap_profiles_spec.rb +41 -0
- data/spec/models/snapshot_create_response_spec.rb +41 -0
- data/spec/models/snapshot_create_spec.rb +53 -0
- data/spec/models/snapshot_restore_spec.rb +41 -0
- data/spec/models/snapshot_spec.rb +95 -0
- data/spec/models/snapshot_update_spec.rb +47 -0
- data/spec/models/snapshots_spec.rb +41 -0
- data/spec/models/software_licenses_spec.rb +65 -0
- data/spec/models/src_spec.rb +47 -0
- data/spec/models/ssh_key_spec.rb +53 -0
- data/spec/models/ssh_keys_spec.rb +41 -0
- data/spec/models/stock_image_spec.rb +53 -0
- data/spec/models/system_pool_spec.rb +83 -0
- data/spec/models/system_spec.rb +53 -0
- data/spec/models/task_reference_spec.rb +47 -0
- data/spec/models/task_spec.rb +89 -0
- data/spec/models/tenant_spec.rb +77 -0
- data/spec/models/tenant_update_spec.rb +47 -0
- data/spec/models/update_volume_spec.rb +59 -0
- data/spec/models/virtual_cores_spec.rb +53 -0
- data/spec/models/volume_info_spec.rb +47 -0
- data/spec/models/volume_reference_spec.rb +119 -0
- data/spec/models/volume_spec.rb +113 -0
- data/spec/models/volumes_clone_async_request_spec.rb +47 -0
- data/spec/models/volumes_clone_cancel_spec.rb +41 -0
- data/spec/models/volumes_clone_create_spec.rb +47 -0
- data/spec/models/volumes_clone_detail_spec.rb +89 -0
- data/spec/models/volumes_clone_execute_spec.rb +47 -0
- data/spec/models/volumes_clone_request_spec.rb +47 -0
- data/spec/models/volumes_clone_response_spec.rb +47 -0
- data/spec/models/volumes_clone_spec.rb +83 -0
- data/spec/models/volumes_clones_spec.rb +41 -0
- data/spec/models/volumes_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- metadata +519 -0
|
@@ -0,0 +1,70 @@
|
|
|
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::PCloudSAPApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PCloudSAPApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = IbmCloudPower::PCloudSAPApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PCloudSAPApi' do
|
|
30
|
+
it 'should create an instance of PCloudSAPApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudSAPApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for pcloud_sap_get
|
|
36
|
+
# Get the information on an SAP profile
|
|
37
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
38
|
+
# @param sap_profile_id SAP Profile ID
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [SAPProfile]
|
|
41
|
+
describe 'pcloud_sap_get 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_sap_getall
|
|
48
|
+
# Get list of SAP profiles
|
|
49
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @return [SAPProfiles]
|
|
52
|
+
describe 'pcloud_sap_getall test' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# unit tests for pcloud_sap_post
|
|
59
|
+
# Create a new SAP PVM Instance
|
|
60
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
61
|
+
# @param body Parameters for the creation of a new SAP PVM Instance
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @return [Array<PVMInstance>]
|
|
64
|
+
describe 'pcloud_sap_post test' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
end
|
|
@@ -0,0 +1,83 @@
|
|
|
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::PCloudSnapshotsApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PCloudSnapshotsApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = IbmCloudPower::PCloudSnapshotsApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PCloudSnapshotsApi' do
|
|
30
|
+
it 'should create an instance of PCloudSnapshotsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudSnapshotsApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for pcloud_cloudinstances_snapshots_delete
|
|
36
|
+
# Delete a PVM instance snapshot of a cloud instance
|
|
37
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
38
|
+
# @param snapshot_id PVM Instance snapshot id
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [Object]
|
|
41
|
+
describe 'pcloud_cloudinstances_snapshots_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_snapshots_get
|
|
48
|
+
# Get the detail of a snapshot
|
|
49
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
50
|
+
# @param snapshot_id PVM Instance snapshot id
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [Snapshot]
|
|
53
|
+
describe 'pcloud_cloudinstances_snapshots_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_cloudinstances_snapshots_getall
|
|
60
|
+
# List all PVM instance snapshots for this cloud instance
|
|
61
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @return [Snapshots]
|
|
64
|
+
describe 'pcloud_cloudinstances_snapshots_getall test' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# unit tests for pcloud_cloudinstances_snapshots_put
|
|
71
|
+
# Update a PVM instance snapshot
|
|
72
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
73
|
+
# @param snapshot_id PVM Instance snapshot id
|
|
74
|
+
# @param body Parameters for the update of a PVM instance snapshot
|
|
75
|
+
# @param [Hash] opts the optional parameters
|
|
76
|
+
# @return [Object]
|
|
77
|
+
describe 'pcloud_cloudinstances_snapshots_put 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
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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::PCloudSystemPoolsApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PCloudSystemPoolsApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = IbmCloudPower::PCloudSystemPoolsApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PCloudSystemPoolsApi' do
|
|
30
|
+
it 'should create an instance of PCloudSystemPoolsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudSystemPoolsApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for pcloud_systempools_get
|
|
36
|
+
# List of available system pools within a particular data center
|
|
37
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [Hash<String, SystemPool>]
|
|
40
|
+
describe 'pcloud_systempools_get 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
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
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::PCloudTasksApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PCloudTasksApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = IbmCloudPower::PCloudTasksApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PCloudTasksApi' do
|
|
30
|
+
it 'should create an instance of PCloudTasksApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudTasksApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for pcloud_tasks_delete
|
|
36
|
+
# Delete a task
|
|
37
|
+
# @param task_id PCloud Task ID
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [Object]
|
|
40
|
+
describe 'pcloud_tasks_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_tasks_get
|
|
47
|
+
# Get a task
|
|
48
|
+
# @param task_id PCloud Task ID
|
|
49
|
+
# @param [Hash] opts the optional parameters
|
|
50
|
+
# @return [Task]
|
|
51
|
+
describe 'pcloud_tasks_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
|
+
end
|
|
@@ -0,0 +1,58 @@
|
|
|
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::PCloudTenantsApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PCloudTenantsApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = IbmCloudPower::PCloudTenantsApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PCloudTenantsApi' do
|
|
30
|
+
it 'should create an instance of PCloudTenantsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudTenantsApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for pcloud_tenants_get
|
|
36
|
+
# Get a tenant's current state or information
|
|
37
|
+
# @param tenant_id Tenant ID of a pcloud tenant
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [Tenant]
|
|
40
|
+
describe 'pcloud_tenants_get 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_tenants_put
|
|
47
|
+
# Update a tenant
|
|
48
|
+
# @param tenant_id Tenant ID of a pcloud tenant
|
|
49
|
+
# @param body Parameters for updating a Tenant
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @return [Tenant]
|
|
52
|
+
describe 'pcloud_tenants_put test' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
end
|
|
@@ -0,0 +1,95 @@
|
|
|
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::PCloudTenantsSSHKeysApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PCloudTenantsSSHKeysApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = IbmCloudPower::PCloudTenantsSSHKeysApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PCloudTenantsSSHKeysApi' do
|
|
30
|
+
it 'should create an instance of PCloudTenantsSSHKeysApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudTenantsSSHKeysApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for pcloud_tenants_sshkeys_delete
|
|
36
|
+
# Delete a tenant's SSH key
|
|
37
|
+
# @param tenant_id Tenant ID of a pcloud tenant
|
|
38
|
+
# @param sshkey_name SSH key name for a pcloud tenant
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [Object]
|
|
41
|
+
describe 'pcloud_tenants_sshkeys_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_tenants_sshkeys_get
|
|
48
|
+
# Get a tenant's SSH Key by name
|
|
49
|
+
# @param tenant_id Tenant ID of a pcloud tenant
|
|
50
|
+
# @param sshkey_name SSH key name for a pcloud tenant
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [SSHKey]
|
|
53
|
+
describe 'pcloud_tenants_sshkeys_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_tenants_sshkeys_getall
|
|
60
|
+
# List a tenant's SSH Keys
|
|
61
|
+
# @param tenant_id Tenant ID of a pcloud tenant
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @return [SSHKeys]
|
|
64
|
+
describe 'pcloud_tenants_sshkeys_getall test' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# unit tests for pcloud_tenants_sshkeys_post
|
|
71
|
+
# Add a new SSH key to the tenant
|
|
72
|
+
# @param tenant_id Tenant ID of a pcloud tenant
|
|
73
|
+
# @param body Parameters for the creation of a new SSH key
|
|
74
|
+
# @param [Hash] opts the optional parameters
|
|
75
|
+
# @return [SSHKey]
|
|
76
|
+
describe 'pcloud_tenants_sshkeys_post test' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# unit tests for pcloud_tenants_sshkeys_put
|
|
83
|
+
# Update an SSH Key
|
|
84
|
+
# @param tenant_id Tenant ID of a pcloud tenant
|
|
85
|
+
# @param sshkey_name SSH key name for a pcloud tenant
|
|
86
|
+
# @param body Parameters for updating a Tenant's SSH Key
|
|
87
|
+
# @param [Hash] opts the optional parameters
|
|
88
|
+
# @return [SSHKey]
|
|
89
|
+
describe 'pcloud_tenants_sshkeys_put 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
|
+
end
|
|
@@ -0,0 +1,223 @@
|
|
|
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::PCloudVolumesApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PCloudVolumesApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = IbmCloudPower::PCloudVolumesApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PCloudVolumesApi' do
|
|
30
|
+
it 'should create an instance of PCloudVolumesApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(IbmCloudPower::PCloudVolumesApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for pcloud_cloudinstances_volumes_delete
|
|
36
|
+
# Delete a cloud instance volume
|
|
37
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
38
|
+
# @param volume_id Volume ID
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [Object]
|
|
41
|
+
describe 'pcloud_cloudinstances_volumes_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_volumes_get
|
|
48
|
+
# Detailed information of a volume
|
|
49
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
50
|
+
# @param volume_id Volume ID
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [Volume]
|
|
53
|
+
describe 'pcloud_cloudinstances_volumes_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_cloudinstances_volumes_getall
|
|
60
|
+
# List all volumes for 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] :affinity A pvmInstance (id or name), limits a volumes list response to only volumes that have affinity to the pvmInstance
|
|
64
|
+
# @return [Volumes]
|
|
65
|
+
describe 'pcloud_cloudinstances_volumes_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_cloudinstances_volumes_post
|
|
72
|
+
# Create a new data volume
|
|
73
|
+
# All regions use Tier 1 (NVMe-based flash storage) or Tier 3 (SSD flash storage) storage types.
|
|
74
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
75
|
+
# @param body Parameters for the creation of a new data volume
|
|
76
|
+
# @param [Hash] opts the optional parameters
|
|
77
|
+
# @return [Volume]
|
|
78
|
+
describe 'pcloud_cloudinstances_volumes_post 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_cloudinstances_volumes_put
|
|
85
|
+
# Update a cloud instance volume
|
|
86
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
87
|
+
# @param volume_id Volume ID
|
|
88
|
+
# @param body Parameters to update a cloud instance volume
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @return [Volume]
|
|
91
|
+
describe 'pcloud_cloudinstances_volumes_put 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_volumes_delete
|
|
98
|
+
# Detach a volume from a PVM Instance
|
|
99
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
100
|
+
# @param pvm_instance_id PCloud PVM Instance ID
|
|
101
|
+
# @param volume_id Volume ID
|
|
102
|
+
# @param [Hash] opts the optional parameters
|
|
103
|
+
# @return [Object]
|
|
104
|
+
describe 'pcloud_pvminstances_volumes_delete test' do
|
|
105
|
+
it 'should work' do
|
|
106
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# unit tests for pcloud_pvminstances_volumes_get
|
|
111
|
+
# Detailed information of a volume attached to a PVM Instance
|
|
112
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
113
|
+
# @param pvm_instance_id PCloud PVM Instance ID
|
|
114
|
+
# @param volume_id Volume ID
|
|
115
|
+
# @param [Hash] opts the optional parameters
|
|
116
|
+
# @return [Volume]
|
|
117
|
+
describe 'pcloud_pvminstances_volumes_get test' do
|
|
118
|
+
it 'should work' do
|
|
119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# unit tests for pcloud_pvminstances_volumes_getall
|
|
124
|
+
# List all volumes attached to a PVM Instance
|
|
125
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
126
|
+
# @param pvm_instance_id PCloud PVM Instance ID
|
|
127
|
+
# @param [Hash] opts the optional parameters
|
|
128
|
+
# @return [Volumes]
|
|
129
|
+
describe 'pcloud_pvminstances_volumes_getall 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_volumes_post
|
|
136
|
+
# Attach a volume to a 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 volume_id Volume ID
|
|
140
|
+
# @param [Hash] opts the optional parameters
|
|
141
|
+
# @return [Object]
|
|
142
|
+
describe 'pcloud_pvminstances_volumes_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_pvminstances_volumes_put
|
|
149
|
+
# Update a volume attached to a PVMInstance
|
|
150
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
151
|
+
# @param pvm_instance_id PCloud PVM Instance ID
|
|
152
|
+
# @param volume_id Volume ID
|
|
153
|
+
# @param body Parameters to update a volume attached to a PVMInstance
|
|
154
|
+
# @param [Hash] opts the optional parameters
|
|
155
|
+
# @return [Object]
|
|
156
|
+
describe 'pcloud_pvminstances_volumes_put test' do
|
|
157
|
+
it 'should work' do
|
|
158
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# unit tests for pcloud_pvminstances_volumes_setboot_put
|
|
163
|
+
# Set the PVMInstance volume as the boot volume
|
|
164
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
165
|
+
# @param pvm_instance_id PCloud PVM Instance ID
|
|
166
|
+
# @param volume_id Volume ID
|
|
167
|
+
# @param [Hash] opts the optional parameters
|
|
168
|
+
# @return [Object]
|
|
169
|
+
describe 'pcloud_pvminstances_volumes_setboot_put test' do
|
|
170
|
+
it 'should work' do
|
|
171
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
172
|
+
end
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# unit tests for pcloud_v2_volumes_clone_post
|
|
176
|
+
# Create a volume clone for specified volumes (version 2)
|
|
177
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
178
|
+
# @param body Parameters for the cloning of volumes
|
|
179
|
+
# @param [Hash] opts the optional parameters
|
|
180
|
+
# @return [CloneTaskReference]
|
|
181
|
+
describe 'pcloud_v2_volumes_clone_post test' do
|
|
182
|
+
it 'should work' do
|
|
183
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# unit tests for pcloud_v2_volumes_clonetasks_get
|
|
188
|
+
# Get the status of a volume clone request for the specified clone task ID
|
|
189
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
190
|
+
# @param clone_task_id Volumes Clone Task ID
|
|
191
|
+
# @param [Hash] opts the optional parameters
|
|
192
|
+
# @return [CloneTaskStatus]
|
|
193
|
+
describe 'pcloud_v2_volumes_clonetasks_get 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_v2_volumes_post
|
|
200
|
+
# Create multiple data volumes from a single definition
|
|
201
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
202
|
+
# @param body Parameters for creating multiple volumes
|
|
203
|
+
# @param [Hash] opts the optional parameters
|
|
204
|
+
# @return [Volumes]
|
|
205
|
+
describe 'pcloud_v2_volumes_post 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_volumes_clone_post
|
|
212
|
+
# Create a volume clone for specified volumes (version 1 - depricated)
|
|
213
|
+
# @param cloud_instance_id Cloud Instance ID of a PCloud Instance
|
|
214
|
+
# @param body Parameters for the cloning of volumes
|
|
215
|
+
# @param [Hash] opts the optional parameters
|
|
216
|
+
# @return [VolumesCloneResponse]
|
|
217
|
+
describe 'pcloud_volumes_clone_post test' do
|
|
218
|
+
it 'should work' do
|
|
219
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
end
|