@@ -114,7 +114,7 @@ export interface CreateServerRequestInstall {
114114 /** Hostname of the server */
115115 hostname : string
116116 /** SSH key IDs authorized on the server */
117- sshKeyIds : Array < string >
117+ sshKeyIds : string [ ]
118118 /** User used for the installation */
119119 user ?: string
120120 /** Password used for the installation */
@@ -160,35 +160,35 @@ export interface ListOSResponse {
160160 /** Total count of matching OS */
161161 totalCount : number
162162 /** OS that match filters */
163- os : Array < OS >
163+ os : OS [ ]
164164}
165165
166166/** List offers response */
167167export interface ListOffersResponse {
168168 /** Total count of matching offers */
169169 totalCount : number
170170 /** Offers that match filters */
171- offers : Array < Offer >
171+ offers : Offer [ ]
172172}
173173
174174/** List options response */
175175export interface ListOptionsResponse {
176176 /** Total count of matching options */
177177 totalCount : number
178178 /** Options that match filters */
179- options : Array < Option >
179+ options : Option [ ]
180180}
181181
182182/** List server events response */
183183export interface ListServerEventsResponse {
184184 /** Total count of matching events */
185185 totalCount : number
186186 /** Server events that match filters */
187- events : Array < ServerEvent >
187+ events : ServerEvent [ ]
188188}
189189
190190export interface ListServerPrivateNetworksResponse {
191- serverPrivateNetworks : Array < ServerPrivateNetwork >
191+ serverPrivateNetworks : ServerPrivateNetwork [ ]
192192 totalCount : number
193193}
194194
@@ -197,15 +197,15 @@ export interface ListServersResponse {
197197 /** Total count of matching servers */
198198 totalCount : number
199199 /** Servers that match filters */
200- servers : Array < Server >
200+ servers : Server [ ]
201201}
202202
203203/** List settings response */
204204export interface ListSettingsResponse {
205205 /** Total count of matching sttings */
206206 totalCount : number
207207 /** Settings that match filters */
208- settings : Array < Setting >
208+ settings : Setting [ ]
209209}
210210
211211/** Memory */
@@ -272,29 +272,29 @@ export interface Offer {
272272 /** Price of the offer per months */
273273 pricePerMonth ?: Money
274274 /** Disks specifications of the offer */
275- disks : Array < Disk >
275+ disks : Disk [ ]
276276 /** True if the offer is currently available */
277277 enable : boolean
278278 /** CPU specifications of the offer */
279- cpus : Array < CPU >
279+ cpus : CPU [ ]
280280 /** Memory specifications of the offer */
281- memories : Array < Memory >
281+ memories : Memory [ ]
282282 /** Name of the quota associated to the offer */
283283 quotaName : string
284284 /** Persistent memory specifications of the offer */
285- persistentMemories : Array < PersistentMemory >
285+ persistentMemories : PersistentMemory [ ]
286286 /** Raid controller specifications of the offer */
287- raidControllers : Array < RaidController >
287+ raidControllers : RaidController [ ]
288288 /** Array of incompatible OS ids */
289- incompatibleOsIds : Array < string >
289+ incompatibleOsIds : string [ ]
290290 /** Period of subscription for the offer */
291291 subscriptionPeriod : OfferSubscriptionPeriod
292292 /** Operation path of the service */
293293 operationPath : string
294294 /** Fee to pay on order */
295295 fee ?: Money
296296 /** Options available on offer */
297- options : Array < OfferOptionOffer >
297+ options : OfferOptionOffer [ ]
298298}
299299
300300/** Offer. option offer */
@@ -340,7 +340,7 @@ export interface PersistentMemory {
340340
341341export interface RaidController {
342342 model : string
343- raidLevel : Array < string >
343+ raidLevel : string [ ]
344344}
345345
346346/** Server */
@@ -366,9 +366,9 @@ export interface Server {
366366 /** Offer name of the server */
367367 offerName : string
368368 /** Array of customs tags attached to the server */
369- tags : Array < string >
369+ tags : string [ ]
370370 /** Array of IPs attached to the server */
371- ips : Array < IP >
371+ ips : IP [ ]
372372 /** Domain of the server */
373373 domain : string
374374 /** Boot type of the server */
@@ -380,7 +380,7 @@ export interface Server {
380380 /** Server status of ping */
381381 pingStatus : ServerPingStatus
382382 /** Options enabled on server */
383- options : Array < ServerOption >
383+ options : ServerOption [ ]
384384 /** Configuration of rescue boot */
385385 rescueServer ?: ServerRescueServer
386386}
@@ -404,7 +404,7 @@ export interface ServerInstall {
404404 /** Host defined in the server install */
405405 hostname : string
406406 /** SSH public key IDs defined in the server install */
407- sshKeyIds : Array < string >
407+ sshKeyIds : string [ ]
408408 /** Status of the server install */
409409 status : ServerInstallStatus
410410 /**
@@ -464,7 +464,7 @@ export interface ServerRescueServer {
464464}
465465
466466export interface SetServerPrivateNetworksResponse {
467- serverPrivateNetworks : Array < ServerPrivateNetwork >
467+ serverPrivateNetworks : ServerPrivateNetwork [ ]
468468}
469469
470470/** Setting */
@@ -489,9 +489,9 @@ export type ListServersRequest = {
489489 /** Order of the servers */
490490 orderBy ?: ListServersRequestOrderBy
491491 /** Filter by tags */
492- tags ?: Array < string >
492+ tags ?: string [ ]
493493 /** Filter by status */
494- status ?: Array < string >
494+ status ?: string [ ]
495495 /** Filter by name */
496496 name ?: string
497497 /** Filter by organization ID */
@@ -533,11 +533,11 @@ export type CreateServerRequest = {
533533 /** Description associated to the server, max 255 characters */
534534 description : string
535535 /** Tags to associate to the server */
536- tags ?: Array < string >
536+ tags ?: string [ ]
537537 /** Configuration of installation */
538538 install ?: CreateServerRequestInstall
539539 /** IDs of options to enable on server */
540- optionIds ?: Array < string >
540+ optionIds ?: string [ ]
541541}
542542
543543export type UpdateServerRequest = {
@@ -553,7 +553,7 @@ export type UpdateServerRequest = {
553553 */
554554 description ?: string
555555 /** Tags associated to the server, not updated if null */
556- tags ?: Array < string >
556+ tags ?: string [ ]
557557}
558558
559559export type InstallServerRequest = {
@@ -566,7 +566,7 @@ export type InstallServerRequest = {
566566 /** Hostname of the server */
567567 hostname : string
568568 /** SSH key IDs authorized on the server */
569- sshKeyIds : Array < string >
569+ sshKeyIds : string [ ]
570570 /** User used for the installation */
571571 user ?: string
572572 /** Password used for the installation */
@@ -776,7 +776,7 @@ export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
776776 /** The ID of the server */
777777 serverId : string
778778 /** The IDs of the private networks */
779- privateNetworkIds : Array < string >
779+ privateNetworkIds : string [ ]
780780}
781781
782782export type PrivateNetworkApiListServerPrivateNetworksRequest = {
0 commit comments