You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/applesilicon/v1alpha1/applesilicon_sdk.go
+31-31Lines changed: 31 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ var (
39
39
_=namegenerator.GetRandomName
40
40
)
41
41
42
-
// API: scaleway Apple silicon M1 as-a-Service is built using the latest generation of Apple Mac mini hardware (fifth generation).
42
+
// API: scaleway Apple silicon as-a-Service is built using the latest generation of Apple Mac mini hardware (fifth generation).
43
43
//
44
44
// These dedicated Mac mini M1s are designed for developing, building, testing, and signing applications for Apple devices, including iPhones, iPads, Mac computers and much more.
// ListServerTypesResponse: list server types response.
173
173
typeListServerTypesResponsestruct {
174
-
// ServerTypes: the available server types.
174
+
// ServerTypes: available server types.
175
175
ServerTypes []*ServerType`json:"server_types"`
176
176
}
177
177
178
178
// ListServersResponse: list servers response.
179
179
typeListServersResponsestruct {
180
-
// TotalCount: the total number of servers.
180
+
// TotalCount: total number of servers.
181
181
TotalCountuint32`json:"total_count"`
182
-
// Servers: the paginated returned servers.
182
+
// Servers: paginated returned servers.
183
183
Servers []*Server`json:"servers"`
184
184
}
185
185
186
186
// OS: os.
187
187
typeOSstruct {
188
-
// ID: the OS unique ID.
188
+
// ID: unique ID of the OS.
189
189
IDstring`json:"id"`
190
-
// Name: the OS name.
190
+
// Name: oS name.
191
191
Namestring`json:"name"`
192
-
// Label: the OS name as it should be displayed.
192
+
// Label: oS name as it should be displayed.
193
193
Labelstring`json:"label"`
194
194
// ImageURL: URL of the image.
195
195
ImageURLstring`json:"image_url"`
@@ -216,13 +216,13 @@ type Server struct {
216
216
// Status: current status of the server.
217
217
// Default value: unknown_status
218
218
StatusServerStatus`json:"status"`
219
-
// CreatedAt: the date at which the server was created.
219
+
// CreatedAt: date on which the server was created.
220
220
CreatedAt*time.Time`json:"created_at"`
221
-
// UpdatedAt: the date at which the server was last updated.
221
+
// UpdatedAt: date on which the server was last updated.
222
222
UpdatedAt*time.Time`json:"updated_at"`
223
-
// DeletableAt: the date at which the server was last deleted.
223
+
// DeletableAt: date on which the server was last deleted.
224
224
DeletableAt*time.Time`json:"deletable_at"`
225
-
// Zone: the zone of the server.
225
+
// Zone: zone of the server.
226
226
Zone scw.Zone`json:"zone"`
227
227
}
228
228
@@ -273,7 +273,7 @@ type ListServerTypesRequest struct {
273
273
Zone scw.Zone`json:"-"`
274
274
}
275
275
276
-
// ListServerTypes: list all server types technical details.
276
+
// ListServerTypes: list all technical details about Apple silicon server types available in the specified zone. Since there is only one Availability Zone for Apple silicon servers, the targeted value is `fr-par-3`.
// Zone: zone to target. If none is passed will use default zone from the config.
398
398
Zone scw.Zone`json:"-"`
399
-
// OrderBy: the sort order of the returned servers.
399
+
// OrderBy: sort order of the returned servers.
400
400
// Default value: created_at_asc
401
401
OrderByListServersRequestOrderBy`json:"-"`
402
-
// ProjectID: list only servers of this project ID.
402
+
// ProjectID: only list servers of this project ID.
403
403
ProjectID*string`json:"-"`
404
-
// OrganizationID: list only servers of this organization ID.
404
+
// OrganizationID: only list servers of this Organization ID.
405
405
OrganizationID*string`json:"-"`
406
-
// Page: a positive integer to choose the page to return.
406
+
// Page: positive integer to choose the page to return.
407
407
Page*int32`json:"-"`
408
-
// PageSize: a positive integer lower or equal to 100 to select the number of items to return.
408
+
// PageSize: positive integer lower or equal to 100 to select the number of items to return.
409
409
// Default value: 50
410
410
PageSize*uint32`json:"-"`
411
411
}
412
412
413
-
// ListServers: list all servers.
413
+
// ListServers: list all servers in the specified zone. By default, returned servers in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
@@ -551,7 +551,7 @@ type GetServerRequest struct {
551
551
ServerIDstring`json:"-"`
552
552
}
553
553
554
-
// GetServer: get a server.
554
+
// GetServer: retrieve information about an existing Apple silicon server, specified by its server ID. Its full details, including name, status and IP address, are returned in the response object.
@@ -636,7 +636,7 @@ type DeleteServerRequest struct {
636
636
ServerIDstring`json:"-"`
637
637
}
638
638
639
-
// DeleteServer: delete a server.
639
+
// DeleteServer: delete an existing Apple silicon server, specified by its server ID. Deleting a server is permanent, and cannot be undone. Note that the minimum allocation period for Apple silicon-as-a-service is 24 hours, meaning you cannot delete your server prior to that.
@@ -717,7 +717,7 @@ type ReinstallServerRequest struct {
717
717
ServerIDstring`json:"-"`
718
718
}
719
719
720
-
// ReinstallServer: reinstall a server.
720
+
// ReinstallServer: reinstall an existing Apple silicon server (specified by its server ID) from a new image (OS). All the data on the disk is deleted and all configuration is reset to the defailt configuration values of the image (OS).
0 commit comments