File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -92,13 +92,13 @@ type CreateParametersNetwork struct {
9292
9393// CreateParametersNetworkInterface represents network interface configuration.
9494type CreateParametersNetworkInterface struct {
95- Interface * IDOrName `json:"interface ,omitempty"`
96- SecurityGroups * []CreateParametersNetworkInterfaceSecurityGroupsItem `json:"security_groups,omitempty"`
95+ ID * string `json:"id ,omitempty"`
96+ SecurityGroups * []CreateParametersNetworkInterfaceWithID `json:"security_groups,omitempty"`
9797}
9898
99- // CreateParametersNetworkInterfaceSecurityGroupsItem represents a security group item.
100- type CreateParametersNetworkInterfaceSecurityGroupsItem struct {
101- Id string `json:"id"`
99+ // CreateParametersNetworkInterfaceWithID represents a security group item.
100+ type CreateParametersNetworkInterfaceWithID struct {
101+ ID string `json:"id"`
102102}
103103
104104// IDOrName represents a resource that can be identified by ID or name.
You can’t perform that action at this time.
0 commit comments