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: scaleway-async/scaleway_async/applesilicon/v1alpha1/api.py
+31-31Lines changed: 31 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ class ApplesiliconV1Alpha1API(API):
44
44
"""
45
45
Apple silicon.
46
46
47
-
Scaleway Apple silicon M1 as-a-Service is built using the latest generation of Apple Mac mini hardware (fifth generation).
47
+
Scaleway Apple silicon as-a-Service is built using the latest generation of Apple Mac mini hardware (fifth generation).
48
48
49
49
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.
50
50
@@ -63,7 +63,7 @@ async def list_server_types(
63
63
zone: Optional[Zone] =None,
64
64
) ->ListServerTypesResponse:
65
65
"""
66
-
List all server types technical details.
66
+
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`.
67
67
:param zone: Zone to target. If none is passed will use default zone from the config.
Create a new server in the targeted zone, specifying its configuration including name and type.
125
125
:param zone: Zone to target. If none is passed will use default zone from the config.
126
126
:param name: Create a server with this given name.
127
127
:param project_id: Create a server in the given project ID.
@@ -164,13 +164,13 @@ async def list_servers(
164
164
page_size: Optional[int] =None,
165
165
) ->ListServersResponse:
166
166
"""
167
-
List all servers.
167
+
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.
168
168
:param zone: Zone to target. If none is passed will use default zone from the config.
169
-
:param order_by: The sort order of the returned servers.
170
-
:param project_id: List only servers of this project ID.
171
-
:param organization_id: List only servers of this organization ID.
172
-
:param page: A positive integer to choose the page to return.
173
-
:param page_size: A positive integer lower or equal to 100 to select the number of items to return.
169
+
:param order_by: Sort order of the returned servers.
170
+
:param project_id: Only list servers of this project ID.
171
+
:param organization_id: Only list servers of this Organization ID.
172
+
:param page: Positive integer to choose the page to return.
173
+
:param page_size: Positive integer lower or equal to 100 to select the number of items to return.
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.
212
212
:param zone: Zone to target. If none is passed will use default zone from the config.
213
-
:param order_by: The sort order of the returned servers.
214
-
:param project_id: List only servers of this project ID.
215
-
:param organization_id: List only servers of this organization ID.
216
-
:param page: A positive integer to choose the page to return.
217
-
:param page_size: A positive integer lower or equal to 100 to select the number of items to return.
213
+
:param order_by: Sort order of the returned servers.
214
+
:param project_id: Only list servers of this project ID.
215
+
:param organization_id: Only list servers of this Organization ID.
216
+
:param page: Positive integer to choose the page to return.
217
+
:param page_size: Positive integer lower or equal to 100 to select the number of items to return.
Get an Operating System (OS). The response will include the OS's unique ID as well as its name and label.
325
325
:param zone: Zone to target. If none is passed will use default zone from the config.
326
326
:param os_id: UUID of the OS you want to get.
327
327
:return: :class:`OS <OS>`
@@ -350,7 +350,7 @@ async def get_server(
350
350
zone: Optional[Zone] =None,
351
351
) ->Server:
352
352
"""
353
-
Get a server.
353
+
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.
354
354
:param zone: Zone to target. If none is passed will use default zone from the config.
355
355
:param server_id: UUID of the server you want to get.
356
356
:return: :class:`Server <Server>`
@@ -415,7 +415,7 @@ async def update_server(
415
415
zone: Optional[Zone] =None,
416
416
) ->Server:
417
417
"""
418
-
Update a server.
418
+
Update the parameters of an existing Apple silicon server, specified by its server ID.
419
419
:param zone: Zone to target. If none is passed will use default zone from the config.
420
420
:param server_id: UUID of the server you want to update.
421
421
:param name: Updated name for your server.
@@ -456,7 +456,7 @@ async def delete_server(
456
456
zone: Optional[Zone] =None,
457
457
) ->Optional[None]:
458
458
"""
459
-
Delete a server.
459
+
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.
460
460
:param zone: Zone to target. If none is passed will use default zone from the config.
461
461
:param server_id: UUID of the server you want to delete.
462
462
@@ -484,7 +484,7 @@ async def reboot_server(
484
484
zone: Optional[Zone] =None,
485
485
) ->Server:
486
486
"""
487
-
Reboot a server.
487
+
Reboot an existing Apple silicon server, specified by its server ID.
488
488
:param zone: Zone to target. If none is passed will use default zone from the config.
489
489
:param server_id: UUID of the server you want to reboot.
490
490
:return: :class:`Server <Server>`
@@ -513,7 +513,7 @@ async def reinstall_server(
513
513
zone: Optional[Zone] =None,
514
514
) ->Server:
515
515
"""
516
-
Reinstall a server.
516
+
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).
517
517
:param zone: Zone to target. If none is passed will use default zone from the config.
518
518
:param server_id: UUID of the server you want to reinstall.
0 commit comments