Skip to content

Commit 72e4fdb

Browse files
feat(instance): adapt pnic creation to ipam workflow (#2096)
Co-authored-by: Laure-di <[email protected]>
1 parent 02c0fc2 commit 72e4fdb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

api/instance/v1/instance_sdk.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,8 +2233,11 @@ type CreatePrivateNICRequest struct {
22332233
// Tags: private NIC tags.
22342234
Tags []string `json:"tags,omitempty"`
22352235

2236-
// IPIDs: ip_ids defined from IPAM.
2237-
IPIDs []string `json:"ip_ids,omitempty"`
2236+
// Deprecated: IPIDs: ip_ids defined from IPAM.
2237+
IPIDs *[]string `json:"ip_ids,omitempty"`
2238+
2239+
// IpamIPIDs: UUID of IPAM ips, to be attached to the instance in the requested private network.
2240+
IpamIPIDs []string `json:"ipam_ip_ids,omitempty"`
22382241
}
22392242

22402243
// CreatePrivateNICResponse: create private nic response.

0 commit comments

Comments
 (0)