feat(spec): update the sdk to the api spec version 2026-03-24#153
Open
feat(spec): update the sdk to the api spec version 2026-03-24#153
Conversation
Signed-off-by: Ujjwal Kumar <Ujjwal.Kumar1@ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Volume Jobs Support
Added comprehensive support for volume jobs, enabling asynchronous operations on block storage volumes such as migration between storage tiers.
New API Methods
Volume Job Operations
ListVolumeJobs- List all jobs for a volumeCreateVolumeJob- Create a new job for a volumeGetVolumeJob- Retrieve details of a specific volume jobUpdateVolumeJob- Update a volume jobDeleteVolumeJob- Delete a volume jobCancelVolumeJob- Cancel a running volume jobContext-Aware Variants
All methods include context-aware variants (e.g.,
ListVolumeJobsWithContext) for better control over request lifecycle.New Core Models
Volume Job Models
VolumeJob- Core volume job resourceVolumeJobIntf- Interface for volume job typesVolumeJobCollection- Collection of volume jobs with pagination supportVolumeJobPatch- Patch model for updating volume jobsVolumeJobStatusReason- Status reason details for job stateVolume Job Prototypes
VolumeJobPrototype- Base prototype for creating volume jobsVolumeJobPrototypeIntf- Interface for job prototype typesVolumeJobPrototypeVolumeJobTypeMigratePrototype- Prototype for migration jobsJob Type Specific Models
VolumeJobTypeMigrate- Migration job type implementationVolumeJobTypeMigrateParameters- Parameters for volume migration jobsNew Options Structs
ListVolumeJobsOptions- Options for listing volume jobsCreateVolumeJobOptions- Options for creating a volume jobGetVolumeJobOptions- Options for retrieving a volume jobUpdateVolumeJobOptions- Options for updating a volume jobDeleteVolumeJobOptions- Options for deleting a volume jobCancelVolumeJobOptions- Options for canceling a volume jobPagination Support
New Pager
VolumeJobsPager- Automatic pagination support for listing volume jobsJob Types
Supported Job Types
migrate- Volume migration between storage tiersVolumeJobPrototypeJobTypeMigrateConstVolumeJobPrototypeVolumeJobTypeMigratePrototypeJobTypeMigrateConstFeatures