Skip to content

feat(spec): updated the sdk as per the api spec released on 2025-04-02#112

Merged
uibm merged 1 commit intomasterfrom
release-2025-04-02
Apr 2, 2025
Merged

feat(spec): updated the sdk as per the api spec released on 2025-04-02#112
uibm merged 1 commit intomasterfrom
release-2025-04-02

Conversation

@uibm
Copy link
Copy Markdown
Member

@uibm uibm commented Apr 2, 2025

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

1. New Features

  • support for volume bandwidth
  • support for tdx confidential compute mode

Added Functions/Methods

  • func (*VolumeProfileBandwidth) isaVolumeProfileBandwidth() bool {
  • func (*VolumeProfileBandwidthDependent) isaVolumeProfileBandwidth() bool {
  • func (*VolumeProfileBandwidthDependentRange) isaVolumeProfileBandwidth() bool {
  • func (*VolumeProfileBandwidthEnum) isaVolumeProfileBandwidth() bool {
  • func (*VolumeProfileBandwidthFixed) isaVolumeProfileBandwidth() bool {
  • func (*VolumeProfileBandwidthRange) isaVolumeProfileBandwidth() bool {

Added Struct Fields

Added Constants

  • InstanceConfidentialComputeModeTdxConst = "tdx"
  • InstanceGpuManufacturerIntelConst = "intel"
  • InstancePatchConfidentialComputeModeTdxConst = "tdx"
  • InstanceProfileGpuManufacturerValuesIntelConst = "intel"
  • InstanceProfileSupportedConfidentialComputeModesDefaultTdxConst = "tdx"
  • InstanceProfileSupportedConfidentialComputeModesValuesTdxConst = "tdx"
  • InstancePrototypeConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplateConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplatePrototypeConfidentialComputeModeTdxConst = "tdx"
  • VPNGatewayModePolicyConst = "policy"
  • InstancePrototypeInstanceByCatalogOfferingConfidentialComputeModeTdxConst = "tdx"
  • InstancePrototypeInstanceByImageConfidentialComputeModeTdxConst = "tdx"
  • InstancePrototypeInstanceBySourceSnapshotConfidentialComputeModeTdxConst = "tdx"
  • InstancePrototypeInstanceBySourceTemplateConfidentialComputeModeTdxConst = "tdx"
  • InstancePrototypeInstanceByVolumeConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplatePrototypeInstanceTemplateByImageConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplatePrototypeInstanceTemplateBySourceTemplateConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplateInstanceByImageInstanceTemplateContextConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextConfidentialComputeModeTdxConst = "tdx"
  • VolumeProfileBandwidthDependentTypeDependentConst = "dependent"
  • VolumeProfileBandwidthDependentRangeTypeDependentRangeConst = "dependent_range"
  • VolumeProfileBandwidthEnumTypeEnumConst = "enum"
  • VolumeProfileBandwidthFixedTypeFixedConst = "fixed"
  • VolumeProfileBandwidthRangeTypeRangeConst = "range"
  • InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkAttachmentConfidentialComputeModeTdxConst = "tdx"
  • InstancePrototypeInstanceByCatalogOfferingInstanceByCatalogOfferingInstanceByNetworkInterfaceConfidentialComputeModeTdxConst = "tdx"
  • InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkAttachmentConfidentialComputeModeTdxConst = "tdx"
  • InstancePrototypeInstanceByImageInstanceByImageInstanceByNetworkInterfaceConfidentialComputeModeTdxConst = "tdx"
  • InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkAttachmentConfidentialComputeModeTdxConst = "tdx"
  • InstancePrototypeInstanceBySourceSnapshotInstanceBySourceSnapshotInstanceByNetworkInterfaceConfidentialComputeModeTdxConst = "tdx"
  • InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkAttachmentConfidentialComputeModeTdxConst = "tdx"
  • InstancePrototypeInstanceByVolumeInstanceByVolumeInstanceByNetworkInterfaceConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkAttachmentConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplatePrototypeInstanceTemplateByCatalogOfferingInstanceTemplateByCatalogOfferingInstanceByNetworkInterfaceConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkAttachmentConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplatePrototypeInstanceTemplateByImageInstanceTemplateByImageInstanceByNetworkInterfaceConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkAttachmentConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplatePrototypeInstanceTemplateBySourceSnapshotInstanceTemplateBySourceSnapshotInstanceByNetworkInterfaceConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkAttachmentConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplateInstanceByCatalogOfferingInstanceTemplateContextInstanceByCatalogOfferingInstanceTemplateContextInstanceByNetworkInterfaceConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkAttachmentConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplateInstanceByImageInstanceTemplateContextInstanceByImageInstanceTemplateContextInstanceByNetworkInterfaceConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkAttachmentConfidentialComputeModeTdxConst = "tdx"
  • InstanceTemplateInstanceBySourceSnapshotInstanceTemplateContextInstanceBySourceSnapshotInstanceTemplateContextInstanceByNetworkInterfaceConfidentialComputeModeTdxConst = "tdx"

2. Breaking Changes

Modified Function Signatures

``

-func (vpc *VpcV1) DeleteSnapshot(deleteSnapshotOptions *DeleteSnapshotOptions) (result *Snapshot, response *core.DetailedResponse, err error) {
#### ``
```diff
-func (vpc *VpcV1) DeleteSnapshotWithContext(ctx context.Context, deleteSnapshotOptions *DeleteSnapshotOptions) (result *Snapshot, response *core.DetailedResponse, err error) {

### Removed Functions/Methods

- func (vpc *VpcV1) DeleteSnapshot(deleteSnapshotOptions *DeleteSnapshotOptions) (result *Snapshot, response *core.DetailedResponse, err error) {
- func (vpc *VpcV1) DeleteSnapshotWithContext(ctx context.Context, deleteSnapshotOptions *DeleteSnapshotOptions) (result *Snapshot, response *core.DetailedResponse, err error) {




### API Version Changes
 2025-04-01

Signed-off-by: Ujjwal Kumar <Ujjwal.Kumar1@ibm.com>
@uibm uibm requested a review from deepaksibm April 2, 2025 08:50
@uibm uibm self-assigned this Apr 2, 2025
@uibm uibm merged commit 6b314ef into master Apr 2, 2025
5 checks passed
@uibm uibm deleted the release-2025-04-02 branch April 2, 2025 09:09
@uibm uibm added the released label Apr 10, 2025
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