Skip to content

Commit 3c8b7e2

Browse files
committed
Add private_ip to Linode Clone request
1 parent ed8cea2 commit 3c8b7e2

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

openapi.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7638,6 +7638,7 @@ paths:
76387638
The label to assign this Linode when cloning to a new Linode.
76397639

76407640
* Can only be provided when cloning to a new Linode.
7641+
76417642
* Defaults to "linode".
76427643
example: cloned-linode
76437644
group:
@@ -7700,6 +7701,13 @@ paths:
77007701
items:
77017702
type: integer
77027703
example: 23456
7704+
private_ip:
7705+
type: boolean
7706+
description: >
7707+
If true, the created Linode will have private networking enabled and assigned a private IPv4 address.
7708+
7709+
* Can only be provided when cloning to a new Linode.
7710+
example: true
77037711
responses:
77047712
'200':
77057713
description: Clone started.
@@ -7722,7 +7730,8 @@ paths:
77227730
"group": "Linode-Group",
77237731
"backups_enabled": true,
77247732
"disks": [25674],
7725-
"configs": [23456]
7733+
"configs": [23456],
7734+
"private_ip": true
77267735
}' \
77277736
https://api.linode.com/v4/linode/instances/123/clone
77287737
- lang: CLI
@@ -7734,7 +7743,8 @@ paths:
77347743
--label cloned-linode \
77357744
--backups_enabled true \
77367745
--disks 25674 \
7737-
--configs 23456
7746+
--configs 23456 \
7747+
--private_ip true
77387748
/linode/instances/{linodeId}/configs:
77397749
parameters:
77407750
- name: linodeId

0 commit comments

Comments
 (0)