Skip to content

Commit c11e629

Browse files
authored
docs: update products documentation (#525)
1 parent 88cefde commit c11e629

File tree

42 files changed

+1565
-1317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1565
-1317
lines changed

packages/clients/src/api/account/v2/api.gen.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ const jsonContentHeaders = {
2929
/**
3030
* Account API.
3131
*
32-
* This API allows you to manage projects.
32+
* User related data. This API allows you to manage projects.
3333
*/
3434
export class API extends ParentAPI {
3535
/**
36-
* Generate a new Project for an Organization, specifying its configuration
37-
* including name and description.
36+
* Create a new Project for an Organization. Generate a new Project for an
37+
* Organization, specifying its configuration including name and description.
3838
*
3939
* @param request - The request {@link CreateProjectRequest}
4040
* @returns A Promise of Project
@@ -79,10 +79,10 @@ export class API extends ParentAPI {
7979
)
8080

8181
/**
82-
* List all Projects of an Organization. The response will include the total
83-
* number of Projects as well as their associated Organizations, names and
84-
* IDs. Other information include the creation and update date of the
85-
* Project.
82+
* List all Projects of an Organization. List all Projects of an Organization.
83+
* The response will include the total number of Projects as well as their
84+
* associated Organizations, names and IDs. Other information include the
85+
* creation and update date of the Project.
8686
*
8787
* @param request - The request {@link ListProjectsRequest}
8888
* @returns A Promise of ListProjectsResponse
@@ -91,9 +91,9 @@ export class API extends ParentAPI {
9191
enrichForPagination('projects', this.pageOfListProjects, request)
9292

9393
/**
94-
* Retrieve information about an existing Project, specified by its Project
95-
* ID. Its full details, including ID, name and description, are returned in
96-
* the response object.
94+
* Get an existing Project. Retrieve information about an existing Project,
95+
* specified by its Project ID. Its full details, including ID, name and
96+
* description, are returned in the response object.
9797
*
9898
* @param request - The request {@link GetProjectRequest}
9999
* @returns A Promise of Project
@@ -111,10 +111,10 @@ export class API extends ParentAPI {
111111
)
112112

113113
/**
114-
* Delete an existing Project, specified by its Project ID. The Project needs
115-
* to be empty (meaning there are no resources left in it) to be deleted
116-
* effectively. Note that deleting a Project is permanent, and cannot be
117-
* undone.
114+
* Delete an existing Project. Delete an existing Project, specified by its
115+
* Project ID. The Project needs to be empty (meaning there are no resources
116+
* left in it) to be deleted effectively. Note that deleting a Project is
117+
* permanent, and cannot be undone.
118118
*
119119
* @param request - The request {@link DeleteProjectRequest}
120120
*/
@@ -128,8 +128,8 @@ export class API extends ParentAPI {
128128
})
129129

130130
/**
131-
* Update the parameters of an existing Project, specified by its Project ID.
132-
* These parameters include the name and description.
131+
* Update Project. Update the parameters of an existing Project, specified by
132+
* its Project ID. These parameters include the name and description.
133133
*
134134
* @param request - The request {@link UpdateProjectRequest}
135135
* @returns A Promise of Project

packages/clients/src/api/applesilicon/v1alpha1/api.gen.ts

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ const jsonContentHeaders = {
4646
/**
4747
* Apple silicon.
4848
*
49-
* Scaleway Apple silicon as-a-Service is built using the latest generation of
50-
* Apple Mac mini hardware (fifth generation).
49+
* Apple Mac mini as a service. Scaleway Apple silicon as-a-Service is built
50+
* using the latest generation of Apple Mac mini hardware (fifth generation).
5151
*
5252
* These dedicated Mac mini M1s are designed for developing, building, testing,
5353
* and signing applications for Apple devices, including iPhones, iPads, Mac
@@ -69,9 +69,9 @@ export class API extends ParentAPI {
6969
public static readonly LOCALITIES: Zone[] = ['fr-par-3']
7070

7171
/**
72-
* List all technical details about Apple silicon server types available in
73-
* the specified zone. Since there is only one Availability Zone for Apple
74-
* silicon servers, the targeted value is `fr-par-3`.
72+
* List server types. List all technical details about Apple silicon server
73+
* types available in the specified zone. Since there is only one Availability
74+
* Zone for Apple silicon servers, the targeted value is `fr-par-3`.
7575
*
7676
* @param request - The request {@link ListServerTypesRequest}
7777
* @returns A Promise of ListServerTypesResponse
@@ -89,7 +89,7 @@ export class API extends ParentAPI {
8989
)
9090

9191
/**
92-
* Get a server technical details.
92+
* Get a server type. Get a server technical details.
9393
*
9494
* @param request - The request {@link GetServerTypeRequest}
9595
* @returns A Promise of ServerType
@@ -107,8 +107,8 @@ export class API extends ParentAPI {
107107
)
108108

109109
/**
110-
* Create a new server in the targeted zone, specifying its configuration
111-
* including name and type.
110+
* Create a server. Create a new server in the targeted zone, specifying its
111+
* configuration including name and type.
112112
*
113113
* @param request - The request {@link CreateServerRequest}
114114
* @returns A Promise of Server
@@ -152,9 +152,9 @@ export class API extends ParentAPI {
152152
)
153153

154154
/**
155-
* List all servers in the specified zone. By default, returned servers in the
156-
* list are ordered by creation date in ascending order, though this can be
157-
* modified via the `order_by` field.
155+
* List all servers. List all servers in the specified zone. By default,
156+
* returned servers in the list are ordered by creation date in ascending
157+
* order, though this can be modified via the `order_by` field.
158158
*
159159
* @param request - The request {@link ListServersRequest}
160160
* @returns A Promise of ListServersResponse
@@ -184,8 +184,9 @@ export class API extends ParentAPI {
184184
)
185185

186186
/**
187-
* List all Operating System (OS). The response will include the total number
188-
* of OS as well as their associated IDs, names and labels.
187+
* List all Operating System (OS). List all Operating System (OS). The
188+
* response will include the total number of OS as well as their associated
189+
* IDs, names and labels.
189190
*
190191
* @param request - The request {@link ListOSRequest}
191192
* @returns A Promise of ListOSResponse
@@ -194,8 +195,8 @@ export class API extends ParentAPI {
194195
enrichForPagination('os', this.pageOfListOS, request)
195196

196197
/**
197-
* Get an Operating System (OS). The response will include the OS's unique ID
198-
* as well as its name and label.
198+
* Get an Operating System (OS). Get an Operating System (OS). The response
199+
* will include the OS's unique ID as well as its name and label.
199200
*
200201
* @param request - The request {@link GetOSRequest}
201202
* @returns A Promise of OS
@@ -213,9 +214,9 @@ export class API extends ParentAPI {
213214
)
214215

215216
/**
216-
* Retrieve information about an existing Apple silicon server, specified by
217-
* its server ID. Its full details, including name, status and IP address, are
218-
* returned in the response object.
217+
* Get a server. Retrieve information about an existing Apple silicon server,
218+
* specified by its server ID. Its full details, including name, status and IP
219+
* address, are returned in the response object.
219220
*
220221
* @param request - The request {@link GetServerRequest}
221222
* @returns A Promise of Server
@@ -253,8 +254,8 @@ export class API extends ParentAPI {
253254
)
254255

255256
/**
256-
* Update the parameters of an existing Apple silicon server, specified by its
257-
* server ID.
257+
* Update a server. Update the parameters of an existing Apple silicon server,
258+
* specified by its server ID.
258259
*
259260
* @param request - The request {@link UpdateServerRequest}
260261
* @returns A Promise of Server
@@ -276,10 +277,10 @@ export class API extends ParentAPI {
276277
)
277278

278279
/**
279-
* Delete an existing Apple silicon server, specified by its server ID.
280-
* Deleting a server is permanent, and cannot be undone. Note that the minimum
281-
* allocation period for Apple silicon-as-a-service is 24 hours, meaning you
282-
* cannot delete your server prior to that.
280+
* Delete a server. Delete an existing Apple silicon server, specified by its
281+
* server ID. Deleting a server is permanent, and cannot be undone. Note that
282+
* the minimum allocation period for Apple silicon-as-a-service is 24 hours,
283+
* meaning you cannot delete your server prior to that.
283284
*
284285
* @param request - The request {@link DeleteServerRequest}
285286
*/
@@ -293,7 +294,8 @@ export class API extends ParentAPI {
293294
})
294295

295296
/**
296-
* Reboot an existing Apple silicon server, specified by its server ID.
297+
* Reboot a server. Reboot an existing Apple silicon server, specified by its
298+
* server ID.
297299
*
298300
* @param request - The request {@link RebootServerRequest}
299301
* @returns A Promise of Server
@@ -313,10 +315,10 @@ export class API extends ParentAPI {
313315
)
314316

315317
/**
316-
* Reinstall an existing Apple silicon server (specified by its server ID)
317-
* from a new image (OS). All the data on the disk is deleted and all
318-
* configuration is reset to the defailt configuration values of the image
319-
* (OS).
318+
* Reinstall a server. Reinstall an existing Apple silicon server (specified
319+
* by its server ID) from a new image (OS). All the data on the disk is
320+
* deleted and all configuration is reset to the defailt configuration values
321+
* of the image (OS).
320322
*
321323
* @param request - The request {@link ReinstallServerRequest}
322324
* @returns A Promise of Server

packages/clients/src/api/applesilicon/v1alpha1/types.gen.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ export interface ServerType {
9898
memory?: ServerTypeMemory
9999
/** Current stock. */
100100
stock: ServerTypeStock
101-
/** Minimum duration of the lease in seconds (example. 3.4s). */
101+
/**
102+
* Minimum duration of the lease in seconds. Minimum duration of the lease in
103+
* seconds (example. 3.4s).
104+
*/
102105
minimumLeaseDuration?: string
103106
}
104107

0 commit comments

Comments
 (0)