ibm_cloud_power 2.1.1 → 3.1.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 +588 -34
- data/docs/{CloudConnectionSpeed.md → AccessConfig.md} +2 -2
- data/docs/AddHost.md +22 -0
- data/docs/AddServerVirtualSerialNumber.md +20 -0
- data/docs/AuxiliaryVolumesForOnboarding.md +2 -2
- data/docs/AuxiliaryVolumesForOnboardingAuxiliaryVolumesInner.md +20 -0
- data/docs/AvailableHost.md +22 -0
- data/docs/AvailableHostCapacity.md +20 -0
- data/docs/AvailableHostCapacityCores.md +18 -0
- data/docs/AvailableHostResourceCapacity.md +18 -0
- data/docs/CapabilitiesDetails.md +20 -0
- data/docs/CapabilitiesDetailsDisasterRecovery.md +20 -0
- data/docs/CapabilitiesDetailsSupportedSystems.md +20 -0
- data/docs/CloneTaskReference.md +2 -2
- data/docs/ClonedVolumeDetail.md +2 -2
- data/docs/ClonedVolumeDetailClone.md +22 -0
- data/docs/CloudConnection.md +2 -2
- data/docs/CloudConnectionClassic.md +20 -0
- data/docs/CloudConnectionCreate.md +2 -2
- data/docs/CloudConnectionCreateClassic.md +20 -0
- data/docs/CloudConnectionCreateResponse.md +5 -5
- data/docs/CloudConnectionEndpointVPC.md +1 -1
- data/docs/CloudConnectionUpdate.md +2 -2
- data/docs/CloudConnectionVpc.md +20 -0
- data/docs/CloudInstance.md +2 -2
- data/docs/CloudInstanceReference.md +1 -1
- data/docs/CloudInstanceUsageLimits.md +4 -4
- data/docs/CreateCosImageImportJob.md +9 -5
- data/docs/CreateDataVolume.md +5 -3
- data/docs/CreateImage.md +7 -5
- data/docs/CreateServerVirtualSerialNumber.md +22 -0
- data/docs/CreateWorkspaceSSHKey.md +24 -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/DisasterRecoveryAsynchronousReplication.md +20 -0
- data/docs/DisasterRecoveryLocation.md +1 -1
- data/docs/GetBulkVolume.md +18 -0
- data/docs/GetServerVirtualSerialNumber.md +22 -0
- data/docs/Host.md +34 -0
- data/docs/HostCapacity.md +20 -0
- data/docs/HostCapacityCores.md +24 -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/HostHostGroup.md +22 -0
- data/docs/HostPut.md +18 -0
- data/docs/HostResourceCapacity.md +24 -0
- data/docs/Image.md +7 -1
- data/docs/ImageImportDetails.md +22 -0
- data/docs/ImageReference.md +2 -0
- data/docs/ImageTaskref.md +20 -0
- data/docs/Job.md +2 -2
- data/docs/JobAction.md +24 -0
- data/docs/JobOperation.md +22 -0
- data/docs/JobResourceDetails.md +22 -0
- data/docs/JobResources.md +20 -0
- data/docs/JobStatus.md +22 -0
- data/docs/JobWorkflow.md +20 -0
- data/docs/MaximumStorageAllocation.md +1 -1
- data/docs/MetadataService.md +18 -0
- data/docs/MultiVolumesCreate.md +5 -3
- data/docs/Network.md +15 -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/NetworkCreate.md +13 -3
- data/docs/NetworkInterface.md +38 -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/NetworkPeer.md +50 -0
- data/docs/NetworkPeerCreate.md +36 -0
- data/docs/NetworkPeerUpdate.md +36 -0
- data/docs/NetworkPeers.md +18 -0
- data/docs/NetworkPeersApi.md +576 -0
- data/docs/NetworkPortPvmInstance.md +1 -1
- data/docs/NetworkReference.md +13 -3
- 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/NetworkUpdate.md +4 -0
- data/docs/NetworksApi.md +334 -0
- data/docs/PCloudCloudConnectionsApi.md +10 -10
- data/docs/PCloudImagesApi.md +16 -10
- data/docs/PCloudNetworksApi.md +12 -2
- data/docs/PCloudPVMInstancesApi.md +81 -79
- 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 +5 -5
- data/docs/PCloudStorageTiersApi.md +70 -0
- data/docs/PCloudTasksApi.md +1 -1
- data/docs/PCloudTenantsSSHKeysApi.md +1 -1
- data/docs/PCloudVPMemVolumesApi.md +346 -0
- data/docs/PCloudVPNConnectionsApi.md +2 -2
- data/docs/PCloudVPNPoliciesApi.md +4 -4
- data/docs/PCloudVirtualSerialNumberApi.md +591 -0
- data/docs/PCloudVolumeGroupsApi.md +9 -7
- data/docs/PCloudVolumeOnboardingApi.md +1 -1
- data/docs/PCloudVolumesApi.md +169 -21
- data/docs/PVMInstance.md +34 -10
- 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 +27 -9
- 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 +32 -10
- data/docs/PVMInstanceReferenceV2.md +52 -0
- data/docs/PVMInstanceUpdate.md +12 -4
- data/docs/PVMInstanceUpdateResponse.md +17 -5
- 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/PeerInterface.md +26 -0
- data/docs/PlacementGroup.md +5 -1
- data/docs/PlacementGroupCreate.md +3 -1
- 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/Route.md +40 -0
- data/docs/RouteCreate.md +34 -0
- data/docs/RouteFilter.md +36 -0
- data/docs/RouteFilterCreate.md +28 -0
- data/docs/RouteReport.md +18 -0
- data/docs/RouteReportRoute.md +20 -0
- data/docs/RouteUpdate.md +32 -0
- data/docs/Routes.md +18 -0
- data/docs/RoutesApi.md +383 -0
- data/docs/SAPCreate.md +22 -6
- data/docs/SAPProfile.md +20 -2
- data/docs/SAPProfileVpmemVolume.md +20 -0
- data/docs/SPPPlacementGroup.md +5 -1
- data/docs/SPPPlacementGroupCreate.md +3 -1
- data/docs/SSHKeysApi.md +321 -0
- data/docs/Secondary.md +20 -0
- data/docs/SharedProcessorPool.md +9 -1
- data/docs/SharedProcessorPoolCreate.md +5 -1
- data/docs/SharedProcessorPoolDetail.md +1 -1
- data/docs/SharedProcessorPoolDetailSharedProcessorPool.md +44 -0
- data/docs/SharedProcessorPoolServer.md +2 -2
- data/docs/Snapshot.md +4 -2
- data/docs/SnapshotCreate.md +2 -0
- data/docs/SnapshotCreateResponse.md +5 -1
- data/docs/SnapshotList.md +18 -0
- data/docs/SnapshotUpdate.md +1 -1
- data/docs/SnapshotV1.md +30 -0
- data/docs/SnapshotsApi.md +261 -0
- data/docs/SoftwareLicenses.md +1 -1
- data/docs/SoftwareTier.md +15 -0
- data/docs/StorageController.md +26 -0
- data/docs/StoragePoolCapacity.md +8 -2
- data/docs/StoragePoolCombined.md +22 -0
- data/docs/StoragePoolMap.md +20 -0
- data/docs/StoragePoolsCapacity.md +1 -1
- data/docs/StoragePoolsCapacityMaximumStorageAllocation.md +22 -0
- data/docs/StorageTier.md +22 -0
- data/docs/StorageTypeCapacity.md +1 -1
- data/docs/StorageTypesCapacity.md +1 -1
- data/docs/SupportedSoftwareTier.md +20 -0
- data/docs/SupportedSystems.md +20 -0
- data/docs/System.md +16 -2
- data/docs/SystemPool.md +8 -6
- data/docs/SystemPoolCapacity.md +36 -0
- data/docs/SystemPoolSharedCoreRatio.md +22 -0
- data/docs/SystemResources.md +32 -0
- data/docs/TargetTrustedProfile.md +22 -0
- data/docs/TrustedProfile.md +20 -0
- data/docs/UpdateMetadataService.md +20 -0
- data/docs/UpdateServerVirtualSerialNumber.md +20 -0
- data/docs/UpdateTrustedProfile.md +20 -0
- data/docs/UpdateVirtualSerialNumber.md +18 -0
- data/docs/UpdateWorkspaceSSHKey.md +24 -0
- data/docs/VPMemVolumeAttach.md +20 -0
- data/docs/VPMemVolumeCreate.md +20 -0
- data/docs/VPMemVolumeReference.md +38 -0
- data/docs/VPMemVolumeUpdate.md +18 -0
- data/docs/VPMemVolumes.md +18 -0
- data/docs/VPNConnectionCreateResponse.md +4 -4
- data/docs/VirtualSerialNumber.md +24 -0
- data/docs/Volume.md +9 -3
- data/docs/VolumeAction.md +4 -2
- data/docs/VolumeGroup.md +8 -2
- data/docs/VolumeGroupDetails.md +7 -1
- data/docs/VolumeInfo.md +2 -0
- data/docs/VolumeOnboarding.md +7 -7
- data/docs/VolumeOnboardingAllOfResults.md +20 -0
- data/docs/VolumeOnboardingAllOfResultsVolumeOnboardingFailures.md +20 -0
- data/docs/VolumeOnboardingCreate.md +4 -2
- data/docs/VolumeOnboardingCreateVolumesInner.md +20 -0
- data/docs/VolumeReference.md +10 -2
- data/docs/VolumeRemoteCopyRelationship.md +5 -5
- 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/WorkspaceSSHKey.md +30 -0
- data/docs/WorkspaceSSHKeys.md +18 -0
- data/docs/Workspaces.md +18 -0
- data/docs/WorkspacesApi.md +135 -0
- data/ibm_cloud_power.gemspec +7 -6
- 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_peers_api.rb +598 -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 +24 -24
- data/lib/ibm_cloud_power/api/p_cloud_disaster_recovery_api.rb +7 -7
- data/lib/ibm_cloud_power/api/p_cloud_events_api.rb +12 -17
- data/lib/ibm_cloud_power/api/p_cloud_images_api.rb +39 -33
- data/lib/ibm_cloud_power/api/p_cloud_instances_api.rb +6 -6
- data/lib/ibm_cloud_power/api/p_cloud_jobs_api.rb +10 -10
- data/lib/ibm_cloud_power/api/p_cloud_networks_api.rb +34 -24
- data/lib/ibm_cloud_power/api/p_cloud_placement_groups_api.rb +16 -16
- data/lib/ibm_cloud_power/api/p_cloud_pod_capacity_api.rb +85 -0
- data/lib/ibm_cloud_power/api/p_cloud_pvm_instances_api.rb +121 -127
- data/lib/ibm_cloud_power/api/p_cloud_sap_api.rb +24 -10
- data/lib/ibm_cloud_power/api/p_cloud_shared_processor_pools_api.rb +14 -14
- data/lib/ibm_cloud_power/api/p_cloud_snapshots_api.rb +15 -15
- data/lib/ibm_cloud_power/api/p_cloud_spp_placement_groups_api.rb +16 -16
- data/lib/ibm_cloud_power/api/p_cloud_storage_capacity_api.rb +12 -12
- 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 +8 -8
- data/lib/ibm_cloud_power/api/p_cloud_tenants_api.rb +8 -8
- data/lib/ibm_cloud_power/api/p_cloud_tenants_ssh_keys_api.rb +14 -14
- data/lib/ibm_cloud_power/api/p_cloud_virtual_serial_number_api.rb +626 -0
- data/lib/ibm_cloud_power/api/p_cloud_volume_groups_api.rb +30 -28
- data/lib/ibm_cloud_power/api/p_cloud_volume_onboarding_api.rb +10 -10
- data/lib/ibm_cloud_power/api/p_cloud_volumes_api.rb +230 -64
- data/lib/ibm_cloud_power/api/p_cloud_vp_mem_volumes_api.rb +401 -0
- data/lib/ibm_cloud_power/api/p_cloud_vpn_connections_api.rb +28 -28
- data/lib/ibm_cloud_power/api/p_cloud_vpn_policies_api.rb +28 -28
- data/lib/ibm_cloud_power/api/routes_api.rb +388 -0
- data/lib/ibm_cloud_power/api/snapshots_api.rb +262 -0
- data/lib/ibm_cloud_power/api/ssh_keys_api.rb +337 -0
- data/lib/ibm_cloud_power/api/workspaces_api.rb +141 -0
- data/lib/ibm_cloud_power/api_client.rb +32 -27
- data/lib/ibm_cloud_power/api_error.rb +5 -4
- data/lib/ibm_cloud_power/api_model_base.rb +88 -0
- data/lib/ibm_cloud_power/configuration.rb +40 -11
- data/lib/ibm_cloud_power/models/access_config.rb +43 -0
- data/lib/ibm_cloud_power/models/add_host.rb +253 -0
- data/lib/ibm_cloud_power/models/add_server_virtual_serial_number.rb +175 -0
- data/lib/ibm_cloud_power/models/auxiliary_volume_for_onboarding.rb +67 -97
- data/lib/ibm_cloud_power/models/auxiliary_volumes_for_onboarding.rb +51 -99
- data/lib/ibm_cloud_power/models/auxiliary_volumes_for_onboarding_auxiliary_volumes_inner.rb +212 -0
- data/lib/ibm_cloud_power/models/available_host.rb +168 -0
- data/lib/ibm_cloud_power/models/available_host_capacity.rb +163 -0
- data/lib/ibm_cloud_power/models/available_host_capacity_cores.rb +171 -0
- data/lib/ibm_cloud_power/models/available_host_resource_capacity.rb +164 -0
- data/lib/ibm_cloud_power/models/capabilities_details.rb +190 -0
- data/lib/ibm_cloud_power/models/capabilities_details_disaster_recovery.rb +180 -0
- data/lib/ibm_cloud_power/models/capabilities_details_supported_systems.rb +203 -0
- data/lib/ibm_cloud_power/models/clone_task_reference.rb +51 -99
- data/lib/ibm_cloud_power/models/clone_task_status.rb +39 -97
- data/lib/ibm_cloud_power/models/cloned_volume.rb +25 -97
- data/lib/ibm_cloud_power/models/cloned_volume_detail.rb +51 -99
- data/lib/ibm_cloud_power/models/cloned_volume_detail_clone.rb +175 -0
- data/lib/ibm_cloud_power/models/cloud_connection.rb +147 -99
- data/lib/ibm_cloud_power/models/cloud_connection_classic.rb +164 -0
- data/lib/ibm_cloud_power/models/cloud_connection_create.rb +41 -99
- data/lib/ibm_cloud_power/models/cloud_connection_create_classic.rb +164 -0
- data/lib/ibm_cloud_power/models/cloud_connection_create_response.rb +159 -111
- data/lib/ibm_cloud_power/models/cloud_connection_endpoint_classic.rb +25 -97
- data/lib/ibm_cloud_power/models/cloud_connection_endpoint_classic_update.rb +25 -97
- data/lib/ibm_cloud_power/models/cloud_connection_endpoint_vpc.rb +26 -98
- data/lib/ibm_cloud_power/models/cloud_connection_gre_tunnel.rb +49 -97
- data/lib/ibm_cloud_power/models/cloud_connection_gre_tunnel_create.rb +49 -97
- data/lib/ibm_cloud_power/models/cloud_connection_update.rb +27 -99
- data/lib/ibm_cloud_power/models/cloud_connection_virtual_private_clouds.rb +37 -97
- data/lib/ibm_cloud_power/models/cloud_connection_virtual_private_clouds_virtual_private_clouds_inner.rb +73 -97
- data/lib/ibm_cloud_power/models/cloud_connection_vpc.rb +50 -118
- data/lib/ibm_cloud_power/models/cloud_connections.rb +37 -97
- data/lib/ibm_cloud_power/models/cloud_instance.rb +147 -97
- data/lib/ibm_cloud_power/models/cloud_instance_reference.rb +110 -97
- data/lib/ibm_cloud_power/models/cloud_instance_usage_limits.rb +89 -101
- data/lib/ibm_cloud_power/models/console_language.rb +37 -97
- data/lib/ibm_cloud_power/models/console_languages.rb +37 -97
- data/lib/ibm_cloud_power/models/create_cos_image_import_job.rb +107 -106
- data/lib/ibm_cloud_power/models/create_data_volume.rb +84 -101
- data/lib/ibm_cloud_power/models/create_image.rb +78 -104
- data/lib/ibm_cloud_power/models/create_server_virtual_serial_number.rb +206 -0
- data/lib/ibm_cloud_power/models/create_workspace_ssh_key.rb +268 -0
- data/lib/ibm_cloud_power/models/datacenter.rb +294 -0
- data/lib/ibm_cloud_power/models/datacenter_location.rb +246 -0
- data/lib/ibm_cloud_power/models/datacenters.rb +167 -0
- data/lib/ibm_cloud_power/models/dead_peer_detection.rb +27 -97
- data/lib/ibm_cloud_power/models/delete_server_virtual_serial_number.rb +148 -0
- data/lib/ibm_cloud_power/models/deployment_target.rb +216 -0
- data/lib/ibm_cloud_power/models/disaster_recovery.rb +173 -0
- data/lib/ibm_cloud_power/models/disaster_recovery_asynchronous_replication.rb +201 -0
- data/lib/ibm_cloud_power/models/disaster_recovery_location.rb +26 -98
- data/lib/ibm_cloud_power/models/disaster_recovery_locations.rb +37 -97
- data/lib/ibm_cloud_power/models/error.rb +25 -97
- data/lib/ibm_cloud_power/models/event.rb +99 -97
- data/lib/ibm_cloud_power/models/event_user.rb +37 -97
- data/lib/ibm_cloud_power/models/events.rb +37 -97
- data/lib/ibm_cloud_power/models/export_image.rb +49 -97
- data/lib/ibm_cloud_power/models/flash_copy_mapping.rb +37 -97
- data/lib/ibm_cloud_power/models/get_bulk_volume.rb +167 -0
- data/lib/ibm_cloud_power/models/get_server_virtual_serial_number.rb +223 -0
- data/lib/ibm_cloud_power/models/host.rb +248 -0
- data/lib/ibm_cloud_power/models/host_capacity.rb +163 -0
- data/lib/ibm_cloud_power/models/host_capacity_cores.rb +249 -0
- data/lib/ibm_cloud_power/models/host_create.rb +195 -0
- data/lib/ibm_cloud_power/models/host_group.rb +203 -0
- data/lib/ibm_cloud_power/models/host_group_create.rb +207 -0
- data/lib/ibm_cloud_power/models/host_group_share_op.rb +161 -0
- data/lib/ibm_cloud_power/models/host_group_summary.rb +168 -0
- data/lib/ibm_cloud_power/models/host_host_group.rb +175 -0
- data/lib/ibm_cloud_power/models/host_put.rb +195 -0
- data/lib/ibm_cloud_power/models/host_resource_capacity.rb +242 -0
- data/lib/ibm_cloud_power/models/ike_policies.rb +37 -97
- data/lib/ibm_cloud_power/models/ike_policy.rb +69 -97
- data/lib/ibm_cloud_power/models/ike_policy_authentication.rb +4 -4
- data/lib/ibm_cloud_power/models/ike_policy_create.rb +49 -99
- data/lib/ibm_cloud_power/models/ike_policy_ref.rb +49 -97
- data/lib/ibm_cloud_power/models/ike_policy_update.rb +39 -103
- data/lib/ibm_cloud_power/models/image.rb +179 -99
- data/lib/ibm_cloud_power/models/image_import_details.rb +247 -0
- data/lib/ibm_cloud_power/models/image_reference.rb +156 -98
- data/lib/ibm_cloud_power/models/image_specifications.rb +32 -97
- data/lib/ibm_cloud_power/models/image_taskref.rb +199 -0
- data/lib/ibm_cloud_power/models/image_volume.rb +73 -97
- data/lib/ibm_cloud_power/models/images.rb +37 -97
- data/lib/ibm_cloud_power/models/ip_address_range.rb +49 -97
- data/lib/ibm_cloud_power/models/ip_sec_policies.rb +37 -97
- data/lib/ibm_cloud_power/models/ip_sec_policy.rb +79 -97
- data/lib/ibm_cloud_power/models/ip_sec_policy_create.rb +47 -99
- data/lib/ibm_cloud_power/models/ip_sec_policy_ref.rb +49 -97
- data/lib/ibm_cloud_power/models/ip_sec_policy_update.rb +39 -103
- data/lib/ibm_cloud_power/models/ipsec_policy_authentication.rb +4 -4
- data/lib/ibm_cloud_power/models/job.rb +63 -99
- data/lib/ibm_cloud_power/models/job_action.rb +212 -0
- data/lib/ibm_cloud_power/models/job_operation.rb +226 -0
- data/lib/ibm_cloud_power/models/job_reference.rb +49 -97
- data/lib/ibm_cloud_power/models/job_resource_details.rb +202 -0
- data/lib/ibm_cloud_power/models/job_resources.rb +160 -0
- data/lib/ibm_cloud_power/models/job_status.rb +209 -0
- data/lib/ibm_cloud_power/models/job_workflow.rb +177 -0
- data/lib/ibm_cloud_power/models/jobs.rb +37 -97
- data/lib/ibm_cloud_power/models/maximum_storage_allocation.rb +62 -98
- data/lib/ibm_cloud_power/models/metadata_service.rb +166 -0
- data/lib/ibm_cloud_power/models/min_max_default.rb +61 -97
- data/lib/ibm_cloud_power/models/multi_volumes_create.rb +84 -101
- data/lib/ibm_cloud_power/models/network.rb +245 -106
- data/lib/ibm_cloud_power/models/network_address_group.rb +262 -0
- data/lib/ibm_cloud_power/models/network_address_group_add_member.rb +165 -0
- data/lib/ibm_cloud_power/models/network_address_group_create.rb +196 -0
- data/lib/ibm_cloud_power/models/network_address_group_member.rb +192 -0
- data/lib/ibm_cloud_power/models/network_address_group_update.rb +148 -0
- data/lib/ibm_cloud_power/models/network_address_groups.rb +150 -0
- data/lib/ibm_cloud_power/models/network_address_translation.rb +149 -0
- data/lib/ibm_cloud_power/models/network_cloud_connections_inner.rb +25 -97
- data/lib/ibm_cloud_power/models/network_create.rb +187 -103
- data/lib/ibm_cloud_power/models/network_id.rb +37 -97
- data/lib/ibm_cloud_power/models/network_ids.rb +25 -97
- data/lib/ibm_cloud_power/models/network_interface.rb +372 -0
- data/lib/ibm_cloud_power/models/network_interface_create.rb +189 -0
- data/lib/ibm_cloud_power/models/network_interface_instance.rb +159 -0
- data/lib/ibm_cloud_power/models/network_interface_update.rb +158 -0
- data/lib/ibm_cloud_power/models/network_interfaces.rb +167 -0
- data/lib/ibm_cloud_power/models/network_ip_address_metrics.rb +73 -97
- data/lib/ibm_cloud_power/models/network_peer.rb +631 -0
- data/lib/ibm_cloud_power/models/network_peer_create.rb +422 -0
- data/lib/ibm_cloud_power/models/network_peer_update.rb +310 -0
- data/lib/ibm_cloud_power/models/network_peers.rb +167 -0
- data/lib/ibm_cloud_power/models/network_port.rb +85 -97
- data/lib/ibm_cloud_power/models/network_port_create.rb +25 -97
- data/lib/ibm_cloud_power/models/network_port_pvm_instance.rb +26 -98
- data/lib/ibm_cloud_power/models/network_port_update.rb +25 -97
- data/lib/ibm_cloud_power/models/network_ports.rb +37 -97
- data/lib/ibm_cloud_power/models/network_reference.rb +178 -106
- data/lib/ibm_cloud_power/models/network_security_group.rb +284 -0
- data/lib/ibm_cloud_power/models/network_security_group_add_member.rb +216 -0
- data/lib/ibm_cloud_power/models/network_security_group_add_rule.rb +281 -0
- data/lib/ibm_cloud_power/models/network_security_group_clone.rb +165 -0
- data/lib/ibm_cloud_power/models/network_security_group_create.rb +196 -0
- data/lib/ibm_cloud_power/models/network_security_group_member.rb +263 -0
- data/lib/ibm_cloud_power/models/network_security_group_move_member.rb +192 -0
- data/lib/ibm_cloud_power/models/network_security_group_rule.rb +286 -0
- data/lib/ibm_cloud_power/models/network_security_group_rule_port.rb +196 -0
- data/lib/ibm_cloud_power/models/network_security_group_rule_protocol.rb +216 -0
- data/lib/ibm_cloud_power/models/network_security_group_rule_protocol_tcp_flag.rb +182 -0
- data/lib/ibm_cloud_power/models/network_security_group_rule_remote.rb +192 -0
- data/lib/ibm_cloud_power/models/network_security_group_update.rb +148 -0
- data/lib/ibm_cloud_power/models/network_security_groups.rb +150 -0
- data/lib/ibm_cloud_power/models/network_security_groups_action.rb +189 -0
- data/lib/ibm_cloud_power/models/network_update.rb +92 -98
- data/lib/ibm_cloud_power/models/networks.rb +37 -97
- data/lib/ibm_cloud_power/models/operation.rb +61 -97
- data/lib/ibm_cloud_power/models/operations.rb +27 -99
- data/lib/ibm_cloud_power/models/peer_interface.rb +297 -0
- data/lib/ibm_cloud_power/models/peer_subnet_update.rb +37 -97
- data/lib/ibm_cloud_power/models/peer_subnets.rb +25 -97
- data/lib/ibm_cloud_power/models/peering_network.rb +49 -97
- data/lib/ibm_cloud_power/models/pin_policy.rb +4 -4
- data/lib/ibm_cloud_power/models/placement_group.rb +108 -101
- data/lib/ibm_cloud_power/models/placement_group_create.rb +74 -101
- data/lib/ibm_cloud_power/models/placement_group_server.rb +37 -97
- data/lib/ibm_cloud_power/models/placement_groups.rb +37 -97
- data/lib/ibm_cloud_power/models/pod_capacity.rb +172 -0
- data/lib/ibm_cloud_power/models/pod_data.rb +409 -0
- data/lib/ibm_cloud_power/models/pvm_instance.rb +313 -106
- data/lib/ibm_cloud_power/models/pvm_instance_action.rb +30 -100
- data/lib/ibm_cloud_power/models/pvm_instance_add_network.rb +53 -101
- data/lib/ibm_cloud_power/models/pvm_instance_capture.rb +72 -101
- data/lib/ibm_cloud_power/models/pvm_instance_configuration.rb +190 -0
- data/lib/ibm_cloud_power/models/pvm_instance_console.rb +37 -97
- data/lib/ibm_cloud_power/models/pvm_instance_cores.rb +185 -0
- data/lib/ibm_cloud_power/models/pvm_instance_create.rb +223 -108
- data/lib/ibm_cloud_power/models/pvm_instance_delete.rb +148 -0
- data/lib/ibm_cloud_power/models/pvm_instance_deployment.rb +219 -0
- data/lib/ibm_cloud_power/models/pvm_instance_fault.rb +25 -97
- data/lib/ibm_cloud_power/models/pvm_instance_health.rb +25 -97
- data/lib/ibm_cloud_power/models/pvm_instance_host.rb +158 -0
- data/lib/ibm_cloud_power/models/pvm_instance_memory.rb +185 -0
- data/lib/ibm_cloud_power/models/pvm_instance_multi_create.rb +25 -97
- data/lib/ibm_cloud_power/models/pvm_instance_network.rb +60 -98
- data/lib/ibm_cloud_power/models/pvm_instance_networks.rb +37 -97
- data/lib/ibm_cloud_power/models/pvm_instance_operating_system.rb +175 -0
- data/lib/ibm_cloud_power/models/pvm_instance_operation.rb +39 -97
- data/lib/ibm_cloud_power/models/pvm_instance_placement_group.rb +165 -0
- data/lib/ibm_cloud_power/models/pvm_instance_reference.rb +258 -106
- data/lib/ibm_cloud_power/models/pvm_instance_reference_v2.rb +474 -0
- data/lib/ibm_cloud_power/models/pvm_instance_remove_network.rb +25 -97
- data/lib/ibm_cloud_power/models/pvm_instance_update.rb +70 -100
- data/lib/ibm_cloud_power/models/pvm_instance_update_response.rb +95 -105
- data/lib/ibm_cloud_power/models/pvm_instance_v2_health.rb +166 -0
- data/lib/ibm_cloud_power/models/pvm_instance_v2_network_port.rb +235 -0
- data/lib/ibm_cloud_power/models/pvm_instance_virtual_cores.rb +194 -0
- data/lib/ibm_cloud_power/models/pvm_instance_volume_update.rb +38 -98
- data/lib/ibm_cloud_power/models/pvm_instances.rb +37 -97
- data/lib/ibm_cloud_power/models/pvm_instances_v2.rb +167 -0
- data/lib/ibm_cloud_power/models/remote_copy_relationship.rb +49 -97
- data/lib/ibm_cloud_power/models/remove_virtual_serial_number.rb +165 -0
- data/lib/ibm_cloud_power/models/replication_service.rb +194 -0
- data/lib/ibm_cloud_power/models/replication_target_location.rb +192 -0
- data/lib/ibm_cloud_power/models/route.rb +518 -0
- data/lib/ibm_cloud_power/models/route_create.rb +400 -0
- data/lib/ibm_cloud_power/models/route_filter.rb +452 -0
- data/lib/ibm_cloud_power/models/route_filter_create.rb +361 -0
- data/lib/ibm_cloud_power/models/route_report.rb +167 -0
- data/lib/ibm_cloud_power/models/route_report_route.rb +216 -0
- data/lib/ibm_cloud_power/models/route_update.rb +318 -0
- data/lib/ibm_cloud_power/models/routes.rb +167 -0
- data/lib/ibm_cloud_power/models/sap_create.rb +222 -105
- data/lib/ibm_cloud_power/models/sap_profile.rb +195 -102
- data/lib/ibm_cloud_power/models/sap_profile_reference.rb +49 -97
- data/lib/ibm_cloud_power/models/sap_profile_vpmem_volume.rb +159 -0
- data/lib/ibm_cloud_power/models/sap_profiles.rb +37 -97
- data/lib/ibm_cloud_power/models/secondary.rb +176 -0
- data/lib/ibm_cloud_power/models/shared_processor_pool.rb +150 -101
- data/lib/ibm_cloud_power/models/shared_processor_pool_create.rb +95 -104
- data/lib/ibm_cloud_power/models/shared_processor_pool_detail.rb +50 -98
- data/lib/ibm_cloud_power/models/shared_processor_pool_detail_shared_processor_pool.rb +393 -0
- data/lib/ibm_cloud_power/models/shared_processor_pool_placement_group.rb +61 -97
- data/lib/ibm_cloud_power/models/shared_processor_pool_server.rb +27 -99
- data/lib/ibm_cloud_power/models/shared_processor_pool_update.rb +26 -97
- data/lib/ibm_cloud_power/models/shared_processor_pools.rb +25 -97
- data/lib/ibm_cloud_power/models/site.rb +25 -97
- data/lib/ibm_cloud_power/models/snapshot.rb +86 -100
- data/lib/ibm_cloud_power/models/snapshot_create.rb +108 -98
- data/lib/ibm_cloud_power/models/snapshot_create_response.rb +82 -101
- data/lib/ibm_cloud_power/models/snapshot_list.rb +167 -0
- data/lib/ibm_cloud_power/models/snapshot_restore.rb +25 -97
- data/lib/ibm_cloud_power/models/snapshot_update.rb +75 -98
- data/lib/ibm_cloud_power/models/snapshot_v1.rb +293 -0
- data/lib/ibm_cloud_power/models/snapshots.rb +37 -97
- data/lib/ibm_cloud_power/models/software_licenses.rb +26 -98
- data/lib/ibm_cloud_power/models/software_tier.rb +42 -0
- data/lib/ibm_cloud_power/models/spp_placement_group.rb +106 -101
- data/lib/ibm_cloud_power/models/spp_placement_group_create.rb +103 -101
- data/lib/ibm_cloud_power/models/spp_placement_groups.rb +25 -97
- data/lib/ibm_cloud_power/models/src.rb +25 -97
- data/lib/ibm_cloud_power/models/ssh_key.rb +49 -97
- data/lib/ibm_cloud_power/models/ssh_keys.rb +37 -97
- data/lib/ibm_cloud_power/models/status.rb +49 -97
- data/lib/ibm_cloud_power/models/status_description.rb +25 -97
- data/lib/ibm_cloud_power/models/status_description_error.rb +25 -97
- data/lib/ibm_cloud_power/models/stock_image.rb +25 -97
- data/lib/ibm_cloud_power/models/storage_affinity.rb +25 -97
- data/lib/ibm_cloud_power/models/storage_controller.rb +276 -0
- data/lib/ibm_cloud_power/models/storage_pool_capacity.rb +70 -100
- data/lib/ibm_cloud_power/models/storage_pool_combined.rb +220 -0
- data/lib/ibm_cloud_power/models/storage_pool_map.rb +156 -0
- data/lib/ibm_cloud_power/models/storage_pools_capacity.rb +26 -98
- data/lib/ibm_cloud_power/models/storage_pools_capacity_maximum_storage_allocation.rb +226 -0
- data/lib/ibm_cloud_power/models/storage_tier.rb +205 -0
- data/lib/ibm_cloud_power/models/storage_type_capacity.rb +26 -98
- data/lib/ibm_cloud_power/models/storage_types_capacity.rb +26 -98
- data/lib/ibm_cloud_power/models/supported_software_tier.rb +180 -0
- data/lib/ibm_cloud_power/models/supported_systems.rb +196 -0
- data/lib/ibm_cloud_power/models/system.rb +124 -102
- data/lib/ibm_cloud_power/models/system_pool.rb +42 -104
- data/lib/ibm_cloud_power/models/system_pool_capacity.rb +279 -0
- data/lib/ibm_cloud_power/models/system_pool_shared_core_ratio.rb +226 -0
- data/lib/ibm_cloud_power/models/system_resources.rb +338 -0
- data/lib/ibm_cloud_power/models/target_trusted_profile.rb +229 -0
- data/lib/ibm_cloud_power/models/task.rb +133 -97
- data/lib/ibm_cloud_power/models/task_reference.rb +49 -97
- data/lib/ibm_cloud_power/models/tenant.rb +73 -97
- data/lib/ibm_cloud_power/models/tenant_update.rb +25 -97
- data/lib/ibm_cloud_power/models/trusted_profile.rb +177 -0
- data/lib/ibm_cloud_power/models/update_metadata_service.rb +176 -0
- data/lib/ibm_cloud_power/models/update_server_virtual_serial_number.rb +179 -0
- data/lib/ibm_cloud_power/models/update_trusted_profile.rb +158 -0
- data/lib/ibm_cloud_power/models/update_virtual_serial_number.rb +165 -0
- data/lib/ibm_cloud_power/models/update_volume.rb +25 -97
- data/lib/ibm_cloud_power/models/update_workspace_ssh_key.rb +244 -0
- data/lib/ibm_cloud_power/models/virtual_cores.rb +27 -97
- data/lib/ibm_cloud_power/models/virtual_serial_number.rb +250 -0
- data/lib/ibm_cloud_power/models/volume.rb +145 -106
- data/lib/ibm_cloud_power/models/volume_action.rb +39 -106
- data/lib/ibm_cloud_power/models/volume_group.rb +86 -101
- data/lib/ibm_cloud_power/models/volume_group_action.rb +25 -97
- data/lib/ibm_cloud_power/models/volume_group_action_reset.rb +25 -97
- data/lib/ibm_cloud_power/models/volume_group_action_start.rb +25 -97
- data/lib/ibm_cloud_power/models/volume_group_action_stop.rb +37 -97
- data/lib/ibm_cloud_power/models/volume_group_create.rb +67 -97
- data/lib/ibm_cloud_power/models/volume_group_create_response.rb +61 -97
- data/lib/ibm_cloud_power/models/volume_group_details.rb +83 -98
- data/lib/ibm_cloud_power/models/volume_group_remote_copy_relationships.rb +25 -97
- data/lib/ibm_cloud_power/models/volume_group_storage_details.rb +37 -97
- data/lib/ibm_cloud_power/models/volume_group_update.rb +25 -97
- data/lib/ibm_cloud_power/models/volume_groups.rb +37 -97
- data/lib/ibm_cloud_power/models/volume_groups_details.rb +37 -97
- data/lib/ibm_cloud_power/models/volume_info.rb +36 -98
- data/lib/ibm_cloud_power/models/volume_onboarding.rb +70 -133
- data/lib/ibm_cloud_power/models/volume_onboarding_all_of_results.rb +161 -0
- data/lib/ibm_cloud_power/models/volume_onboarding_all_of_results_volume_onboarding_failures.rb +167 -0
- data/lib/ibm_cloud_power/models/volume_onboarding_common.rb +37 -97
- data/lib/ibm_cloud_power/models/volume_onboarding_create.rb +73 -102
- data/lib/ibm_cloud_power/models/volume_onboarding_create_response.rb +25 -97
- data/lib/ibm_cloud_power/models/volume_onboarding_create_volumes_inner.rb +200 -0
- data/lib/ibm_cloud_power/models/volume_onboarding_failure.rb +25 -97
- data/lib/ibm_cloud_power/models/volume_onboardings.rb +37 -97
- data/lib/ibm_cloud_power/models/volume_reference.rb +221 -100
- data/lib/ibm_cloud_power/models/volume_remote_copy_relationship.rb +73 -121
- data/lib/ibm_cloud_power/models/volume_snapshot_list.rb +150 -0
- data/lib/ibm_cloud_power/models/volumes.rb +37 -97
- data/lib/ibm_cloud_power/models/volumes_attach.rb +37 -97
- data/lib/ibm_cloud_power/models/volumes_attachment_response.rb +37 -97
- data/lib/ibm_cloud_power/models/volumes_clone.rb +37 -97
- data/lib/ibm_cloud_power/models/volumes_clone_async_request.rb +102 -99
- data/lib/ibm_cloud_power/models/volumes_clone_cancel.rb +25 -97
- data/lib/ibm_cloud_power/models/volumes_clone_create.rb +49 -97
- data/lib/ibm_cloud_power/models/volumes_clone_detail.rb +37 -97
- data/lib/ibm_cloud_power/models/volumes_clone_execute.rb +93 -102
- data/lib/ibm_cloud_power/models/volumes_clone_request.rb +50 -98
- data/lib/ibm_cloud_power/models/volumes_clone_response.rb +25 -97
- data/lib/ibm_cloud_power/models/volumes_clones.rb +25 -97
- data/lib/ibm_cloud_power/models/volumes_delete.rb +167 -0
- data/lib/ibm_cloud_power/models/volumes_delete_response.rb +148 -0
- data/lib/ibm_cloud_power/models/volumes_detach.rb +174 -0
- data/lib/ibm_cloud_power/models/volumes_detachment_response.rb +165 -0
- data/lib/ibm_cloud_power/models/vp_mem_volume_attach.rb +198 -0
- data/lib/ibm_cloud_power/models/vp_mem_volume_create.rb +230 -0
- data/lib/ibm_cloud_power/models/vp_mem_volume_reference.rb +367 -0
- data/lib/ibm_cloud_power/models/vp_mem_volume_update.rb +194 -0
- data/lib/ibm_cloud_power/models/vp_mem_volumes.rb +167 -0
- data/lib/ibm_cloud_power/models/vpn_connection.rb +149 -97
- data/lib/ibm_cloud_power/models/vpn_connection_create.rb +99 -97
- data/lib/ibm_cloud_power/models/vpn_connection_create_response.rb +162 -110
- data/lib/ibm_cloud_power/models/vpn_connection_update.rb +25 -97
- data/lib/ibm_cloud_power/models/vpn_connections.rb +25 -97
- data/lib/ibm_cloud_power/models/workspace.rb +353 -0
- data/lib/ibm_cloud_power/models/workspace_details.rb +222 -0
- data/lib/ibm_cloud_power/models/workspace_location.rb +185 -0
- data/lib/ibm_cloud_power/models/workspace_network_security_groups_details.rb +189 -0
- data/lib/ibm_cloud_power/models/workspace_power_edge_router_details.rb +240 -0
- data/lib/ibm_cloud_power/models/workspace_ssh_key.rb +332 -0
- data/lib/ibm_cloud_power/models/workspace_ssh_keys.rb +167 -0
- data/lib/ibm_cloud_power/models/workspaces.rb +167 -0
- data/lib/ibm_cloud_power/version.rb +5 -5
- data/lib/ibm_cloud_power.rb +168 -13
- 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_peers_api_spec.rb +136 -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 +29 -29
- data/spec/api/p_cloud_disaster_recovery_api_spec.rb +6 -6
- data/spec/api/p_cloud_events_api_spec.rb +9 -8
- data/spec/api/p_cloud_images_api_spec.rb +95 -18
- data/spec/api/p_cloud_instances_api_spec.rb +6 -29
- data/spec/api/p_cloud_jobs_api_spec.rb +9 -9
- data/spec/api/p_cloud_networks_api_spec.rb +24 -19
- data/spec/api/p_cloud_placement_groups_api_spec.rb +22 -22
- data/spec/api/p_cloud_pod_capacity_api_spec.rb +47 -0
- data/spec/api/p_cloud_pvm_instances_api_spec.rb +103 -39
- data/spec/api/p_cloud_sap_api_spec.rb +9 -7
- data/spec/api/p_cloud_shared_processor_pools_api_spec.rb +9 -9
- data/spec/api/p_cloud_snapshots_api_spec.rb +10 -10
- data/spec/api/p_cloud_spp_placement_groups_api_spec.rb +10 -10
- data/spec/api/p_cloud_storage_capacity_api_spec.rb +8 -8
- data/spec/api/p_cloud_storage_tiers_api_spec.rb +46 -0
- data/spec/api/p_cloud_tasks_api_spec.rb +8 -8
- data/spec/api/p_cloud_tenants_api_spec.rb +7 -7
- data/spec/api/p_cloud_tenants_ssh_keys_api_spec.rb +13 -13
- data/spec/api/p_cloud_virtual_serial_number_api_spec.rb +141 -0
- data/spec/api/p_cloud_volume_groups_api_spec.rb +16 -15
- data/spec/api/p_cloud_volume_onboarding_api_spec.rb +7 -7
- data/spec/api/p_cloud_volumes_api_spec.rb +198 -28
- data/spec/api/p_cloud_vp_mem_volumes_api_spec.rb +102 -0
- data/spec/api/p_cloud_vpn_connections_api_spec.rb +15 -27
- data/spec/api/p_cloud_vpn_policies_api_spec.rb +14 -14
- data/spec/api/routes_api_spec.rb +100 -0
- data/spec/api/snapshots_api_spec.rb +81 -0
- data/spec/api/ssh_keys_api_spec.rb +90 -0
- data/spec/api/workspaces_api_spec.rb +57 -0
- data/spec/models/access_config_spec.rb +30 -0
- data/spec/models/add_host_spec.rb +48 -0
- data/spec/models/add_server_virtual_serial_number_spec.rb +42 -0
- data/spec/models/auxiliary_volume_for_onboarding_spec.rb +10 -8
- data/spec/models/auxiliary_volumes_for_onboarding_auxiliary_volumes_inner_spec.rb +42 -0
- data/spec/models/auxiliary_volumes_for_onboarding_spec.rb +10 -8
- data/spec/models/available_host_capacity_cores_spec.rb +36 -0
- data/spec/models/available_host_capacity_spec.rb +42 -0
- data/spec/models/available_host_resource_capacity_spec.rb +36 -0
- data/spec/models/available_host_spec.rb +48 -0
- data/spec/models/capabilities_details_disaster_recovery_spec.rb +42 -0
- data/spec/models/capabilities_details_spec.rb +42 -0
- data/spec/models/capabilities_details_supported_systems_spec.rb +42 -0
- data/spec/models/clone_task_reference_spec.rb +11 -16
- data/spec/models/clone_task_status_spec.rb +21 -26
- data/spec/models/cloned_volume_detail_clone_spec.rb +48 -0
- data/spec/models/cloned_volume_detail_spec.rb +13 -18
- data/spec/models/cloned_volume_spec.rb +13 -18
- data/spec/models/cloud_connection_classic_spec.rb +42 -0
- data/spec/models/cloud_connection_create_classic_spec.rb +42 -0
- data/spec/models/cloud_connection_create_response_spec.rb +39 -31
- data/spec/models/cloud_connection_create_spec.rb +42 -19
- data/spec/models/cloud_connection_endpoint_classic_spec.rb +11 -16
- data/spec/models/cloud_connection_endpoint_classic_update_spec.rb +10 -8
- data/spec/models/cloud_connection_endpoint_vpc_spec.rb +11 -16
- data/spec/models/cloud_connection_gre_tunnel_create_spec.rb +10 -8
- data/spec/models/cloud_connection_gre_tunnel_spec.rb +11 -22
- data/spec/models/cloud_connection_spec.rb +38 -37
- data/spec/models/cloud_connection_update_spec.rb +24 -25
- data/spec/models/cloud_connection_virtual_private_clouds_spec.rb +10 -15
- data/spec/models/cloud_connection_virtual_private_clouds_virtual_private_clouds_inner_spec.rb +15 -13
- data/spec/models/cloud_connection_vpc_spec.rb +16 -21
- data/spec/models/cloud_connections_spec.rb +10 -15
- data/spec/models/cloud_instance_reference_spec.rb +23 -28
- data/spec/models/cloud_instance_spec.rb +31 -36
- data/spec/models/cloud_instance_usage_limits_spec.rb +29 -34
- data/spec/models/console_language_spec.rb +10 -8
- data/spec/models/console_languages_spec.rb +9 -7
- data/spec/models/create_cos_image_import_job_spec.rb +31 -17
- data/spec/models/create_data_volume_spec.rb +54 -29
- data/spec/models/create_image_spec.rb +53 -40
- data/spec/models/create_server_virtual_serial_number_spec.rb +48 -0
- data/spec/models/create_workspace_ssh_key_spec.rb +58 -0
- data/spec/models/datacenter_location_spec.rb +54 -0
- data/spec/models/datacenter_spec.rb +74 -0
- data/spec/models/datacenters_spec.rb +36 -0
- data/spec/models/dead_peer_detection_spec.rb +11 -9
- data/spec/models/delete_server_virtual_serial_number_spec.rb +36 -0
- data/spec/models/deployment_target_spec.rb +46 -0
- data/spec/models/disaster_recovery_asynchronous_replication_spec.rb +42 -0
- data/spec/models/disaster_recovery_location_spec.rb +10 -8
- data/spec/models/disaster_recovery_locations_spec.rb +9 -7
- data/spec/models/disaster_recovery_spec.rb +42 -0
- data/spec/models/error_spec.rb +13 -18
- data/spec/models/event_spec.rb +30 -35
- data/spec/models/event_user_spec.rb +14 -19
- data/spec/models/events_spec.rb +10 -15
- data/spec/models/export_image_spec.rb +16 -21
- data/spec/models/flash_copy_mapping_spec.rb +15 -13
- data/spec/models/get_bulk_volume_spec.rb +36 -0
- data/spec/models/get_server_virtual_serial_number_spec.rb +48 -0
- data/spec/models/host_capacity_cores_spec.rb +54 -0
- data/spec/models/host_capacity_spec.rb +42 -0
- data/spec/models/host_create_spec.rb +42 -0
- data/spec/models/host_group_create_spec.rb +48 -0
- data/spec/models/host_group_share_op_spec.rb +42 -0
- data/spec/models/host_group_spec.rb +66 -0
- data/spec/models/host_group_summary_spec.rb +48 -0
- data/spec/models/host_host_group_spec.rb +48 -0
- data/spec/models/host_put_spec.rb +36 -0
- data/spec/models/host_resource_capacity_spec.rb +54 -0
- data/spec/models/host_spec.rb +84 -0
- data/spec/models/ike_policies_spec.rb +9 -7
- data/spec/models/ike_policy_authentication_spec.rb +8 -6
- data/spec/models/ike_policy_create_spec.rb +16 -18
- data/spec/models/ike_policy_ref_spec.rb +10 -8
- data/spec/models/ike_policy_spec.rb +16 -18
- data/spec/models/ike_policy_update_spec.rb +16 -18
- data/spec/models/image_import_details_spec.rb +60 -0
- data/spec/models/image_reference_spec.rb +38 -31
- data/spec/models/image_spec.rb +54 -35
- data/spec/models/image_specifications_spec.rb +20 -25
- data/spec/models/image_taskref_spec.rb +42 -0
- data/spec/models/image_volume_spec.rb +15 -20
- data/spec/models/images_spec.rb +10 -15
- data/spec/models/ip_address_range_spec.rb +13 -18
- data/spec/models/ip_sec_policies_spec.rb +9 -7
- data/spec/models/ip_sec_policy_create_spec.rb +15 -17
- data/spec/models/ip_sec_policy_ref_spec.rb +10 -8
- data/spec/models/ip_sec_policy_spec.rb +16 -18
- data/spec/models/ip_sec_policy_update_spec.rb +15 -17
- data/spec/models/ipsec_policy_authentication_spec.rb +8 -6
- data/spec/models/job_action_spec.rb +58 -0
- data/spec/models/job_operation_spec.rb +48 -0
- data/spec/models/job_reference_spec.rb +10 -8
- data/spec/models/job_resource_details_spec.rb +52 -0
- data/spec/models/job_resources_spec.rb +42 -0
- data/spec/models/job_spec.rb +12 -10
- data/spec/models/job_status_spec.rb +48 -0
- data/spec/models/job_workflow_spec.rb +42 -0
- data/spec/models/jobs_spec.rb +9 -7
- data/spec/models/maximum_storage_allocation_spec.rb +14 -19
- data/spec/models/metadata_service_spec.rb +36 -0
- data/spec/models/min_max_default_spec.rb +14 -19
- data/spec/models/multi_volumes_create_spec.rb +60 -29
- data/spec/models/network_address_group_add_member_spec.rb +36 -0
- data/spec/models/network_address_group_create_spec.rb +42 -0
- data/spec/models/network_address_group_member_spec.rb +42 -0
- data/spec/models/network_address_group_spec.rb +60 -0
- data/spec/models/network_address_group_update_spec.rb +36 -0
- data/spec/models/network_address_groups_spec.rb +36 -0
- data/spec/models/network_address_translation_spec.rb +36 -0
- data/spec/models/network_cloud_connections_inner_spec.rb +10 -8
- data/spec/models/network_create_spec.rb +60 -27
- data/spec/models/network_id_spec.rb +9 -7
- data/spec/models/network_ids_spec.rb +9 -7
- data/spec/models/network_interface_create_spec.rb +48 -0
- data/spec/models/network_interface_instance_spec.rb +42 -0
- data/spec/models/network_interface_spec.rb +96 -0
- data/spec/models/network_interface_update_spec.rb +42 -0
- data/spec/models/network_interfaces_spec.rb +36 -0
- data/spec/models/network_ip_address_metrics_spec.rb +15 -20
- data/spec/models/network_peer_create_spec.rb +102 -0
- data/spec/models/network_peer_spec.rb +148 -0
- data/spec/models/network_peer_update_spec.rb +102 -0
- data/spec/models/network_peers_spec.rb +36 -0
- data/spec/models/network_port_create_spec.rb +11 -16
- data/spec/models/network_port_pvm_instance_spec.rb +13 -18
- data/spec/models/network_port_spec.rb +27 -26
- data/spec/models/network_port_update_spec.rb +11 -16
- data/spec/models/network_ports_spec.rb +10 -15
- data/spec/models/network_reference_spec.rb +67 -28
- data/spec/models/network_security_group_add_member_spec.rb +46 -0
- data/spec/models/network_security_group_add_rule_spec.rb +76 -0
- data/spec/models/network_security_group_clone_spec.rb +36 -0
- data/spec/models/network_security_group_create_spec.rb +42 -0
- data/spec/models/network_security_group_member_spec.rb +64 -0
- data/spec/models/network_security_group_move_member_spec.rb +42 -0
- data/spec/models/network_security_group_rule_port_spec.rb +42 -0
- data/spec/models/network_security_group_rule_protocol_spec.rb +56 -0
- data/spec/models/network_security_group_rule_protocol_tcp_flag_spec.rb +40 -0
- data/spec/models/network_security_group_rule_remote_spec.rb +46 -0
- data/spec/models/network_security_group_rule_spec.rb +70 -0
- data/spec/models/network_security_group_spec.rb +72 -0
- data/spec/models/network_security_group_update_spec.rb +36 -0
- data/spec/models/network_security_groups_action_spec.rb +40 -0
- data/spec/models/network_security_groups_spec.rb +36 -0
- data/spec/models/network_spec.rb +86 -35
- data/spec/models/network_update_spec.rb +35 -20
- data/spec/models/networks_spec.rb +10 -15
- data/spec/models/operation_spec.rb +11 -9
- data/spec/models/operations_spec.rb +16 -21
- data/spec/models/peer_interface_spec.rb +64 -0
- data/spec/models/peer_subnet_update_spec.rb +9 -7
- data/spec/models/peer_subnets_spec.rb +9 -7
- data/spec/models/peering_network_spec.rb +15 -20
- data/spec/models/pin_policy_spec.rb +9 -14
- data/spec/models/placement_group_create_spec.rb +18 -17
- data/spec/models/placement_group_server_spec.rb +10 -15
- data/spec/models/placement_group_spec.rb +27 -20
- data/spec/models/placement_groups_spec.rb +10 -15
- data/spec/models/pod_capacity_spec.rb +48 -0
- data/spec/models/pod_data_spec.rb +90 -0
- data/spec/models/pvm_instance_action_spec.rb +12 -17
- data/spec/models/pvm_instance_add_network_spec.rb +18 -17
- data/spec/models/pvm_instance_capture_spec.rb +30 -29
- data/spec/models/pvm_instance_configuration_spec.rb +60 -0
- data/spec/models/pvm_instance_console_spec.rb +10 -15
- data/spec/models/pvm_instance_cores_spec.rb +48 -0
- data/spec/models/pvm_instance_create_spec.rb +151 -56
- data/spec/models/pvm_instance_delete_spec.rb +36 -0
- data/spec/models/pvm_instance_deployment_spec.rb +58 -0
- data/spec/models/pvm_instance_fault_spec.rb +16 -21
- data/spec/models/pvm_instance_health_spec.rb +15 -20
- data/spec/models/pvm_instance_host_spec.rb +42 -0
- data/spec/models/pvm_instance_memory_spec.rb +48 -0
- data/spec/models/pvm_instance_multi_create_spec.rb +18 -23
- data/spec/models/pvm_instance_network_spec.rb +44 -31
- data/spec/models/pvm_instance_networks_spec.rb +10 -15
- data/spec/models/pvm_instance_operating_system_spec.rb +42 -0
- data/spec/models/pvm_instance_operation_spec.rb +17 -22
- data/spec/models/pvm_instance_placement_group_spec.rb +36 -0
- data/spec/models/pvm_instance_reference_spec.rb +182 -67
- data/spec/models/pvm_instance_reference_v2_spec.rb +138 -0
- data/spec/models/pvm_instance_remove_network_spec.rb +10 -15
- data/spec/models/pvm_instance_spec.rb +194 -73
- data/spec/models/pvm_instance_update_response_spec.rb +62 -25
- data/spec/models/pvm_instance_update_spec.rb +61 -30
- data/spec/models/pvm_instance_v2_health_spec.rb +36 -0
- data/spec/models/pvm_instance_v2_network_port_spec.rb +68 -0
- data/spec/models/pvm_instance_virtual_cores_spec.rb +48 -0
- data/spec/models/pvm_instance_volume_update_spec.rb +10 -15
- data/spec/models/pvm_instances_spec.rb +10 -15
- data/spec/models/pvm_instances_v2_spec.rb +36 -0
- data/spec/models/remote_copy_relationship_spec.rb +22 -20
- data/spec/models/remove_virtual_serial_number_spec.rb +36 -0
- data/spec/models/replication_service_spec.rb +42 -0
- data/spec/models/replication_target_location_spec.rb +46 -0
- data/spec/models/route_create_spec.rb +100 -0
- data/spec/models/route_filter_create_spec.rb +74 -0
- data/spec/models/route_filter_spec.rb +102 -0
- data/spec/models/route_report_route_spec.rb +46 -0
- data/spec/models/route_report_spec.rb +36 -0
- data/spec/models/route_spec.rb +122 -0
- data/spec/models/route_update_spec.rb +94 -0
- data/spec/models/routes_spec.rb +36 -0
- data/spec/models/sap_create_spec.rb +106 -27
- data/spec/models/sap_profile_reference_spec.rb +13 -18
- data/spec/models/sap_profile_spec.rb +77 -24
- data/spec/models/sap_profile_vpmem_volume_spec.rb +42 -0
- data/spec/models/sap_profiles_spec.rb +10 -15
- data/spec/models/secondary_spec.rb +42 -0
- data/spec/models/shared_processor_pool_create_spec.rb +24 -10
- data/spec/models/shared_processor_pool_detail_shared_processor_pool_spec.rb +114 -0
- data/spec/models/shared_processor_pool_detail_spec.rb +10 -8
- data/spec/models/shared_processor_pool_placement_group_spec.rb +11 -9
- data/spec/models/shared_processor_pool_server_spec.rb +16 -14
- data/spec/models/shared_processor_pool_spec.rb +42 -16
- data/spec/models/shared_processor_pool_update_spec.rb +10 -8
- data/spec/models/shared_processor_pools_spec.rb +9 -7
- data/spec/models/site_spec.rb +10 -8
- data/spec/models/snapshot_create_response_spec.rb +22 -15
- data/spec/models/snapshot_create_spec.rb +20 -19
- data/spec/models/snapshot_list_spec.rb +36 -0
- data/spec/models/snapshot_restore_spec.rb +10 -15
- data/spec/models/snapshot_spec.rb +35 -34
- data/spec/models/snapshot_update_spec.rb +13 -18
- data/spec/models/snapshot_v1_spec.rb +72 -0
- data/spec/models/snapshots_spec.rb +10 -15
- data/spec/models/software_licenses_spec.rb +18 -23
- data/spec/models/software_tier_spec.rb +30 -0
- data/spec/models/spp_placement_group_create_spec.rb +16 -8
- data/spec/models/spp_placement_group_spec.rb +24 -10
- data/spec/models/spp_placement_groups_spec.rb +9 -7
- data/spec/models/src_spec.rb +13 -18
- data/spec/models/ssh_key_spec.rb +15 -20
- data/spec/models/ssh_keys_spec.rb +10 -15
- data/spec/models/status_description_error_spec.rb +11 -9
- data/spec/models/status_description_spec.rb +9 -7
- data/spec/models/status_spec.rb +11 -9
- data/spec/models/stock_image_spec.rb +14 -19
- data/spec/models/storage_affinity_spec.rb +13 -11
- data/spec/models/storage_controller_spec.rb +60 -0
- data/spec/models/storage_pool_capacity_spec.rb +32 -19
- data/spec/models/storage_pool_combined_spec.rb +48 -0
- data/spec/models/storage_pool_map_spec.rb +42 -0
- data/spec/models/storage_pools_capacity_maximum_storage_allocation_spec.rb +48 -0
- data/spec/models/storage_pools_capacity_spec.rb +11 -16
- data/spec/models/storage_tier_spec.rb +52 -0
- data/spec/models/storage_type_capacity_spec.rb +15 -20
- data/spec/models/storage_types_capacity_spec.rb +11 -16
- data/spec/models/supported_software_tier_spec.rb +42 -0
- data/spec/models/supported_systems_spec.rb +42 -0
- data/spec/models/system_pool_capacity_spec.rb +90 -0
- data/spec/models/system_pool_shared_core_ratio_spec.rb +48 -0
- data/spec/models/system_pool_spec.rb +28 -27
- data/spec/models/system_resources_spec.rb +78 -0
- data/spec/models/system_spec.rb +53 -16
- data/spec/models/target_trusted_profile_spec.rb +48 -0
- data/spec/models/task_reference_spec.rb +13 -18
- data/spec/models/task_spec.rb +27 -32
- data/spec/models/tenant_spec.rb +23 -28
- data/spec/models/tenant_update_spec.rb +11 -16
- data/spec/models/trusted_profile_spec.rb +42 -0
- data/spec/models/update_metadata_service_spec.rb +42 -0
- data/spec/models/update_server_virtual_serial_number_spec.rb +42 -0
- data/spec/models/update_trusted_profile_spec.rb +42 -0
- data/spec/models/update_virtual_serial_number_spec.rb +36 -0
- data/spec/models/update_volume_spec.rb +16 -21
- data/spec/models/update_workspace_ssh_key_spec.rb +58 -0
- data/spec/models/virtual_cores_spec.rb +14 -19
- data/spec/models/virtual_serial_number_spec.rb +54 -0
- data/spec/models/volume_action_spec.rb +15 -7
- data/spec/models/volume_group_action_reset_spec.rb +9 -7
- data/spec/models/volume_group_action_spec.rb +11 -9
- data/spec/models/volume_group_action_start_spec.rb +9 -7
- data/spec/models/volume_group_action_stop_spec.rb +9 -7
- data/spec/models/volume_group_create_response_spec.rb +12 -10
- data/spec/models/volume_group_create_spec.rb +11 -9
- data/spec/models/volume_group_details_spec.rb +33 -13
- data/spec/models/volume_group_remote_copy_relationships_spec.rb +10 -8
- data/spec/models/volume_group_spec.rb +32 -12
- data/spec/models/volume_group_storage_details_spec.rb +17 -15
- data/spec/models/volume_group_update_spec.rb +10 -8
- data/spec/models/volume_groups_details_spec.rb +9 -7
- data/spec/models/volume_groups_spec.rb +9 -7
- data/spec/models/volume_info_spec.rb +18 -17
- data/spec/models/volume_onboarding_all_of_results_spec.rb +42 -0
- data/spec/models/volume_onboarding_all_of_results_volume_onboarding_failures_spec.rb +42 -0
- data/spec/models/volume_onboarding_common_spec.rb +12 -10
- data/spec/models/volume_onboarding_create_response_spec.rb +10 -8
- data/spec/models/volume_onboarding_create_spec.rb +16 -8
- data/spec/models/volume_onboarding_create_volumes_inner_spec.rb +42 -0
- data/spec/models/volume_onboarding_failure_spec.rb +10 -8
- data/spec/models/volume_onboarding_spec.rb +22 -20
- data/spec/models/volume_onboardings_spec.rb +9 -7
- data/spec/models/volume_reference_spec.rb +140 -39
- data/spec/models/volume_remote_copy_relationship_spec.rb +33 -31
- data/spec/models/volume_snapshot_list_spec.rb +36 -0
- data/spec/models/volume_spec.rb +133 -38
- data/spec/models/volumes_attach_spec.rb +9 -7
- data/spec/models/volumes_attachment_response_spec.rb +9 -7
- data/spec/models/volumes_clone_async_request_spec.rb +30 -17
- data/spec/models/volumes_clone_cancel_spec.rb +10 -15
- data/spec/models/volumes_clone_create_spec.rb +12 -17
- data/spec/models/volumes_clone_detail_spec.rb +27 -32
- data/spec/models/volumes_clone_execute_spec.rb +29 -16
- data/spec/models/volumes_clone_request_spec.rb +12 -17
- data/spec/models/volumes_clone_response_spec.rb +13 -18
- data/spec/models/volumes_clone_spec.rb +25 -30
- data/spec/models/volumes_clones_spec.rb +10 -15
- data/spec/models/volumes_delete_response_spec.rb +36 -0
- data/spec/models/volumes_delete_spec.rb +36 -0
- data/spec/models/volumes_detach_spec.rb +48 -0
- data/spec/models/volumes_detachment_response_spec.rb +36 -0
- data/spec/models/volumes_spec.rb +10 -15
- data/spec/models/vp_mem_volume_attach_spec.rb +42 -0
- data/spec/models/vp_mem_volume_create_spec.rb +42 -0
- data/spec/models/vp_mem_volume_reference_spec.rb +96 -0
- data/spec/models/vp_mem_volume_update_spec.rb +36 -0
- data/spec/models/vp_mem_volumes_spec.rb +36 -0
- data/spec/models/vpn_connection_create_response_spec.rb +25 -23
- data/spec/models/vpn_connection_create_spec.rb +15 -13
- data/spec/models/vpn_connection_spec.rb +20 -18
- data/spec/models/vpn_connection_update_spec.rb +12 -10
- data/spec/models/vpn_connections_spec.rb +9 -7
- data/spec/models/workspace_details_spec.rb +60 -0
- data/spec/models/workspace_location_spec.rb +48 -0
- data/spec/models/workspace_network_security_groups_details_spec.rb +40 -0
- data/spec/models/workspace_power_edge_router_details_spec.rb +60 -0
- data/spec/models/workspace_spec.rb +76 -0
- data/spec/models/workspace_ssh_key_spec.rb +76 -0
- data/spec/models/workspace_ssh_keys_spec.rb +36 -0
- data/spec/models/workspaces_spec.rb +36 -0
- data/spec/spec_helper.rb +4 -4
- metadata +729 -142
- data/Gemfile.lock +0 -72
- data/docs/CloudConnectionEndpointGRE.md +0 -20
- data/docs/CloudConnectionVPC.md +0 -20
- data/docs/CloudConnectionVirtualPrivateCloudsVirtualPrivateClouds.md +0 -23
- data/docs/CloudInstanceCreate.md +0 -30
- data/docs/CloudInstanceUpdate.md +0 -26
- data/docs/IKEPolicyOptions.md +0 -24
- data/docs/IKEPolicyTemplate.md +0 -26
- data/docs/IPSecPolicyOptions.md +0 -22
- data/docs/IPSecPolicyTemplate.md +0 -24
- data/docs/Options.md +0 -18
- data/docs/PCloudSystemPoolsApi.md +0 -70
- data/docs/PVMInstanceClone.md +0 -32
- data/docs/VPNaaSOptions.md +0 -26
- data/ibm_cloud_power-2.1.0.gem +0 -0
- data/lib/ibm_cloud_power/api/p_cloud_system_pools_api.rb +0 -83
- data/lib/ibm_cloud_power/models/cloud_connection_endpoint_gre.rb +0 -232
- data/lib/ibm_cloud_power/models/cloud_connection_speed.rb +0 -43
- data/lib/ibm_cloud_power/models/cloud_connection_virtual_private_clouds_virtual_private_clouds.rb +0 -259
- data/lib/ibm_cloud_power/models/cloud_instance_create.rb +0 -305
- data/lib/ibm_cloud_power/models/cloud_instance_update.rb +0 -260
- data/lib/ibm_cloud_power/models/ike_policy_options.rb +0 -274
- data/lib/ibm_cloud_power/models/ike_policy_template.rb +0 -313
- data/lib/ibm_cloud_power/models/ip_sec_policy_options.rb +0 -258
- data/lib/ibm_cloud_power/models/ip_sec_policy_template.rb +0 -298
- data/lib/ibm_cloud_power/models/options.rb +0 -224
- data/lib/ibm_cloud_power/models/pvm_instance_clone.rb +0 -339
- data/lib/ibm_cloud_power/models/vp_naa_s_options.rb +0 -280
- data/spec/api/p_cloud_system_pools_api_spec.rb +0 -46
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/cloud_connection_endpoint_gre_spec.rb +0 -47
- data/spec/models/cloud_connection_speed_spec.rb +0 -35
- data/spec/models/cloud_connection_virtual_private_clouds_virtual_private_clouds_spec.rb +0 -59
- data/spec/models/cloud_instance_create_spec.rb +0 -77
- data/spec/models/cloud_instance_update_spec.rb +0 -65
- data/spec/models/ike_policy_options_spec.rb +0 -52
- data/spec/models/ike_policy_template_spec.rb +0 -58
- data/spec/models/ip_sec_policy_options_spec.rb +0 -46
- data/spec/models/ip_sec_policy_template_spec.rb +0 -52
- data/spec/models/options_spec.rb +0 -34
- data/spec/models/pvm_instance_clone_spec.rb +0 -87
- data/spec/models/vp_naa_s_options_spec.rb +0 -58
- data/test.rb +0 -32
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Power Cloud API
|
|
3
3
|
|
|
4
|
-
#IBM Power Cloud API for Power Hardware / Infrastructure
|
|
4
|
+
### Introduction You can use the IBM® Power® Virtual Server to easily deploy and configure virtual servers that are running AIX, IBM i, or Linux (RHEL and SLES) workloads. To learn about using Power Virtual Server, see: - [Getting started with IBM Power Virtual Servers](https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-getting-started) - [IBM Power Virtual Server CLI Reference](https://cloud.ibm.com/docs/power-iaas-cli-plugin?topic=power-iaas-cli-plugin-power-iaas-cli-reference-v1) ## Endpoint URLs The Power Virtual Server service uses regional endpoints over both public and private network. Automatically generated regional API endpoints (service URL) will default to IBM Cloud Regions which may cause your request to fail. You should always use the Power Virtual Server regions in the service URL. The following table shows the IBM Cloud® regions and their corresponding Power Virtual Server region where the APIs are available: <!-- | Country | Power Virtual Server region | Location | Public endpoint (service URL) | | ------------- | ------------------------------------------ | -------- | ------------------------------------------- | | United States | Washington DC | us-south | `https://us-south.power-iaas.cloud.ibm.com` | | Washington DC, USA | us-east | us-east | `https://us-east.power-iaas.cloud.ibm.com` | | S----------------l | b-----o | s-----o | `----------------------------------------` | | Toronto, Canada | ca-tor | tor | `https://tor.power-iaas.cloud.ibm.com` | | Montreal, Canada | ca-mon | mon | `https://mon.power-iaas.cloud.ibm.com` | | Frankfurt, Germany | eu-de | eu-de | `https://eu-de.power-iaas.cloud.ibm.com` | | London, UK | eu-gb | lon | `https://lon.power-iaas.cloud.ibm.com` | | Sydney, Australia | au-syd | syd | `https://syd.power-iaas.cloud.ibm.com` | | Tokyo, Japan | jp-tok | tok | `https://tok.power-iaas.cloud.ibm.com` | | Osaka, Japan | jp-osa | osa | `https://osa.power-iaas.cloud.ibm.com` | --> | Country | Power Virtual Server region | Location | Public end-point (service URL) | | ---------------- | ------------------------------------------ | -------------------------- | ----------------------------------------- | | Australia | Sydney | syd04 \\n syd05 | https://syd.power-iaas.cloud.ibm.com | | Brazil | Sao Paulo | sao01 \\n sao04 | https://sao.power-iaas.cloud.ibm.com | | Canada | Montreal | mon01 | https://mon.power-iaas.cloud.ibm.com | | | Toronto | tor01 | https://tor.power-iaas.cloud.ibm.com | | Germany | Frankfurt | eu-de-1 \\n eu-de-2 | https://eu-de.power-iaas.cloud.ibm.com | | UK/Great Britain | London | lon04 \\n lon06 | https://lon.power-iaas.cloud.ibm.com | | India | Chennai | che01 \\n che02 \\n che03 | https://che.power-iaas.cloud.ibm.com | | | Mumbai | in-mum-1 \\n in-mum-2 | https://in-mum.power-iaas.cloud.ibm.com | | Japan | Tokyo | tok04 | https://tok.power-iaas.cloud.ibm.com | | | Osaka | osa21 | https://osa.power-iaas.cloud.ibm.com | | Spain | Madrid | mad02 \\n mad04 | https://mad.power-iaas.cloud.ibm.com | | United States | Washington DC | us-east \\n wdc06 \\n wdc07 | https://us-east.power-iaas.cloud.ibm.com | | | Dallas | dal10 \\n dal12 \\n us-south | https://us-south.power-iaas.cloud.ibm.com | | Country | Power Virtual Server region | Location | Private end-point (service URL) | | ---------------- | ------------------------------------------ | -------------------------- | ------------------------------------------------- | | Australia | Sydney | syd04 \\n syd05 | https://private.au-syd.power-iaas.cloud.ibm.com | | Brazil | Sao Paulo | sao01 \\n sao04 | https://private.br-sao.power-iaas.cloud.ibm.com | | Canada | Montreal | mon01 | https://private.ca-mon.power-iaas.cloud.ibm.com | | | Toronto | tor01 | https://private.ca-tor.power-iaas.cloud.ibm.com | | Germany | Frankfurt | eu-de-1 \\n eu-de-2 | https://private.eu-de.power-iaas.cloud.ibm.com | | UK/Great Britain | London | lon04 \\n lon06 | https://private.eu-gb.power-iaas.cloud.ibm.com | | India | Chennai | che01 \\n che02 \\n che03 | https://private.in-che.power-iaas.cloud.ibm.com | | | Mumbai | in-mum-1 \\n in-mum-2 | https://private.in-mum.power-iaas.cloud.ibm.com | | Japan | Tokyo | tok04 | https://private.jp-tok.power-iaas.cloud.ibm.com | | | Osaka | osa21 | https://private.jp-osa.power-iaas.cloud.ibm.com | | Spain | Madrid | mad02 \\n mad04 | https://private.eu-es.power-iaas.cloud.ibm.com | | United States | Washington DC | us-east \\n wdc06 \\n wdc07 | https://private.us-east.power-iaas.cloud.ibm.com | | | Dallas | dal10 \\n dal12 \\n us-south | https://private.us-south.power-iaas.cloud.ibm.com | ## Curl service URL intro To call the API, select the service URL that corresponds to the region of your choice and add a method path to form the complete request URL. For example, to list all the workspaces available in the `us-south` region, make a `GET` request to `https://us-south.iaas.cloud.ibm.com/v1/workspaces`. Example request to call the `us-south` service URL: ```codeblock curl -H \"Authorization: Bearer {token}\" -X {http_method} \"https://us-south.iaas.cloud.ibm.com/v1{path}\" ``` Replace `{token}`, `{http_method}`, and `{path}` in this example with the values for your particular request. ## Authentication The Power Virtual Server API uses Identity and Access Management ([IAM](https://cloud.ibm.com/docs/account?topic=account-iamoverview)) to authenticate requests. To call each API method, you must be assigned a role that includes the required IAM actions. Each method has an Authorization section that lists the required actions and, if applicable, the conditions under which each action is required. Check your access on the [IBM Cloud console](https://cloud.ibm.com/login) by navigating to **[Users](https://cloud.ibm.com/iam/users) > _User_ > Access**. For more information about IAM actions and how they map to roles, see [Assigning access to account management services](https://cloud.ibm.com/docs/account?topic=account-account-services) and [Managing IAM access for Power Virtual Server](https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-managing-resources-and-users). Learn about obtaining an IAM token for an authenticated user or service ID in the [IAM Identity Services API](https://cloud.ibm.com/apidocs/iam-identity-token-api). If you first [create an API key](https://cloud.ibm.com/docs/account?topic=account-userapikey#create_user_key), you can [use it to generate an IAM token](https://cloud.ibm.com/docs/account?topic=account-iamtoken_from_apikey). To use the API, add a valid IAM token to the HTTP `Authorization` request header. For example, `-H 'Authorization: Bearer {token}'`. For specific APIs you must need to include your IBM Cloud IAM access token and the Power Virtual Server instance ID, also known as your **Cloud Resource Name** (CRN), in each request. The first part of your CRN contains your **Tenant ID** and the second part contains your **Cloud Instance ID**. The following example shows a typical CRN: ```text crn:v1:staging:public:power-iaas:us-east:a/abcdefghijklmnopqrstuvwxyzabcdef:121d5ee5-b87d-4a0e-86b8-aaff422135478:: Tenant ID {tenant_id} = abcdefghijklmnopqrstuvwxyzabcdef Cloud Instance ID {cloud_instance_id} = 121d5ee5-b87d-4a0e-86b8-aaff422135478 ``` You can retrieve an access token by first creating an API key, and then exchanging your API key for a IBM Cloud IAM token. For more information, see [Retrieving an access token programmatically](https://cloud.ibm.com/docs/services/key-protect?topic=key-protect-retrieve-access-token) and [Retrieving your instance ID](https://cloud.ibm.com/docs/services/key-protect?topic=key-protect-retrieve-instance-ID). To retrieve your access token: ```sh curl -X POST \\ \"https://iam.cloud.ibm.com/identity/token\" \\ --header 'Content-Type: application/x-www-form-urlencoded' \\ --header 'Accept: application/json' \\ --data-urlencode 'grant_type=urn:ibm:params:oauth:grant-type:apikey' \\ --data-urlencode 'apikey={api_key}' ``` To use the API, replace `{token}` with the token obtained above from IAM, replace `{http_method}` with an HTTP method such as `POST`, and replace `{url}` with a request URL such as `https://us-south.iaas.cloud.ibm.com/v1/workspaces/{workspace_id}`: ```sh curl -H \"Authorization: Bearer {token}\" -X {http_method} \"{url}\" -H \"CRN\" ``` ## Auditing Monitor API activity within your account by using the IBM Cloud Activity Tracker service. Each time you make an API call, one or more events are generated that you can track and audit from within Activity Tracker. Specific auditing event types are listed for each individual method. For more information about Power Virtual Server activity tracking, see [Activity Tracker events](https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-at-events). ## Error handling This API uses standard HTTP response codes to indicate whether a method completed successfully. A `200` response indicates success. A `400` type response indicates a failure, and a `500` type response indicates an internal system error. | HTTP Error Code | Description | Recovery | | --------------- | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `400` | Bad Request | The input parameters in the request body are either incomplete, malformed, or too large. Be sure to include all required parameters in your request. | | `401` | Unauthorized | You are not authorized to make this request. Log in to IBM Cloud and try submitting the request again. If this error persists, contact the account owner to check your permissions. | | `403` | Forbidden | The supplied authentication is not authorized to perform the requested operation. Either you do not have valid access through IAM access policies or your request is denied. If this error persists, contact the account owner to check your permissions. | | `404` | Not Found | The requested resource could not be found but may be available in the future. | | `405` | Method Not Allowed | The requested resource does not support the request method. | | `406` | Not Acceptable | The resource the client requested is not available in a format allowed by the `Accept` header supplied by the client. | | `408` | Request Timeout | The connection to the server timed out. Wait a few minutes, and try submitting the request again. | | `409` | Conflict | The request cannot be completed because of a conflict between the request and the current state of the resource. | | `412` | Precondition Failed | The client specified one or more preconditions in its headers, and the server cannot meet those preconditions. | | `426` | Upgrade Required | The server refuses to perform the request using the current protocol but might perform the request after the client upgrades to a different protocol. | | `500` | Internal Server Error | The request cannot be processed because the client encountered an unexpected condition on the server. Wait a few minutes and try submitting the request again. If this error persists, contact IBM Support. | | `501` | Not Implemented | The server either does not recognize the request method, or it lacks the ability to fulfill the request. | | `502` | Bad Gateway | The server was acting as a gateway or proxy and received an invalid response from the upstream server. | | `503` | Service Unavailable | The server cannot process the request. Generally, this condition is temporary, such as when a server is overloaded or down for scheduled maintenance. This condition could also be due to an unplanned outage of a service that is needed to process the request. Wait a few minutes and try submitting the request again. If this error persists, contact IBM Support. | | `504` | Gateway Timeout | The server was acting as a gateway or proxy and did not receive a timely response from the upstream server. | | `505` | HTTP Version Not Supported | The server does not support the HTTP protocol version that is used in the request. | ## Release notes Use the release notes to learn about the latest changes to the Power Virtual Server API. <!-- ## 2025 --> ### June 2026 Added the following APIs associated with vPMEM volumes: - [Update a vPMEM volume attached to this PVM Instance](https://cloud.ibm.com/docs/apis/power-cloud#pcloud-pvminstances-vpmem-volumes-put) ### December 2025 Added the following APIs associated with vPMEM volumes: - [List all vPMEM volumes attached to this PVM Instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-pvminstances-vpmem-volumes-getall) - [Create a vPMEM volume to be attached to this PVM Instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-pvminstances-vpmem-volumes-post) - [Delete a vPMEM volume attached to this PVM Instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-pvminstances-vpmem-volumes-delete) - [Get information about a vPMEM volume](https://cloud.ibm.com/apidocs/power-cloud#pcloud-pvminstances-vpmem-volumes-get) ### September 2025 Added the following APIs associated with network peers: - [Get the list of Network Peers for a workspace](https://cloud.ibm.com/apidocs/power-cloud#v1-networkpeers-getall) - [Create a new Network Peer](https://cloud.ibm.com/apidocs/power-cloud#v1-networkpeers-post) - [Get the list of Network Interfaces for a workspace](https://cloud.ibm.com/apidocs/power-cloud#v1-networkpeers-interfaces-getall) - [Delete a Network Peer from a workspace](https://cloud.ibm.com/apidocs/power-cloud#v1-networkpeers-id-delete) - [Get the details of a Network Peer](https://cloud.ibm.com/apidocs/power-cloud#v1-networkpeers-id-get) - [Update a Network Peer](https://cloud.ibm.com/apidocs/power-cloud#v1-networkpeers-id-put) - [Create a new Route Filter](https://cloud.ibm.com/apidocs/power-cloud#v1-networkpeers-routefilter-post) - [Delete a Route Filter from a Network Peer](https://cloud.ibm.com/apidocs/power-cloud#v1-networkpeers-routefilter-id-delete) - [Get the details of a Route Filter](https://cloud.ibm.com/apidocs/power-cloud#v1-networkpeers-routefilter-id-get) ### July 2025 Added the following APIs associated with routes: - [Get all routes in the workspace](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#v1-routes-getall) - [Perform a route creation](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#v1-routes-post) - [Get the route report for a workspace](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#v1-routes-report-get) - [Delete a route](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#v1-routes-delete) - [Get a route's information](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#v1-routes-get) - [Update a route's information](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#v1-routes-put) Added the following APIs associated with ssh keys: - [List SSH Keys](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#v1-sshkeys-getall) - [Add a new SSH key](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#v1-sshkeys-post) - [Delete ssh-key](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#v1-sshkeys-delete) - [Get ssh-key information](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#v1-sshkeys-get) - [Update the ssh key](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#v1-sshkeys-put) Added an API to list the supported IBM i software tiers: [List supported software tiers (IBMi licensing)](https://cloud.ibm.com/apidocs/power-cloud?loginMethod=federated#pcloud-virtualserialnumber-softwaretiers-getall) ### February 2025 Added the following APIs associated with network address groups: - [Get the list of Network Address Groups for a workspace](https://cloud.ibm.com/apidocs/power-cloud#v1-networkaddressgroups-get) - [Create a new Network Address Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networkaddressgroups-post) - [Delete a Network Address Group from a workspace](https://cloud.ibm.com/apidocs/power-cloud#v1-networkaddressgroups-id-delete) - [Get the detail of a Network Address Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networkaddressgroups-id-get) - [Update a Network Address Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networkaddressgroups-id-put) - [Add a member to a Network Address Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networkaddressgroups-members-post) - [Delete the member from a Network Address Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networkaddressgroups-members-delete) Added the following APIs associated with network security groups: - [Get the list of Network Security Groups for a workspace](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-list) - [Create a new Network Security Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-post) - [Perform a Network Security Groups action (enable, disable) on a workspace.](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-action-post) - [Delete a Network Security Group from a workspace](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-id-delete) - [Get the detail of a Network Security Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-id-get) - [Clone a Network Security Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-id-post) - [Update a Network Security Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-id-put) - [Add a member to a Network Security Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-members-post) - [Delete the member from a Network Security Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-members-delete) - [Move a Network Security Group member to another Network Security Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-move-member-post) - [Add a rule to a Network Security Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-rules-post) - [Delete the rule from a Network Security Group](https://cloud.ibm.com/apidocs/power-cloud#v1-networksecuritygroups-rules-delete) ### December 2023 The following APIs are availavle: - [Get all Datacenters information and capabilities](https://cloud.ibm.com/apidocs/power-cloud#v1-datacenters-getall) - [Get a Datacenter's information and capabilities](https://cloud.ibm.com/apidocs/power-cloud#v1-datacenters-get) - [Get all Workspaces information and capabilities for a tenant](https://cloud.ibm.com/apidocs/power-cloud#v1-workspaces-getall) - [Get a Workspace's information and capabilities](https://cloud.ibm.com/apidocs/power-cloud#v1-workspaces-get) ### November 2023 - New API [List all supported storage tiers for this cloud instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudinstances-storagetiers-getall) is available. ### September 2023 - Added parameters `availableCapacity`, `maxAllocationSize`, `replicationEnabled`, `storageHost` in the [Storage capacity for a storage pool in a region (GET)](https://cloud.ibm.com/apidocs/power-cloud#pcloud-storagecapacity-pools-get). ### December 2022 - You can now get new error messages for undefined response codes for new service endpoint response codes. ### September 2022 - Added the following APIs associated with shared processor pool: - [Get the list of Shared Processor Pools for a cloud instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-sharedprocessorpools-getall) - [Create a new Shared Processor Pool](https://cloud.ibm.com/apidocs/power-cloud#pcloud-sharedprocessorpools-post) - [Get the detail of a Shared Processor Pool for a cloud instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-sharedprocessorpools-get) - [Update a Shared Processor Pool for a cloud instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-sharedprocessorpools-put) - [Delete a Shared Processor Pool from a cloud instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-sharedprocessorpools-delete) - Added the following APIs associated with global recovery service: - Disaster recovery - [Get the disaster recovery site details for the current location](https://cloud.ibm.com/apidocs/power-cloud#pcloud-locations-disasterrecovery-get) - [Get all disaster recovery locations supported by Power Virtual Server](https://cloud.ibm.com/apidocs/power-cloud#pcloud-locations-disasterrecovery-getall) - Volume - [Perform an action on a Volume](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudinstances-volumes-action-post) - [Get a list of flashcopy mappings of a given volume](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudinstances-volumes-flashcopymappings-ge) - [Get remote copy relationship of a volume](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudinstances-volumes-remotecopyrelationsh) - Volume onboarding - [List all volume onboardings for this cloud instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volume-onboarding-getall) - [Onboard auxiliary volumes to target site](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volume-onboarding-post) - [Get the information of volume onboarding operation](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volume-onboarding-get) - Volume groups - [Get all volume groups](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volumegroups-getall) - [Create a new volume group](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volumegroups-post) - [Get all volume groups with details](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volumegroups-getalldetails) - [Get volume Group](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volumegroups-get) - [updates the volume group](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volumegroups-put) - [Delete a cloud instance volume group](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volumegroups-delete) - [Perform an action (start stop reset ) on a volume group](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volumegroups-action-post) - [Get volume Group details](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volumegroups-getdetails) - [Get remote copy relationships of the volume belonging to volume group](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volumegroups-remotecopyrelationships-get) - [Get storage details of volume group](https://cloud.ibm.com/apidocs/power-cloud#pcloud-volumegroups-storagedetails-get) ### October 2021 - Added the following APIs associated with VPN connections: - [Get VPN connections](https://cloud.ibm.com/apidocs/power-cloud#pcloud-vpnconnections-getall) - [Add IKE policy](https://cloud.ibm.com/apidocs/power-cloud#pcloud-ikepolicies-post) - [Add IPsec policy](https://cloud.ibm.com/apidocs/power-cloud#pcloud-ipsecpolicies-post) ### September 2021 - Added the following APIs associated with Image Capture, Image Import, and Image Export: - [Capture a PVM instance and create a deployable image](https://cloud.ibm.com/apidocs/power-cloud#pcloud-v2-pvminstances-capture-post) - [Add image export job to the jobs queue](https://cloud.ibm.com/apidocs/power-cloud#pcloud-v2-images-export-post) - [Create a new image from available images in COS](https://cloud.ibm.com/apidocs/power-cloud#pcloud-v1-cloudinstances-cosimages-post) - [List up to the last 5 jobs initiated by the cloud instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudinstances-jobs-getall) - Added the following APIs associated with storage volumes: - [Create multiple data volumes from a single definition](https://cloud.ibm.com/apidocs/power-cloud#pcloud-v2-volumes-post) - Added the following APIs associated with private endpoint: - [Endpoint URL](https://cloud.ibm.com/apidocs/power-cloud#endpoint) ### June 2021 - Added the following APIs associated with placement groups: - [Create a server placement group](https://cloud.ibm.com/apidocs/power-cloud#pcloud-placementgroups-post) - [Get all server placement groups](https://cloud.ibm.com/apidocs/power-cloud#pcloud-placementgroups-getall) - [Get server placement group details](https://cloud.ibm.com/apidocs/power-cloud#pcloud-placementgroups-get) - [Delete server placement group](https://cloud.ibm.com/apidocs/power-cloud#pcloud-placementgroups-delete) - [Add server to placement group](https://cloud.ibm.com/apidocs/power-cloud#pcloud-placementgroups-members-post) - [Remove server from placement group](https://cloud.ibm.com/apidocs/power-cloud#pcloud-placementgroups-members-delete) ### May 2021 - Added the following APIs associated with Cloud connections: - [Create a new Cloud connection](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudconnections-post) - [Get all Cloud connections in a specific cloud instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudconnections-getall) - [Get a Cloud connection's state or information](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudconnections-get) - [Update a Cloud connection](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudconnections-put) - [Delete a Cloud connection](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudconnections-delete) - [Get information about a Cloud connections attached network](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudconnections-networks-get) - [Add a network to the Cloud connection](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudconnections-networks-put) - [Delete a network from a Cloud connection](https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudconnections-networks-delete) ### February 2021 - Added the following APIs associated with volume clone requests: - [Create a new volumes clone request and initiate the Prepare action](https://cloud.ibm.com/apidocs/power-cloud#pcloud-v2-volumesclone-post) - [Get the list of volumes-clone request for a cloud instance](https://cloud.ibm.com/apidocs/power-cloud#pcloud-v2-volumesclone-getall) - [Get the details for a volumes-clone request](https://cloud.ibm.com/apidocs/power-cloud#pcloud-v2-volumesclone-get) - [Delete a volumes-clone request](https://cloud.ibm.com/apidocs/power-cloud#pcloud-v2-volumesclone-delete) - [Initiate the Start action for a volume-clone request](https://cloud.ibm.com/apidocs/power-cloud#pcloud-v2-volumesclone-start-post) - [Initiate the Execute action for a volumes-clone request](https://cloud.ibm.com/apidocs/power-cloud#pcloud-v2-volumesclone-execute-post) - [Cancel a volume-clone request and initiate the Cleanup action](https://cloud.ibm.com/apidocs/power-cloud#pcloud-v2-volumesclone-cancel-post) - Added the following APIs for requests related to storage capacity: - [Get storage capacity for all available storage types in a region](https://cloud.ibm.com/apidocs/power-cloud#pcloud-storagecapacity-types-getall) - [Get storage capacity for a storage type in a region](https://cloud.ibm.com/apidocs/power-cloud#pcloud-storagecapacity-types-get) - [Get storage capacity for all available storage pools in a region](https://cloud.ibm.com/apidocs/power-cloud#pcloud-storagecapacity-pools-getall) - [Get storage capacity for a storage pool in a region](https://cloud.ibm.com/apidocs/power-cloud#pcloud-storagecapacity-pools-get)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
7
|
-
Contact:
|
|
6
|
+
The version of the OpenAPI document: 2.5.0
|
|
7
|
+
Contact: ismirlia@us.ibm.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.23.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -53,7 +53,7 @@ module IbmCloudPower
|
|
|
53
53
|
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_cloudinstances_volumes_action_post"
|
|
54
54
|
end
|
|
55
55
|
# resource path
|
|
56
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/action'.sub('{
|
|
56
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/action'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{volume_id}', CGI.escape(volume_id.to_s))
|
|
57
57
|
|
|
58
58
|
# query parameters
|
|
59
59
|
query_params = opts[:query_params] || {}
|
|
@@ -61,7 +61,7 @@ module IbmCloudPower
|
|
|
61
61
|
# header parameters
|
|
62
62
|
header_params = opts[:header_params] || {}
|
|
63
63
|
# HTTP header 'Accept' (if needed)
|
|
64
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
64
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
65
65
|
# HTTP header 'Content-Type'
|
|
66
66
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
67
67
|
if !content_type.nil?
|
|
@@ -125,7 +125,7 @@ module IbmCloudPower
|
|
|
125
125
|
fail ArgumentError, "Missing the required parameter 'volume_id' when calling PCloudVolumesApi.pcloud_cloudinstances_volumes_delete"
|
|
126
126
|
end
|
|
127
127
|
# resource path
|
|
128
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}'.sub('{
|
|
128
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{volume_id}', CGI.escape(volume_id.to_s))
|
|
129
129
|
|
|
130
130
|
# query parameters
|
|
131
131
|
query_params = opts[:query_params] || {}
|
|
@@ -133,7 +133,7 @@ module IbmCloudPower
|
|
|
133
133
|
# header parameters
|
|
134
134
|
header_params = opts[:header_params] || {}
|
|
135
135
|
# HTTP header 'Accept' (if needed)
|
|
136
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
|
136
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
137
137
|
|
|
138
138
|
# form parameters
|
|
139
139
|
form_params = opts[:form_params] || {}
|
|
@@ -192,7 +192,7 @@ module IbmCloudPower
|
|
|
192
192
|
fail ArgumentError, "Missing the required parameter 'volume_id' when calling PCloudVolumesApi.pcloud_cloudinstances_volumes_flash_copy_mappings_get"
|
|
193
193
|
end
|
|
194
194
|
# resource path
|
|
195
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/flash-copy-mappings'.sub('{
|
|
195
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/flash-copy-mappings'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{volume_id}', CGI.escape(volume_id.to_s))
|
|
196
196
|
|
|
197
197
|
# query parameters
|
|
198
198
|
query_params = opts[:query_params] || {}
|
|
@@ -200,7 +200,7 @@ module IbmCloudPower
|
|
|
200
200
|
# header parameters
|
|
201
201
|
header_params = opts[:header_params] || {}
|
|
202
202
|
# HTTP header 'Accept' (if needed)
|
|
203
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
203
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
204
204
|
|
|
205
205
|
# form parameters
|
|
206
206
|
form_params = opts[:form_params] || {}
|
|
@@ -259,7 +259,7 @@ module IbmCloudPower
|
|
|
259
259
|
fail ArgumentError, "Missing the required parameter 'volume_id' when calling PCloudVolumesApi.pcloud_cloudinstances_volumes_get"
|
|
260
260
|
end
|
|
261
261
|
# resource path
|
|
262
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}'.sub('{
|
|
262
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{volume_id}', CGI.escape(volume_id.to_s))
|
|
263
263
|
|
|
264
264
|
# query parameters
|
|
265
265
|
query_params = opts[:query_params] || {}
|
|
@@ -267,7 +267,7 @@ module IbmCloudPower
|
|
|
267
267
|
# header parameters
|
|
268
268
|
header_params = opts[:header_params] || {}
|
|
269
269
|
# HTTP header 'Accept' (if needed)
|
|
270
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
270
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
271
271
|
|
|
272
272
|
# form parameters
|
|
273
273
|
form_params = opts[:form_params] || {}
|
|
@@ -326,7 +326,7 @@ module IbmCloudPower
|
|
|
326
326
|
fail ArgumentError, "Missing the required parameter 'cloud_instance_id' when calling PCloudVolumesApi.pcloud_cloudinstances_volumes_getall"
|
|
327
327
|
end
|
|
328
328
|
# resource path
|
|
329
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes'.sub('{
|
|
329
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s))
|
|
330
330
|
|
|
331
331
|
# query parameters
|
|
332
332
|
query_params = opts[:query_params] || {}
|
|
@@ -337,7 +337,7 @@ module IbmCloudPower
|
|
|
337
337
|
# header parameters
|
|
338
338
|
header_params = opts[:header_params] || {}
|
|
339
339
|
# HTTP header 'Accept' (if needed)
|
|
340
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
340
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
341
341
|
|
|
342
342
|
# form parameters
|
|
343
343
|
form_params = opts[:form_params] || {}
|
|
@@ -396,7 +396,7 @@ module IbmCloudPower
|
|
|
396
396
|
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_cloudinstances_volumes_post"
|
|
397
397
|
end
|
|
398
398
|
# resource path
|
|
399
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes'.sub('{
|
|
399
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s))
|
|
400
400
|
|
|
401
401
|
# query parameters
|
|
402
402
|
query_params = opts[:query_params] || {}
|
|
@@ -404,7 +404,7 @@ module IbmCloudPower
|
|
|
404
404
|
# header parameters
|
|
405
405
|
header_params = opts[:header_params] || {}
|
|
406
406
|
# HTTP header 'Accept' (if needed)
|
|
407
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
407
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
408
408
|
# HTTP header 'Content-Type'
|
|
409
409
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
410
410
|
if !content_type.nil?
|
|
@@ -474,7 +474,7 @@ module IbmCloudPower
|
|
|
474
474
|
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_cloudinstances_volumes_put"
|
|
475
475
|
end
|
|
476
476
|
# resource path
|
|
477
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}'.sub('{
|
|
477
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{volume_id}', CGI.escape(volume_id.to_s))
|
|
478
478
|
|
|
479
479
|
# query parameters
|
|
480
480
|
query_params = opts[:query_params] || {}
|
|
@@ -482,7 +482,7 @@ module IbmCloudPower
|
|
|
482
482
|
# header parameters
|
|
483
483
|
header_params = opts[:header_params] || {}
|
|
484
484
|
# HTTP header 'Accept' (if needed)
|
|
485
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
485
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
486
486
|
# HTTP header 'Content-Type'
|
|
487
487
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
488
488
|
if !content_type.nil?
|
|
@@ -546,7 +546,7 @@ module IbmCloudPower
|
|
|
546
546
|
fail ArgumentError, "Missing the required parameter 'volume_id' when calling PCloudVolumesApi.pcloud_cloudinstances_volumes_remote_copy_relationship_get"
|
|
547
547
|
end
|
|
548
548
|
# resource path
|
|
549
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/remote-copy'.sub('{
|
|
549
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/remote-copy'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{volume_id}', CGI.escape(volume_id.to_s))
|
|
550
550
|
|
|
551
551
|
# query parameters
|
|
552
552
|
query_params = opts[:query_params] || {}
|
|
@@ -554,7 +554,7 @@ module IbmCloudPower
|
|
|
554
554
|
# header parameters
|
|
555
555
|
header_params = opts[:header_params] || {}
|
|
556
556
|
# HTTP header 'Accept' (if needed)
|
|
557
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
557
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
558
558
|
|
|
559
559
|
# form parameters
|
|
560
560
|
form_params = opts[:form_params] || {}
|
|
@@ -619,7 +619,7 @@ module IbmCloudPower
|
|
|
619
619
|
fail ArgumentError, "Missing the required parameter 'volume_id' when calling PCloudVolumesApi.pcloud_pvminstances_volumes_delete"
|
|
620
620
|
end
|
|
621
621
|
# resource path
|
|
622
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}'.sub('{
|
|
622
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{pvm_instance_id}', CGI.escape(pvm_instance_id.to_s)).sub('{volume_id}', CGI.escape(volume_id.to_s))
|
|
623
623
|
|
|
624
624
|
# query parameters
|
|
625
625
|
query_params = opts[:query_params] || {}
|
|
@@ -627,7 +627,7 @@ module IbmCloudPower
|
|
|
627
627
|
# header parameters
|
|
628
628
|
header_params = opts[:header_params] || {}
|
|
629
629
|
# HTTP header 'Accept' (if needed)
|
|
630
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
630
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
631
631
|
|
|
632
632
|
# form parameters
|
|
633
633
|
form_params = opts[:form_params] || {}
|
|
@@ -692,7 +692,7 @@ module IbmCloudPower
|
|
|
692
692
|
fail ArgumentError, "Missing the required parameter 'volume_id' when calling PCloudVolumesApi.pcloud_pvminstances_volumes_get"
|
|
693
693
|
end
|
|
694
694
|
# resource path
|
|
695
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}'.sub('{
|
|
695
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{pvm_instance_id}', CGI.escape(pvm_instance_id.to_s)).sub('{volume_id}', CGI.escape(volume_id.to_s))
|
|
696
696
|
|
|
697
697
|
# query parameters
|
|
698
698
|
query_params = opts[:query_params] || {}
|
|
@@ -700,7 +700,7 @@ module IbmCloudPower
|
|
|
700
700
|
# header parameters
|
|
701
701
|
header_params = opts[:header_params] || {}
|
|
702
702
|
# HTTP header 'Accept' (if needed)
|
|
703
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
703
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
704
704
|
|
|
705
705
|
# form parameters
|
|
706
706
|
form_params = opts[:form_params] || {}
|
|
@@ -759,7 +759,7 @@ module IbmCloudPower
|
|
|
759
759
|
fail ArgumentError, "Missing the required parameter 'pvm_instance_id' when calling PCloudVolumesApi.pcloud_pvminstances_volumes_getall"
|
|
760
760
|
end
|
|
761
761
|
# resource path
|
|
762
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes'.sub('{
|
|
762
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{pvm_instance_id}', CGI.escape(pvm_instance_id.to_s))
|
|
763
763
|
|
|
764
764
|
# query parameters
|
|
765
765
|
query_params = opts[:query_params] || {}
|
|
@@ -767,7 +767,7 @@ module IbmCloudPower
|
|
|
767
767
|
# header parameters
|
|
768
768
|
header_params = opts[:header_params] || {}
|
|
769
769
|
# HTTP header 'Accept' (if needed)
|
|
770
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
770
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
771
771
|
|
|
772
772
|
# form parameters
|
|
773
773
|
form_params = opts[:form_params] || {}
|
|
@@ -799,6 +799,7 @@ module IbmCloudPower
|
|
|
799
799
|
end
|
|
800
800
|
|
|
801
801
|
# Attach a volume to a PVMInstance
|
|
802
|
+
# 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.
|
|
802
803
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
803
804
|
# @param pvm_instance_id [String] PCloud PVM Instance ID
|
|
804
805
|
# @param volume_id [String] Volume ID
|
|
@@ -810,6 +811,7 @@ module IbmCloudPower
|
|
|
810
811
|
end
|
|
811
812
|
|
|
812
813
|
# Attach a volume to a PVMInstance
|
|
814
|
+
# 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.
|
|
813
815
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
814
816
|
# @param pvm_instance_id [String] PCloud PVM Instance ID
|
|
815
817
|
# @param volume_id [String] Volume ID
|
|
@@ -832,7 +834,7 @@ module IbmCloudPower
|
|
|
832
834
|
fail ArgumentError, "Missing the required parameter 'volume_id' when calling PCloudVolumesApi.pcloud_pvminstances_volumes_post"
|
|
833
835
|
end
|
|
834
836
|
# resource path
|
|
835
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}'.sub('{
|
|
837
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{pvm_instance_id}', CGI.escape(pvm_instance_id.to_s)).sub('{volume_id}', CGI.escape(volume_id.to_s))
|
|
836
838
|
|
|
837
839
|
# query parameters
|
|
838
840
|
query_params = opts[:query_params] || {}
|
|
@@ -840,7 +842,7 @@ module IbmCloudPower
|
|
|
840
842
|
# header parameters
|
|
841
843
|
header_params = opts[:header_params] || {}
|
|
842
844
|
# HTTP header 'Accept' (if needed)
|
|
843
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
845
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
844
846
|
|
|
845
847
|
# form parameters
|
|
846
848
|
form_params = opts[:form_params] || {}
|
|
@@ -911,7 +913,7 @@ module IbmCloudPower
|
|
|
911
913
|
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_pvminstances_volumes_put"
|
|
912
914
|
end
|
|
913
915
|
# resource path
|
|
914
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}'.sub('{
|
|
916
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{pvm_instance_id}', CGI.escape(pvm_instance_id.to_s)).sub('{volume_id}', CGI.escape(volume_id.to_s))
|
|
915
917
|
|
|
916
918
|
# query parameters
|
|
917
919
|
query_params = opts[:query_params] || {}
|
|
@@ -919,7 +921,7 @@ module IbmCloudPower
|
|
|
919
921
|
# header parameters
|
|
920
922
|
header_params = opts[:header_params] || {}
|
|
921
923
|
# HTTP header 'Accept' (if needed)
|
|
922
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
924
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
923
925
|
# HTTP header 'Content-Type'
|
|
924
926
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
925
927
|
if !content_type.nil?
|
|
@@ -956,6 +958,7 @@ module IbmCloudPower
|
|
|
956
958
|
end
|
|
957
959
|
|
|
958
960
|
# Set the PVMInstance volume as the boot volume
|
|
961
|
+
# 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.
|
|
959
962
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
960
963
|
# @param pvm_instance_id [String] PCloud PVM Instance ID
|
|
961
964
|
# @param volume_id [String] Volume ID
|
|
@@ -967,6 +970,7 @@ module IbmCloudPower
|
|
|
967
970
|
end
|
|
968
971
|
|
|
969
972
|
# Set the PVMInstance volume as the boot volume
|
|
973
|
+
# 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.
|
|
970
974
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
971
975
|
# @param pvm_instance_id [String] PCloud PVM Instance ID
|
|
972
976
|
# @param volume_id [String] Volume ID
|
|
@@ -989,7 +993,7 @@ module IbmCloudPower
|
|
|
989
993
|
fail ArgumentError, "Missing the required parameter 'volume_id' when calling PCloudVolumesApi.pcloud_pvminstances_volumes_setboot_put"
|
|
990
994
|
end
|
|
991
995
|
# resource path
|
|
992
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}/setboot'.sub('{
|
|
996
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}/setboot'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{pvm_instance_id}', CGI.escape(pvm_instance_id.to_s)).sub('{volume_id}', CGI.escape(volume_id.to_s))
|
|
993
997
|
|
|
994
998
|
# query parameters
|
|
995
999
|
query_params = opts[:query_params] || {}
|
|
@@ -997,7 +1001,7 @@ module IbmCloudPower
|
|
|
997
1001
|
# header parameters
|
|
998
1002
|
header_params = opts[:header_params] || {}
|
|
999
1003
|
# HTTP header 'Accept' (if needed)
|
|
1000
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
|
1004
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1001
1005
|
|
|
1002
1006
|
# form parameters
|
|
1003
1007
|
form_params = opts[:form_params] || {}
|
|
@@ -1028,7 +1032,86 @@ module IbmCloudPower
|
|
|
1028
1032
|
return data, status_code, headers
|
|
1029
1033
|
end
|
|
1030
1034
|
|
|
1035
|
+
# Detach multiple volumes from a PVMInstance
|
|
1036
|
+
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1037
|
+
# @param pvm_instance_id [String] PCloud PVM Instance ID
|
|
1038
|
+
# @param body [VolumesDetach] Parameter to detach multiple volumes from a PVMInstance
|
|
1039
|
+
# @param [Hash] opts the optional parameters
|
|
1040
|
+
# @return [VolumesDetachmentResponse]
|
|
1041
|
+
def pcloud_v2_pvminstances_volumes_delete(cloud_instance_id, pvm_instance_id, body, opts = {})
|
|
1042
|
+
data, _status_code, _headers = pcloud_v2_pvminstances_volumes_delete_with_http_info(cloud_instance_id, pvm_instance_id, body, opts)
|
|
1043
|
+
data
|
|
1044
|
+
end
|
|
1045
|
+
|
|
1046
|
+
# Detach multiple volumes from a PVMInstance
|
|
1047
|
+
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1048
|
+
# @param pvm_instance_id [String] PCloud PVM Instance ID
|
|
1049
|
+
# @param body [VolumesDetach] Parameter to detach multiple volumes from a PVMInstance
|
|
1050
|
+
# @param [Hash] opts the optional parameters
|
|
1051
|
+
# @return [Array<(VolumesDetachmentResponse, Integer, Hash)>] VolumesDetachmentResponse data, response status code and response headers
|
|
1052
|
+
def pcloud_v2_pvminstances_volumes_delete_with_http_info(cloud_instance_id, pvm_instance_id, body, opts = {})
|
|
1053
|
+
if @api_client.config.debugging
|
|
1054
|
+
@api_client.config.logger.debug 'Calling API: PCloudVolumesApi.pcloud_v2_pvminstances_volumes_delete ...'
|
|
1055
|
+
end
|
|
1056
|
+
# verify the required parameter 'cloud_instance_id' is set
|
|
1057
|
+
if @api_client.config.client_side_validation && cloud_instance_id.nil?
|
|
1058
|
+
fail ArgumentError, "Missing the required parameter 'cloud_instance_id' when calling PCloudVolumesApi.pcloud_v2_pvminstances_volumes_delete"
|
|
1059
|
+
end
|
|
1060
|
+
# verify the required parameter 'pvm_instance_id' is set
|
|
1061
|
+
if @api_client.config.client_side_validation && pvm_instance_id.nil?
|
|
1062
|
+
fail ArgumentError, "Missing the required parameter 'pvm_instance_id' when calling PCloudVolumesApi.pcloud_v2_pvminstances_volumes_delete"
|
|
1063
|
+
end
|
|
1064
|
+
# verify the required parameter 'body' is set
|
|
1065
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1066
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_v2_pvminstances_volumes_delete"
|
|
1067
|
+
end
|
|
1068
|
+
# resource path
|
|
1069
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{pvm_instance_id}', CGI.escape(pvm_instance_id.to_s))
|
|
1070
|
+
|
|
1071
|
+
# query parameters
|
|
1072
|
+
query_params = opts[:query_params] || {}
|
|
1073
|
+
|
|
1074
|
+
# header parameters
|
|
1075
|
+
header_params = opts[:header_params] || {}
|
|
1076
|
+
# HTTP header 'Accept' (if needed)
|
|
1077
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1078
|
+
# HTTP header 'Content-Type'
|
|
1079
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1080
|
+
if !content_type.nil?
|
|
1081
|
+
header_params['Content-Type'] = content_type
|
|
1082
|
+
end
|
|
1083
|
+
|
|
1084
|
+
# form parameters
|
|
1085
|
+
form_params = opts[:form_params] || {}
|
|
1086
|
+
|
|
1087
|
+
# http body (model)
|
|
1088
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
1089
|
+
|
|
1090
|
+
# return_type
|
|
1091
|
+
return_type = opts[:debug_return_type] || 'VolumesDetachmentResponse'
|
|
1092
|
+
|
|
1093
|
+
# auth_names
|
|
1094
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1095
|
+
|
|
1096
|
+
new_options = opts.merge(
|
|
1097
|
+
:operation => :"PCloudVolumesApi.pcloud_v2_pvminstances_volumes_delete",
|
|
1098
|
+
:header_params => header_params,
|
|
1099
|
+
:query_params => query_params,
|
|
1100
|
+
:form_params => form_params,
|
|
1101
|
+
:body => post_body,
|
|
1102
|
+
:auth_names => auth_names,
|
|
1103
|
+
:return_type => return_type
|
|
1104
|
+
)
|
|
1105
|
+
|
|
1106
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1107
|
+
if @api_client.config.debugging
|
|
1108
|
+
@api_client.config.logger.debug "API called: PCloudVolumesApi#pcloud_v2_pvminstances_volumes_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1109
|
+
end
|
|
1110
|
+
return data, status_code, headers
|
|
1111
|
+
end
|
|
1112
|
+
|
|
1031
1113
|
# Attach all volumes to a PVMInstance
|
|
1114
|
+
# 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
1115
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1033
1116
|
# @param pvm_instance_id [String] PCloud PVM Instance ID
|
|
1034
1117
|
# @param body [VolumesAttach] Parameter to attach volumes to a PVMInstance
|
|
@@ -1040,6 +1123,7 @@ module IbmCloudPower
|
|
|
1040
1123
|
end
|
|
1041
1124
|
|
|
1042
1125
|
# Attach all volumes to a PVMInstance
|
|
1126
|
+
# 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.
|
|
1043
1127
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1044
1128
|
# @param pvm_instance_id [String] PCloud PVM Instance ID
|
|
1045
1129
|
# @param body [VolumesAttach] Parameter to attach volumes to a PVMInstance
|
|
@@ -1062,7 +1146,7 @@ module IbmCloudPower
|
|
|
1062
1146
|
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_v2_pvminstances_volumes_post"
|
|
1063
1147
|
end
|
|
1064
1148
|
# resource path
|
|
1065
|
-
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes'.sub('{
|
|
1149
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{pvm_instance_id}', CGI.escape(pvm_instance_id.to_s))
|
|
1066
1150
|
|
|
1067
1151
|
# query parameters
|
|
1068
1152
|
query_params = opts[:query_params] || {}
|
|
@@ -1070,7 +1154,7 @@ module IbmCloudPower
|
|
|
1070
1154
|
# header parameters
|
|
1071
1155
|
header_params = opts[:header_params] || {}
|
|
1072
1156
|
# HTTP header 'Accept' (if needed)
|
|
1073
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1157
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1074
1158
|
# HTTP header 'Content-Type'
|
|
1075
1159
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1076
1160
|
if !content_type.nil?
|
|
@@ -1134,7 +1218,7 @@ module IbmCloudPower
|
|
|
1134
1218
|
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_v2_volumes_clone_post"
|
|
1135
1219
|
end
|
|
1136
1220
|
# resource path
|
|
1137
|
-
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone'.sub('{
|
|
1221
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s))
|
|
1138
1222
|
|
|
1139
1223
|
# query parameters
|
|
1140
1224
|
query_params = opts[:query_params] || {}
|
|
@@ -1142,7 +1226,7 @@ module IbmCloudPower
|
|
|
1142
1226
|
# header parameters
|
|
1143
1227
|
header_params = opts[:header_params] || {}
|
|
1144
1228
|
# HTTP header 'Accept' (if needed)
|
|
1145
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1229
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1146
1230
|
# HTTP header 'Content-Type'
|
|
1147
1231
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1148
1232
|
if !content_type.nil?
|
|
@@ -1206,7 +1290,7 @@ module IbmCloudPower
|
|
|
1206
1290
|
fail ArgumentError, "Missing the required parameter 'clone_task_id' when calling PCloudVolumesApi.pcloud_v2_volumes_clonetasks_get"
|
|
1207
1291
|
end
|
|
1208
1292
|
# resource path
|
|
1209
|
-
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id}'.sub('{
|
|
1293
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id}'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{clone_task_id}', CGI.escape(clone_task_id.to_s))
|
|
1210
1294
|
|
|
1211
1295
|
# query parameters
|
|
1212
1296
|
query_params = opts[:query_params] || {}
|
|
@@ -1214,7 +1298,7 @@ module IbmCloudPower
|
|
|
1214
1298
|
# header parameters
|
|
1215
1299
|
header_params = opts[:header_params] || {}
|
|
1216
1300
|
# HTTP header 'Accept' (if needed)
|
|
1217
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'percentComplete', 'status'])
|
|
1301
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'percentComplete', 'status']) unless header_params['Accept']
|
|
1218
1302
|
|
|
1219
1303
|
# form parameters
|
|
1220
1304
|
form_params = opts[:form_params] || {}
|
|
@@ -1245,6 +1329,78 @@ module IbmCloudPower
|
|
|
1245
1329
|
return data, status_code, headers
|
|
1246
1330
|
end
|
|
1247
1331
|
|
|
1332
|
+
# Delete all volumes
|
|
1333
|
+
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1334
|
+
# @param body [VolumesDelete] Parameters to delete volumes
|
|
1335
|
+
# @param [Hash] opts the optional parameters
|
|
1336
|
+
# @return [VolumesDeleteResponse]
|
|
1337
|
+
def pcloud_v2_volumes_delete(cloud_instance_id, body, opts = {})
|
|
1338
|
+
data, _status_code, _headers = pcloud_v2_volumes_delete_with_http_info(cloud_instance_id, body, opts)
|
|
1339
|
+
data
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1342
|
+
# Delete all volumes
|
|
1343
|
+
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1344
|
+
# @param body [VolumesDelete] Parameters to delete volumes
|
|
1345
|
+
# @param [Hash] opts the optional parameters
|
|
1346
|
+
# @return [Array<(VolumesDeleteResponse, Integer, Hash)>] VolumesDeleteResponse data, response status code and response headers
|
|
1347
|
+
def pcloud_v2_volumes_delete_with_http_info(cloud_instance_id, body, opts = {})
|
|
1348
|
+
if @api_client.config.debugging
|
|
1349
|
+
@api_client.config.logger.debug 'Calling API: PCloudVolumesApi.pcloud_v2_volumes_delete ...'
|
|
1350
|
+
end
|
|
1351
|
+
# verify the required parameter 'cloud_instance_id' is set
|
|
1352
|
+
if @api_client.config.client_side_validation && cloud_instance_id.nil?
|
|
1353
|
+
fail ArgumentError, "Missing the required parameter 'cloud_instance_id' when calling PCloudVolumesApi.pcloud_v2_volumes_delete"
|
|
1354
|
+
end
|
|
1355
|
+
# verify the required parameter 'body' is set
|
|
1356
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
1357
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_v2_volumes_delete"
|
|
1358
|
+
end
|
|
1359
|
+
# resource path
|
|
1360
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s))
|
|
1361
|
+
|
|
1362
|
+
# query parameters
|
|
1363
|
+
query_params = opts[:query_params] || {}
|
|
1364
|
+
|
|
1365
|
+
# header parameters
|
|
1366
|
+
header_params = opts[:header_params] || {}
|
|
1367
|
+
# HTTP header 'Accept' (if needed)
|
|
1368
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1369
|
+
# HTTP header 'Content-Type'
|
|
1370
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1371
|
+
if !content_type.nil?
|
|
1372
|
+
header_params['Content-Type'] = content_type
|
|
1373
|
+
end
|
|
1374
|
+
|
|
1375
|
+
# form parameters
|
|
1376
|
+
form_params = opts[:form_params] || {}
|
|
1377
|
+
|
|
1378
|
+
# http body (model)
|
|
1379
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
1380
|
+
|
|
1381
|
+
# return_type
|
|
1382
|
+
return_type = opts[:debug_return_type] || 'VolumesDeleteResponse'
|
|
1383
|
+
|
|
1384
|
+
# auth_names
|
|
1385
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1386
|
+
|
|
1387
|
+
new_options = opts.merge(
|
|
1388
|
+
:operation => :"PCloudVolumesApi.pcloud_v2_volumes_delete",
|
|
1389
|
+
:header_params => header_params,
|
|
1390
|
+
:query_params => query_params,
|
|
1391
|
+
:form_params => form_params,
|
|
1392
|
+
:body => post_body,
|
|
1393
|
+
:auth_names => auth_names,
|
|
1394
|
+
:return_type => return_type
|
|
1395
|
+
)
|
|
1396
|
+
|
|
1397
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1398
|
+
if @api_client.config.debugging
|
|
1399
|
+
@api_client.config.logger.debug "API called: PCloudVolumesApi#pcloud_v2_volumes_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1400
|
+
end
|
|
1401
|
+
return data, status_code, headers
|
|
1402
|
+
end
|
|
1403
|
+
|
|
1248
1404
|
# Create multiple data volumes from a single definition
|
|
1249
1405
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1250
1406
|
# @param body [MultiVolumesCreate] Parameters for creating multiple volumes
|
|
@@ -1273,7 +1429,7 @@ module IbmCloudPower
|
|
|
1273
1429
|
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_v2_volumes_post"
|
|
1274
1430
|
end
|
|
1275
1431
|
# resource path
|
|
1276
|
-
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes'.sub('{
|
|
1432
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s))
|
|
1277
1433
|
|
|
1278
1434
|
# query parameters
|
|
1279
1435
|
query_params = opts[:query_params] || {}
|
|
@@ -1281,7 +1437,7 @@ module IbmCloudPower
|
|
|
1281
1437
|
# header parameters
|
|
1282
1438
|
header_params = opts[:header_params] || {}
|
|
1283
1439
|
# HTTP header 'Accept' (if needed)
|
|
1284
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1440
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1285
1441
|
# HTTP header 'Content-Type'
|
|
1286
1442
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1287
1443
|
if !content_type.nil?
|
|
@@ -1317,7 +1473,8 @@ module IbmCloudPower
|
|
|
1317
1473
|
return data, status_code, headers
|
|
1318
1474
|
end
|
|
1319
1475
|
|
|
1320
|
-
# Cancel a volumes-clone request
|
|
1476
|
+
# Cancel a volumes-clone request
|
|
1477
|
+
# Initiates the cleanup action that performs the cleanup of the preparatory clones and snapshot volumes.
|
|
1321
1478
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1322
1479
|
# @param volumes_clone_id [String] Volumes Clone ID
|
|
1323
1480
|
# @param [Hash] opts the optional parameters
|
|
@@ -1328,7 +1485,8 @@ module IbmCloudPower
|
|
|
1328
1485
|
data
|
|
1329
1486
|
end
|
|
1330
1487
|
|
|
1331
|
-
# Cancel a volumes-clone request
|
|
1488
|
+
# Cancel a volumes-clone request
|
|
1489
|
+
# Initiates the cleanup action that performs the cleanup of the preparatory clones and snapshot volumes.
|
|
1332
1490
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1333
1491
|
# @param volumes_clone_id [String] Volumes Clone ID
|
|
1334
1492
|
# @param [Hash] opts the optional parameters
|
|
@@ -1347,7 +1505,7 @@ module IbmCloudPower
|
|
|
1347
1505
|
fail ArgumentError, "Missing the required parameter 'volumes_clone_id' when calling PCloudVolumesApi.pcloud_v2_volumesclone_cancel_post"
|
|
1348
1506
|
end
|
|
1349
1507
|
# resource path
|
|
1350
|
-
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/cancel'.sub('{
|
|
1508
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/cancel'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{volumes_clone_id}', CGI.escape(volumes_clone_id.to_s))
|
|
1351
1509
|
|
|
1352
1510
|
# query parameters
|
|
1353
1511
|
query_params = opts[:query_params] || {}
|
|
@@ -1355,7 +1513,7 @@ module IbmCloudPower
|
|
|
1355
1513
|
# header parameters
|
|
1356
1514
|
header_params = opts[:header_params] || {}
|
|
1357
1515
|
# HTTP header 'Accept' (if needed)
|
|
1358
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1516
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1359
1517
|
# HTTP header 'Content-Type'
|
|
1360
1518
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1361
1519
|
if !content_type.nil?
|
|
@@ -1419,7 +1577,7 @@ module IbmCloudPower
|
|
|
1419
1577
|
fail ArgumentError, "Missing the required parameter 'volumes_clone_id' when calling PCloudVolumesApi.pcloud_v2_volumesclone_delete"
|
|
1420
1578
|
end
|
|
1421
1579
|
# resource path
|
|
1422
|
-
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}'.sub('{
|
|
1580
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{volumes_clone_id}', CGI.escape(volumes_clone_id.to_s))
|
|
1423
1581
|
|
|
1424
1582
|
# query parameters
|
|
1425
1583
|
query_params = opts[:query_params] || {}
|
|
@@ -1427,7 +1585,7 @@ module IbmCloudPower
|
|
|
1427
1585
|
# header parameters
|
|
1428
1586
|
header_params = opts[:header_params] || {}
|
|
1429
1587
|
# HTTP header 'Accept' (if needed)
|
|
1430
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
|
1588
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1431
1589
|
|
|
1432
1590
|
# form parameters
|
|
1433
1591
|
form_params = opts[:form_params] || {}
|
|
@@ -1458,7 +1616,8 @@ module IbmCloudPower
|
|
|
1458
1616
|
return data, status_code, headers
|
|
1459
1617
|
end
|
|
1460
1618
|
|
|
1461
|
-
# Initiate the Execute action for a volumes-clone request
|
|
1619
|
+
# Initiate the Execute action for a volumes-clone request
|
|
1620
|
+
# Execute action creates the cloned volumes using the volume snapshots.
|
|
1462
1621
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1463
1622
|
# @param volumes_clone_id [String] Volumes Clone ID
|
|
1464
1623
|
# @param body [VolumesCloneExecute] Parameters for the cloning of volumes
|
|
@@ -1469,7 +1628,8 @@ module IbmCloudPower
|
|
|
1469
1628
|
data
|
|
1470
1629
|
end
|
|
1471
1630
|
|
|
1472
|
-
# Initiate the Execute action for a volumes-clone request
|
|
1631
|
+
# Initiate the Execute action for a volumes-clone request
|
|
1632
|
+
# Execute action creates the cloned volumes using the volume snapshots.
|
|
1473
1633
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1474
1634
|
# @param volumes_clone_id [String] Volumes Clone ID
|
|
1475
1635
|
# @param body [VolumesCloneExecute] Parameters for the cloning of volumes
|
|
@@ -1492,7 +1652,7 @@ module IbmCloudPower
|
|
|
1492
1652
|
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_v2_volumesclone_execute_post"
|
|
1493
1653
|
end
|
|
1494
1654
|
# resource path
|
|
1495
|
-
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute'.sub('{
|
|
1655
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{volumes_clone_id}', CGI.escape(volumes_clone_id.to_s))
|
|
1496
1656
|
|
|
1497
1657
|
# query parameters
|
|
1498
1658
|
query_params = opts[:query_params] || {}
|
|
@@ -1500,7 +1660,7 @@ module IbmCloudPower
|
|
|
1500
1660
|
# header parameters
|
|
1501
1661
|
header_params = opts[:header_params] || {}
|
|
1502
1662
|
# HTTP header 'Accept' (if needed)
|
|
1503
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1663
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1504
1664
|
# HTTP header 'Content-Type'
|
|
1505
1665
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1506
1666
|
if !content_type.nil?
|
|
@@ -1564,7 +1724,7 @@ module IbmCloudPower
|
|
|
1564
1724
|
fail ArgumentError, "Missing the required parameter 'volumes_clone_id' when calling PCloudVolumesApi.pcloud_v2_volumesclone_get"
|
|
1565
1725
|
end
|
|
1566
1726
|
# resource path
|
|
1567
|
-
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}'.sub('{
|
|
1727
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{volumes_clone_id}', CGI.escape(volumes_clone_id.to_s))
|
|
1568
1728
|
|
|
1569
1729
|
# query parameters
|
|
1570
1730
|
query_params = opts[:query_params] || {}
|
|
@@ -1572,7 +1732,7 @@ module IbmCloudPower
|
|
|
1572
1732
|
# header parameters
|
|
1573
1733
|
header_params = opts[:header_params] || {}
|
|
1574
1734
|
# HTTP header 'Accept' (if needed)
|
|
1575
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1735
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1576
1736
|
|
|
1577
1737
|
# form parameters
|
|
1578
1738
|
form_params = opts[:form_params] || {}
|
|
@@ -1631,7 +1791,7 @@ module IbmCloudPower
|
|
|
1631
1791
|
fail ArgumentError, "invalid value for \"filter\", must be one of #{allowable_values}"
|
|
1632
1792
|
end
|
|
1633
1793
|
# resource path
|
|
1634
|
-
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone'.sub('{
|
|
1794
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s))
|
|
1635
1795
|
|
|
1636
1796
|
# query parameters
|
|
1637
1797
|
query_params = opts[:query_params] || {}
|
|
@@ -1640,7 +1800,7 @@ module IbmCloudPower
|
|
|
1640
1800
|
# header parameters
|
|
1641
1801
|
header_params = opts[:header_params] || {}
|
|
1642
1802
|
# HTTP header 'Accept' (if needed)
|
|
1643
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1803
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1644
1804
|
|
|
1645
1805
|
# form parameters
|
|
1646
1806
|
form_params = opts[:form_params] || {}
|
|
@@ -1671,7 +1831,8 @@ module IbmCloudPower
|
|
|
1671
1831
|
return data, status_code, headers
|
|
1672
1832
|
end
|
|
1673
1833
|
|
|
1674
|
-
# Create a new volumes clone request and initiates the Prepare action
|
|
1834
|
+
# Create a new volumes clone request and initiates the Prepare action
|
|
1835
|
+
# 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.
|
|
1675
1836
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1676
1837
|
# @param body [VolumesCloneCreate] Parameters for preparing a set of volumes to be cloned
|
|
1677
1838
|
# @param [Hash] opts the optional parameters
|
|
@@ -1681,7 +1842,8 @@ module IbmCloudPower
|
|
|
1681
1842
|
data
|
|
1682
1843
|
end
|
|
1683
1844
|
|
|
1684
|
-
# Create a new volumes clone request and initiates the Prepare action
|
|
1845
|
+
# Create a new volumes clone request and initiates the Prepare action
|
|
1846
|
+
# 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.
|
|
1685
1847
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1686
1848
|
# @param body [VolumesCloneCreate] Parameters for preparing a set of volumes to be cloned
|
|
1687
1849
|
# @param [Hash] opts the optional parameters
|
|
@@ -1699,7 +1861,7 @@ module IbmCloudPower
|
|
|
1699
1861
|
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_v2_volumesclone_post"
|
|
1700
1862
|
end
|
|
1701
1863
|
# resource path
|
|
1702
|
-
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone'.sub('{
|
|
1864
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s))
|
|
1703
1865
|
|
|
1704
1866
|
# query parameters
|
|
1705
1867
|
query_params = opts[:query_params] || {}
|
|
@@ -1707,7 +1869,7 @@ module IbmCloudPower
|
|
|
1707
1869
|
# header parameters
|
|
1708
1870
|
header_params = opts[:header_params] || {}
|
|
1709
1871
|
# HTTP header 'Accept' (if needed)
|
|
1710
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1872
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1711
1873
|
# HTTP header 'Content-Type'
|
|
1712
1874
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1713
1875
|
if !content_type.nil?
|
|
@@ -1743,7 +1905,8 @@ module IbmCloudPower
|
|
|
1743
1905
|
return data, status_code, headers
|
|
1744
1906
|
end
|
|
1745
1907
|
|
|
1746
|
-
# Initiate the Start action for a volumes-clone request
|
|
1908
|
+
# Initiate the Start action for a volumes-clone request
|
|
1909
|
+
# Start action starts the consistency group to initiate the flash copy.
|
|
1747
1910
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1748
1911
|
# @param volumes_clone_id [String] Volumes Clone ID
|
|
1749
1912
|
# @param [Hash] opts the optional parameters
|
|
@@ -1753,7 +1916,8 @@ module IbmCloudPower
|
|
|
1753
1916
|
data
|
|
1754
1917
|
end
|
|
1755
1918
|
|
|
1756
|
-
# Initiate the Start action for a volumes-clone request
|
|
1919
|
+
# Initiate the Start action for a volumes-clone request
|
|
1920
|
+
# Start action starts the consistency group to initiate the flash copy.
|
|
1757
1921
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1758
1922
|
# @param volumes_clone_id [String] Volumes Clone ID
|
|
1759
1923
|
# @param [Hash] opts the optional parameters
|
|
@@ -1771,7 +1935,7 @@ module IbmCloudPower
|
|
|
1771
1935
|
fail ArgumentError, "Missing the required parameter 'volumes_clone_id' when calling PCloudVolumesApi.pcloud_v2_volumesclone_start_post"
|
|
1772
1936
|
end
|
|
1773
1937
|
# resource path
|
|
1774
|
-
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/start'.sub('{
|
|
1938
|
+
local_var_path = '/pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/start'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s)).sub('{volumes_clone_id}', CGI.escape(volumes_clone_id.to_s))
|
|
1775
1939
|
|
|
1776
1940
|
# query parameters
|
|
1777
1941
|
query_params = opts[:query_params] || {}
|
|
@@ -1779,7 +1943,7 @@ module IbmCloudPower
|
|
|
1779
1943
|
# header parameters
|
|
1780
1944
|
header_params = opts[:header_params] || {}
|
|
1781
1945
|
# HTTP header 'Accept' (if needed)
|
|
1782
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
|
1946
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1783
1947
|
|
|
1784
1948
|
# form parameters
|
|
1785
1949
|
form_params = opts[:form_params] || {}
|
|
@@ -1811,6 +1975,7 @@ module IbmCloudPower
|
|
|
1811
1975
|
end
|
|
1812
1976
|
|
|
1813
1977
|
# Create a volume clone for specified volumes
|
|
1978
|
+
# 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.
|
|
1814
1979
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1815
1980
|
# @param body [VolumesCloneRequest] Parameters for the cloning of volumes
|
|
1816
1981
|
# @param [Hash] opts the optional parameters
|
|
@@ -1821,6 +1986,7 @@ module IbmCloudPower
|
|
|
1821
1986
|
end
|
|
1822
1987
|
|
|
1823
1988
|
# Create a volume clone for specified volumes
|
|
1989
|
+
# 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.
|
|
1824
1990
|
# @param cloud_instance_id [String] Cloud Instance ID of a PCloud Instance
|
|
1825
1991
|
# @param body [VolumesCloneRequest] Parameters for the cloning of volumes
|
|
1826
1992
|
# @param [Hash] opts the optional parameters
|
|
@@ -1838,7 +2004,7 @@ module IbmCloudPower
|
|
|
1838
2004
|
fail ArgumentError, "Missing the required parameter 'body' when calling PCloudVolumesApi.pcloud_volumes_clone_post"
|
|
1839
2005
|
end
|
|
1840
2006
|
# resource path
|
|
1841
|
-
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/clone'.sub('{
|
|
2007
|
+
local_var_path = '/pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/clone'.sub('{cloud_instance_id}', CGI.escape(cloud_instance_id.to_s))
|
|
1842
2008
|
|
|
1843
2009
|
# query parameters
|
|
1844
2010
|
query_params = opts[:query_params] || {}
|
|
@@ -1846,7 +2012,7 @@ module IbmCloudPower
|
|
|
1846
2012
|
# header parameters
|
|
1847
2013
|
header_params = opts[:header_params] || {}
|
|
1848
2014
|
# HTTP header 'Accept' (if needed)
|
|
1849
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2015
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1850
2016
|
# HTTP header 'Content-Type'
|
|
1851
2017
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1852
2018
|
if !content_type.nil?
|