Skip to content

Commit

Permalink
Merge pull request #291 from linode/zhiwei/clone-node-and-assign-priv…
Browse files Browse the repository at this point in the history
…ate-ip

Add PrivateIP option for cloning Linodes
  • Loading branch information
lgarber-akamai authored Jan 23, 2023
2 parents 931e40c + 8626ee6 commit cfc31f1
Show file tree
Hide file tree
Showing 3 changed files with 1,000 additions and 0 deletions.
1 change: 1 addition & 0 deletions instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ type InstanceCloneOptions struct {
BackupsEnabled bool `json:"backups_enabled"`
Disks []int `json:"disks,omitempty"`
Configs []int `json:"configs,omitempty"`
PrivateIP bool `json:"private_ip,omitempty"`
}

// InstanceResizeOptions is an options struct used when resizing an instance
Expand Down
Loading

0 comments on commit cfc31f1

Please sign in to comment.