@@ -49,31 +49,23 @@ endpoints:
49
49
description : The group to assign this Linode. Defaults to "empty".
50
50
type : String
51
51
limit : 0-50 characters
52
- distribution :
53
- optional : true
54
- description : >
55
- The ID of a Distribution to deploy this Linode with. May not be included
56
- if 'backup_id' or 'image' is sent.
57
- type : String
58
- deprecated : This parameter is deprecated and will be removed before the end of the Beta Period.
59
- You can provide the same inputs to "image" instead. See the changelog for more information.
60
52
root_pass :
61
53
optional : unless source == "distro"
62
54
description : >
63
- The root password to use when sourcing this Linode from a distribution .
64
- <ul><li>root_pass is required if the source provided is a distribution .</li></ul>
55
+ The root password to use when sourcing this Linode from an image .
56
+ <ul><li>root_pass is required if the source provided is an image .</li></ul>
65
57
type : String
66
58
authorized_keys :
67
59
optional : true
68
60
description : >
69
- An array of public SSH keys to be installed into the distribution 's
61
+ An array of public SSH keys to be installed into the image 's
70
62
default user's `authorized_keys` file when creating a Linode.
71
63
type : Array
72
64
stackscript_id :
73
65
optional : true
74
66
description : >
75
67
The stackscript ID to deploy with this disk.
76
- <ul><li>Must provide a distribution. Distribution must be
68
+ <ul><li>Must provide an Image. Images must be
77
69
one that the stackscript can be deployed to.</li></ul>
78
70
type : Integer
79
71
stackscript_data :
@@ -86,13 +78,13 @@ endpoints:
86
78
optional : true
87
79
description : >
88
80
The Backup to restore to the newly created
89
- Linode. May not be included if 'distribution' or ' image' is sent.
81
+ Linode. May not be included if 'image' is sent.
90
82
type : Integer
91
83
image :
92
84
optional : true
93
85
description : >
94
86
The gold-master image to use for the newly created Linode. May
95
- not be included if 'distribution' or ' backup_id' is sent. Official
87
+ not be included if 'backup_id' is sent. Official
96
88
images start with "linode/", while your own images start with
97
89
"private/"
98
90
type : String
@@ -107,7 +99,7 @@ endpoints:
107
99
optional : true
108
100
description : >
109
101
Whether the instance should be booted upon completion of creation.
110
- This defaults to true if created with a distribution .
102
+ This defaults to true if created with an image .
111
103
type : Boolean
112
104
examples :
113
105
curl : |
@@ -119,7 +111,7 @@ endpoints:
119
111
my_linode = client.linode.create_instance(client.get_regions().first(), 'g5-nanode-1')
120
112
121
113
distro = client.linode.get_distributons(linode.Distribution.vendor == 'debian').first()
122
- ( my_linode_2, password ) = client.linode.create_instance('us-east-1a', 'g5-standard-1', distribution=distro )
114
+ ( my_linode_2, password ) = client.linode.create_instance('us-east-1a', 'g5-standard-1', image=image )
123
115
/linode/instances/$id :
124
116
type : resource
125
117
authenticated : true
@@ -196,35 +188,25 @@ endpoints:
196
188
Size in MB for this disk.
197
189
type : Integer
198
190
limit : between 0 and the available space on the Linode
199
- distribution :
200
- optional : true
201
- description : >
202
- Optional ID of a distribution to deploy with this disk.
203
- <ul><li>If no distribution is provided, a blank disk
204
- is created.</li></ul> You may not provide distribution if image is provided.
205
- type : String
206
- deprecated : This parameter is deprecated and will be removed before the end of the Beta Period.
207
- The same value can be passed to "image" instead. See the changelog for more information.
208
191
image :
209
192
optional : true
210
193
description : >
211
- Optional image id to deploy the disk from. You may not provide image
212
- if distribution is provided. Official images start with "linode/",
213
- while your images start with "private/"
194
+ Optional image id to deploy the disk from. Official images start
195
+ with "linode/", while your images start with "private/"
214
196
seeAlso : ["/reference/endpoints/images"]
215
197
type : String
216
198
root_pass :
217
- optional : unless distribution or image is specified
199
+ optional : unless image is specified
218
200
description : >
219
- Root password to deploy distribution with.
220
- <ul><li>root_pass is required if a distribution is provided.</li></ul>
201
+ Root password to deploy image with.
202
+ <ul><li>root_pass is required if a image is provided.</li></ul>
221
203
type : String
222
204
authorized_keys :
223
- optional : unless distribution is not specified
205
+ optional : unless image is not specified
224
206
description : >
225
- An array of public SSH keys to be installed into the distribution 's
207
+ An array of public SSH keys to be installed into the image 's
226
208
default user's `authorized_keys` file when creating a new disk from
227
- a Linode provided distribution .
209
+ a Linode provided image .
228
210
type : Array
229
211
label :
230
212
description : >
@@ -245,7 +227,7 @@ endpoints:
245
227
optional : true
246
228
description : >
247
229
The stackscript ID to deploy with this disk.
248
- <ul><li>Must provide a distribution. Distribution must be
230
+ <ul><li>Must provide a image. Images must be
249
231
one that the stackscript can be deployed to.</li></ul>
250
232
type : Integer
251
233
stackscript_data :
@@ -975,18 +957,11 @@ endpoints:
975
957
oauth : linodes:modify
976
958
dangerous : true
977
959
params :
978
- distribution :
979
- optional : true
980
- description : >
981
- An ID of a Distribution to deploy to this Linode.
982
- type : String
983
- deprecated : This parameter is deprecated and will be removed before the end of the Beta Period.
984
- See the changelog for more information.
985
960
image :
986
961
optional : true
987
962
description : >
988
963
The gold-master image to use for this Linode. May
989
- not be included if 'distribution ' is sent. Official images start
964
+ not be included if 'image ' is sent. Official images start
990
965
with "linode/", while your own images start with "private/"
991
966
type : String
992
967
value : " linode/debian9"
@@ -997,14 +972,14 @@ endpoints:
997
972
authorized_keys :
998
973
optional : true
999
974
description : >
1000
- An array of public SSH keys to be installed into the distribution 's
975
+ An array of public SSH keys to be installed into the image 's
1001
976
default user's `authorized_keys` file when rebuilding a Linode.
1002
977
type : Array
1003
978
stackscript_id :
1004
979
optional : true
1005
980
description : >
1006
981
The stackscript ID to deploy with this disk.
1007
- <ul><li>Must provide a distribution. Distribution must be
982
+ <ul><li>Must provide an image. Images must be
1008
983
one that the stackscript can be deployed to.</li></ul>
1009
984
type : Integer
1010
985
stackscript_data :
@@ -1025,7 +1000,7 @@ endpoints:
1025
1000
-H "Authorization: Bearer $TOKEN" \
1026
1001
-X POST \
1027
1002
https://$api_root/$version/linode/instances/$linode_id/rebuild \
1028
- -d '{"distribution ":"linode/debian8","root_pass":"hunter7"}'
1003
+ -d '{"image ":"linode/debian8","root_pass":"hunter7"}'
1029
1004
python : |
1030
1005
my_linode.rebuild('linode/ubuntu16.04LTS', root_pass='hunter7')
1031
1006
/linode/stackscripts :
@@ -1091,7 +1066,7 @@ endpoints:
1091
1066
-H "Authorization: Bearer $TOKEN" \
1092
1067
-X POST -d '{
1093
1068
"label": "Initial Label",
1094
- "distributions ": ["linode/ubuntu15.4", "linode/ubuntu15.10"],
1069
+ "images ": ["linode/ubuntu15.4", "linode/ubuntu15.10"],
1095
1070
"script": "#!..."
1096
1071
}' \
1097
1072
https://$api_root/$version/linode/stackscripts
@@ -1145,38 +1120,6 @@ endpoints:
1145
1120
python : |
1146
1121
import stackscript
1147
1122
TODO
1148
- /linode/distributions :
1149
- group : Distributions
1150
- description : >
1151
- THIS ENDPOINT IS DEPRECATED. USE /images INSTEAD. Returns information about this distribution.
1152
- methods :
1153
- GET :
1154
- response : image
1155
- paginationKey : distributions
1156
- description : >
1157
- THIS ENDPOINT IS DEPRECATED. USE /images INSTEAD. Returns information about this distribution.
1158
- seeAlso : ["/reference/endpoints/images"]
1159
- examples :
1160
- curl : |
1161
- curl https://$api_root/$version/linode/distributions
1162
- python : |
1163
- client.linode.get_distributions()
1164
- /linode/distributions/$id :
1165
- group : Distributions
1166
- type : resource
1167
- description : >
1168
- THIS ENDPOINT IS DEPRECATED. USE /images INSTEAD. Returns information about this distribution.
1169
- methods :
1170
- GET :
1171
- response : image
1172
- description : >
1173
- THIS ENDPOINT IS DEPRECATED. USE /images INSTEAD. Returns information about this distribution.
1174
- seeAlso : ["/reference/endpoints/images"]
1175
- examples :
1176
- curl : |
1177
- curl https://$api_root/$version/linode/distributions/$distribution_id
1178
- python : |
1179
- distro = linode.Distribution(client, 'linode/debian8')
1180
1123
/linode/kernels :
1181
1124
group : Kernels
1182
1125
description : >
0 commit comments