@scaleway/sdk 2.72.0 → 2.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/dist/api/account/v3/api.gen.cjs +13 -32
  2. package/dist/api/account/v3/api.gen.d.ts +17 -36
  3. package/dist/api/account/v3/api.gen.js +13 -32
  4. package/dist/api/account/v3/types.gen.d.ts +187 -85
  5. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  6. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  7. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  8. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  9. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  10. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  11. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  12. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  13. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  14. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  15. package/dist/api/baremetal/v1/api.gen.js +28 -61
  16. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  17. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  18. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  19. package/dist/api/baremetal/v3/api.gen.js +7 -14
  20. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  21. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  22. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  23. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  24. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  25. package/dist/api/block/v1/api.gen.cjs +37 -55
  26. package/dist/api/block/v1/api.gen.d.ts +19 -37
  27. package/dist/api/block/v1/api.gen.js +37 -55
  28. package/dist/api/block/v1/types.gen.d.ts +306 -125
  29. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  30. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  31. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  32. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  33. package/dist/api/cockpit/v1/api.gen.cjs +100 -156
  34. package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
  35. package/dist/api/cockpit/v1/api.gen.js +100 -156
  36. package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
  37. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  38. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  39. package/dist/api/container/v1beta1/api.gen.js +7 -14
  40. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  41. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  42. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  43. package/dist/api/dedibox/v1/api.gen.js +45 -69
  44. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  45. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  46. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  47. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  48. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  49. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  50. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  51. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  52. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  53. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  54. package/dist/api/inference/v1/api.gen.cjs +8 -11
  55. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  56. package/dist/api/inference/v1/api.gen.js +8 -11
  57. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  58. package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
  59. package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
  60. package/dist/api/inference/v1beta1/api.gen.js +8 -11
  61. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  62. package/dist/api/instance/v1/api.gen.cjs +64 -113
  63. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  64. package/dist/api/instance/v1/api.gen.js +64 -113
  65. package/dist/api/instance/v1/types.gen.d.ts +1351 -598
  66. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  67. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  68. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  69. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  70. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  71. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  72. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  73. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  74. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  75. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  76. package/dist/api/iot/v1/api.gen.cjs +37 -70
  77. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  78. package/dist/api/iot/v1/api.gen.js +37 -70
  79. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  80. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  81. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  82. package/dist/api/ipam/v1/api.gen.js +6 -26
  83. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  84. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  85. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  86. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  87. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  88. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  89. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  90. package/dist/api/k8s/v1/api.gen.js +33 -78
  91. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  92. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  93. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  94. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  95. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  96. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  97. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  98. package/dist/api/marketplace/v2/api.gen.js +8 -21
  99. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  100. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  101. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  102. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  103. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  104. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  105. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  106. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  107. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  108. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  109. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  110. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  111. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  112. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  113. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  114. package/dist/api/rdb/v1/api.gen.js +62 -202
  115. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  116. package/dist/api/redis/v1/api.gen.cjs +23 -83
  117. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  118. package/dist/api/redis/v1/api.gen.js +23 -83
  119. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  120. package/dist/api/registry/v1/api.gen.cjs +12 -40
  121. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  122. package/dist/api/registry/v1/api.gen.js +12 -40
  123. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  124. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  125. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  126. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  127. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  128. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  129. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  130. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  131. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  132. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  133. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  134. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  135. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  136. package/dist/api/test/v1/api.gen.cjs +8 -11
  137. package/dist/api/test/v1/api.gen.d.ts +6 -9
  138. package/dist/api/test/v1/api.gen.js +8 -11
  139. package/dist/api/test/v1/types.gen.d.ts +21 -10
  140. package/dist/client/dist/package.json.cjs +1 -1
  141. package/dist/client/dist/package.json.js +1 -1
  142. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  143. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  144. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  145. package/package.json +2 -2
  146. package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
@@ -3,32 +3,28 @@ import type { Zone as ScwZone, WaitForOptions } from '@scaleway/sdk-client';
3
3
  import type { ConnectivityDiagnostic, CreateServerRequest, DeleteServerRequest, GetConnectivityDiagnosticRequest, GetOSRequest, GetServerRequest, GetServerTypeRequest, ListOSRequest, ListOSResponse, ListServerPrivateNetworksResponse, ListServerTypesRequest, ListServerTypesResponse, ListServersRequest, ListServersResponse, OS, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiGetServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, RebootServerRequest, ReinstallServerRequest, Server, ServerPrivateNetwork, ServerType, SetServerPrivateNetworksResponse, StartConnectivityDiagnosticRequest, StartConnectivityDiagnosticResponse, UpdateServerRequest } from './types.gen';
4
4
  /**
5
5
  * Apple silicon API.
6
- *
7
- * This API allows you to manage your Apple silicon machines.
6
+
7
+ This API allows you to manage your Apple silicon machines.
8
8
  */
9
9
  export declare class API extends ParentAPI {
10
10
  /** Lists the available zones of the API. */
11
11
  static readonly LOCALITIES: ScwZone[];
12
12
  /**
13
- * List server types. List all technical details about Apple silicon server
14
- * types available in the specified zone. Since there is only one Availability
15
- * Zone for Apple silicon servers, the targeted value is `fr-par-3`.
13
+ * List server types. 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`.
16
14
  *
17
15
  * @param request - The request {@link ListServerTypesRequest}
18
16
  * @returns A Promise of ListServerTypesResponse
19
17
  */
20
18
  listServerTypes: (request?: Readonly<ListServerTypesRequest>) => Promise<ListServerTypesResponse>;
21
19
  /**
22
- * Get a server type. Get technical details (CPU, disk size etc.) of a server
23
- * type.
20
+ * Get a server type. Get technical details (CPU, disk size etc.) of a server type.
24
21
  *
25
22
  * @param request - The request {@link GetServerTypeRequest}
26
23
  * @returns A Promise of ServerType
27
24
  */
28
25
  getServerType: (request: Readonly<GetServerTypeRequest>) => Promise<ServerType>;
29
26
  /**
30
- * Create a server. Create a new server in the targeted zone, specifying its
31
- * configuration including name and type.
27
+ * Create a server. Create a new server in the targeted zone, specifying its configuration including name and type.
32
28
  *
33
29
  * @param request - The request {@link CreateServerRequest}
34
30
  * @returns A Promise of Server
@@ -36,9 +32,7 @@ export declare class API extends ParentAPI {
36
32
  createServer: (request: Readonly<CreateServerRequest>) => Promise<Server>;
37
33
  protected pageOfListServers: (request?: Readonly<ListServersRequest>) => Promise<ListServersResponse>;
38
34
  /**
39
- * List all servers. List all servers in the specified zone. By default,
40
- * returned servers in the list are ordered by creation date in ascending
41
- * order, though this can be modified via the `order_by` field.
35
+ * List all servers. 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.
42
36
  *
43
37
  * @param request - The request {@link ListServersRequest}
44
38
  * @returns A Promise of ListServersResponse
@@ -49,9 +43,7 @@ export declare class API extends ParentAPI {
49
43
  };
50
44
  protected pageOfListOS: (request?: Readonly<ListOSRequest>) => Promise<ListOSResponse>;
51
45
  /**
52
- * List all Operating Systems (OS). List all Operating Systems (OS). The
53
- * response will include the total number of OS as well as their associated
54
- * IDs, names and labels.
46
+ * List all Operating Systems (OS). List all Operating Systems (OS). The response will include the total number of OS as well as their associated IDs, names and labels.
55
47
  *
56
48
  * @param request - The request {@link ListOSRequest}
57
49
  * @returns A Promise of ListOSResponse
@@ -61,17 +53,14 @@ export declare class API extends ParentAPI {
61
53
  [Symbol.asyncIterator]: () => AsyncGenerator<OS[], void, void>;
62
54
  };
63
55
  /**
64
- * Get an Operating System (OS). Get an Operating System (OS). The response
65
- * will include the OS's unique ID as well as its name and label.
56
+ * Get an Operating System (OS). Get an Operating System (OS). The response will include the OS's unique ID as well as its name and label.
66
57
  *
67
58
  * @param request - The request {@link GetOSRequest}
68
59
  * @returns A Promise of OS
69
60
  */
70
61
  getOS: (request: Readonly<GetOSRequest>) => Promise<OS>;
71
62
  /**
72
- * Get a server. Retrieve information about an existing Apple silicon server,
73
- * specified by its server ID. Its full details, including name, status and IP
74
- * address, are returned in the response object.
63
+ * Get a server. 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.
75
64
  *
76
65
  * @param request - The request {@link GetServerRequest}
77
66
  * @returns A Promise of Server
@@ -86,35 +75,27 @@ export declare class API extends ParentAPI {
86
75
  */
87
76
  waitForServer: (request: Readonly<GetServerRequest>, options?: Readonly<WaitForOptions<Server>>) => Promise<Server>;
88
77
  /**
89
- * Update a server. Update the parameters of an existing Apple silicon server,
90
- * specified by its server ID.
78
+ * Update a server. Update the parameters of an existing Apple silicon server, specified by its server ID.
91
79
  *
92
80
  * @param request - The request {@link UpdateServerRequest}
93
81
  * @returns A Promise of Server
94
82
  */
95
83
  updateServer: (request: Readonly<UpdateServerRequest>) => Promise<Server>;
96
84
  /**
97
- * Delete a server. Delete an existing Apple silicon server, specified by its
98
- * server ID. Deleting a server is permanent, and cannot be undone. Note that
99
- * the minimum allocation period for Apple silicon-as-a-service is 24 hours,
100
- * meaning you cannot delete your server prior to that.
85
+ * Delete a server. 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.
101
86
  *
102
87
  * @param request - The request {@link DeleteServerRequest}
103
88
  */
104
89
  deleteServer: (request: Readonly<DeleteServerRequest>) => Promise<void>;
105
90
  /**
106
- * Reboot a server. Reboot an existing Apple silicon server, specified by its
107
- * server ID.
91
+ * Reboot a server. Reboot an existing Apple silicon server, specified by its server ID.
108
92
  *
109
93
  * @param request - The request {@link RebootServerRequest}
110
94
  * @returns A Promise of Server
111
95
  */
112
96
  rebootServer: (request: Readonly<RebootServerRequest>) => Promise<Server>;
113
97
  /**
114
- * Reinstall a server. Reinstall an existing Apple silicon server (specified
115
- * by its server ID) from a new image (OS). All the data on the disk is
116
- * deleted and all configuration is reset to the defailt configuration values
117
- * of the image (OS).
98
+ * Reinstall a server. 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).
118
99
  *
119
100
  * @param request - The request {@link ReinstallServerRequest}
120
101
  * @returns A Promise of Server
@@ -123,7 +104,9 @@ export declare class API extends ParentAPI {
123
104
  startConnectivityDiagnostic: (request: Readonly<StartConnectivityDiagnosticRequest>) => Promise<StartConnectivityDiagnosticResponse>;
124
105
  getConnectivityDiagnostic: (request: Readonly<GetConnectivityDiagnosticRequest>) => Promise<ConnectivityDiagnostic>;
125
106
  }
126
- /** Apple silicon - Private Networks API. */
107
+ /**
108
+ * Apple silicon - Private Networks API.
109
+ */
127
110
  export declare class PrivateNetworkAPI extends ParentAPI {
128
111
  /** Lists the available zones of the API. */
129
112
  static readonly LOCALITIES: ScwZone[];
@@ -131,37 +114,30 @@ export declare class PrivateNetworkAPI extends ParentAPI {
131
114
  /**
132
115
  * Waits for {@link ServerPrivateNetwork} to be in a final state.
133
116
  *
134
- * @param request - The request
135
- * {@link PrivateNetworkApiGetServerPrivateNetworkRequest}
117
+ * @param request - The request {@link PrivateNetworkApiGetServerPrivateNetworkRequest}
136
118
  * @param options - The waiting options
137
119
  * @returns A Promise of ServerPrivateNetwork
138
120
  */
139
121
  waitForServerPrivateNetwork: (request: Readonly<PrivateNetworkApiGetServerPrivateNetworkRequest>, options?: Readonly<WaitForOptions<ServerPrivateNetwork>>) => Promise<ServerPrivateNetwork>;
140
122
  /**
141
- * Add a server to a Private Network. Add an Apple silicon server to a Private
142
- * Network.
123
+ * Add a server to a Private Network. Add an Apple silicon server to a Private Network.
143
124
  *
144
- * @param request - The request
145
- * {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
125
+ * @param request - The request {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
146
126
  * @returns A Promise of ServerPrivateNetwork
147
127
  */
148
128
  addServerPrivateNetwork: (request: Readonly<PrivateNetworkApiAddServerPrivateNetworkRequest>) => Promise<ServerPrivateNetwork>;
149
129
  /**
150
- * Set multiple Private Networks on a server. Configure multiple Private
151
- * Networks on an Apple silicon server.
130
+ * Set multiple Private Networks on a server. Configure multiple Private Networks on an Apple silicon server.
152
131
  *
153
- * @param request - The request
154
- * {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
132
+ * @param request - The request {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
155
133
  * @returns A Promise of SetServerPrivateNetworksResponse
156
134
  */
157
135
  setServerPrivateNetworks: (request: Readonly<PrivateNetworkApiSetServerPrivateNetworksRequest>) => Promise<SetServerPrivateNetworksResponse>;
158
136
  protected pageOfListServerPrivateNetworks: (request?: Readonly<PrivateNetworkApiListServerPrivateNetworksRequest>) => Promise<ListServerPrivateNetworksResponse>;
159
137
  /**
160
- * List the Private Networks of a server. List the Private Networks of an
161
- * Apple silicon server.
138
+ * List the Private Networks of a server. List the Private Networks of an Apple silicon server.
162
139
  *
163
- * @param request - The request
164
- * {@link PrivateNetworkApiListServerPrivateNetworksRequest}
140
+ * @param request - The request {@link PrivateNetworkApiListServerPrivateNetworksRequest}
165
141
  * @returns A Promise of ListServerPrivateNetworksResponse
166
142
  */
167
143
  listServerPrivateNetworks: (request?: Readonly<PrivateNetworkApiListServerPrivateNetworksRequest>) => Promise<ListServerPrivateNetworksResponse> & {
@@ -171,8 +147,7 @@ export declare class PrivateNetworkAPI extends ParentAPI {
171
147
  /**
172
148
  * Delete a Private Network.
173
149
  *
174
- * @param request - The request
175
- * {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
150
+ * @param request - The request {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
176
151
  */
177
152
  deleteServerPrivateNetwork: (request: Readonly<PrivateNetworkApiDeleteServerPrivateNetworkRequest>) => Promise<void>;
178
153
  }
@@ -13,9 +13,7 @@ class API extends API$1 {
13
13
  /** Lists the available zones of the API. */
14
14
  static LOCALITIES = ["fr-par-3"];
15
15
  /**
16
- * List server types. List all technical details about Apple silicon server
17
- * types available in the specified zone. Since there is only one Availability
18
- * Zone for Apple silicon servers, the targeted value is `fr-par-3`.
16
+ * List server types. 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`.
19
17
  *
20
18
  * @param request - The request {@link ListServerTypesRequest}
21
19
  * @returns A Promise of ListServerTypesResponse
@@ -28,8 +26,7 @@ class API extends API$1 {
28
26
  unmarshalListServerTypesResponse
29
27
  );
30
28
  /**
31
- * Get a server type. Get technical details (CPU, disk size etc.) of a server
32
- * type.
29
+ * Get a server type. Get technical details (CPU, disk size etc.) of a server type.
33
30
  *
34
31
  * @param request - The request {@link GetServerTypeRequest}
35
32
  * @returns A Promise of ServerType
@@ -42,8 +39,7 @@ class API extends API$1 {
42
39
  unmarshalServerType
43
40
  );
44
41
  /**
45
- * Create a server. Create a new server in the targeted zone, specifying its
46
- * configuration including name and type.
42
+ * Create a server. Create a new server in the targeted zone, specifying its configuration including name and type.
47
43
  *
48
44
  * @param request - The request {@link CreateServerRequest}
49
45
  * @returns A Promise of Server
@@ -77,9 +73,7 @@ class API extends API$1 {
77
73
  unmarshalListServersResponse
78
74
  );
79
75
  /**
80
- * List all servers. List all servers in the specified zone. By default,
81
- * returned servers in the list are ordered by creation date in ascending
82
- * order, though this can be modified via the `order_by` field.
76
+ * List all servers. 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.
83
77
  *
84
78
  * @param request - The request {@link ListServersRequest}
85
79
  * @returns A Promise of ListServersResponse
@@ -102,17 +96,14 @@ class API extends API$1 {
102
96
  unmarshalListOSResponse
103
97
  );
104
98
  /**
105
- * List all Operating Systems (OS). List all Operating Systems (OS). The
106
- * response will include the total number of OS as well as their associated
107
- * IDs, names and labels.
99
+ * List all Operating Systems (OS). List all Operating Systems (OS). The response will include the total number of OS as well as their associated IDs, names and labels.
108
100
  *
109
101
  * @param request - The request {@link ListOSRequest}
110
102
  * @returns A Promise of ListOSResponse
111
103
  */
112
104
  listOS = (request = {}) => enrichForPagination("os", this.pageOfListOS, request);
113
105
  /**
114
- * Get an Operating System (OS). Get an Operating System (OS). The response
115
- * will include the OS's unique ID as well as its name and label.
106
+ * Get an Operating System (OS). Get an Operating System (OS). The response will include the OS's unique ID as well as its name and label.
116
107
  *
117
108
  * @param request - The request {@link GetOSRequest}
118
109
  * @returns A Promise of OS
@@ -125,9 +116,7 @@ class API extends API$1 {
125
116
  unmarshalOS
126
117
  );
127
118
  /**
128
- * Get a server. Retrieve information about an existing Apple silicon server,
129
- * specified by its server ID. Its full details, including name, status and IP
130
- * address, are returned in the response object.
119
+ * Get a server. 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.
131
120
  *
132
121
  * @param request - The request {@link GetServerRequest}
133
122
  * @returns A Promise of Server
@@ -155,8 +144,7 @@ class API extends API$1 {
155
144
  options
156
145
  );
157
146
  /**
158
- * Update a server. Update the parameters of an existing Apple silicon server,
159
- * specified by its server ID.
147
+ * Update a server. Update the parameters of an existing Apple silicon server, specified by its server ID.
160
148
  *
161
149
  * @param request - The request {@link UpdateServerRequest}
162
150
  * @returns A Promise of Server
@@ -173,10 +161,7 @@ class API extends API$1 {
173
161
  unmarshalServer
174
162
  );
175
163
  /**
176
- * Delete a server. Delete an existing Apple silicon server, specified by its
177
- * server ID. Deleting a server is permanent, and cannot be undone. Note that
178
- * the minimum allocation period for Apple silicon-as-a-service is 24 hours,
179
- * meaning you cannot delete your server prior to that.
164
+ * Delete a server. 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.
180
165
  *
181
166
  * @param request - The request {@link DeleteServerRequest}
182
167
  */
@@ -185,8 +170,7 @@ class API extends API$1 {
185
170
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam("serverId", request.serverId)}`
186
171
  });
187
172
  /**
188
- * Reboot a server. Reboot an existing Apple silicon server, specified by its
189
- * server ID.
173
+ * Reboot a server. Reboot an existing Apple silicon server, specified by its server ID.
190
174
  *
191
175
  * @param request - The request {@link RebootServerRequest}
192
176
  * @returns A Promise of Server
@@ -201,10 +185,7 @@ class API extends API$1 {
201
185
  unmarshalServer
202
186
  );
203
187
  /**
204
- * Reinstall a server. Reinstall an existing Apple silicon server (specified
205
- * by its server ID) from a new image (OS). All the data on the disk is
206
- * deleted and all configuration is reset to the defailt configuration values
207
- * of the image (OS).
188
+ * Reinstall a server. 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).
208
189
  *
209
190
  * @param request - The request {@link ReinstallServerRequest}
210
191
  * @returns A Promise of Server
@@ -255,8 +236,7 @@ class PrivateNetworkAPI extends API$1 {
255
236
  /**
256
237
  * Waits for {@link ServerPrivateNetwork} to be in a final state.
257
238
  *
258
- * @param request - The request
259
- * {@link PrivateNetworkApiGetServerPrivateNetworkRequest}
239
+ * @param request - The request {@link PrivateNetworkApiGetServerPrivateNetworkRequest}
260
240
  * @param options - The waiting options
261
241
  * @returns A Promise of ServerPrivateNetwork
262
242
  */
@@ -271,11 +251,9 @@ class PrivateNetworkAPI extends API$1 {
271
251
  options
272
252
  );
273
253
  /**
274
- * Add a server to a Private Network. Add an Apple silicon server to a Private
275
- * Network.
254
+ * Add a server to a Private Network. Add an Apple silicon server to a Private Network.
276
255
  *
277
- * @param request - The request
278
- * {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
256
+ * @param request - The request {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
279
257
  * @returns A Promise of ServerPrivateNetwork
280
258
  */
281
259
  addServerPrivateNetwork = (request) => this.client.fetch(
@@ -293,11 +271,9 @@ class PrivateNetworkAPI extends API$1 {
293
271
  unmarshalServerPrivateNetwork
294
272
  );
295
273
  /**
296
- * Set multiple Private Networks on a server. Configure multiple Private
297
- * Networks on an Apple silicon server.
274
+ * Set multiple Private Networks on a server. Configure multiple Private Networks on an Apple silicon server.
298
275
  *
299
- * @param request - The request
300
- * {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
276
+ * @param request - The request {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
301
277
  * @returns A Promise of SetServerPrivateNetworksResponse
302
278
  */
303
279
  setServerPrivateNetworks = (request) => this.client.fetch(
@@ -335,11 +311,9 @@ class PrivateNetworkAPI extends API$1 {
335
311
  unmarshalListServerPrivateNetworksResponse
336
312
  );
337
313
  /**
338
- * List the Private Networks of a server. List the Private Networks of an
339
- * Apple silicon server.
314
+ * List the Private Networks of a server. List the Private Networks of an Apple silicon server.
340
315
  *
341
- * @param request - The request
342
- * {@link PrivateNetworkApiListServerPrivateNetworksRequest}
316
+ * @param request - The request {@link PrivateNetworkApiListServerPrivateNetworksRequest}
343
317
  * @returns A Promise of ListServerPrivateNetworksResponse
344
318
  */
345
319
  listServerPrivateNetworks = (request = {}) => enrichForPagination(
@@ -350,8 +324,7 @@ class PrivateNetworkAPI extends API$1 {
350
324
  /**
351
325
  * Delete a Private Network.
352
326
  *
353
- * @param request - The request
354
- * {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
327
+ * @param request - The request {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
355
328
  */
356
329
  deleteServerPrivateNetwork = (request) => this.client.fetch({
357
330
  method: "DELETE",