Skip to content

Commit 0b3a4f2

Browse files
authored
docs(instance): add missing pnic requests (#1493)
1 parent b21744e commit 0b3a4f2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

api/instance/v1/instance_sdk.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5040,7 +5040,7 @@ type ListPrivateNICsRequest struct {
50405040
//
50415041
// Zone to target. If none is passed will use default zone from the config
50425042
Zone scw.Zone `json:"-"`
5043-
5043+
// ServerID: the server the private NIC is attached to
50445044
ServerID string `json:"-"`
50455045
}
50465046

@@ -5083,9 +5083,9 @@ type CreatePrivateNICRequest struct {
50835083
//
50845084
// Zone to target. If none is passed will use default zone from the config
50855085
Zone scw.Zone `json:"-"`
5086-
5086+
// ServerID: UUID of the server the private NIC will be attached to
50875087
ServerID string `json:"-"`
5088-
5088+
// PrivateNetworkID: UUID of the private network where the private NIC will be attached
50895089
PrivateNetworkID string `json:"private_network_id,omitempty"`
50905090
}
50915091

@@ -5133,9 +5133,9 @@ type GetPrivateNICRequest struct {
51335133
//
51345134
// Zone to target. If none is passed will use default zone from the config
51355135
Zone scw.Zone `json:"-"`
5136-
5136+
// ServerID: the server the private NIC is attached to
51375137
ServerID string `json:"-"`
5138-
5138+
// PrivateNicID: the private NIC unique ID
51395139
PrivateNicID string `json:"-"`
51405140
}
51415141

@@ -5182,9 +5182,9 @@ type DeletePrivateNICRequest struct {
51825182
//
51835183
// Zone to target. If none is passed will use default zone from the config
51845184
Zone scw.Zone `json:"-"`
5185-
5185+
// ServerID: the server the private NIC is attached to
51865186
ServerID string `json:"-"`
5187-
5187+
// PrivateNicID: the private NIC unique ID
51885188
PrivateNicID string `json:"-"`
51895189
}
51905190

0 commit comments

Comments
 (0)