ibm_cloud_power 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +172 -30
- data/docs/AccessConfig.md +15 -0
- data/docs/AddHost.md +22 -0
- data/docs/AddServerVirtualSerialNumber.md +20 -0
- data/docs/AvailableHost.md +22 -0
- data/docs/AvailableHostCapacity.md +20 -0
- data/docs/AvailableHostResourceCapacity.md +18 -0
- data/docs/CapabilitiesDetails.md +20 -0
- data/docs/CloudConnectionEndpointVPC.md +1 -1
- data/docs/CloudConnectionVirtualPrivateClouds.md +1 -1
- data/docs/CloudConnectionVirtualPrivateCloudsVirtualPrivateClouds.md +14 -13
- data/docs/CloudConnectionVpc.md +20 -0
- data/docs/CreateCosImageImportJob.md +7 -3
- data/docs/CreateDataVolume.md +4 -2
- data/docs/CreateImage.md +6 -4
- data/docs/CreateServerVirtualSerialNumber.md +20 -0
- data/docs/Datacenter.md +28 -0
- data/docs/DatacenterLocation.md +24 -0
- data/docs/Datacenters.md +18 -0
- data/docs/DatacentersApi.md +253 -0
- data/docs/DeleteServerVirtualSerialNumber.md +18 -0
- data/docs/DeploymentTarget.md +20 -0
- data/docs/DisasterRecovery.md +20 -0
- data/docs/DisasterRecoveryLocation.md +1 -1
- data/docs/GetBulkVolume.md +18 -0
- data/docs/GetServerVirtualSerialNumber.md +20 -0
- data/docs/Host.md +34 -0
- data/docs/HostCapacity.md +20 -0
- data/docs/HostCreate.md +20 -0
- data/docs/HostGroup.md +28 -0
- data/docs/HostGroupCreate.md +22 -0
- data/docs/HostGroupShareOp.md +20 -0
- data/docs/HostGroupSummary.md +22 -0
- data/docs/HostGroupsApi.md +632 -0
- data/docs/HostPut.md +18 -0
- data/docs/HostResourceCapacity.md +24 -0
- data/docs/Image.md +6 -0
- data/docs/ImageImportDetails.md +22 -0
- data/docs/ImageReference.md +2 -0
- data/docs/MultiVolumesCreate.md +4 -2
- data/docs/Network.md +9 -3
- data/docs/NetworkAddressGroup.md +26 -0
- data/docs/NetworkAddressGroupAddMember.md +18 -0
- data/docs/NetworkAddressGroupCreate.md +20 -0
- data/docs/NetworkAddressGroupMember.md +20 -0
- data/docs/NetworkAddressGroupUpdate.md +18 -0
- data/docs/NetworkAddressGroups.md +18 -0
- data/docs/NetworkAddressGroupsApi.md +451 -0
- data/docs/NetworkAddressTranslation.md +18 -0
- data/docs/NetworkCloudConnections.md +20 -0
- data/docs/NetworkCreate.md +6 -2
- data/docs/NetworkInterface.md +36 -0
- data/docs/NetworkInterfaceCreate.md +22 -0
- data/docs/NetworkInterfaceInstance.md +20 -0
- data/docs/NetworkInterfaceUpdate.md +20 -0
- data/docs/NetworkInterfaces.md +18 -0
- data/docs/NetworkPortPvmInstance.md +1 -1
- data/docs/NetworkReference.md +8 -2
- data/docs/NetworkSecurityGroup.md +30 -0
- data/docs/NetworkSecurityGroupAddMember.md +20 -0
- data/docs/NetworkSecurityGroupAddRule.md +30 -0
- data/docs/NetworkSecurityGroupClone.md +18 -0
- data/docs/NetworkSecurityGroupCreate.md +20 -0
- data/docs/NetworkSecurityGroupMember.md +26 -0
- data/docs/NetworkSecurityGroupMoveMember.md +20 -0
- data/docs/NetworkSecurityGroupRule.md +28 -0
- data/docs/NetworkSecurityGroupRulePort.md +20 -0
- data/docs/NetworkSecurityGroupRuleProtocol.md +22 -0
- data/docs/NetworkSecurityGroupRuleProtocolTcpFlag.md +18 -0
- data/docs/NetworkSecurityGroupRuleRemote.md +20 -0
- data/docs/NetworkSecurityGroupUpdate.md +18 -0
- data/docs/NetworkSecurityGroups.md +18 -0
- data/docs/NetworkSecurityGroupsAction.md +18 -0
- data/docs/NetworkSecurityGroupsApi.md +779 -0
- data/docs/NetworksApi.md +334 -0
- data/docs/PCloudCloudConnectionsApi.md +10 -10
- data/docs/PCloudImagesApi.md +15 -9
- data/docs/PCloudNetworksApi.md +12 -2
- data/docs/PCloudPVMInstancesApi.md +80 -78
- data/docs/PCloudPlacementGroupsApi.md +1 -1
- data/docs/PCloudPodCapacityApi.md +72 -0
- data/docs/PCloudSAPApi.md +10 -4
- data/docs/PCloudSPPPlacementGroupsApi.md +2 -2
- data/docs/PCloudSharedProcessorPoolsApi.md +1 -1
- data/docs/PCloudSnapshotsApi.md +1 -1
- data/docs/PCloudStorageTiersApi.md +70 -0
- data/docs/PCloudTasksApi.md +1 -1
- data/docs/PCloudTenantsSSHKeysApi.md +1 -1
- data/docs/PCloudVirtualSerialNumberApi.md +531 -0
- data/docs/PCloudVolumeGroupsApi.md +7 -5
- data/docs/PCloudVolumesApi.md +169 -21
- data/docs/PVMInstance.md +12 -0
- data/docs/PVMInstanceAction.md +1 -1
- data/docs/PVMInstanceAddNetwork.md +3 -1
- data/docs/PVMInstanceCapture.md +3 -1
- data/docs/PVMInstanceConfiguration.md +26 -0
- data/docs/PVMInstanceCores.md +22 -0
- data/docs/PVMInstanceCreate.md +11 -3
- data/docs/PVMInstanceDelete.md +18 -0
- data/docs/PVMInstanceMemory.md +22 -0
- data/docs/PVMInstanceNetwork.md +6 -0
- data/docs/PVMInstanceOperatingSystem.md +20 -0
- data/docs/PVMInstanceReference.md +11 -1
- data/docs/PVMInstanceReferenceV2.md +48 -0
- data/docs/PVMInstanceUpdateResponse.md +6 -2
- data/docs/PVMInstanceV2Health.md +18 -0
- data/docs/PVMInstanceV2NetworkPort.md +26 -0
- data/docs/PVMInstanceVirtualCores.md +22 -0
- data/docs/PVMInstanceVolumeUpdate.md +1 -1
- data/docs/PVMInstancesV2.md +18 -0
- data/docs/PodCapacity.md +22 -0
- data/docs/PodData.md +36 -0
- data/docs/PvmInstanceDeployment.md +24 -0
- data/docs/PvmInstanceHost.md +20 -0
- data/docs/PvmInstancePlacementGroup.md +18 -0
- data/docs/RemoveVirtualSerialNumber.md +18 -0
- data/docs/ReplicationService.md +20 -0
- data/docs/ReplicationTargetLocation.md +20 -0
- data/docs/SAPCreate.md +9 -3
- data/docs/SAPProfile.md +13 -1
- data/docs/Secondary.md +20 -0
- data/docs/SharedProcessorPool.md +7 -1
- data/docs/SharedProcessorPoolCreate.md +5 -1
- data/docs/SharedProcessorPoolServer.md +2 -2
- data/docs/Snapshot.md +3 -1
- data/docs/SnapshotCreate.md +2 -0
- data/docs/SnapshotCreateResponse.md +5 -1
- data/docs/SnapshotList.md +18 -0
- data/docs/SnapshotV1.md +30 -0
- data/docs/SnapshotsApi.md +261 -0
- data/docs/StorageController.md +26 -0
- data/docs/StoragePoolCapacity.md +6 -0
- data/docs/StoragePoolCombined.md +22 -0
- data/docs/StoragePoolMap.md +20 -0
- data/docs/StorageTier.md +22 -0
- data/docs/SupportedSystems.md +20 -0
- data/docs/System.md +16 -2
- data/docs/SystemPool.md +2 -0
- data/docs/SystemPoolCapacity.md +30 -0
- data/docs/SystemResources.md +32 -0
- data/docs/UpdateServerVirtualSerialNumber.md +18 -0
- data/docs/UpdateVirtualSerialNumber.md +18 -0
- data/docs/VirtualSerialNumber.md +22 -0
- data/docs/Volume.md +9 -3
- data/docs/VolumeAction.md +4 -2
- data/docs/VolumeGroup.md +7 -1
- data/docs/VolumeGroupDetails.md +6 -0
- data/docs/VolumeInfo.md +2 -0
- data/docs/VolumeOnboardingCreate.md +3 -1
- data/docs/VolumeReference.md +10 -2
- data/docs/VolumeSnapshotList.md +18 -0
- data/docs/VolumesCloneAsyncRequest.md +7 -1
- data/docs/VolumesCloneExecute.md +8 -2
- data/docs/VolumesCloneRequest.md +1 -1
- data/docs/VolumesDelete.md +18 -0
- data/docs/VolumesDeleteResponse.md +18 -0
- data/docs/VolumesDetach.md +22 -0
- data/docs/VolumesDetachmentResponse.md +18 -0
- data/docs/Workspace.md +30 -0
- data/docs/WorkspaceDetails.md +26 -0
- data/docs/WorkspaceLocation.md +22 -0
- data/docs/WorkspaceNetworkSecurityGroupsDetails.md +18 -0
- data/docs/WorkspacePowerEdgeRouterDetails.md +22 -0
- data/docs/Workspaces.md +18 -0
- data/docs/WorkspacesApi.md +130 -0
- data/ibm_cloud_power.gemspec +4 -4
- data/lib/ibm_cloud_power/api/datacenters_api.rb +254 -0
- data/lib/ibm_cloud_power/api/host_groups_api.rb +646 -0
- data/lib/ibm_cloud_power/api/network_address_groups_api.rb +476 -0
- data/lib/ibm_cloud_power/api/network_security_groups_api.rb +828 -0
- data/lib/ibm_cloud_power/api/networks_api.rb +363 -0
- data/lib/ibm_cloud_power/api/p_cloud_cloud_connections_api.rb +9 -9
- data/lib/ibm_cloud_power/api/p_cloud_disaster_recovery_api.rb +3 -3
- data/lib/ibm_cloud_power/api/p_cloud_events_api.rb +7 -12
- data/lib/ibm_cloud_power/api/p_cloud_images_api.rb +14 -8
- data/lib/ibm_cloud_power/api/p_cloud_instances_api.rb +3 -3
- data/lib/ibm_cloud_power/api/p_cloud_jobs_api.rb +3 -3
- data/lib/ibm_cloud_power/api/p_cloud_networks_api.rb +15 -5
- data/lib/ibm_cloud_power/api/p_cloud_placement_groups_api.rb +4 -4
- data/lib/ibm_cloud_power/api/{p_cloud_system_pools_api.rb → p_cloud_pod_capacity_api.rb} +19 -17
- data/lib/ibm_cloud_power/api/p_cloud_pvm_instances_api.rb +81 -87
- data/lib/ibm_cloud_power/api/p_cloud_sap_api.rb +17 -3
- data/lib/ibm_cloud_power/api/p_cloud_shared_processor_pools_api.rb +4 -4
- data/lib/ibm_cloud_power/api/p_cloud_snapshots_api.rb +4 -4
- data/lib/ibm_cloud_power/api/p_cloud_spp_placement_groups_api.rb +5 -5
- data/lib/ibm_cloud_power/api/p_cloud_storage_capacity_api.rb +3 -3
- data/lib/ibm_cloud_power/api/p_cloud_storage_tiers_api.rb +83 -0
- data/lib/ibm_cloud_power/api/p_cloud_tasks_api.rb +4 -4
- data/lib/ibm_cloud_power/api/p_cloud_tenants_api.rb +3 -3
- data/lib/ibm_cloud_power/api/p_cloud_tenants_ssh_keys_api.rb +4 -4
- data/lib/ibm_cloud_power/api/p_cloud_virtual_serial_number_api.rb +571 -0
- data/lib/ibm_cloud_power/api/p_cloud_volume_groups_api.rb +8 -6
- data/lib/ibm_cloud_power/api/p_cloud_volume_onboarding_api.rb +3 -3
- data/lib/ibm_cloud_power/api/p_cloud_volumes_api.rb +181 -15
- data/lib/ibm_cloud_power/api/p_cloud_vpn_connections_api.rb +3 -3
- data/lib/ibm_cloud_power/api/p_cloud_vpn_policies_api.rb +3 -3
- data/lib/ibm_cloud_power/api/snapshots_api.rb +262 -0
- data/lib/ibm_cloud_power/api/workspaces_api.rb +138 -0
- data/lib/ibm_cloud_power/api_client.rb +4 -6
- data/lib/ibm_cloud_power/api_error.rb +3 -3
- data/lib/ibm_cloud_power/configuration.rb +6 -7
- data/lib/ibm_cloud_power/models/{cloud_connection_speed.rb → access_config.rb} +11 -14
- data/lib/ibm_cloud_power/models/add_host.rb +250 -0
- data/lib/ibm_cloud_power/models/add_server_virtual_serial_number.rb +234 -0
- data/lib/ibm_cloud_power/models/auxiliary_volume_for_onboarding.rb +29 -4
- data/lib/ibm_cloud_power/models/auxiliary_volumes_for_onboarding.rb +3 -4
- data/lib/ibm_cloud_power/models/available_host.rb +240 -0
- data/lib/ibm_cloud_power/models/available_host_capacity.rb +229 -0
- data/lib/ibm_cloud_power/models/available_host_resource_capacity.rb +223 -0
- data/lib/ibm_cloud_power/models/capabilities_details.rb +229 -0
- data/lib/ibm_cloud_power/models/clone_task_reference.rb +3 -4
- data/lib/ibm_cloud_power/models/clone_task_status.rb +3 -4
- data/lib/ibm_cloud_power/models/cloned_volume.rb +3 -4
- data/lib/ibm_cloud_power/models/cloned_volume_detail.rb +5 -14
- data/lib/ibm_cloud_power/models/cloud_connection.rb +5 -4
- data/lib/ibm_cloud_power/models/cloud_connection_create.rb +5 -4
- data/lib/ibm_cloud_power/models/cloud_connection_create_response.rb +5 -4
- data/lib/ibm_cloud_power/models/cloud_connection_endpoint_classic.rb +4 -4
- data/lib/ibm_cloud_power/models/cloud_connection_endpoint_classic_update.rb +4 -4
- data/lib/ibm_cloud_power/models/cloud_connection_endpoint_vpc.rb +4 -5
- data/lib/ibm_cloud_power/models/cloud_connection_gre_tunnel.rb +3 -4
- data/lib/ibm_cloud_power/models/cloud_connection_gre_tunnel_create.rb +3 -4
- data/lib/ibm_cloud_power/models/cloud_connection_update.rb +5 -4
- data/lib/ibm_cloud_power/models/cloud_connection_virtual_private_clouds.rb +4 -5
- data/lib/ibm_cloud_power/models/cloud_connection_virtual_private_clouds_virtual_private_clouds.rb +39 -29
- data/lib/ibm_cloud_power/models/cloud_connection_vpc.rb +6 -7
- data/lib/ibm_cloud_power/models/cloud_connections.rb +3 -4
- data/lib/ibm_cloud_power/models/cloud_instance.rb +5 -14
- data/lib/ibm_cloud_power/models/cloud_instance_reference.rb +4 -9
- data/lib/ibm_cloud_power/models/cloud_instance_usage_limits.rb +3 -4
- data/lib/ibm_cloud_power/models/console_language.rb +3 -4
- data/lib/ibm_cloud_power/models/console_languages.rb +3 -4
- data/lib/ibm_cloud_power/models/create_cos_image_import_job.rb +30 -10
- data/lib/ibm_cloud_power/models/create_data_volume.rb +16 -7
- data/lib/ibm_cloud_power/models/create_image.rb +33 -11
- data/lib/ibm_cloud_power/models/create_server_virtual_serial_number.rb +234 -0
- data/lib/ibm_cloud_power/models/datacenter.rb +332 -0
- data/lib/ibm_cloud_power/models/datacenter_location.rb +269 -0
- data/lib/ibm_cloud_power/models/datacenters.rb +226 -0
- data/lib/ibm_cloud_power/models/dead_peer_detection.rb +3 -4
- data/lib/ibm_cloud_power/models/delete_server_virtual_serial_number.rb +219 -0
- data/lib/ibm_cloud_power/models/deployment_target.rb +273 -0
- data/lib/ibm_cloud_power/models/disaster_recovery.rb +229 -0
- data/lib/ibm_cloud_power/models/disaster_recovery_location.rb +6 -9
- data/lib/ibm_cloud_power/models/disaster_recovery_locations.rb +3 -4
- data/lib/ibm_cloud_power/models/error.rb +3 -4
- data/lib/ibm_cloud_power/models/event.rb +3 -4
- data/lib/ibm_cloud_power/models/event_user.rb +3 -4
- data/lib/ibm_cloud_power/models/events.rb +3 -4
- data/lib/ibm_cloud_power/models/export_image.rb +3 -4
- data/lib/ibm_cloud_power/models/flash_copy_mapping.rb +3 -4
- data/lib/ibm_cloud_power/models/get_bulk_volume.rb +226 -0
- data/lib/ibm_cloud_power/models/get_server_virtual_serial_number.rb +239 -0
- data/lib/ibm_cloud_power/models/host.rb +300 -0
- data/lib/ibm_cloud_power/models/host_capacity.rb +229 -0
- data/lib/ibm_cloud_power/models/host_create.rb +242 -0
- data/lib/ibm_cloud_power/models/host_group.rb +274 -0
- data/lib/ibm_cloud_power/models/host_group_create.rb +254 -0
- data/lib/ibm_cloud_power/models/host_group_share_op.rb +232 -0
- data/lib/ibm_cloud_power/models/host_group_summary.rb +239 -0
- data/lib/ibm_cloud_power/models/{options.rb → host_put.rb} +18 -17
- data/lib/ibm_cloud_power/models/host_resource_capacity.rb +265 -0
- data/lib/ibm_cloud_power/models/ike_policies.rb +3 -4
- data/lib/ibm_cloud_power/models/ike_policy.rb +3 -4
- data/lib/ibm_cloud_power/models/ike_policy_authentication.rb +6 -9
- data/lib/ibm_cloud_power/models/ike_policy_create.rb +3 -4
- data/lib/ibm_cloud_power/models/ike_policy_ref.rb +3 -4
- data/lib/ibm_cloud_power/models/ike_policy_update.rb +3 -4
- data/lib/ibm_cloud_power/models/image.rb +41 -5
- data/lib/ibm_cloud_power/models/image_import_details.rb +312 -0
- data/lib/ibm_cloud_power/models/image_reference.rb +15 -10
- data/lib/ibm_cloud_power/models/image_specifications.rb +3 -4
- data/lib/ibm_cloud_power/models/image_volume.rb +3 -4
- data/lib/ibm_cloud_power/models/images.rb +3 -4
- data/lib/ibm_cloud_power/models/ip_address_range.rb +3 -4
- data/lib/ibm_cloud_power/models/ip_sec_policies.rb +3 -4
- data/lib/ibm_cloud_power/models/ip_sec_policy.rb +3 -4
- data/lib/ibm_cloud_power/models/ip_sec_policy_create.rb +3 -4
- data/lib/ibm_cloud_power/models/ip_sec_policy_ref.rb +3 -4
- data/lib/ibm_cloud_power/models/ip_sec_policy_update.rb +3 -4
- data/lib/ibm_cloud_power/models/ipsec_policy_authentication.rb +6 -9
- data/lib/ibm_cloud_power/models/job.rb +5 -14
- data/lib/ibm_cloud_power/models/job_reference.rb +3 -4
- data/lib/ibm_cloud_power/models/jobs.rb +3 -4
- data/lib/ibm_cloud_power/models/maximum_storage_allocation.rb +3 -4
- data/lib/ibm_cloud_power/models/min_max_default.rb +3 -4
- data/lib/ibm_cloud_power/models/multi_volumes_create.rb +16 -7
- data/lib/ibm_cloud_power/models/network.rb +60 -13
- data/lib/ibm_cloud_power/models/{cloud_connection_virtual_private_clouds_virtual_private_clouds_inner.rb → network_address_group.rb} +54 -46
- data/lib/ibm_cloud_power/models/network_address_group_add_member.rb +224 -0
- data/lib/ibm_cloud_power/models/network_address_group_create.rb +236 -0
- data/lib/ibm_cloud_power/models/network_address_group_member.rb +239 -0
- data/lib/ibm_cloud_power/models/network_address_group_update.rb +219 -0
- data/lib/ibm_cloud_power/models/network_address_groups.rb +221 -0
- data/lib/ibm_cloud_power/models/network_address_translation.rb +220 -0
- data/lib/ibm_cloud_power/models/{network_cloud_connections_inner.rb → network_cloud_connections.rb} +6 -7
- data/lib/ibm_cloud_power/models/network_create.rb +77 -9
- data/lib/ibm_cloud_power/models/network_create.rb.orig +393 -0
- data/lib/ibm_cloud_power/models/network_id.rb +3 -4
- data/lib/ibm_cloud_power/models/network_ids.rb +3 -4
- data/lib/ibm_cloud_power/models/network_interface.rb +342 -0
- data/lib/ibm_cloud_power/models/network_interface_create.rb +241 -0
- data/lib/ibm_cloud_power/models/network_interface_instance.rb +230 -0
- data/lib/ibm_cloud_power/models/network_interface_update.rb +229 -0
- data/lib/ibm_cloud_power/models/network_interfaces.rb +226 -0
- data/lib/ibm_cloud_power/models/network_ip_address_metrics.rb +3 -4
- data/lib/ibm_cloud_power/models/network_port.rb +3 -4
- data/lib/ibm_cloud_power/models/network_port_create.rb +3 -4
- data/lib/ibm_cloud_power/models/network_port_pvm_instance.rb +4 -5
- data/lib/ibm_cloud_power/models/network_port_update.rb +3 -4
- data/lib/ibm_cloud_power/models/network_ports.rb +3 -4
- data/lib/ibm_cloud_power/models/network_reference.rb +59 -12
- data/lib/ibm_cloud_power/models/network_security_group.rb +300 -0
- data/lib/ibm_cloud_power/models/network_security_group_add_member.rb +273 -0
- data/lib/ibm_cloud_power/models/network_security_group_add_rule.rb +326 -0
- data/lib/ibm_cloud_power/models/network_security_group_clone.rb +224 -0
- data/lib/ibm_cloud_power/models/network_security_group_create.rb +236 -0
- data/lib/ibm_cloud_power/models/network_security_group_member.rb +308 -0
- data/lib/ibm_cloud_power/models/network_security_group_move_member.rb +239 -0
- data/lib/ibm_cloud_power/models/{ike_policy_template.rb → network_security_group_rule.rb} +91 -85
- data/lib/ibm_cloud_power/models/network_security_group_rule_port.rb +259 -0
- data/lib/ibm_cloud_power/models/{cloud_instance_create.rb → network_security_group_rule_protocol.rb} +77 -95
- data/lib/ibm_cloud_power/models/network_security_group_rule_protocol_tcp_flag.rb +253 -0
- data/lib/ibm_cloud_power/models/network_security_group_rule_remote.rb +263 -0
- data/lib/ibm_cloud_power/models/network_security_group_update.rb +219 -0
- data/lib/ibm_cloud_power/models/network_security_groups.rb +221 -0
- data/lib/ibm_cloud_power/models/network_security_groups_action.rb +258 -0
- data/lib/ibm_cloud_power/models/network_update.rb +3 -4
- data/lib/ibm_cloud_power/models/networks.rb +3 -4
- data/lib/ibm_cloud_power/models/operation.rb +3 -4
- data/lib/ibm_cloud_power/models/operations.rb +3 -4
- data/lib/ibm_cloud_power/models/peer_subnet_update.rb +3 -4
- data/lib/ibm_cloud_power/models/peer_subnets.rb +3 -4
- data/lib/ibm_cloud_power/models/peering_network.rb +3 -4
- data/lib/ibm_cloud_power/models/pin_policy.rb +6 -9
- data/lib/ibm_cloud_power/models/placement_group.rb +3 -4
- data/lib/ibm_cloud_power/models/placement_group_create.rb +3 -4
- data/lib/ibm_cloud_power/models/placement_group_server.rb +3 -4
- data/lib/ibm_cloud_power/models/placement_groups.rb +3 -4
- data/lib/ibm_cloud_power/models/pod_capacity.rb +243 -0
- data/lib/ibm_cloud_power/models/pod_data.rb +360 -0
- data/lib/ibm_cloud_power/models/pvm_instance.rb +68 -5
- data/lib/ibm_cloud_power/models/pvm_instance_action.rb +6 -7
- data/lib/ibm_cloud_power/models/pvm_instance_add_network.rb +19 -8
- data/lib/ibm_cloud_power/models/pvm_instance_capture.rb +17 -8
- data/lib/ibm_cloud_power/models/pvm_instance_configuration.rb +261 -0
- data/lib/ibm_cloud_power/models/pvm_instance_console.rb +3 -4
- data/lib/ibm_cloud_power/models/pvm_instance_cores.rb +244 -0
- data/lib/ibm_cloud_power/models/pvm_instance_create.rb +69 -10
- data/lib/ibm_cloud_power/models/pvm_instance_delete.rb +219 -0
- data/lib/ibm_cloud_power/models/pvm_instance_deployment.rb +290 -0
- data/lib/ibm_cloud_power/models/pvm_instance_fault.rb +3 -4
- data/lib/ibm_cloud_power/models/pvm_instance_health.rb +3 -4
- data/lib/ibm_cloud_power/models/pvm_instance_host.rb +229 -0
- data/lib/ibm_cloud_power/models/pvm_instance_memory.rb +244 -0
- data/lib/ibm_cloud_power/models/pvm_instance_multi_create.rb +3 -4
- data/lib/ibm_cloud_power/models/pvm_instance_network.rb +38 -5
- data/lib/ibm_cloud_power/models/pvm_instance_networks.rb +3 -4
- data/lib/ibm_cloud_power/models/{cloud_connection_endpoint_gre.rb → pvm_instance_operating_system.rb} +26 -24
- data/lib/ibm_cloud_power/models/pvm_instance_operation.rb +3 -4
- data/lib/ibm_cloud_power/models/pvm_instance_placement_group.rb +224 -0
- data/lib/ibm_cloud_power/models/pvm_instance_reference.rb +63 -10
- data/lib/ibm_cloud_power/models/pvm_instance_reference_v2.rb +395 -0
- data/lib/ibm_cloud_power/models/pvm_instance_remove_network.rb +3 -4
- data/lib/ibm_cloud_power/models/pvm_instance_update.rb +5 -4
- data/lib/ibm_cloud_power/models/pvm_instance_update_response.rb +30 -9
- data/lib/ibm_cloud_power/models/pvm_instance_v2_health.rb +225 -0
- data/lib/ibm_cloud_power/models/{ip_sec_policy_template.rb → pvm_instance_v2_network_port.rb} +89 -81
- data/lib/ibm_cloud_power/models/pvm_instance_virtual_cores.rb +263 -0
- data/lib/ibm_cloud_power/models/pvm_instance_volume_update.rb +4 -5
- data/lib/ibm_cloud_power/models/pvm_instances.rb +3 -4
- data/lib/ibm_cloud_power/models/pvm_instances_v2.rb +226 -0
- data/lib/ibm_cloud_power/models/remote_copy_relationship.rb +3 -4
- data/lib/ibm_cloud_power/models/remove_virtual_serial_number.rb +224 -0
- data/lib/ibm_cloud_power/models/replication_service.rb +241 -0
- data/lib/ibm_cloud_power/models/{ip_sec_policy_options.rb → replication_target_location.rb} +55 -50
- data/lib/ibm_cloud_power/models/sap_create.rb +61 -8
- data/lib/ibm_cloud_power/models/sap_profile.rb +95 -8
- data/lib/ibm_cloud_power/models/sap_profile_reference.rb +3 -4
- data/lib/ibm_cloud_power/models/sap_profiles.rb +3 -4
- data/lib/ibm_cloud_power/models/secondary.rb +235 -0
- data/lib/ibm_cloud_power/models/shared_processor_pool.rb +37 -8
- data/lib/ibm_cloud_power/models/shared_processor_pool_create.rb +28 -13
- data/lib/ibm_cloud_power/models/shared_processor_pool_detail.rb +4 -9
- data/lib/ibm_cloud_power/models/shared_processor_pool_placement_group.rb +3 -4
- data/lib/ibm_cloud_power/models/shared_processor_pool_server.rb +5 -6
- data/lib/ibm_cloud_power/models/shared_processor_pool_update.rb +4 -4
- data/lib/ibm_cloud_power/models/shared_processor_pools.rb +3 -4
- data/lib/ibm_cloud_power/models/site.rb +3 -4
- data/lib/ibm_cloud_power/models/snapshot.rb +15 -6
- data/lib/ibm_cloud_power/models/snapshot_create.rb +44 -5
- data/lib/ibm_cloud_power/models/snapshot_create_response.rb +27 -8
- data/lib/ibm_cloud_power/models/snapshot_list.rb +226 -0
- data/lib/ibm_cloud_power/models/snapshot_restore.rb +3 -4
- data/lib/ibm_cloud_power/models/snapshot_update.rb +29 -4
- data/lib/ibm_cloud_power/models/snapshot_v1.rb +304 -0
- data/lib/ibm_cloud_power/models/snapshots.rb +3 -4
- data/lib/ibm_cloud_power/models/software_licenses.rb +3 -4
- data/lib/ibm_cloud_power/models/spp_placement_group.rb +3 -4
- data/lib/ibm_cloud_power/models/spp_placement_group_create.rb +42 -4
- data/lib/ibm_cloud_power/models/spp_placement_groups.rb +3 -4
- data/lib/ibm_cloud_power/models/src.rb +3 -4
- data/lib/ibm_cloud_power/models/ssh_key.rb +3 -4
- data/lib/ibm_cloud_power/models/ssh_keys.rb +3 -4
- data/lib/ibm_cloud_power/models/status.rb +3 -4
- data/lib/ibm_cloud_power/models/status_description.rb +3 -4
- data/lib/ibm_cloud_power/models/status_description_error.rb +3 -4
- data/lib/ibm_cloud_power/models/stock_image.rb +3 -4
- data/lib/ibm_cloud_power/models/storage_affinity.rb +3 -4
- data/lib/ibm_cloud_power/models/storage_controller.rb +287 -0
- data/lib/ibm_cloud_power/models/storage_pool_capacity.rb +34 -5
- data/lib/ibm_cloud_power/models/{cloud_instance_update.rb → storage_pool_combined.rb} +44 -49
- data/lib/ibm_cloud_power/models/storage_pool_map.rb +227 -0
- data/lib/ibm_cloud_power/models/storage_pools_capacity.rb +4 -4
- data/lib/ibm_cloud_power/models/storage_tier.rb +276 -0
- data/lib/ibm_cloud_power/models/storage_type_capacity.rb +4 -4
- data/lib/ibm_cloud_power/models/storage_types_capacity.rb +4 -4
- data/lib/ibm_cloud_power/models/supported_systems.rb +243 -0
- data/lib/ibm_cloud_power/models/system.rb +78 -9
- data/lib/ibm_cloud_power/models/system_pool.rb +19 -5
- data/lib/ibm_cloud_power/models/system_pool_capacity.rb +312 -0
- data/lib/ibm_cloud_power/models/system_resources.rb +325 -0
- data/lib/ibm_cloud_power/models/task.rb +3 -4
- data/lib/ibm_cloud_power/models/task_reference.rb +3 -4
- data/lib/ibm_cloud_power/models/tenant.rb +3 -4
- data/lib/ibm_cloud_power/models/tenant_update.rb +3 -4
- data/lib/ibm_cloud_power/models/update_server_virtual_serial_number.rb +219 -0
- data/lib/ibm_cloud_power/models/update_virtual_serial_number.rb +224 -0
- data/lib/ibm_cloud_power/models/update_volume.rb +3 -4
- data/lib/ibm_cloud_power/models/virtual_cores.rb +3 -4
- data/lib/ibm_cloud_power/models/virtual_serial_number.rb +254 -0
- data/lib/ibm_cloud_power/models/volume.rb +42 -13
- data/lib/ibm_cloud_power/models/volume_action.rb +17 -13
- data/lib/ibm_cloud_power/models/volume_group.rb +40 -8
- data/lib/ibm_cloud_power/models/volume_group_action.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_group_action_reset.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_group_action_start.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_group_action_stop.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_group_create.rb +29 -4
- data/lib/ibm_cloud_power/models/volume_group_create_response.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_group_details.rb +37 -5
- data/lib/ibm_cloud_power/models/volume_group_remote_copy_relationships.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_group_storage_details.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_group_update.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_groups.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_groups_details.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_info.rb +14 -5
- data/lib/ibm_cloud_power/models/volume_onboarding.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_onboarding_common.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_onboarding_create.rb +17 -8
- data/lib/ibm_cloud_power/models/volume_onboarding_create_response.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_onboarding_failure.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_onboardings.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_reference.rb +46 -7
- data/lib/ibm_cloud_power/models/volume_remote_copy_relationship.rb +3 -4
- data/lib/ibm_cloud_power/models/volume_snapshot_list.rb +221 -0
- data/lib/ibm_cloud_power/models/volumes.rb +3 -4
- data/lib/ibm_cloud_power/models/volumes_attach.rb +3 -4
- data/lib/ibm_cloud_power/models/volumes_attachment_response.rb +3 -4
- data/lib/ibm_cloud_power/models/volumes_clone.rb +3 -4
- data/lib/ibm_cloud_power/models/volumes_clone_async_request.rb +35 -6
- data/lib/ibm_cloud_power/models/volumes_clone_cancel.rb +3 -4
- data/lib/ibm_cloud_power/models/volumes_clone_create.rb +3 -4
- data/lib/ibm_cloud_power/models/volumes_clone_detail.rb +3 -4
- data/lib/ibm_cloud_power/models/volumes_clone_execute.rb +38 -9
- data/lib/ibm_cloud_power/models/volumes_clone_request.rb +4 -5
- data/lib/ibm_cloud_power/models/volumes_clone_response.rb +3 -4
- data/lib/ibm_cloud_power/models/volumes_clones.rb +3 -4
- data/lib/ibm_cloud_power/models/volumes_delete.rb +226 -0
- data/lib/ibm_cloud_power/models/volumes_delete_response.rb +219 -0
- data/lib/ibm_cloud_power/models/volumes_detach.rb +245 -0
- data/lib/ibm_cloud_power/models/volumes_detachment_response.rb +224 -0
- data/lib/ibm_cloud_power/models/vpn_connection.rb +3 -4
- data/lib/ibm_cloud_power/models/vpn_connection_create.rb +3 -4
- data/lib/ibm_cloud_power/models/vpn_connection_create_response.rb +3 -4
- data/lib/ibm_cloud_power/models/vpn_connection_update.rb +3 -4
- data/lib/ibm_cloud_power/models/vpn_connections.rb +3 -4
- data/lib/ibm_cloud_power/models/{pvm_instance_clone.rb → workspace.rb} +81 -80
- data/lib/ibm_cloud_power/models/{ike_policy_options.rb → workspace_details.rb} +51 -56
- data/lib/ibm_cloud_power/models/workspace_location.rb +244 -0
- data/lib/ibm_cloud_power/models/workspace_network_security_groups_details.rb +258 -0
- data/lib/ibm_cloud_power/models/workspace_power_edge_router_details.rb +307 -0
- data/lib/ibm_cloud_power/models/workspaces.rb +226 -0
- data/lib/ibm_cloud_power/version.rb +4 -4
- data/lib/ibm_cloud_power.rb +111 -14
- data/spec/api/datacenters_api_spec.rb +77 -0
- data/spec/api/host_groups_api_spec.rb +144 -0
- data/spec/api/network_address_groups_api_spec.rb +114 -0
- data/spec/api/network_security_groups_api_spec.rb +174 -0
- data/spec/api/networks_api_spec.rb +95 -0
- data/spec/api/p_cloud_cloud_connections_api_spec.rb +20 -20
- data/spec/api/p_cloud_disaster_recovery_api_spec.rb +3 -3
- data/spec/api/p_cloud_events_api_spec.rb +6 -5
- data/spec/api/p_cloud_images_api_spec.rb +87 -10
- data/spec/api/p_cloud_instances_api_spec.rb +4 -27
- data/spec/api/p_cloud_jobs_api_spec.rb +5 -5
- data/spec/api/p_cloud_networks_api_spec.rb +13 -8
- data/spec/api/p_cloud_placement_groups_api_spec.rb +15 -15
- data/spec/api/{p_cloud_system_pools_api_spec.rb → p_cloud_pod_capacity_api_spec.rb} +14 -13
- data/spec/api/p_cloud_pvm_instances_api_spec.rb +86 -22
- data/spec/api/p_cloud_sap_api_spec.rb +5 -3
- data/spec/api/p_cloud_shared_processor_pools_api_spec.rb +3 -3
- data/spec/api/p_cloud_snapshots_api_spec.rb +4 -4
- data/spec/api/p_cloud_spp_placement_groups_api_spec.rb +3 -3
- data/spec/api/p_cloud_storage_capacity_api_spec.rb +3 -3
- data/spec/api/p_cloud_storage_tiers_api_spec.rb +46 -0
- data/spec/api/p_cloud_tasks_api_spec.rb +5 -5
- data/spec/api/p_cloud_tenants_api_spec.rb +4 -4
- data/spec/api/p_cloud_tenants_ssh_keys_api_spec.rb +7 -7
- data/spec/api/p_cloud_virtual_serial_number_api_spec.rb +131 -0
- data/spec/api/p_cloud_volume_groups_api_spec.rb +5 -4
- data/spec/api/p_cloud_volume_onboarding_api_spec.rb +3 -3
- data/spec/api/p_cloud_volumes_api_spec.rb +182 -12
- data/spec/api/p_cloud_vpn_connections_api_spec.rb +3 -15
- data/spec/api/p_cloud_vpn_policies_api_spec.rb +3 -3
- data/spec/api/snapshots_api_spec.rb +81 -0
- data/spec/api/workspaces_api_spec.rb +56 -0
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/access_config_spec.rb +28 -0
- data/spec/models/{ip_sec_policy_options_spec.rb → add_host_spec.rb} +12 -12
- data/spec/models/add_server_virtual_serial_number_spec.rb +40 -0
- data/spec/models/auxiliary_volume_for_onboarding_spec.rb +3 -3
- data/spec/models/auxiliary_volumes_for_onboarding_spec.rb +3 -3
- data/spec/models/available_host_capacity_spec.rb +40 -0
- data/spec/models/available_host_resource_capacity_spec.rb +34 -0
- data/spec/models/available_host_spec.rb +46 -0
- data/spec/models/capabilities_details_spec.rb +40 -0
- data/spec/models/clone_task_reference_spec.rb +6 -13
- data/spec/models/clone_task_status_spec.rb +14 -21
- data/spec/models/cloned_volume_detail_spec.rb +8 -15
- data/spec/models/cloned_volume_spec.rb +8 -15
- data/spec/models/cloud_connection_create_response_spec.rb +19 -13
- data/spec/models/cloud_connection_create_spec.rb +35 -14
- data/spec/models/cloud_connection_endpoint_classic_spec.rb +6 -13
- data/spec/models/cloud_connection_endpoint_classic_update_spec.rb +3 -3
- data/spec/models/cloud_connection_endpoint_vpc_spec.rb +6 -13
- data/spec/models/cloud_connection_gre_tunnel_create_spec.rb +3 -3
- data/spec/models/cloud_connection_gre_tunnel_spec.rb +7 -20
- data/spec/models/cloud_connection_spec.rb +22 -23
- data/spec/models/cloud_connection_update_spec.rb +15 -18
- data/spec/models/cloud_connection_virtual_private_clouds_spec.rb +6 -13
- data/spec/models/cloud_connection_virtual_private_clouds_virtual_private_clouds_spec.rb +9 -16
- data/spec/models/cloud_connection_vpc_spec.rb +11 -18
- data/spec/models/cloud_connections_spec.rb +6 -13
- data/spec/models/cloud_instance_reference_spec.rb +12 -19
- data/spec/models/cloud_instance_spec.rb +17 -24
- data/spec/models/cloud_instance_usage_limits_spec.rb +15 -22
- data/spec/models/console_language_spec.rb +3 -3
- data/spec/models/console_languages_spec.rb +3 -3
- data/spec/models/create_cos_image_import_job_spec.rb +15 -3
- data/spec/models/create_data_volume_spec.rb +44 -21
- data/spec/models/create_image_spec.rb +39 -28
- data/spec/models/create_server_virtual_serial_number_spec.rb +40 -0
- data/spec/models/{ike_policy_options_spec.rb → datacenter_location_spec.rb} +13 -13
- data/spec/models/datacenter_spec.rb +72 -0
- data/spec/models/datacenters_spec.rb +34 -0
- data/spec/models/dead_peer_detection_spec.rb +3 -3
- data/spec/models/delete_server_virtual_serial_number_spec.rb +34 -0
- data/spec/models/deployment_target_spec.rb +44 -0
- data/spec/models/disaster_recovery_location_spec.rb +3 -3
- data/spec/models/disaster_recovery_locations_spec.rb +3 -3
- data/spec/models/disaster_recovery_spec.rb +40 -0
- data/spec/models/error_spec.rb +8 -15
- data/spec/models/event_spec.rb +18 -25
- data/spec/models/event_user_spec.rb +8 -15
- data/spec/models/events_spec.rb +6 -13
- data/spec/models/export_image_spec.rb +9 -16
- data/spec/models/flash_copy_mapping_spec.rb +3 -3
- data/spec/models/get_bulk_volume_spec.rb +34 -0
- data/spec/models/get_server_virtual_serial_number_spec.rb +40 -0
- data/spec/models/host_capacity_spec.rb +40 -0
- data/spec/models/host_create_spec.rb +40 -0
- data/spec/models/host_group_create_spec.rb +46 -0
- data/spec/models/host_group_share_op_spec.rb +40 -0
- data/spec/models/host_group_spec.rb +64 -0
- data/spec/models/host_group_summary_spec.rb +46 -0
- data/spec/models/{options_spec.rb → host_put_spec.rb} +10 -10
- data/spec/models/{ip_sec_policy_template_spec.rb → host_resource_capacity_spec.rb} +13 -13
- data/spec/models/host_spec.rb +82 -0
- data/spec/models/ike_policies_spec.rb +3 -3
- data/spec/models/ike_policy_authentication_spec.rb +3 -3
- data/spec/models/ike_policy_create_spec.rb +4 -8
- data/spec/models/ike_policy_ref_spec.rb +3 -3
- data/spec/models/ike_policy_spec.rb +4 -8
- data/spec/models/ike_policy_update_spec.rb +4 -8
- data/spec/models/image_import_details_spec.rb +58 -0
- data/spec/models/image_reference_spec.rb +26 -21
- data/spec/models/image_spec.rb +39 -22
- data/spec/models/image_specifications_spec.rb +10 -17
- data/spec/models/image_volume_spec.rb +8 -15
- data/spec/models/images_spec.rb +6 -13
- data/spec/models/ip_address_range_spec.rb +8 -15
- data/spec/models/ip_sec_policies_spec.rb +3 -3
- data/spec/models/ip_sec_policy_create_spec.rb +4 -8
- data/spec/models/ip_sec_policy_ref_spec.rb +3 -3
- data/spec/models/ip_sec_policy_spec.rb +4 -8
- data/spec/models/ip_sec_policy_update_spec.rb +4 -8
- data/spec/models/ipsec_policy_authentication_spec.rb +3 -3
- data/spec/models/job_reference_spec.rb +3 -3
- data/spec/models/job_spec.rb +3 -3
- data/spec/models/jobs_spec.rb +3 -3
- data/spec/models/maximum_storage_allocation_spec.rb +8 -15
- data/spec/models/min_max_default_spec.rb +8 -15
- data/spec/models/multi_volumes_create_spec.rb +50 -21
- data/spec/models/network_address_group_add_member_spec.rb +34 -0
- data/spec/models/network_address_group_create_spec.rb +40 -0
- data/spec/models/network_address_group_member_spec.rb +40 -0
- data/spec/models/{ike_policy_template_spec.rb → network_address_group_spec.rb} +14 -14
- data/spec/models/network_address_group_update_spec.rb +34 -0
- data/spec/models/network_address_groups_spec.rb +34 -0
- data/spec/models/network_address_translation_spec.rb +34 -0
- data/spec/models/{network_cloud_connections_inner_spec.rb → network_cloud_connections_spec.rb} +9 -9
- data/spec/models/network_create_spec.rb +28 -23
- data/spec/models/network_id_spec.rb +3 -3
- data/spec/models/network_ids_spec.rb +3 -3
- data/spec/models/network_interface_create_spec.rb +46 -0
- data/spec/models/network_interface_instance_spec.rb +40 -0
- data/spec/models/network_interface_spec.rb +88 -0
- data/spec/models/network_interface_update_spec.rb +40 -0
- data/spec/models/network_interfaces_spec.rb +34 -0
- data/spec/models/network_ip_address_metrics_spec.rb +8 -15
- data/spec/models/network_port_create_spec.rb +6 -13
- data/spec/models/network_port_pvm_instance_spec.rb +8 -15
- data/spec/models/network_port_spec.rb +17 -18
- data/spec/models/network_port_update_spec.rb +6 -13
- data/spec/models/network_ports_spec.rb +6 -13
- data/spec/models/network_reference_spec.rb +39 -22
- data/spec/models/network_security_group_add_member_spec.rb +44 -0
- data/spec/models/network_security_group_add_rule_spec.rb +74 -0
- data/spec/models/network_security_group_clone_spec.rb +34 -0
- data/spec/models/network_security_group_create_spec.rb +40 -0
- data/spec/models/network_security_group_member_spec.rb +62 -0
- data/spec/models/network_security_group_move_member_spec.rb +40 -0
- data/spec/models/network_security_group_rule_port_spec.rb +40 -0
- data/spec/models/network_security_group_rule_protocol_spec.rb +54 -0
- data/spec/models/network_security_group_rule_protocol_tcp_flag_spec.rb +38 -0
- data/spec/models/network_security_group_rule_remote_spec.rb +44 -0
- data/spec/models/network_security_group_rule_spec.rb +68 -0
- data/spec/models/network_security_group_spec.rb +70 -0
- data/spec/models/network_security_group_update_spec.rb +34 -0
- data/spec/models/network_security_groups_action_spec.rb +38 -0
- data/spec/models/network_security_groups_spec.rb +34 -0
- data/spec/models/network_spec.rb +48 -25
- data/spec/models/network_update_spec.rb +9 -16
- data/spec/models/networks_spec.rb +6 -13
- data/spec/models/operation_spec.rb +3 -3
- data/spec/models/operations_spec.rb +9 -16
- data/spec/models/peer_subnet_update_spec.rb +3 -3
- data/spec/models/peer_subnets_spec.rb +3 -3
- data/spec/models/peering_network_spec.rb +9 -16
- data/spec/models/pin_policy_spec.rb +6 -13
- data/spec/models/placement_group_create_spec.rb +7 -14
- data/spec/models/placement_group_server_spec.rb +6 -13
- data/spec/models/placement_group_spec.rb +13 -20
- data/spec/models/placement_groups_spec.rb +6 -13
- data/spec/models/pod_capacity_spec.rb +46 -0
- data/spec/models/{pvm_instance_clone_spec.rb → pod_data_spec.rb} +27 -26
- data/spec/models/pvm_instance_action_spec.rb +8 -15
- data/spec/models/pvm_instance_add_network_spec.rb +13 -14
- data/spec/models/pvm_instance_capture_spec.rb +20 -21
- data/spec/models/{cloud_connection_virtual_private_clouds_virtual_private_clouds_inner_spec.rb → pvm_instance_configuration_spec.rb} +19 -13
- data/spec/models/pvm_instance_console_spec.rb +6 -13
- data/spec/models/pvm_instance_cores_spec.rb +46 -0
- data/spec/models/pvm_instance_create_spec.rb +99 -36
- data/spec/models/pvm_instance_delete_spec.rb +34 -0
- data/spec/models/pvm_instance_deployment_spec.rb +56 -0
- data/spec/models/pvm_instance_fault_spec.rb +9 -16
- data/spec/models/pvm_instance_health_spec.rb +9 -16
- data/spec/models/pvm_instance_host_spec.rb +40 -0
- data/spec/models/pvm_instance_memory_spec.rb +46 -0
- data/spec/models/pvm_instance_multi_create_spec.rb +13 -20
- data/spec/models/pvm_instance_network_spec.rb +32 -21
- data/spec/models/pvm_instance_networks_spec.rb +6 -13
- data/spec/models/pvm_instance_operating_system_spec.rb +40 -0
- data/spec/models/pvm_instance_operation_spec.rb +12 -19
- data/spec/models/pvm_instance_placement_group_spec.rb +34 -0
- data/spec/models/pvm_instance_reference_spec.rb +116 -39
- data/spec/models/pvm_instance_reference_v2_spec.rb +124 -0
- data/spec/models/pvm_instance_remove_network_spec.rb +6 -13
- data/spec/models/pvm_instance_spec.rb +124 -41
- data/spec/models/pvm_instance_update_response_spec.rb +30 -19
- data/spec/models/pvm_instance_update_spec.rb +26 -21
- data/spec/models/pvm_instance_v2_health_spec.rb +34 -0
- data/spec/models/pvm_instance_v2_network_port_spec.rb +66 -0
- data/spec/models/pvm_instance_virtual_cores_spec.rb +46 -0
- data/spec/models/pvm_instance_volume_update_spec.rb +6 -13
- data/spec/models/pvm_instances_spec.rb +6 -13
- data/spec/models/pvm_instances_v2_spec.rb +34 -0
- data/spec/models/remote_copy_relationship_spec.rb +3 -3
- data/spec/models/remove_virtual_serial_number_spec.rb +34 -0
- data/spec/models/{cloud_connection_endpoint_gre_spec.rb → replication_service_spec.rb} +10 -17
- data/spec/models/replication_target_location_spec.rb +44 -0
- data/spec/models/sap_create_spec.rb +65 -18
- data/spec/models/sap_profile_reference_spec.rb +8 -15
- data/spec/models/sap_profile_spec.rb +51 -18
- data/spec/models/sap_profiles_spec.rb +6 -13
- data/spec/models/secondary_spec.rb +40 -0
- data/spec/models/shared_processor_pool_create_spec.rb +15 -3
- data/spec/models/shared_processor_pool_detail_spec.rb +3 -3
- data/spec/models/shared_processor_pool_placement_group_spec.rb +3 -3
- data/spec/models/shared_processor_pool_server_spec.rb +3 -3
- data/spec/models/shared_processor_pool_spec.rb +21 -3
- data/spec/models/shared_processor_pool_update_spec.rb +3 -3
- data/spec/models/shared_processor_pools_spec.rb +3 -3
- data/spec/models/site_spec.rb +3 -3
- data/spec/models/snapshot_create_response_spec.rb +18 -13
- data/spec/models/snapshot_create_spec.rb +14 -15
- data/spec/models/snapshot_list_spec.rb +34 -0
- data/spec/models/snapshot_restore_spec.rb +6 -13
- data/spec/models/snapshot_spec.rb +22 -23
- data/spec/models/snapshot_update_spec.rb +8 -15
- data/spec/models/snapshot_v1_spec.rb +70 -0
- data/spec/models/snapshots_spec.rb +6 -13
- data/spec/models/software_licenses_spec.rb +10 -17
- data/spec/models/spp_placement_group_create_spec.rb +3 -3
- data/spec/models/spp_placement_group_spec.rb +3 -3
- data/spec/models/spp_placement_groups_spec.rb +3 -3
- data/spec/models/src_spec.rb +8 -15
- data/spec/models/ssh_key_spec.rb +9 -16
- data/spec/models/ssh_keys_spec.rb +6 -13
- data/spec/models/status_description_error_spec.rb +3 -3
- data/spec/models/status_description_spec.rb +3 -3
- data/spec/models/status_spec.rb +3 -3
- data/spec/models/stock_image_spec.rb +8 -15
- data/spec/models/storage_affinity_spec.rb +3 -3
- data/spec/models/{vp_naa_s_options_spec.rb → storage_controller_spec.rb} +14 -14
- data/spec/models/storage_pool_capacity_spec.rb +26 -15
- data/spec/models/storage_pool_combined_spec.rb +46 -0
- data/spec/models/storage_pool_map_spec.rb +40 -0
- data/spec/models/storage_pools_capacity_spec.rb +6 -13
- data/spec/models/storage_tier_spec.rb +50 -0
- data/spec/models/storage_type_capacity_spec.rb +9 -16
- data/spec/models/storage_types_capacity_spec.rb +6 -13
- data/spec/models/supported_systems_spec.rb +40 -0
- data/spec/models/{cloud_instance_create_spec.rb → system_pool_capacity_spec.rb} +16 -23
- data/spec/models/system_pool_spec.rb +17 -18
- data/spec/models/system_resources_spec.rb +76 -0
- data/spec/models/system_spec.rb +48 -13
- data/spec/models/task_reference_spec.rb +8 -15
- data/spec/models/task_spec.rb +15 -22
- data/spec/models/tenant_spec.rb +13 -20
- data/spec/models/tenant_update_spec.rb +6 -13
- data/spec/models/update_server_virtual_serial_number_spec.rb +34 -0
- data/spec/models/update_virtual_serial_number_spec.rb +34 -0
- data/spec/models/update_volume_spec.rb +9 -16
- data/spec/models/virtual_cores_spec.rb +8 -15
- data/spec/models/virtual_serial_number_spec.rb +46 -0
- data/spec/models/volume_action_spec.rb +9 -3
- data/spec/models/volume_group_action_reset_spec.rb +3 -3
- data/spec/models/volume_group_action_spec.rb +3 -3
- data/spec/models/volume_group_action_start_spec.rb +3 -3
- data/spec/models/volume_group_action_stop_spec.rb +3 -3
- data/spec/models/volume_group_create_response_spec.rb +3 -3
- data/spec/models/volume_group_create_spec.rb +3 -3
- data/spec/models/volume_group_details_spec.rb +21 -3
- data/spec/models/volume_group_remote_copy_relationships_spec.rb +3 -3
- data/spec/models/volume_group_spec.rb +21 -3
- data/spec/models/volume_group_storage_details_spec.rb +3 -3
- data/spec/models/volume_group_update_spec.rb +3 -3
- data/spec/models/volume_groups_details_spec.rb +3 -3
- data/spec/models/volume_groups_spec.rb +3 -3
- data/spec/models/volume_info_spec.rb +13 -14
- data/spec/models/volume_onboarding_common_spec.rb +3 -3
- data/spec/models/volume_onboarding_create_response_spec.rb +3 -3
- data/spec/models/volume_onboarding_create_spec.rb +9 -3
- data/spec/models/volume_onboarding_failure_spec.rb +3 -3
- data/spec/models/volume_onboarding_spec.rb +3 -3
- data/spec/models/volume_onboardings_spec.rb +3 -3
- data/spec/models/volume_reference_spec.rb +123 -24
- data/spec/models/volume_remote_copy_relationship_spec.rb +3 -3
- data/spec/models/volume_snapshot_list_spec.rb +34 -0
- data/spec/models/volume_spec.rb +117 -24
- data/spec/models/volumes_attach_spec.rb +3 -3
- data/spec/models/volumes_attachment_response_spec.rb +3 -3
- data/spec/models/volumes_clone_async_request_spec.rb +25 -14
- data/spec/models/volumes_clone_cancel_spec.rb +6 -13
- data/spec/models/volumes_clone_create_spec.rb +7 -14
- data/spec/models/volumes_clone_detail_spec.rb +15 -22
- data/spec/models/volumes_clone_execute_spec.rb +24 -13
- data/spec/models/volumes_clone_request_spec.rb +7 -14
- data/spec/models/volumes_clone_response_spec.rb +8 -15
- data/spec/models/volumes_clone_spec.rb +14 -21
- data/spec/models/volumes_clones_spec.rb +6 -13
- data/spec/models/volumes_delete_response_spec.rb +34 -0
- data/spec/models/volumes_delete_spec.rb +34 -0
- data/spec/models/volumes_detach_spec.rb +46 -0
- data/spec/models/volumes_detachment_response_spec.rb +34 -0
- data/spec/models/volumes_spec.rb +6 -13
- data/spec/models/vpn_connection_create_response_spec.rb +3 -3
- data/spec/models/vpn_connection_create_spec.rb +3 -3
- data/spec/models/vpn_connection_spec.rb +3 -3
- data/spec/models/vpn_connection_update_spec.rb +3 -3
- data/spec/models/vpn_connections_spec.rb +3 -3
- data/spec/models/{cloud_instance_update_spec.rb → workspace_details_spec.rb} +14 -21
- data/spec/models/workspace_location_spec.rb +46 -0
- data/spec/models/workspace_network_security_groups_details_spec.rb +38 -0
- data/spec/models/workspace_power_edge_router_details_spec.rb +58 -0
- data/spec/models/workspace_spec.rb +74 -0
- data/spec/models/workspaces_spec.rb +34 -0
- data/spec/spec_helper.rb +3 -3
- metadata +502 -124
- data/Gemfile.lock +0 -72
- data/ibm_cloud_power-2.1.0.gem +0 -0
- data/lib/ibm_cloud_power/models/vp_naa_s_options.rb +0 -280
- data/spec/models/cloud_connection_speed_spec.rb +0 -35
- data/test.rb +0 -32
data/docs/PCloudVolumesApi.md
CHANGED
@@ -18,17 +18,19 @@ All URIs are relative to *http://localhost*
|
|
18
18
|
| [**pcloud_pvminstances_volumes_post**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_post) | **POST** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id} | Attach a volume to a PVMInstance |
|
19
19
|
| [**pcloud_pvminstances_volumes_put**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_put) | **PUT** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id} | Update a volume attached to a PVMInstance |
|
20
20
|
| [**pcloud_pvminstances_volumes_setboot_put**](PCloudVolumesApi.md#pcloud_pvminstances_volumes_setboot_put) | **PUT** /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}/setboot | Set the PVMInstance volume as the boot volume |
|
21
|
+
| [**pcloud_v2_pvminstances_volumes_delete**](PCloudVolumesApi.md#pcloud_v2_pvminstances_volumes_delete) | **DELETE** /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes | Detach multiple volumes from a PVMInstance |
|
21
22
|
| [**pcloud_v2_pvminstances_volumes_post**](PCloudVolumesApi.md#pcloud_v2_pvminstances_volumes_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes | Attach all volumes to a PVMInstance |
|
22
23
|
| [**pcloud_v2_volumes_clone_post**](PCloudVolumesApi.md#pcloud_v2_volumes_clone_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone | Create a volume clone for specified volumes |
|
23
24
|
| [**pcloud_v2_volumes_clonetasks_get**](PCloudVolumesApi.md#pcloud_v2_volumes_clonetasks_get) | **GET** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id} | Get the status of a volumes clone request for the specified clone task ID |
|
25
|
+
| [**pcloud_v2_volumes_delete**](PCloudVolumesApi.md#pcloud_v2_volumes_delete) | **DELETE** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes | Delete all volumes |
|
24
26
|
| [**pcloud_v2_volumes_post**](PCloudVolumesApi.md#pcloud_v2_volumes_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes | Create multiple data volumes from a single definition |
|
25
|
-
| [**pcloud_v2_volumesclone_cancel_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_cancel_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/cancel | Cancel a volumes-clone request
|
27
|
+
| [**pcloud_v2_volumesclone_cancel_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_cancel_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/cancel | Cancel a volumes-clone request |
|
26
28
|
| [**pcloud_v2_volumesclone_delete**](PCloudVolumesApi.md#pcloud_v2_volumesclone_delete) | **DELETE** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id} | Delete a volumes-clone request |
|
27
|
-
| [**pcloud_v2_volumesclone_execute_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_execute_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute | Initiate the Execute action for a volumes-clone request
|
29
|
+
| [**pcloud_v2_volumesclone_execute_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_execute_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute | Initiate the Execute action for a volumes-clone request |
|
28
30
|
| [**pcloud_v2_volumesclone_get**](PCloudVolumesApi.md#pcloud_v2_volumesclone_get) | **GET** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id} | Get the details for a volumes-clone request |
|
29
31
|
| [**pcloud_v2_volumesclone_getall**](PCloudVolumesApi.md#pcloud_v2_volumesclone_getall) | **GET** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone | Get the list of volumes-clone request for a cloud instance |
|
30
|
-
| [**pcloud_v2_volumesclone_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone | Create a new volumes clone request and initiates the Prepare action
|
31
|
-
| [**pcloud_v2_volumesclone_start_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_start_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/start | Initiate the Start action for a volumes-clone request
|
32
|
+
| [**pcloud_v2_volumesclone_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone | Create a new volumes clone request and initiates the Prepare action |
|
33
|
+
| [**pcloud_v2_volumesclone_start_post**](PCloudVolumesApi.md#pcloud_v2_volumesclone_start_post) | **POST** /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/start | Initiate the Start action for a volumes-clone request |
|
32
34
|
| [**pcloud_volumes_clone_post**](PCloudVolumesApi.md#pcloud_volumes_clone_post) | **POST** /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/clone | Create a volume clone for specified volumes |
|
33
35
|
|
34
36
|
|
@@ -47,7 +49,7 @@ require 'ibm_cloud_power'
|
|
47
49
|
api_instance = IbmCloudPower::PCloudVolumesApi.new
|
48
50
|
cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
|
49
51
|
volume_id = 'volume_id_example' # String | Volume ID
|
50
|
-
body = IbmCloudPower::VolumeAction.new
|
52
|
+
body = IbmCloudPower::VolumeAction.new # VolumeAction | Parameters for the desired action
|
51
53
|
|
52
54
|
begin
|
53
55
|
# Perform an action on a Volume
|
@@ -159,7 +161,7 @@ No authorization required
|
|
159
161
|
### HTTP request headers
|
160
162
|
|
161
163
|
- **Content-Type**: Not defined
|
162
|
-
- **Accept**:
|
164
|
+
- **Accept**: application/json
|
163
165
|
|
164
166
|
|
165
167
|
## pcloud_cloudinstances_volumes_flash_copy_mappings_get
|
@@ -756,6 +758,8 @@ No authorization required
|
|
756
758
|
|
757
759
|
Attach a volume to a PVMInstance
|
758
760
|
|
761
|
+
Attach a volume to a PVMInstance. >**Note**: Recommended for attaching data volumes. In the case of VMRM, it is recommended to use the 'Attach all volumes to a PVM instance' API for attaching the first boot volume.
|
762
|
+
|
759
763
|
### Examples
|
760
764
|
|
761
765
|
```ruby
|
@@ -890,6 +894,8 @@ No authorization required
|
|
890
894
|
|
891
895
|
Set the PVMInstance volume as the boot volume
|
892
896
|
|
897
|
+
Set the PVMInstance volume as the boot volume. >**Note**: If a non-bootable volume is provided, it will be converted to a bootable volume and then attached.
|
898
|
+
|
893
899
|
### Examples
|
894
900
|
|
895
901
|
```ruby
|
@@ -947,7 +953,73 @@ No authorization required
|
|
947
953
|
### HTTP request headers
|
948
954
|
|
949
955
|
- **Content-Type**: Not defined
|
950
|
-
- **Accept**:
|
956
|
+
- **Accept**: application/json
|
957
|
+
|
958
|
+
|
959
|
+
## pcloud_v2_pvminstances_volumes_delete
|
960
|
+
|
961
|
+
> <VolumesDetachmentResponse> pcloud_v2_pvminstances_volumes_delete(cloud_instance_id, pvm_instance_id, body)
|
962
|
+
|
963
|
+
Detach multiple volumes from a PVMInstance
|
964
|
+
|
965
|
+
### Examples
|
966
|
+
|
967
|
+
```ruby
|
968
|
+
require 'time'
|
969
|
+
require 'ibm_cloud_power'
|
970
|
+
|
971
|
+
api_instance = IbmCloudPower::PCloudVolumesApi.new
|
972
|
+
cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
|
973
|
+
pvm_instance_id = 'pvm_instance_id_example' # String | PCloud PVM Instance ID
|
974
|
+
body = IbmCloudPower::VolumesDetach.new # VolumesDetach | Parameter to detach multiple volumes from a PVMInstance
|
975
|
+
|
976
|
+
begin
|
977
|
+
# Detach multiple volumes from a PVMInstance
|
978
|
+
result = api_instance.pcloud_v2_pvminstances_volumes_delete(cloud_instance_id, pvm_instance_id, body)
|
979
|
+
p result
|
980
|
+
rescue IbmCloudPower::ApiError => e
|
981
|
+
puts "Error when calling PCloudVolumesApi->pcloud_v2_pvminstances_volumes_delete: #{e}"
|
982
|
+
end
|
983
|
+
```
|
984
|
+
|
985
|
+
#### Using the pcloud_v2_pvminstances_volumes_delete_with_http_info variant
|
986
|
+
|
987
|
+
This returns an Array which contains the response data, status code and headers.
|
988
|
+
|
989
|
+
> <Array(<VolumesDetachmentResponse>, Integer, Hash)> pcloud_v2_pvminstances_volumes_delete_with_http_info(cloud_instance_id, pvm_instance_id, body)
|
990
|
+
|
991
|
+
```ruby
|
992
|
+
begin
|
993
|
+
# Detach multiple volumes from a PVMInstance
|
994
|
+
data, status_code, headers = api_instance.pcloud_v2_pvminstances_volumes_delete_with_http_info(cloud_instance_id, pvm_instance_id, body)
|
995
|
+
p status_code # => 2xx
|
996
|
+
p headers # => { ... }
|
997
|
+
p data # => <VolumesDetachmentResponse>
|
998
|
+
rescue IbmCloudPower::ApiError => e
|
999
|
+
puts "Error when calling PCloudVolumesApi->pcloud_v2_pvminstances_volumes_delete_with_http_info: #{e}"
|
1000
|
+
end
|
1001
|
+
```
|
1002
|
+
|
1003
|
+
### Parameters
|
1004
|
+
|
1005
|
+
| Name | Type | Description | Notes |
|
1006
|
+
| ---- | ---- | ----------- | ----- |
|
1007
|
+
| **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
|
1008
|
+
| **pvm_instance_id** | **String** | PCloud PVM Instance ID | |
|
1009
|
+
| **body** | [**VolumesDetach**](VolumesDetach.md) | Parameter to detach multiple volumes from a PVMInstance | |
|
1010
|
+
|
1011
|
+
### Return type
|
1012
|
+
|
1013
|
+
[**VolumesDetachmentResponse**](VolumesDetachmentResponse.md)
|
1014
|
+
|
1015
|
+
### Authorization
|
1016
|
+
|
1017
|
+
No authorization required
|
1018
|
+
|
1019
|
+
### HTTP request headers
|
1020
|
+
|
1021
|
+
- **Content-Type**: application/json
|
1022
|
+
- **Accept**: application/json
|
951
1023
|
|
952
1024
|
|
953
1025
|
## pcloud_v2_pvminstances_volumes_post
|
@@ -956,6 +1028,8 @@ No authorization required
|
|
956
1028
|
|
957
1029
|
Attach all volumes to a PVMInstance
|
958
1030
|
|
1031
|
+
Attach all volumes to a PVMInstance. >**Note**: In the case of VMRM, if a single volume ID is provided in the 'volumeIDs' field, that volume will be converted to a bootable volume and then attached.
|
1032
|
+
|
959
1033
|
### Examples
|
960
1034
|
|
961
1035
|
```ruby
|
@@ -1144,6 +1218,70 @@ No authorization required
|
|
1144
1218
|
- **Accept**: application/json, percentComplete, status
|
1145
1219
|
|
1146
1220
|
|
1221
|
+
## pcloud_v2_volumes_delete
|
1222
|
+
|
1223
|
+
> <VolumesDeleteResponse> pcloud_v2_volumes_delete(cloud_instance_id, body)
|
1224
|
+
|
1225
|
+
Delete all volumes
|
1226
|
+
|
1227
|
+
### Examples
|
1228
|
+
|
1229
|
+
```ruby
|
1230
|
+
require 'time'
|
1231
|
+
require 'ibm_cloud_power'
|
1232
|
+
|
1233
|
+
api_instance = IbmCloudPower::PCloudVolumesApi.new
|
1234
|
+
cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of a PCloud Instance
|
1235
|
+
body = IbmCloudPower::VolumesDelete.new({volume_ids: ['volume_ids_example']}) # VolumesDelete | Parameters to delete volumes
|
1236
|
+
|
1237
|
+
begin
|
1238
|
+
# Delete all volumes
|
1239
|
+
result = api_instance.pcloud_v2_volumes_delete(cloud_instance_id, body)
|
1240
|
+
p result
|
1241
|
+
rescue IbmCloudPower::ApiError => e
|
1242
|
+
puts "Error when calling PCloudVolumesApi->pcloud_v2_volumes_delete: #{e}"
|
1243
|
+
end
|
1244
|
+
```
|
1245
|
+
|
1246
|
+
#### Using the pcloud_v2_volumes_delete_with_http_info variant
|
1247
|
+
|
1248
|
+
This returns an Array which contains the response data, status code and headers.
|
1249
|
+
|
1250
|
+
> <Array(<VolumesDeleteResponse>, Integer, Hash)> pcloud_v2_volumes_delete_with_http_info(cloud_instance_id, body)
|
1251
|
+
|
1252
|
+
```ruby
|
1253
|
+
begin
|
1254
|
+
# Delete all volumes
|
1255
|
+
data, status_code, headers = api_instance.pcloud_v2_volumes_delete_with_http_info(cloud_instance_id, body)
|
1256
|
+
p status_code # => 2xx
|
1257
|
+
p headers # => { ... }
|
1258
|
+
p data # => <VolumesDeleteResponse>
|
1259
|
+
rescue IbmCloudPower::ApiError => e
|
1260
|
+
puts "Error when calling PCloudVolumesApi->pcloud_v2_volumes_delete_with_http_info: #{e}"
|
1261
|
+
end
|
1262
|
+
```
|
1263
|
+
|
1264
|
+
### Parameters
|
1265
|
+
|
1266
|
+
| Name | Type | Description | Notes |
|
1267
|
+
| ---- | ---- | ----------- | ----- |
|
1268
|
+
| **cloud_instance_id** | **String** | Cloud Instance ID of a PCloud Instance | |
|
1269
|
+
| **body** | [**VolumesDelete**](VolumesDelete.md) | Parameters to delete volumes | |
|
1270
|
+
|
1271
|
+
### Return type
|
1272
|
+
|
1273
|
+
[**VolumesDeleteResponse**](VolumesDeleteResponse.md)
|
1274
|
+
|
1275
|
+
### Authorization
|
1276
|
+
|
1277
|
+
No authorization required
|
1278
|
+
|
1279
|
+
### HTTP request headers
|
1280
|
+
|
1281
|
+
- **Content-Type**: application/json
|
1282
|
+
- **Accept**: application/json
|
1283
|
+
|
1284
|
+
|
1147
1285
|
## pcloud_v2_volumes_post
|
1148
1286
|
|
1149
1287
|
> <Volumes> pcloud_v2_volumes_post(cloud_instance_id, body)
|
@@ -1212,7 +1350,9 @@ No authorization required
|
|
1212
1350
|
|
1213
1351
|
> <VolumesClone> pcloud_v2_volumesclone_cancel_post(cloud_instance_id, volumes_clone_id, opts)
|
1214
1352
|
|
1215
|
-
Cancel a volumes-clone request
|
1353
|
+
Cancel a volumes-clone request
|
1354
|
+
|
1355
|
+
Initiates the cleanup action that performs the cleanup of the preparatory clones and snapshot volumes.
|
1216
1356
|
|
1217
1357
|
### Examples
|
1218
1358
|
|
@@ -1228,7 +1368,7 @@ opts = {
|
|
1228
1368
|
}
|
1229
1369
|
|
1230
1370
|
begin
|
1231
|
-
# Cancel a volumes-clone request
|
1371
|
+
# Cancel a volumes-clone request
|
1232
1372
|
result = api_instance.pcloud_v2_volumesclone_cancel_post(cloud_instance_id, volumes_clone_id, opts)
|
1233
1373
|
p result
|
1234
1374
|
rescue IbmCloudPower::ApiError => e
|
@@ -1244,7 +1384,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1244
1384
|
|
1245
1385
|
```ruby
|
1246
1386
|
begin
|
1247
|
-
# Cancel a volumes-clone request
|
1387
|
+
# Cancel a volumes-clone request
|
1248
1388
|
data, status_code, headers = api_instance.pcloud_v2_volumesclone_cancel_post_with_http_info(cloud_instance_id, volumes_clone_id, opts)
|
1249
1389
|
p status_code # => 2xx
|
1250
1390
|
p headers # => { ... }
|
@@ -1337,14 +1477,16 @@ No authorization required
|
|
1337
1477
|
### HTTP request headers
|
1338
1478
|
|
1339
1479
|
- **Content-Type**: Not defined
|
1340
|
-
- **Accept**:
|
1480
|
+
- **Accept**: application/json
|
1341
1481
|
|
1342
1482
|
|
1343
1483
|
## pcloud_v2_volumesclone_execute_post
|
1344
1484
|
|
1345
1485
|
> <VolumesClone> pcloud_v2_volumesclone_execute_post(cloud_instance_id, volumes_clone_id, body)
|
1346
1486
|
|
1347
|
-
Initiate the Execute action for a volumes-clone request
|
1487
|
+
Initiate the Execute action for a volumes-clone request
|
1488
|
+
|
1489
|
+
Execute action creates the cloned volumes using the volume snapshots.
|
1348
1490
|
|
1349
1491
|
### Examples
|
1350
1492
|
|
@@ -1358,7 +1500,7 @@ volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID
|
|
1358
1500
|
body = IbmCloudPower::VolumesCloneExecute.new({name: 'name_example'}) # VolumesCloneExecute | Parameters for the cloning of volumes
|
1359
1501
|
|
1360
1502
|
begin
|
1361
|
-
# Initiate the Execute action for a volumes-clone request
|
1503
|
+
# Initiate the Execute action for a volumes-clone request
|
1362
1504
|
result = api_instance.pcloud_v2_volumesclone_execute_post(cloud_instance_id, volumes_clone_id, body)
|
1363
1505
|
p result
|
1364
1506
|
rescue IbmCloudPower::ApiError => e
|
@@ -1374,7 +1516,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1374
1516
|
|
1375
1517
|
```ruby
|
1376
1518
|
begin
|
1377
|
-
# Initiate the Execute action for a volumes-clone request
|
1519
|
+
# Initiate the Execute action for a volumes-clone request
|
1378
1520
|
data, status_code, headers = api_instance.pcloud_v2_volumesclone_execute_post_with_http_info(cloud_instance_id, volumes_clone_id, body)
|
1379
1521
|
p status_code # => 2xx
|
1380
1522
|
p headers # => { ... }
|
@@ -1540,7 +1682,9 @@ No authorization required
|
|
1540
1682
|
|
1541
1683
|
> <VolumesClone> pcloud_v2_volumesclone_post(cloud_instance_id, body)
|
1542
1684
|
|
1543
|
-
Create a new volumes clone request and initiates the Prepare action
|
1685
|
+
Create a new volumes clone request and initiates the Prepare action
|
1686
|
+
|
1687
|
+
Requires a minimum of two volumes. Requires a minimum of one volume to be in the `in-use` state. Requires a unique volumes clone name. Prepare action does the preparatory work for creating the snapshot volumes. >**Note**: If there is an existing prepare, user cannot trigger another prepare for the same set of volumes. Prepare should be followed by start and execute. If existing prepare does not have to be used then it should be first cancelled before the next prepare operation.
|
1544
1688
|
|
1545
1689
|
### Examples
|
1546
1690
|
|
@@ -1553,7 +1697,7 @@ cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of
|
|
1553
1697
|
body = IbmCloudPower::VolumesCloneCreate.new({name: 'name_example', volume_ids: ['volume_ids_example']}) # VolumesCloneCreate | Parameters for preparing a set of volumes to be cloned
|
1554
1698
|
|
1555
1699
|
begin
|
1556
|
-
# Create a new volumes clone request and initiates the Prepare action
|
1700
|
+
# Create a new volumes clone request and initiates the Prepare action
|
1557
1701
|
result = api_instance.pcloud_v2_volumesclone_post(cloud_instance_id, body)
|
1558
1702
|
p result
|
1559
1703
|
rescue IbmCloudPower::ApiError => e
|
@@ -1569,7 +1713,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1569
1713
|
|
1570
1714
|
```ruby
|
1571
1715
|
begin
|
1572
|
-
# Create a new volumes clone request and initiates the Prepare action
|
1716
|
+
# Create a new volumes clone request and initiates the Prepare action
|
1573
1717
|
data, status_code, headers = api_instance.pcloud_v2_volumesclone_post_with_http_info(cloud_instance_id, body)
|
1574
1718
|
p status_code # => 2xx
|
1575
1719
|
p headers # => { ... }
|
@@ -1604,7 +1748,9 @@ No authorization required
|
|
1604
1748
|
|
1605
1749
|
> <VolumesClone> pcloud_v2_volumesclone_start_post(cloud_instance_id, volumes_clone_id)
|
1606
1750
|
|
1607
|
-
Initiate the Start action for a volumes-clone request
|
1751
|
+
Initiate the Start action for a volumes-clone request
|
1752
|
+
|
1753
|
+
Start action starts the consistency group to initiate the flash copy.
|
1608
1754
|
|
1609
1755
|
### Examples
|
1610
1756
|
|
@@ -1617,7 +1763,7 @@ cloud_instance_id = 'cloud_instance_id_example' # String | Cloud Instance ID of
|
|
1617
1763
|
volumes_clone_id = 'volumes_clone_id_example' # String | Volumes Clone ID
|
1618
1764
|
|
1619
1765
|
begin
|
1620
|
-
# Initiate the Start action for a volumes-clone request
|
1766
|
+
# Initiate the Start action for a volumes-clone request
|
1621
1767
|
result = api_instance.pcloud_v2_volumesclone_start_post(cloud_instance_id, volumes_clone_id)
|
1622
1768
|
p result
|
1623
1769
|
rescue IbmCloudPower::ApiError => e
|
@@ -1633,7 +1779,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1633
1779
|
|
1634
1780
|
```ruby
|
1635
1781
|
begin
|
1636
|
-
# Initiate the Start action for a volumes-clone request
|
1782
|
+
# Initiate the Start action for a volumes-clone request
|
1637
1783
|
data, status_code, headers = api_instance.pcloud_v2_volumesclone_start_post_with_http_info(cloud_instance_id, volumes_clone_id)
|
1638
1784
|
p status_code # => 2xx
|
1639
1785
|
p headers # => { ... }
|
@@ -1661,7 +1807,7 @@ No authorization required
|
|
1661
1807
|
### HTTP request headers
|
1662
1808
|
|
1663
1809
|
- **Content-Type**: Not defined
|
1664
|
-
- **Accept**:
|
1810
|
+
- **Accept**: application/json
|
1665
1811
|
|
1666
1812
|
|
1667
1813
|
## pcloud_volumes_clone_post
|
@@ -1670,6 +1816,8 @@ No authorization required
|
|
1670
1816
|
|
1671
1817
|
Create a volume clone for specified volumes
|
1672
1818
|
|
1819
|
+
This API is deprecated, use v2 clone API to perform the volume clone. >*Note*: Support for this API will be available till 31st March 2023.
|
1820
|
+
|
1673
1821
|
### Examples
|
1674
1822
|
|
1675
1823
|
```ruby
|
data/docs/PVMInstance.md
CHANGED
@@ -7,6 +7,8 @@
|
|
7
7
|
| **addresses** | [**Array<PVMInstanceNetwork>**](PVMInstanceNetwork.md) | (deprecated - replaced by networks) The list of addresses and their network information | [optional] |
|
8
8
|
| **console_language** | [**ConsoleLanguage**](ConsoleLanguage.md) | | [optional] |
|
9
9
|
| **creation_date** | **Time** | Date/Time of PVM creation | [optional] |
|
10
|
+
| **crn** | **String** | | [optional] |
|
11
|
+
| **dedicated_host_id** | **String** | ID of the dedicated host where the PVM Instance is running, if applicable | [optional] |
|
10
12
|
| **deployment_type** | **String** | The custom deployment type | [optional] |
|
11
13
|
| **disk_size** | **Float** | Size of allocated disk (in GB) | |
|
12
14
|
| **fault** | [**PVMInstanceFault**](PVMInstanceFault.md) | | [optional] |
|
@@ -37,12 +39,16 @@
|
|
37
39
|
| **software_licenses** | [**SoftwareLicenses**](SoftwareLicenses.md) | | [optional] |
|
38
40
|
| **srcs** | **Array<Array<SRC>>** | The pvm instance SRC lists | [optional] |
|
39
41
|
| **status** | **String** | The status of the instance | |
|
42
|
+
| **storage_connection** | **String** | The storage connection type | [optional] |
|
40
43
|
| **storage_pool** | **String** | Storage Pool where server is deployed | [optional] |
|
41
44
|
| **storage_pool_affinity** | **Boolean** | Indicates if all volumes attached to the server must reside in the same storage pool; Defaults to true when initially deploying a PVMInstance | [optional][default to true] |
|
42
45
|
| **storage_type** | **String** | Storage type where server is deployed | |
|
43
46
|
| **sys_type** | **String** | System type used to host the instance | [optional] |
|
47
|
+
| **task_state** | **String** | Represents the task state of a virtual machine (VM). | [optional] |
|
44
48
|
| **updated_date** | **Time** | Date/Time of PVM last update | [optional] |
|
49
|
+
| **user_tags** | **Array** | | [optional] |
|
45
50
|
| **virtual_cores** | [**VirtualCores**](VirtualCores.md) | | [optional] |
|
51
|
+
| **virtual_serial_number** | [**GetServerVirtualSerialNumber**](GetServerVirtualSerialNumber.md) | | [optional] |
|
46
52
|
| **volume_ids** | **Array<String>** | List of volume IDs | |
|
47
53
|
|
48
54
|
## Example
|
@@ -54,6 +60,8 @@ instance = IbmCloudPower::PVMInstance.new(
|
|
54
60
|
addresses: null,
|
55
61
|
console_language: null,
|
56
62
|
creation_date: null,
|
63
|
+
crn: null,
|
64
|
+
dedicated_host_id: null,
|
57
65
|
deployment_type: null,
|
58
66
|
disk_size: null,
|
59
67
|
fault: null,
|
@@ -84,12 +92,16 @@ instance = IbmCloudPower::PVMInstance.new(
|
|
84
92
|
software_licenses: null,
|
85
93
|
srcs: null,
|
86
94
|
status: null,
|
95
|
+
storage_connection: null,
|
87
96
|
storage_pool: null,
|
88
97
|
storage_pool_affinity: null,
|
89
98
|
storage_type: null,
|
90
99
|
sys_type: null,
|
100
|
+
task_state: null,
|
91
101
|
updated_date: null,
|
102
|
+
user_tags: null,
|
92
103
|
virtual_cores: null,
|
104
|
+
virtual_serial_number: null,
|
93
105
|
volume_ids: null
|
94
106
|
)
|
95
107
|
```
|
data/docs/PVMInstanceAction.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **action** | **String** | Name of the action to take; can be start, stop, hard-reboot, soft-reboot, immediate-shutdown, reset-state | |
|
7
|
+
| **action** | **String** | Name of the action to take; can be start, stop, hard-reboot, soft-reboot, immediate-shutdown, reset-state, dhcp-ip-sync (on-prem only) | |
|
8
8
|
|
9
9
|
## Example
|
10
10
|
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **ip_address** | **String** | The requested ip address of this network interface | [optional] |
|
8
8
|
| **network_id** | **String** | ID of the network | |
|
9
|
+
| **network_security_group_ids** | **Array<String>** | Network security groups that the network interface is a member of. There is a limit of 1 network security group in the array. If not specified, default network security group is used. | [optional] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'ibm_cloud_power'
|
|
14
15
|
|
15
16
|
instance = IbmCloudPower::PVMInstanceAddNetwork.new(
|
16
17
|
ip_address: null,
|
17
|
-
network_id: null
|
18
|
+
network_id: null,
|
19
|
+
network_security_group_ids: null
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
data/docs/PVMInstanceCapture.md
CHANGED
@@ -11,6 +11,7 @@
|
|
11
11
|
| **cloud_storage_image_path** | **String** | Cloud Storage Image Path (bucket-name [/folder/../..]) | [optional] |
|
12
12
|
| **cloud_storage_region** | **String** | Cloud Storage Region | [optional] |
|
13
13
|
| **cloud_storage_secret_key** | **String** | Cloud Storage Secret key | [optional] |
|
14
|
+
| **user_tags** | **Array** | | [optional] |
|
14
15
|
|
15
16
|
## Example
|
16
17
|
|
@@ -24,7 +25,8 @@ instance = IbmCloudPower::PVMInstanceCapture.new(
|
|
24
25
|
cloud_storage_access_key: null,
|
25
26
|
cloud_storage_image_path: null,
|
26
27
|
cloud_storage_region: null,
|
27
|
-
cloud_storage_secret_key: null
|
28
|
+
cloud_storage_secret_key: null,
|
29
|
+
user_tags: null
|
28
30
|
)
|
29
31
|
```
|
30
32
|
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceConfiguration
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **console_language** | [**ConsoleLanguage**](ConsoleLanguage.md) | | [optional] |
|
8
|
+
| **license_repository_capacity** | **Integer** | The VTL license repository capacity TB value | [optional] |
|
9
|
+
| **sap_profile** | [**SAPProfileReference**](SAPProfileReference.md) | | [optional] |
|
10
|
+
| **software_licenses** | [**SoftwareLicenses**](SoftwareLicenses.md) | | [optional] |
|
11
|
+
| **system_reference_codes** | **Array<Array<SRC>>** | The pvm instance system reference code lists | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'ibm_cloud_power'
|
17
|
+
|
18
|
+
instance = IbmCloudPower::PVMInstanceConfiguration.new(
|
19
|
+
console_language: null,
|
20
|
+
license_repository_capacity: null,
|
21
|
+
sap_profile: null,
|
22
|
+
software_licenses: null,
|
23
|
+
system_reference_codes: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceCores
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **assigned** | **Float** | The active processor information | |
|
8
|
+
| **maximum** | **Float** | The maximum number of processors that can be allocated (for resize) | [optional] |
|
9
|
+
| **minimum** | **Float** | The minimum number of processors that can be allocated (for resize) | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'ibm_cloud_power'
|
15
|
+
|
16
|
+
instance = IbmCloudPower::PVMInstanceCores.new(
|
17
|
+
assigned: null,
|
18
|
+
maximum: null,
|
19
|
+
minimum: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
data/docs/PVMInstanceCreate.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **deployment_target** | [**DeploymentTarget**](DeploymentTarget.md) | | [optional] |
|
7
8
|
| **deployment_type** | **String** | The custom deployment type | [optional] |
|
8
9
|
| **image_id** | **String** | Image ID of the image to use for the server | |
|
9
10
|
| **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] |
|
@@ -24,11 +25,14 @@
|
|
24
25
|
| **software_licenses** | [**SoftwareLicenses**](SoftwareLicenses.md) | | [optional] |
|
25
26
|
| **storage_affinity** | [**StorageAffinity**](StorageAffinity.md) | | [optional] |
|
26
27
|
| **storage_connection** | **String** | The storage connection type | [optional] |
|
27
|
-
| **storage_pool** | **String** | Storage Pool for server deployment; if provided then storageAffinity
|
28
|
-
| **
|
28
|
+
| **storage_pool** | **String** | Storage Pool for server deployment; if provided then storageAffinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage pool the image was created in | [optional] |
|
29
|
+
| **storage_pool_affinity** | **Boolean** | Indicates if all volumes attached to the PVMInstance must reside in the same storage pool. If set to false, volumes from any storage pool can be attached to the PVMInstance. This flag only impacts PVMInstance snapshot and capture operations. For capture, only volumes that reside in the same storage pool as the PVMInstance's boot volume can be included. For snapshots, all volumes included in the snapshot must reside in the same storage pool. | [optional][default to true] |
|
30
|
+
| **storage_type** | **String** | Storage type for server deployment; if storageType is not provided the storage type will default to 'tier3'. | [optional] |
|
29
31
|
| **sys_type** | **String** | System type used to host the instance | [optional] |
|
30
|
-
| **user_data** | **String** | Cloud init user defined data | [optional] |
|
32
|
+
| **user_data** | **String** | Cloud init user defined data; For FLS, only cloud-config user-data is supported and data must not be compressed or exceed 63K | [optional] |
|
33
|
+
| **user_tags** | **Array** | | [optional] |
|
31
34
|
| **virtual_cores** | [**VirtualCores**](VirtualCores.md) | | [optional] |
|
35
|
+
| **virtual_serial_number** | [**CreateServerVirtualSerialNumber**](CreateServerVirtualSerialNumber.md) | | [optional] |
|
32
36
|
| **volume_ids** | **Array<String>** | List of volume IDs | [optional] |
|
33
37
|
|
34
38
|
## Example
|
@@ -37,6 +41,7 @@
|
|
37
41
|
require 'ibm_cloud_power'
|
38
42
|
|
39
43
|
instance = IbmCloudPower::PVMInstanceCreate.new(
|
44
|
+
deployment_target: null,
|
40
45
|
deployment_type: null,
|
41
46
|
image_id: null,
|
42
47
|
key_pair_name: null,
|
@@ -58,10 +63,13 @@ instance = IbmCloudPower::PVMInstanceCreate.new(
|
|
58
63
|
storage_affinity: null,
|
59
64
|
storage_connection: null,
|
60
65
|
storage_pool: null,
|
66
|
+
storage_pool_affinity: null,
|
61
67
|
storage_type: null,
|
62
68
|
sys_type: null,
|
63
69
|
user_data: null,
|
70
|
+
user_tags: null,
|
64
71
|
virtual_cores: null,
|
72
|
+
virtual_serial_number: null,
|
65
73
|
volume_ids: null
|
66
74
|
)
|
67
75
|
```
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceDelete
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **retain_vsn** | **Boolean** | Indicates if the Virtual Serial Number attached to a PVM Instance is retained or not | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ibm_cloud_power'
|
13
|
+
|
14
|
+
instance = IbmCloudPower::PVMInstanceDelete.new(
|
15
|
+
retain_vsn: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceMemory
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **assigned** | **Float** | The active memory information | |
|
8
|
+
| **maximum** | **Float** | The maximum amount of memory that can be allocated (in GB, for resize) | [optional] |
|
9
|
+
| **minimum** | **Float** | The minimum amount of memory that can be allocated (in GB, for resize) | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'ibm_cloud_power'
|
15
|
+
|
16
|
+
instance = IbmCloudPower::PVMInstanceMemory.new(
|
17
|
+
assigned: null,
|
18
|
+
maximum: null,
|
19
|
+
minimum: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
data/docs/PVMInstanceNetwork.md
CHANGED
@@ -10,7 +10,10 @@
|
|
10
10
|
| **ip_address** | **String** | The ip address of this network interface | [optional] |
|
11
11
|
| **mac_address** | **String** | The mac address of the network interface | [optional] |
|
12
12
|
| **network_id** | **String** | ID of the network | [optional] |
|
13
|
+
| **network_interface_id** | **String** | ID of the network interface | [optional] |
|
13
14
|
| **network_name** | **String** | The name of the network the address is on | [optional] |
|
15
|
+
| **network_security_group_ids** | **Array<String>** | IDs of the network necurity groups that the network interface is a member of | [optional] |
|
16
|
+
| **network_security_groups_href** | **Array<String>** | Links to the network security groups that the network interface is a member of | [optional] |
|
14
17
|
| **type** | **String** | The address type (fixed or dynamic) | [optional] |
|
15
18
|
| **version** | **Float** | The version of the information provided | [optional] |
|
16
19
|
|
@@ -26,7 +29,10 @@ instance = IbmCloudPower::PVMInstanceNetwork.new(
|
|
26
29
|
ip_address: null,
|
27
30
|
mac_address: null,
|
28
31
|
network_id: null,
|
32
|
+
network_interface_id: null,
|
29
33
|
network_name: null,
|
34
|
+
network_security_group_ids: null,
|
35
|
+
network_security_groups_href: null,
|
30
36
|
type: null,
|
31
37
|
version: null
|
32
38
|
)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# IbmCloudPower::PVMInstanceOperatingSystem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **type** | **String** | Type of the OS [aix, ibmi, rhel, sles, vtl, rhcos] | |
|
8
|
+
| **version** | **String** | OS system information (usually version and build) | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ibm_cloud_power'
|
14
|
+
|
15
|
+
instance = IbmCloudPower::PVMInstanceOperatingSystem.new(
|
16
|
+
type: null,
|
17
|
+
version: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|