Skip to content

Commit 8aec451

Browse files
Generator: Update SDK /services/iaas (#973)
* Generate iaas * fix: Rename operation to match new name * feat: Add changelogs --------- Co-authored-by: João Palet <[email protected]>
1 parent 7c848a9 commit 8aec451

19 files changed

+5338
-1546
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## Release (2024-XX-XX)
2+
3+
- `iaas`: [v0.16.0](services/iaas/CHANGELOG.md#v0160-2024-11-08)
4+
- **Feature:** Add new methods to manage key pairs: `CreateKeyPair`, `UpdateKeyPair`, `DeleteKeyPair`, `GetKeyPair`, and `ListKeyPairs`
5+
- **Feature:** Add new field `Bootable` to `Volume`, `CreateVolumePayload`, and `UpdateVolumePayload` data models
6+
- **Breaking change:** Rename methods `AddNICToServer` and `RemoveNICFromServer` to `AddNicToServer` and `RemoveNicFromServer`, respectively
7+
18
## Release (2024-10-21)
29

310
- `iaas`: [v0.14.0](services/iaas/CHANGELOG.md#v0140-2024-10-18)

examples/iaas/attach_nic/attach_nic.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func main() {
3030
// Attach an existing network interface to an existing server
3131
var httpResp *http.Response
3232
ctxWithHTTPResp := runtime.WithCaptureHTTPResponse(context.Background(), &httpResp)
33-
err = iaasClient.AddNICToServer(ctxWithHTTPResp, projectId, serverId, nicId).Execute()
33+
err = iaasClient.AddNicToServer(ctxWithHTTPResp, projectId, serverId, nicId).Execute()
3434
if err != nil {
3535
fmt.Fprintf(os.Stderr, "[iaas API] Error when calling `AddNICToServer`: %v\n", err)
3636
} else {
@@ -47,7 +47,7 @@ func main() {
4747

4848
fmt.Printf("[iaas API] Nic %q has been successfully attached to the server %s.\n", nicId, serverId)
4949

50-
err = iaasClient.RemoveNICFromServer(ctxWithHTTPResp, projectId, serverId, nicId).Execute()
50+
err = iaasClient.RemoveNicFromServer(ctxWithHTTPResp, projectId, serverId, nicId).Execute()
5151
if err != nil {
5252
fmt.Fprintf(os.Stderr, "[iaas API] Error when calling `RemoveNICFromServer`: %v\n", err)
5353
} else {

services/iaas/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v0.16.0 (2024-11-08)
2+
3+
- **Feature:** Add new methods to manage key pairs: `CreateKeyPair`, `UpdateKeyPair`, `DeleteKeyPair`, `GetKeyPair`, and `ListKeyPairs`
4+
- **Feature:** Add new field `Bootable` to `Volume`, `CreateVolumePayload`, and `UpdateVolumePayload` data models
5+
- **Breaking change:** Rename methods `AddNICToServer` and `RemoveNICFromServer` to `AddNicToServer` and `RemoveNicFromServer`, respectively
6+
17
## v0.15.0 (2024-10-21)
28

39
- **Feature:** Filter network area routes by labels using the new `LabelSelector` method on `ApiListNetworkAreaRoutesRequest`

0 commit comments

Comments
 (0)