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::CloudInstanceUpdate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**processors** | **Float** | Number of processors allowed | [optional]
|
8
|
+
**proc_units** | **Float** | Number of processor units allowed | [optional]
|
9
|
+
**memory** | **Float** | Amount of memory allowed | [optional]
|
10
|
+
**instances** | **Float** | Number of power instances allowed | [optional]
|
11
|
+
**storage** | **Float** | Amount of storage allowed (TB) | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'IbmCloudPower'
|
17
|
+
|
18
|
+
instance = IbmCloudPower::CloudInstanceUpdate.new(processors: null,
|
19
|
+
proc_units: null,
|
20
|
+
memory: null,
|
21
|
+
instances: null,
|
22
|
+
storage: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# IbmCloudPower::CloudInstanceUsageLimits
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**instances** | **Float** | Number of power instances allowed |
|
8
|
+
**memory** | **Float** | Amount of memory allowed |
|
9
|
+
**proc_units** | **Float** | Number of processor units allowed |
|
10
|
+
**processors** | **Float** | Number of processors allowed |
|
11
|
+
**storage** | **Float** | Amount of storage allowed (TB) |
|
12
|
+
**instance_memory** | **Float** | Maximum memory (in GB) per PVMInstance | [optional]
|
13
|
+
**instance_proc_units** | **Float** | Maximum proc units per PVMInstance | [optional]
|
14
|
+
**peering_networks** | **Integer** | Amount of peering networks allowed | [optional]
|
15
|
+
**peering_bandwidth** | **Integer** | Maximum network bandwidth to GCP Mbps | [optional]
|
16
|
+
**storage_ssd** | **Float** | Amount of SSD storage allowed (TB) | [optional]
|
17
|
+
**storage_standard** | **Float** | Amount of standard (HDD) storage allowed (TB) | [optional]
|
18
|
+
|
19
|
+
## Code Sample
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'IbmCloudPower'
|
23
|
+
|
24
|
+
instance = IbmCloudPower::CloudInstanceUsageLimits.new(instances: null,
|
25
|
+
memory: null,
|
26
|
+
proc_units: null,
|
27
|
+
processors: null,
|
28
|
+
storage: null,
|
29
|
+
instance_memory: null,
|
30
|
+
instance_proc_units: null,
|
31
|
+
peering_networks: null,
|
32
|
+
peering_bandwidth: null,
|
33
|
+
storage_ssd: null,
|
34
|
+
storage_standard: null)
|
35
|
+
```
|
36
|
+
|
37
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# IbmCloudPower::CreateDataVolume
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**disk_type** | **String** | Type of Disk, required if affinityPolicy not used | [optional]
|
8
|
+
**volume_pool** | **String** | Volume pool where the volume will be located | [optional]
|
9
|
+
**name** | **String** | Volume Name |
|
10
|
+
**size** | **Float** | Volume Size (GB) |
|
11
|
+
**shareable** | **Boolean** | Indicates if the volume is shareable between VMs | [optional]
|
12
|
+
**affinity_policy** | **String** | Affinity policy for data volume being created; requires affinityVolume to be specified | [optional]
|
13
|
+
**affinity_volume** | **String** | Volume (ID or Name)to base volume affinity policy against; required if affinityPolicy provided | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'IbmCloudPower'
|
19
|
+
|
20
|
+
instance = IbmCloudPower::CreateDataVolume.new(disk_type: null,
|
21
|
+
volume_pool: null,
|
22
|
+
name: null,
|
23
|
+
size: null,
|
24
|
+
shareable: null,
|
25
|
+
affinity_policy: null,
|
26
|
+
affinity_volume: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
data/docs/CreateImage.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# IbmCloudPower::CreateImage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**source** | **String** | Source of the image |
|
8
|
+
**image_id** | **String** | Image ID of existing source image; required for copy image | [optional]
|
9
|
+
**image_name** | **String** | Name to give created image; required for import image | [optional]
|
10
|
+
**image_path** | **String** | (deprecated - replaced by region, imageFilename and bucketName) Path to image starting with service endpoint and ending with image filename | [optional]
|
11
|
+
**region** | **String** | Cloud Storage Region; only required to access IBM Cloud Storage | [optional]
|
12
|
+
**image_filename** | **String** | Cloud Storage image filename; required for import image | [optional]
|
13
|
+
**bucket_name** | **String** | Cloud Storage bucket name; bucket-name[/optional/folder]; required for import image | [optional]
|
14
|
+
**access_key** | **String** | Cloud Storage access key; required for import image | [optional]
|
15
|
+
**secret_key** | **String** | Cloud Storage secret key; required for import image | [optional]
|
16
|
+
**os_type** | **String** | Image OS Type, required if importing a raw image; raw images can only be imported using the command line interface | [optional]
|
17
|
+
**disk_type** | **String** | Type of Disk | [optional]
|
18
|
+
|
19
|
+
## Code Sample
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'IbmCloudPower'
|
23
|
+
|
24
|
+
instance = IbmCloudPower::CreateImage.new(source: null,
|
25
|
+
image_id: null,
|
26
|
+
image_name: null,
|
27
|
+
image_path: null,
|
28
|
+
region: null,
|
29
|
+
image_filename: null,
|
30
|
+
bucket_name: null,
|
31
|
+
access_key: null,
|
32
|
+
secret_key: null,
|
33
|
+
os_type: null,
|
34
|
+
disk_type: null)
|
35
|
+
```
|
36
|
+
|
37
|
+
|
data/docs/Error.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# IbmCloudPower::Error
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**error** | **String** | | [optional]
|
8
|
+
**description** | **String** | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'IbmCloudPower'
|
14
|
+
|
15
|
+
instance = IbmCloudPower::Error.new(error: null,
|
16
|
+
description: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/Event.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# IbmCloudPower::Event
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**event_id** | **String** | ID of the Activity |
|
8
|
+
**time** | **DateTime** | Time of activity in ISO 8601 - RFC3339 |
|
9
|
+
**timestamp** | **Integer** | Time of activity in unix epoch |
|
10
|
+
**user** | [**EventUser**](EventUser.md) | | [optional]
|
11
|
+
**level** | **String** | Level of the event (notice, info, warning, error) |
|
12
|
+
**resource** | **String** | Type of resource for this event |
|
13
|
+
**action** | **String** | Type of action for this event |
|
14
|
+
**message** | **String** | The (translated) message of the event |
|
15
|
+
**metadata** | **Object** | Any metadata associated with the event | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'IbmCloudPower'
|
21
|
+
|
22
|
+
instance = IbmCloudPower::Event.new(event_id: null,
|
23
|
+
time: null,
|
24
|
+
timestamp: null,
|
25
|
+
user: null,
|
26
|
+
level: null,
|
27
|
+
resource: null,
|
28
|
+
action: null,
|
29
|
+
message: null,
|
30
|
+
metadata: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
data/docs/EventUser.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# IbmCloudPower::EventUser
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**user_id** | **String** | ID of user who created/caused the event |
|
8
|
+
**name** | **String** | Name of the User | [optional]
|
9
|
+
**email** | **String** | Email of the User | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'IbmCloudPower'
|
15
|
+
|
16
|
+
instance = IbmCloudPower::EventUser.new(user_id: null,
|
17
|
+
name: null,
|
18
|
+
email: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/Events.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# IbmCloudPower::Events
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**events** | [**Array<Event>**](Event.md) | Events |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'IbmCloudPower'
|
13
|
+
|
14
|
+
instance = IbmCloudPower::Events.new(events: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/ExportImage.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# IbmCloudPower::ExportImage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**bucket_name** | **String** | Cloud Object Storage Bucket name |
|
8
|
+
**region** | **String** | Cloud Object Storage Region; required for IBM COS | [optional]
|
9
|
+
**access_key** | **String** | Cloud Object Storage Access key |
|
10
|
+
**secret_key** | **String** | Cloud Object Storage Secret key | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'IbmCloudPower'
|
16
|
+
|
17
|
+
instance = IbmCloudPower::ExportImage.new(bucket_name: null,
|
18
|
+
region: null,
|
19
|
+
access_key: null,
|
20
|
+
secret_key: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# IbmCloudPower::IPAddressRange
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**starting_ip_address** | **String** | Starting IP Address |
|
8
|
+
**ending_ip_address** | **String** | Ending IP Address |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'IbmCloudPower'
|
14
|
+
|
15
|
+
instance = IbmCloudPower::IPAddressRange.new(starting_ip_address: null,
|
16
|
+
ending_ip_address: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/Image.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# IbmCloudPower::Image
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**image_id** | **String** | Image ID |
|
8
|
+
**name** | **String** | Image Name |
|
9
|
+
**state** | **String** | Image State | [optional]
|
10
|
+
**description** | **String** | Description | [optional]
|
11
|
+
**size** | **Float** | Image Size |
|
12
|
+
**storage_type** | **String** | Storage type for image |
|
13
|
+
**creation_date** | **DateTime** | Creation Date |
|
14
|
+
**last_update_date** | **DateTime** | Last Update Date |
|
15
|
+
**specifications** | [**ImageSpecifications**](ImageSpecifications.md) | | [optional]
|
16
|
+
**volumes** | [**Array<ImageVolume>**](ImageVolume.md) | Image Volumes | [optional]
|
17
|
+
**servers** | **Array<String>** | List of Servers that have deployed the image | [optional]
|
18
|
+
**taskref** | [**TaskReference**](TaskReference.md) | | [optional]
|
19
|
+
|
20
|
+
## Code Sample
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'IbmCloudPower'
|
24
|
+
|
25
|
+
instance = IbmCloudPower::Image.new(image_id: null,
|
26
|
+
name: null,
|
27
|
+
state: null,
|
28
|
+
description: null,
|
29
|
+
size: null,
|
30
|
+
storage_type: null,
|
31
|
+
creation_date: null,
|
32
|
+
last_update_date: null,
|
33
|
+
specifications: null,
|
34
|
+
volumes: null,
|
35
|
+
servers: null,
|
36
|
+
taskref: null)
|
37
|
+
```
|
38
|
+
|
39
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# IbmCloudPower::ImageReference
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**image_id** | **String** | Image ID |
|
8
|
+
**name** | **String** | Image Name |
|
9
|
+
**state** | **String** | Image State |
|
10
|
+
**description** | **String** | Description |
|
11
|
+
**storage_type** | **String** | Storage type for image |
|
12
|
+
**creation_date** | **DateTime** | Creation Date |
|
13
|
+
**last_update_date** | **DateTime** | Last Update Date |
|
14
|
+
**specifications** | [**ImageSpecifications**](ImageSpecifications.md) | |
|
15
|
+
**href** | **String** | Link to Image resource |
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'IbmCloudPower'
|
21
|
+
|
22
|
+
instance = IbmCloudPower::ImageReference.new(image_id: null,
|
23
|
+
name: null,
|
24
|
+
state: null,
|
25
|
+
description: null,
|
26
|
+
storage_type: null,
|
27
|
+
creation_date: null,
|
28
|
+
last_update_date: null,
|
29
|
+
specifications: null,
|
30
|
+
href: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# IbmCloudPower::ImageSpecifications
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**image_type** | **String** | Image Type | [optional]
|
8
|
+
**container_format** | **String** | Container Format | [optional]
|
9
|
+
**disk_format** | **String** | Disk Format | [optional]
|
10
|
+
**operating_system** | **String** | Operating System | [optional]
|
11
|
+
**hypervisor_type** | **String** | Hypervisor Type | [optional]
|
12
|
+
**architecture** | **String** | Architecture | [optional]
|
13
|
+
**endianness** | **String** | Endianness | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'IbmCloudPower'
|
19
|
+
|
20
|
+
instance = IbmCloudPower::ImageSpecifications.new(image_type: null,
|
21
|
+
container_format: null,
|
22
|
+
disk_format: null,
|
23
|
+
operating_system: null,
|
24
|
+
hypervisor_type: null,
|
25
|
+
architecture: null,
|
26
|
+
endianness: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
data/docs/ImageVolume.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# IbmCloudPower::ImageVolume
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**volume_id** | **String** | Volume ID |
|
8
|
+
**name** | **String** | Volume Name |
|
9
|
+
**size** | **Float** | Volume Size |
|
10
|
+
**bootable** | **Boolean** | Indicates if the volume is boot capable |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'IbmCloudPower'
|
16
|
+
|
17
|
+
instance = IbmCloudPower::ImageVolume.new(volume_id: null,
|
18
|
+
name: null,
|
19
|
+
size: null,
|
20
|
+
bootable: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/Images.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# IbmCloudPower::Images
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**images** | [**Array<ImageReference>**](ImageReference.md) | Images |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'IbmCloudPower'
|
13
|
+
|
14
|
+
instance = IbmCloudPower::Images.new(images: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# IbmCloudPower::MinMaxDefault
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**min** | **Float** | min value |
|
8
|
+
**max** | **Float** | max value |
|
9
|
+
**default** | **Float** | default value |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'IbmCloudPower'
|
15
|
+
|
16
|
+
instance = IbmCloudPower::MinMaxDefault.new(min: null,
|
17
|
+
max: null,
|
18
|
+
default: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|