ibm_cloud_power 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- 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,25 @@
|
|
1
|
+
# IbmCloudPower::SoftwareLicenses
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**ibmi_css** | **Boolean** | IBMi Cloud Storage Solution | [optional] [default to false]
|
8
|
+
**ibmi_pha** | **Boolean** | IBMi Power High Availability | [optional] [default to false]
|
9
|
+
**ibmi_rds** | **Boolean** | IBMi Rational Dev Studio | [optional] [default to false]
|
10
|
+
**ibmi_rds_users** | **Integer** | IBMi Rational Dev Studio Number of User Licenses | [optional]
|
11
|
+
**ibmi_dbq** | **Boolean** | IBMi Cloud Storage Solution | [optional] [default to false]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'IbmCloudPower'
|
17
|
+
|
18
|
+
instance = IbmCloudPower::SoftwareLicenses.new(ibmi_css: null,
|
19
|
+
ibmi_pha: null,
|
20
|
+
ibmi_rds: null,
|
21
|
+
ibmi_rds_users: null,
|
22
|
+
ibmi_dbq: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
data/docs/StockImage.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# IbmCloudPower::StockImage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**storage_type** | **String** | Storage type for a stock image | [optional]
|
8
|
+
**storage_pool** | **String** | Storage pool for a stock image | [optional]
|
9
|
+
**id** | **String** | Image ID | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'IbmCloudPower'
|
15
|
+
|
16
|
+
instance = IbmCloudPower::StockImage.new(storage_type: null,
|
17
|
+
storage_pool: null,
|
18
|
+
id: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/System.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# IbmCloudPower::System
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**cores** | **Float** | The host available Processor units |
|
8
|
+
**id** | **Integer** | The host identifier | [optional]
|
9
|
+
**memory** | **Integer** | The host available RAM memory in GiB |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'IbmCloudPower'
|
15
|
+
|
16
|
+
instance = IbmCloudPower::System.new(cores: null,
|
17
|
+
id: null,
|
18
|
+
memory: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/SystemPool.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# IbmCloudPower::SystemPool
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**systems** | [**Array<System>**](System.md) | The DataCenter list of servers and their available resources | [optional]
|
8
|
+
**shared_core_ratio** | [**MinMaxDefault**](MinMaxDefault.md) | | [optional]
|
9
|
+
**max_available** | [**System**](System.md) | | [optional]
|
10
|
+
**capacity** | [**System**](System.md) | | [optional]
|
11
|
+
**max_cores_available** | [**System**](System.md) | | [optional]
|
12
|
+
**max_memory_available** | [**System**](System.md) | | [optional]
|
13
|
+
**core_memory_ratio** | **Float** | Processor to Memory (GB) Ratio | [optional]
|
14
|
+
**type** | **String** | Type of system hardware | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'IbmCloudPower'
|
20
|
+
|
21
|
+
instance = IbmCloudPower::SystemPool.new(systems: null,
|
22
|
+
shared_core_ratio: null,
|
23
|
+
max_available: null,
|
24
|
+
capacity: null,
|
25
|
+
max_cores_available: null,
|
26
|
+
max_memory_available: null,
|
27
|
+
core_memory_ratio: null,
|
28
|
+
type: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
data/docs/Task.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# IbmCloudPower::Task
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**task_id** | **String** | Pcloud Task ID |
|
8
|
+
**operation** | **String** | Task Operation |
|
9
|
+
**cloud_instance_id** | **String** | Cloud Instance ID of task owner |
|
10
|
+
**component_type** | **String** | the component type of the task |
|
11
|
+
**component_id** | **String** | the component id of the task |
|
12
|
+
**status** | **String** | status code of the task |
|
13
|
+
**status_detail** | **String** | status detail of the task |
|
14
|
+
**creation_date** | **DateTime** | Creation Date |
|
15
|
+
**last_update_date** | **DateTime** | Last Update Date |
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'IbmCloudPower'
|
21
|
+
|
22
|
+
instance = IbmCloudPower::Task.new(task_id: null,
|
23
|
+
operation: null,
|
24
|
+
cloud_instance_id: null,
|
25
|
+
component_type: null,
|
26
|
+
component_id: null,
|
27
|
+
status: null,
|
28
|
+
status_detail: null,
|
29
|
+
creation_date: null,
|
30
|
+
last_update_date: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# IbmCloudPower::TaskReference
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**task_id** | **String** | ID of Task used to get status of long running operation |
|
8
|
+
**href** | **String** | Link to Task resource |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'IbmCloudPower'
|
14
|
+
|
15
|
+
instance = IbmCloudPower::TaskReference.new(task_id: null,
|
16
|
+
href: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/Tenant.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# IbmCloudPower::Tenant
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**tenant_id** | **String** | Tenant ID |
|
8
|
+
**enabled** | **Boolean** | Indicates if the tenant is enabled |
|
9
|
+
**creation_date** | **DateTime** | Date of Tenant creation |
|
10
|
+
**ssh_keys** | [**Array<SSHKey>**](SSHKey.md) | Tenant SSH Keys | [optional]
|
11
|
+
**cloud_instances** | [**Array<CloudInstanceReference>**](CloudInstanceReference.md) | Cloud Instances owned by the Tenant |
|
12
|
+
**icn** | **String** | IBM Customer Number | [optional]
|
13
|
+
**peering_networks** | [**Array<PeeringNetwork>**](PeeringNetwork.md) | Peering Network Information (optional) | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'IbmCloudPower'
|
19
|
+
|
20
|
+
instance = IbmCloudPower::Tenant.new(tenant_id: null,
|
21
|
+
enabled: null,
|
22
|
+
creation_date: null,
|
23
|
+
ssh_keys: null,
|
24
|
+
cloud_instances: null,
|
25
|
+
icn: null,
|
26
|
+
peering_networks: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# IbmCloudPower::TenantUpdate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**icn** | **String** | IBM Customer Number | [optional]
|
8
|
+
**peering_networks** | [**Array<PeeringNetwork>**](PeeringNetwork.md) | Peering Network Information (optional) | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'IbmCloudPower'
|
14
|
+
|
15
|
+
instance = IbmCloudPower::TenantUpdate.new(icn: null,
|
16
|
+
peering_networks: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# IbmCloudPower::UpdateVolume
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | Name | [optional]
|
8
|
+
**size** | **Float** | New Volume size | [optional]
|
9
|
+
**shareable** | **Boolean** | Indicates if the volume is shareable between VMs | [optional]
|
10
|
+
**bootable** | **Boolean** | Indicates if the volume is boot capable | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'IbmCloudPower'
|
16
|
+
|
17
|
+
instance = IbmCloudPower::UpdateVolume.new(name: null,
|
18
|
+
size: null,
|
19
|
+
shareable: null,
|
20
|
+
bootable: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# IbmCloudPower::VirtualCores
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**min** | **Integer** | The minimum DLPAR range for virtual Cores (Display only support) | [optional]
|
8
|
+
**max** | **Integer** | The maximum DLPAR range for virtual Cores (Display only support) | [optional]
|
9
|
+
**assigned** | **Integer** | The active virtual Cores |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'IbmCloudPower'
|
15
|
+
|
16
|
+
instance = IbmCloudPower::VirtualCores.new(min: null,
|
17
|
+
max: null,
|
18
|
+
assigned: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/Volume.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# IbmCloudPower::Volume
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**volume_id** | **String** | Volume ID |
|
8
|
+
**name** | **String** | Volume Name |
|
9
|
+
**state** | **String** | Volume State | [optional]
|
10
|
+
**size** | **Float** | Volume Size |
|
11
|
+
**shareable** | **Boolean** | Indicates if the volume is shareable between VMs | [optional]
|
12
|
+
**bootable** | **Boolean** | Indicates if the volume is boot capable | [optional]
|
13
|
+
**boot_volume** | **Boolean** | Indicates if the volume is the server's boot volume | [optional]
|
14
|
+
**delete_on_termination** | **Boolean** | Indicates if the volume should be deleted when the server terminates | [optional]
|
15
|
+
**disk_type** | **String** | Type of Disk | [optional]
|
16
|
+
**wwn** | **String** | Volume world wide name | [optional]
|
17
|
+
**creation_date** | **DateTime** | Creation Date |
|
18
|
+
**last_update_date** | **DateTime** | Last Update Date |
|
19
|
+
**pvm_instance_i_ds** | **Array<String>** | List of PCloud PVM Instance attached to the volume | [optional]
|
20
|
+
|
21
|
+
## Code Sample
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'IbmCloudPower'
|
25
|
+
|
26
|
+
instance = IbmCloudPower::Volume.new(volume_id: null,
|
27
|
+
name: null,
|
28
|
+
state: null,
|
29
|
+
size: null,
|
30
|
+
shareable: null,
|
31
|
+
bootable: null,
|
32
|
+
boot_volume: null,
|
33
|
+
delete_on_termination: null,
|
34
|
+
disk_type: null,
|
35
|
+
wwn: null,
|
36
|
+
creation_date: null,
|
37
|
+
last_update_date: null,
|
38
|
+
pvm_instance_i_ds: null)
|
39
|
+
```
|
40
|
+
|
41
|
+
|
data/docs/VolumeInfo.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# IbmCloudPower::VolumeInfo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**volume_id** | **String** | ID of the volume | [optional]
|
8
|
+
**name** | **String** | Name of the volume | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'IbmCloudPower'
|
14
|
+
|
15
|
+
instance = IbmCloudPower::VolumeInfo.new(volume_id: null,
|
16
|
+
name: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# IbmCloudPower::VolumeReference
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**volume_id** | **String** | Volume ID |
|
8
|
+
**name** | **String** | Volume Name |
|
9
|
+
**state** | **String** | Volume State |
|
10
|
+
**size** | **Float** | Volume Size |
|
11
|
+
**shareable** | **Boolean** | Indicates if the volume is shareable between VMs |
|
12
|
+
**bootable** | **Boolean** | Indicates if the volume is boot capable |
|
13
|
+
**boot_volume** | **Boolean** | Indicates if the volume is the server's boot volume | [optional]
|
14
|
+
**delete_on_termination** | **Boolean** | Indicates if the volume should be deleted when the server terminates | [optional]
|
15
|
+
**disk_type** | **String** | Type of Disk |
|
16
|
+
**wwn** | **String** | Volume world wide name |
|
17
|
+
**creation_date** | **DateTime** | Creation Date |
|
18
|
+
**last_update_date** | **DateTime** | Last Update Date |
|
19
|
+
**href** | **String** | Link to Volume resource |
|
20
|
+
**pvm_instance_i_ds** | **Array<String>** | List of PCloud PVM Instance attached to the volume | [optional]
|
21
|
+
|
22
|
+
## Code Sample
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
require 'IbmCloudPower'
|
26
|
+
|
27
|
+
instance = IbmCloudPower::VolumeReference.new(volume_id: null,
|
28
|
+
name: null,
|
29
|
+
state: null,
|
30
|
+
size: null,
|
31
|
+
shareable: null,
|
32
|
+
bootable: null,
|
33
|
+
boot_volume: null,
|
34
|
+
delete_on_termination: null,
|
35
|
+
disk_type: null,
|
36
|
+
wwn: null,
|
37
|
+
creation_date: null,
|
38
|
+
last_update_date: null,
|
39
|
+
href: null,
|
40
|
+
pvm_instance_i_ds: null)
|
41
|
+
```
|
42
|
+
|
43
|
+
|
data/docs/Volumes.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# IbmCloudPower::Volumes
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**volumes** | [**Array<VolumeReference>**](VolumeReference.md) | Volumes |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'IbmCloudPower'
|
13
|
+
|
14
|
+
instance = IbmCloudPower::Volumes.new(volumes: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# IbmCloudPower::VolumesClone
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**volumes_clone_id** | **String** | ID assigned to a volumes-clone request | [optional]
|
8
|
+
**name** | **String** | Name assigned to a volumes-clone request | [optional]
|
9
|
+
**status** | **String** | Current status of the volumes-clone request | [optional]
|
10
|
+
**action** | **String** | Current action performed for the volumes-clone request | [optional]
|
11
|
+
**percent_complete** | **Integer** | The percent completion for the current action |
|
12
|
+
**failure_message** | **String** | Failure reason for a failed volumes-clone request | [optional]
|
13
|
+
**creation_date** | **DateTime** | Creation Date | [optional]
|
14
|
+
**last_update_date** | **DateTime** | Last Update Date | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'IbmCloudPower'
|
20
|
+
|
21
|
+
instance = IbmCloudPower::VolumesClone.new(volumes_clone_id: null,
|
22
|
+
name: null,
|
23
|
+
status: null,
|
24
|
+
action: null,
|
25
|
+
percent_complete: null,
|
26
|
+
failure_message: null,
|
27
|
+
creation_date: null,
|
28
|
+
last_update_date: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# IbmCloudPower::VolumesCloneAsyncRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | Base name of the new cloned volume(s). Cloned Volume names prefixed with'clone-' and suffixed with ‘-#####’ (where #####is a 5 digit random number) If multiple volumes cloned they will be furthersuffixed with an incremental number starting with 1. Example volume namesusing name=\"volume-abcdef\" single volume clone will be named \"clone-volume-abcdef-83081“ multi volume clone will be named \"clone-volume-abcdef-73721-1”,\"clone-volume-abcdef-73721-2”, ... |
|
8
|
+
**volume_i_ds** | **Array<String>** | List of volumes to be cloned |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'IbmCloudPower'
|
14
|
+
|
15
|
+
instance = IbmCloudPower::VolumesCloneAsyncRequest.new(name: null,
|
16
|
+
volume_i_ds: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# IbmCloudPower::VolumesCloneCancel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**force** | **Boolean** | default False, Cancel will only be allowed if the status is ‘prepared’, or ‘available’ True, Cancel will be allowed when the status is NOT completed, cancelling, cancelled, or failed | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'IbmCloudPower'
|
13
|
+
|
14
|
+
instance = IbmCloudPower::VolumesCloneCancel.new(force: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|