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
data/docs/PVMInstance.md
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
# IbmCloudPower::PVMInstance
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pvm_instance_id** | **String** | PCloud PVM Instance ID |
|
8
|
+
**server_name** | **String** | Name of the server |
|
9
|
+
**image_id** | **String** | The ImageID used by the server |
|
10
|
+
**processors** | **Float** | Number of processors allocated |
|
11
|
+
**minproc** | **Float** | Minimum number of processors that can be allocated (for resize) | [optional]
|
12
|
+
**maxproc** | **Float** | Maximum number of processors that can be allocated (for resize) | [optional]
|
13
|
+
**proc_type** | **String** | Processor type (dedicated, shared, capped) | [default to 'dedicated']
|
14
|
+
**memory** | **Float** | Amount of memory allocated (in GB) |
|
15
|
+
**minmem** | **Float** | Minimum amount of memory that can be allocated (in GB, for resize) | [optional]
|
16
|
+
**maxmem** | **Float** | Maximum amount of memory that can be allocated (in GB, for resize) | [optional]
|
17
|
+
**disk_size** | **Float** | Size of allocated disk (in GB) |
|
18
|
+
**network_i_ds** | **Array<String>** | (deprecated - replaced by networks) List of Network IDs |
|
19
|
+
**volume_i_ds** | **Array<String>** | List of volume IDs |
|
20
|
+
**addresses** | [**Array<PVMInstanceNetwork>**](PVMInstanceNetwork.md) | (deprecated - replaced by networks) The list of addresses and their network information | [optional]
|
21
|
+
**networks** | [**Array<PVMInstanceNetwork>**](PVMInstanceNetwork.md) | The pvm instance networks information | [optional]
|
22
|
+
**status** | **String** | The status of the instance |
|
23
|
+
**progress** | **Float** | The progress of an operation | [optional]
|
24
|
+
**fault** | [**PVMInstanceFault**](PVMInstanceFault.md) | | [optional]
|
25
|
+
**creation_date** | **DateTime** | Date/Time of PVM creation | [optional]
|
26
|
+
**updated_date** | **DateTime** | Date/Time of PVM last update | [optional]
|
27
|
+
**sys_type** | **String** | System type used to host the instance | [optional]
|
28
|
+
**health** | [**PVMInstanceHealth**](PVMInstanceHealth.md) | | [optional]
|
29
|
+
**migratable** | **Boolean** | whether the instance can be migrated | [optional] [default to true]
|
30
|
+
**storage_type** | **String** | Storage type where server is deployed |
|
31
|
+
**software_licenses** | [**SoftwareLicenses**](SoftwareLicenses.md) | | [optional]
|
32
|
+
**srcs** | **Array<Array<SRC>>** | The pvm instance SRC lists | [optional]
|
33
|
+
**pin_policy** | **String** | VM pinning policy to use [none, soft, hard] | [optional]
|
34
|
+
**os_type** | **String** | Type of the OS [aix, ibmi, redhat, sles] |
|
35
|
+
**operating_system** | **String** | OS system information (usually version and build) | [optional]
|
36
|
+
**sap_profile** | [**SAPProfileReference**](SAPProfileReference.md) | | [optional]
|
37
|
+
**virtual_cores** | [**VirtualCores**](VirtualCores.md) | | [optional]
|
38
|
+
|
39
|
+
## Code Sample
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
require 'IbmCloudPower'
|
43
|
+
|
44
|
+
instance = IbmCloudPower::PVMInstance.new(pvm_instance_id: null,
|
45
|
+
server_name: null,
|
46
|
+
image_id: null,
|
47
|
+
processors: null,
|
48
|
+
minproc: null,
|
49
|
+
maxproc: null,
|
50
|
+
proc_type: null,
|
51
|
+
memory: null,
|
52
|
+
minmem: null,
|
53
|
+
maxmem: null,
|
54
|
+
disk_size: null,
|
55
|
+
network_i_ds: null,
|
56
|
+
volume_i_ds: null,
|
57
|
+
addresses: null,
|
58
|
+
networks: null,
|
59
|
+
status: null,
|
60
|
+
progress: null,
|
61
|
+
fault: null,
|
62
|
+
creation_date: null,
|
63
|
+
updated_date: null,
|
64
|
+
sys_type: null,
|
65
|
+
health: null,
|
66
|
+
migratable: null,
|
67
|
+
storage_type: null,
|
68
|
+
software_licenses: null,
|
69
|
+
srcs: null,
|
70
|
+
pin_policy: null,
|
71
|
+
os_type: null,
|
72
|
+
operating_system: null,
|
73
|
+
sap_profile: null,
|
74
|
+
virtual_cores: null)
|
75
|
+
```
|
76
|
+
|
77
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceAction
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**action** | **String** | Name of the action to take; can be start, stop, hard-reboot, soft-reboot, immediate-shutdown, reset-state |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'IbmCloudPower'
|
13
|
+
|
14
|
+
instance = IbmCloudPower::PVMInstanceAction.new(action: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceAddNetwork
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**network_id** | **String** | ID of the network |
|
8
|
+
**ip_address** | **String** | The requested ip address of this network interface | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'IbmCloudPower'
|
14
|
+
|
15
|
+
instance = IbmCloudPower::PVMInstanceAddNetwork.new(network_id: null,
|
16
|
+
ip_address: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceCapture
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**capture_name** | **String** | Name of the deployable image created for the captured PVMInstance |
|
8
|
+
**capture_volume_i_ds** | **Array<String>** | List of Data volume IDs to include in the captured PVMInstance | [optional]
|
9
|
+
**capture_destination** | **String** | Destination for the deployable image | [default to 'cloud-storage']
|
10
|
+
**cloud_storage_image_path** | **String** | Cloud Storage Image Path (bucket-name [/folder/../..]) | [optional]
|
11
|
+
**cloud_storage_region** | **String** | Cloud Storage Region | [optional]
|
12
|
+
**cloud_storage_access_key** | **String** | Cloud Storage Access key | [optional]
|
13
|
+
**cloud_storage_secret_key** | **String** | Cloud Storage Secret key | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'IbmCloudPower'
|
19
|
+
|
20
|
+
instance = IbmCloudPower::PVMInstanceCapture.new(capture_name: null,
|
21
|
+
capture_volume_i_ds: null,
|
22
|
+
capture_destination: null,
|
23
|
+
cloud_storage_image_path: null,
|
24
|
+
cloud_storage_region: null,
|
25
|
+
cloud_storage_access_key: null,
|
26
|
+
cloud_storage_secret_key: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceClone
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | Name of the server to create |
|
8
|
+
**processors** | **Float** | Number of processors allocated | [optional]
|
9
|
+
**proc_type** | **String** | Processor type (dedicated, shared, capped) | [optional] [default to 'dedicated']
|
10
|
+
**memory** | **Float** | Amount of memory allocated (in GB) | [optional]
|
11
|
+
**networks** | [**Array<PVMInstanceAddNetwork>**](PVMInstanceAddNetwork.md) | The pvm instance networks information |
|
12
|
+
**volume_i_ds** | **Array<String>** | List of volume IDs | [optional]
|
13
|
+
**key_pair_name** | **String** | The name of the SSH key pair provided to the server for authenticating users (looked up in the tenant's list of keys) | [optional]
|
14
|
+
**software_licenses** | [**SoftwareLicenses**](SoftwareLicenses.md) | | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'IbmCloudPower'
|
20
|
+
|
21
|
+
instance = IbmCloudPower::PVMInstanceClone.new(name: null,
|
22
|
+
processors: null,
|
23
|
+
proc_type: null,
|
24
|
+
memory: null,
|
25
|
+
networks: null,
|
26
|
+
volume_i_ds: null,
|
27
|
+
key_pair_name: null,
|
28
|
+
software_licenses: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceConsole
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**console_url** | **String** | The URL to the noVNC console for the PVM instance |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'IbmCloudPower'
|
13
|
+
|
14
|
+
instance = IbmCloudPower::PVMInstanceConsole.new(console_url: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceCreate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**server_name** | **String** | Name of the server to create |
|
8
|
+
**replicants** | **Float** | Number of duplicate instances to create in this request | [optional]
|
9
|
+
**replicant_naming_scheme** | **String** | How to name the created vms | [optional] [default to 'suffix']
|
10
|
+
**replicant_affinity_policy** | **String** | Affinity policy for replicants being created; affinity for the same host, anti-affinity for different hosts, none for no preference | [optional] [default to 'none']
|
11
|
+
**image_id** | **String** | Image ID of the image to use for the server |
|
12
|
+
**processors** | **Float** | Number of processors allocated |
|
13
|
+
**proc_type** | **String** | Processor type (dedicated, shared, capped) | [default to 'dedicated']
|
14
|
+
**memory** | **Float** | Amount of memory allocated (in GB) |
|
15
|
+
**network_i_ds** | **Array<String>** | (deprecated - replaced by networks) List of Network IDs | [optional]
|
16
|
+
**networks** | [**Array<PVMInstanceAddNetwork>**](PVMInstanceAddNetwork.md) | The pvm instance networks information | [optional]
|
17
|
+
**volume_i_ds** | **Array<String>** | List of volume IDs | [optional]
|
18
|
+
**key_pair_name** | **String** | The name of the SSH key pair provided to the server for authenticating users (looked up in the tenant's list of keys) | [optional]
|
19
|
+
**sys_type** | **String** | System type used to host the instance | [optional]
|
20
|
+
**migratable** | **Boolean** | Indicates if the server is allowed to migrate between hosts | [optional] [default to true]
|
21
|
+
**user_data** | **String** | Cloud init user defined data | [optional]
|
22
|
+
**storage_type** | **String** | Storage type for server deployment | [optional]
|
23
|
+
**software_licenses** | [**SoftwareLicenses**](SoftwareLicenses.md) | | [optional]
|
24
|
+
**pin_policy** | [**PinPolicy**](PinPolicy.md) | | [optional]
|
25
|
+
**virtual_cores** | [**VirtualCores**](VirtualCores.md) | | [optional]
|
26
|
+
|
27
|
+
## Code Sample
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
require 'IbmCloudPower'
|
31
|
+
|
32
|
+
instance = IbmCloudPower::PVMInstanceCreate.new(server_name: null,
|
33
|
+
replicants: null,
|
34
|
+
replicant_naming_scheme: null,
|
35
|
+
replicant_affinity_policy: null,
|
36
|
+
image_id: null,
|
37
|
+
processors: null,
|
38
|
+
proc_type: null,
|
39
|
+
memory: null,
|
40
|
+
network_i_ds: null,
|
41
|
+
networks: null,
|
42
|
+
volume_i_ds: null,
|
43
|
+
key_pair_name: null,
|
44
|
+
sys_type: null,
|
45
|
+
migratable: null,
|
46
|
+
user_data: null,
|
47
|
+
storage_type: null,
|
48
|
+
software_licenses: null,
|
49
|
+
pin_policy: null,
|
50
|
+
virtual_cores: null)
|
51
|
+
```
|
52
|
+
|
53
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceFault
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Float** | The fault status of the server, if any | [optional]
|
8
|
+
**details** | **String** | The fault details of the server, if any | [optional]
|
9
|
+
**message** | **String** | The fault message of the server, if any | [optional]
|
10
|
+
**created** | **DateTime** | The date and time the fault occurred | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'IbmCloudPower'
|
16
|
+
|
17
|
+
instance = IbmCloudPower::PVMInstanceFault.new(code: null,
|
18
|
+
details: null,
|
19
|
+
message: null,
|
20
|
+
created: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceHealth
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**status** | **String** | The PVM's health status value | [optional]
|
8
|
+
**last_update** | **String** | Date/Time of PVM last health status change | [optional]
|
9
|
+
**reason** | **String** | The health status reason, if any | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'IbmCloudPower'
|
15
|
+
|
16
|
+
instance = IbmCloudPower::PVMInstanceHealth.new(status: null,
|
17
|
+
last_update: null,
|
18
|
+
reason: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceMultiCreate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | Number of pvm-instances to create | [optional]
|
8
|
+
**affinity_policy** | **String** | Affinity policy for pvm-instances being created; affinity for the same host, anti-affinity for different hosts, none for no preference | [optional] [default to 'none']
|
9
|
+
**numerical** | **String** | Where to place the numerical number of the multi-created instance | [optional] [default to 'suffix']
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'IbmCloudPower'
|
15
|
+
|
16
|
+
instance = IbmCloudPower::PVMInstanceMultiCreate.new(count: null,
|
17
|
+
affinity_policy: null,
|
18
|
+
numerical: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceNetwork
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**version** | **Float** | The version of the information provided | [optional]
|
8
|
+
**network_id** | **String** | ID of the network | [optional]
|
9
|
+
**network_name** | **String** | The name of the network the address is on | [optional]
|
10
|
+
**mac_address** | **String** | The mac address of the network interface | [optional]
|
11
|
+
**type** | **String** | The address type (fixed or dynamic) | [optional]
|
12
|
+
**ip** | **String** | (deprecated - replaced by ipAddress) | [optional]
|
13
|
+
**ip_address** | **String** | The ip address of this network interface | [optional]
|
14
|
+
**external_ip** | **String** | The external ip address (for pub-vlan networks) | [optional]
|
15
|
+
**href** | **String** | Link to PVM Instance Network | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'IbmCloudPower'
|
21
|
+
|
22
|
+
instance = IbmCloudPower::PVMInstanceNetwork.new(version: null,
|
23
|
+
network_id: null,
|
24
|
+
network_name: null,
|
25
|
+
mac_address: null,
|
26
|
+
type: null,
|
27
|
+
ip: null,
|
28
|
+
ip_address: null,
|
29
|
+
external_ip: null,
|
30
|
+
href: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceNetworks
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**networks** | [**Array<PVMInstanceNetwork>**](PVMInstanceNetwork.md) | PVM Instance Networks |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'IbmCloudPower'
|
13
|
+
|
14
|
+
instance = IbmCloudPower::PVMInstanceNetworks.new(networks: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceOperation
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**operation_type** | **String** | Name of the operation to execute; can be job or boot |
|
8
|
+
**operation** | [**Operations**](Operations.md) | |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'IbmCloudPower'
|
14
|
+
|
15
|
+
instance = IbmCloudPower::PVMInstanceOperation.new(operation_type: null,
|
16
|
+
operation: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceReference
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pvm_instance_id** | **String** | PCloud PVM Instance ID |
|
8
|
+
**server_name** | **String** | Name of the server |
|
9
|
+
**image_id** | **String** | The ImageID used by the server |
|
10
|
+
**processors** | **Float** | Number of processors allocated |
|
11
|
+
**minproc** | **Float** | Minimum number of processors that can be allocated (for resize) | [optional]
|
12
|
+
**maxproc** | **Float** | Maximum number of processors that can be allocated (for resize) | [optional]
|
13
|
+
**proc_type** | **String** | Processor type (dedicated, shared, capped) | [default to 'dedicated']
|
14
|
+
**memory** | **Float** | Amount of memory allocated (in GB) |
|
15
|
+
**minmem** | **Float** | Minimum amount of memory that can be allocated (in GB, for resize) | [optional]
|
16
|
+
**maxmem** | **Float** | Maximum amount of memory that can be allocated (in GB, for resize) | [optional]
|
17
|
+
**disk_size** | **Float** | Size of allocated disk (in GB) |
|
18
|
+
**addresses** | [**Array<PVMInstanceNetwork>**](PVMInstanceNetwork.md) | (deprecated - replaced by networks) The list of addresses and their network information | [optional]
|
19
|
+
**networks** | [**Array<PVMInstanceNetwork>**](PVMInstanceNetwork.md) | The list of addresses and their network information | [optional]
|
20
|
+
**status** | **String** | The status of the instance |
|
21
|
+
**progress** | **Float** | The progress of an operation | [optional]
|
22
|
+
**fault** | [**PVMInstanceFault**](PVMInstanceFault.md) | | [optional]
|
23
|
+
**creation_date** | **DateTime** | Date/Time of PVM creation | [optional]
|
24
|
+
**updated_date** | **DateTime** | Date/Time of PVM last update | [optional]
|
25
|
+
**sys_type** | **String** | System type used to host the instance | [optional]
|
26
|
+
**health** | [**PVMInstanceHealth**](PVMInstanceHealth.md) | | [optional]
|
27
|
+
**href** | **String** | Link to Cloud Instance resource |
|
28
|
+
**software_licenses** | [**SoftwareLicenses**](SoftwareLicenses.md) | | [optional]
|
29
|
+
**srcs** | **Array<Array<SRC>>** | The pvm instance SRC lists | [optional]
|
30
|
+
**pin_policy** | **String** | VM pinning policy to use [none, soft, hard] | [optional]
|
31
|
+
**os_type** | **String** | Type of the OS [aix, ibmi, redhat, sles] |
|
32
|
+
**operating_system** | **String** | OS system information (usually version and build) | [optional]
|
33
|
+
**sap_profile** | [**SAPProfileReference**](SAPProfileReference.md) | | [optional]
|
34
|
+
**virtual_cores** | [**VirtualCores**](VirtualCores.md) | | [optional]
|
35
|
+
|
36
|
+
## Code Sample
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
require 'IbmCloudPower'
|
40
|
+
|
41
|
+
instance = IbmCloudPower::PVMInstanceReference.new(pvm_instance_id: null,
|
42
|
+
server_name: null,
|
43
|
+
image_id: null,
|
44
|
+
processors: null,
|
45
|
+
minproc: null,
|
46
|
+
maxproc: null,
|
47
|
+
proc_type: null,
|
48
|
+
memory: null,
|
49
|
+
minmem: null,
|
50
|
+
maxmem: null,
|
51
|
+
disk_size: null,
|
52
|
+
addresses: null,
|
53
|
+
networks: null,
|
54
|
+
status: null,
|
55
|
+
progress: null,
|
56
|
+
fault: null,
|
57
|
+
creation_date: null,
|
58
|
+
updated_date: null,
|
59
|
+
sys_type: null,
|
60
|
+
health: null,
|
61
|
+
href: null,
|
62
|
+
software_licenses: null,
|
63
|
+
srcs: null,
|
64
|
+
pin_policy: null,
|
65
|
+
os_type: null,
|
66
|
+
operating_system: null,
|
67
|
+
sap_profile: null,
|
68
|
+
virtual_cores: null)
|
69
|
+
```
|
70
|
+
|
71
|
+
|