Skip to content

feat(spec): update the sdk to the api spec version 2026-01-20#150

Merged
uibm merged 1 commit intomasterfrom
release-2026-01-20
Jan 23, 2026
Merged

feat(spec): update the sdk to the api spec version 2026-01-20#150
uibm merged 1 commit intomasterfrom
release-2026-01-20

Conversation

@uibm
Copy link
Copy Markdown
Member

@uibm uibm commented Jan 22, 2026

Ran 3982 of 3982 Specs in 109.038 seconds
SUCCESS! -- 3982 Passed | 0 Failed | 0 Pending | 0 Skipped
--- PASS: TestVpcV1 (109.96s)
PASS
ok      github.com/IBM/vpc-go-sdk/vpcv1 111.259s

API Version Update

  • Updated default VPC API version from 2025-12-16 to 2026-01-20.

Instance Availability Class

Added support for instance availability classes, enabling spot instances and explicit preemption behavior.

New Core Models

  • InstanceAvailability
  • InstanceAvailabilityPatch
  • InstanceAvailabilityPrototype

Availability Policy Enhancements

Extended instance availability policy to model spot preemption behavior.

Updated / Extended Models

  • InstanceAvailabilityPolicy
  • InstanceAvailabilityPolicyPatch
  • InstanceAvailabilityPolicyPrototype

New Capability

  • Added preemption action:
    • delete
    • stop

Instance, Prototype & Template Updates

Added explicit availability support across all instance surfaces.

Updated Structs

  • Instance (availability required in responses)
  • InstancePatch
  • InstancePrototype
  • InstanceTemplate
  • InstanceTemplatePrototype
  • All InstanceBy* and instance-template context structs

Instance Profile Enhancements

Extended instance profiles to declare availability-class constraints.

New Profile Models

  • InstanceProfileAvailabilityClass
  • InstanceProfileAvailabilityClassEnum
  • InstanceProfileAvailabilityClassFixed

Updated Struct

  • InstanceProfile
    • Added required AvailabilityClass

Instance Listing & Filtering

New Filter

  • availability.class (spot, standard) added to ListInstancesOptions

Lifecycle & Status Updates

  • Added new instance status reason:
    • stopped_by_preemption

Signed-off-by: Ujjwal Kumar <Ujjwal.Kumar1@ibm.com>
@uibm uibm requested a review from deepakibms January 23, 2026 06:15
@uibm uibm merged commit 7617751 into master Jan 23, 2026
9 checks passed
@uibm uibm deleted the release-2026-01-20 branch January 23, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants