Skip to content

feat(spec): updated the sdk as per the api spec released on 2025-03-10#111

Merged
uibm merged 6 commits intomasterfrom
release-2025-03-10
Mar 12, 2025
Merged

feat(spec): updated the sdk as per the api spec released on 2025-03-10#111
uibm merged 6 commits intomasterfrom
release-2025-03-10

Conversation

@uibm
Copy link
Copy Markdown
Member

@uibm uibm commented Mar 12, 2025

Ran 3749 of 3749 Specs in 105.003 seconds
SUCCESS! -- 3749 Passed | 0 Failed | 0 Pending | 0 Skipped
--- PASS: TestVpcV1 (105.91s)
PASS
ok      github.com/IBM/vpc-go-sdk/vpcv1 106.858s

NEW FEATURES

  • Support for Snapshot in DeleteSnapshot response
  • Support for FailsafePolicy in LoadBalancerPool, LoadBalancerPoolPatch
  • Support for FailsafePolicyActions in LoadBalancer
  • Added StorageGeneration property to Snapshot and Volume
  • Added new constants for hardware manufacturers:
    • InstanceGpuManufacturerNvidiaConst = "nvidia"
    • InstanceVcpuManufacturerAmdConst = "amd"
    • InstanceVcpuManufacturerIBMConst = "ibm"
    • InstanceVcpuManufacturerIntelConst = "intel"
    • DedicatedHostProfileVcpuManufacturerValueAmdConst = "amd"
    • DedicatedHostProfileVcpuManufacturerValueIBMConst = "ibm"
    • DedicatedHostProfileVcpuManufacturerValueIntelConst = "intel"
  • Added constants for failsafe policy actions:
    • LoadBalancerFailsafePolicyActionsBypassConst = "bypass"
    • LoadBalancerFailsafePolicyActionsDropConst = "drop"
    • LoadBalancerFailsafePolicyActionsFailConst = "fail"
    • LoadBalancerFailsafePolicyActionsForwardConst = "forward"
  • Added new Snapshot lifecycle state constant:
    • SnapshotLifecycleStateUnusableConst = "unusable"

BREAKING CHANGES

  • In CreateLoadBalancerOptions, Pools is changed from LoadBalancerPoolPrototype to LoadBalancerPoolPrototypeLoadBalancerContext
  • In CreateLoadBalancerPoolOptions, HealthMonitor is changed from LoadBalancerPoolHealthMonitorPrototype to LoadBalancerPoolHealthMonitorPrototypeIntf
  • Removed Default field from InstanceProfileVcpuArchitecture
  • Removed Default field from InstanceProfileVcpuManufacturer
  • OperatingSystem field in Image is now required (added validate:"required")
  • DeleteLoadBalancerPool adds restriction that pool must not "be the target pool in the failsafe policy for any other pool"
  • Constants renamed due to type renames:
    • LoadBalancerPoolPrototypeProxyProtocolDisabledConst → LoadBalancerPoolPrototypeLoadBalancerContextProxyProtocolDisabledConst
    • LoadBalancerPoolPrototypeProxyProtocolV1Const → LoadBalancerPoolPrototypeLoadBalancerContextProxyProtocolV1Const
    • LoadBalancerPoolPrototypeProxyProtocolV2Const → LoadBalancerPoolPrototypeLoadBalancerContextProxyProtocolV2Const
    • LoadBalancerPoolPrototypeProtocolHTTPConst → LoadBalancerPoolPrototypeLoadBalancerContextProtocolHTTPConst
    • LoadBalancerPoolPrototypeProtocolHTTPSConst → LoadBalancerPoolPrototypeLoadBalancerContextProtocolHTTPSConst
    • LoadBalancerPoolPrototypeProtocolTCPConst → LoadBalancerPoolPrototypeLoadBalancerContextProtocolTCPConst
    • LoadBalancerPoolPrototypeProtocolUDPConst → LoadBalancerPoolPrototypeLoadBalancerContextProtocolUDPConst
    • LoadBalancerPoolPrototypeAlgorithmLeastConnectionsConst → LoadBalancerPoolPrototypeLoadBalancerContextAlgorithmLeastConnectionsConst
    • LoadBalancerPoolPrototypeAlgorithmRoundRobinConst → LoadBalancerPoolPrototypeLoadBalancerContextAlgorithmRoundRobinConst
    • LoadBalancerPoolPrototypeAlgorithmWeightedRoundRobinConst → LoadBalancerPoolPrototypeLoadBalancerContextAlgorithmWeightedRoundRobinConst

CHANGES

  • API version updated to 2025-03-04 (from 2024-12-17)
  • API version date range updated to 2025-03-08 (from 2024-12-18)
  • Documentation improvements:
    • Load balancer port ranges now described as "non-overlapping" instead of "unique"
    • Flow Log Collector now explicitly mentions "TCP and UDP data" rather than general "data"
    • Port range and protocol descriptions more precise
  • Default values documented:
    • Unspecified connection limit for load balancers will default to 15000
    • Unspecified idle connection timeout will default to 50
    • Unspecified weight for load balancer pool members will default to 50

BUG FIXES

  • None

Signed-off-by: Ujjwal Kumar <Ujjwal.Kumar1@ibm.com>
@uibm uibm requested a review from deepaksibm March 12, 2025 14:21
uibm added 5 commits March 12, 2025 19:54
Signed-off-by: Ujjwal Kumar <Ujjwal.Kumar1@ibm.com>
Signed-off-by: Ujjwal Kumar <Ujjwal.Kumar1@ibm.com>
Signed-off-by: Ujjwal Kumar <Ujjwal.Kumar1@ibm.com>
Signed-off-by: Ujjwal Kumar <Ujjwal.Kumar1@ibm.com>
Signed-off-by: Ujjwal Kumar <Ujjwal.Kumar1@ibm.com>
@uibm uibm merged commit bab0fd9 into master Mar 12, 2025
5 checks passed
@uibm uibm added the released label Mar 12, 2025
@uibm uibm deleted the release-2025-03-10 branch April 14, 2025 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants