@scaleway/sdk 2.62.0 → 2.64.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.
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +3 -3
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +20 -20
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +3 -3
- package/dist/api/iam/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +16 -0
- package/dist/api/iam/v1alpha1/marshalling.gen.js +16 -0
- package/dist/api/iam/v1alpha1/types.gen.d.ts +48 -4
- package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +7 -3
- package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +6 -3
- package/dist/api/iam/v1alpha1/validation-rules.gen.js +7 -3
- package/dist/api/inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/inference/v1beta1/types.gen.d.ts +21 -21
- package/dist/api/instance/v1/api.gen.d.ts +2 -2
- package/dist/api/instance/v1/types.gen.d.ts +87 -87
- package/dist/api/instance/v1/types.private.gen.d.ts +5 -5
- package/dist/api/interlink/v1beta1/api.gen.cjs +5 -1
- package/dist/api/interlink/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/interlink/v1beta1/api.gen.js +5 -1
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +1 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.js +1 -0
- package/dist/api/interlink/v1beta1/types.gen.d.ts +29 -24
- package/dist/api/vpc/v2/api.gen.cjs +5 -21
- package/dist/api/vpc/v2/api.gen.d.ts +3 -13
- package/dist/api/vpc/v2/api.gen.js +6 -22
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +0 -16
- package/dist/api/vpc/v2/marshalling.gen.d.ts +1 -2
- package/dist/api/vpc/v2/marshalling.gen.js +1 -17
- package/dist/api/vpc/v2/types.gen.d.ts +24 -49
- package/dist/api/webhosting/v1/api.gen.cjs +40 -8
- package/dist/api/webhosting/v1/api.gen.d.ts +9 -9
- package/dist/api/webhosting/v1/api.gen.js +40 -8
- package/dist/api/webhosting/v1/marshalling.gen.cjs +1 -0
- package/dist/api/webhosting/v1/marshalling.gen.js +1 -0
- package/dist/api/webhosting/v1/types.gen.d.ts +41 -36
- package/dist/api/webhosting/v1alpha1/api.gen.cjs +5 -1
- package/dist/api/webhosting/v1alpha1/api.gen.d.ts +3 -3
- package/dist/api/webhosting/v1alpha1/api.gen.js +5 -1
- package/dist/api/webhosting/v1alpha1/types.gen.d.ts +19 -19
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/node_modules/@scaleway/random-name/CHANGELOG.md +6 -0
- package/node_modules/@scaleway/random-name/dist/index.cjs +0 -2
- package/node_modules/@scaleway/random-name/dist/index.js +0 -2
- package/node_modules/@scaleway/random-name/package.json +2 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { API as ParentAPI } from '../../../bridge';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Zone as ScwZone, WaitForOptions } from '../../../bridge';
|
|
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.
|
|
@@ -8,7 +8,7 @@ import type { ConnectivityDiagnostic, CreateServerRequest, DeleteServerRequest,
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/** Lists the available zones of the API. */
|
|
11
|
-
static readonly LOCALITIES:
|
|
11
|
+
static readonly LOCALITIES: ScwZone[];
|
|
12
12
|
/**
|
|
13
13
|
* List server types. List all technical details about Apple silicon server
|
|
14
14
|
* types available in the specified zone. Since there is only one Availability
|
|
@@ -126,7 +126,7 @@ export declare class API extends ParentAPI {
|
|
|
126
126
|
/** Apple silicon - Private Networks API. */
|
|
127
127
|
export declare class PrivateNetworkAPI extends ParentAPI {
|
|
128
128
|
/** Lists the available zones of the API. */
|
|
129
|
-
static readonly LOCALITIES:
|
|
129
|
+
static readonly LOCALITIES: ScwZone[];
|
|
130
130
|
getServerPrivateNetwork: (request: Readonly<PrivateNetworkApiGetServerPrivateNetworkRequest>) => Promise<ServerPrivateNetwork>;
|
|
131
131
|
/**
|
|
132
132
|
* Waits for {@link ServerPrivateNetwork} to be in a final state.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Zone } from '../../../bridge';
|
|
1
|
+
import type { Zone as ScwZone } from '../../../bridge';
|
|
2
2
|
export type ConnectivityDiagnosticActionType = 'reboot_server' | 'reinstall_server';
|
|
3
3
|
export type ConnectivityDiagnosticDiagnosticStatus = 'unknown_status' | 'processing' | 'error' | 'completed';
|
|
4
4
|
export type ListServerPrivateNetworksRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
|
|
@@ -135,7 +135,7 @@ export interface Server {
|
|
|
135
135
|
*/
|
|
136
136
|
deletionScheduled: boolean;
|
|
137
137
|
/** Zone of the server. */
|
|
138
|
-
zone:
|
|
138
|
+
zone: ScwZone;
|
|
139
139
|
/**
|
|
140
140
|
* Set to true once the server has completed its provisioning steps and is
|
|
141
141
|
* ready to use. Some OS configurations might require a reinstallation of the
|
|
@@ -160,7 +160,7 @@ export interface ConnectivityDiagnostic {
|
|
|
160
160
|
}
|
|
161
161
|
export type CreateServerRequest = {
|
|
162
162
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
163
|
-
zone?:
|
|
163
|
+
zone?: ScwZone;
|
|
164
164
|
/** Create a server with this given name. */
|
|
165
165
|
name?: string;
|
|
166
166
|
/** Create a server in the given project ID. */
|
|
@@ -181,36 +181,36 @@ export type CreateServerRequest = {
|
|
|
181
181
|
};
|
|
182
182
|
export type DeleteServerRequest = {
|
|
183
183
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
184
|
-
zone?:
|
|
184
|
+
zone?: ScwZone;
|
|
185
185
|
/** UUID of the server you want to delete. */
|
|
186
186
|
serverId: string;
|
|
187
187
|
};
|
|
188
188
|
export type GetConnectivityDiagnosticRequest = {
|
|
189
189
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
190
|
-
zone?:
|
|
190
|
+
zone?: ScwZone;
|
|
191
191
|
diagnosticId: string;
|
|
192
192
|
};
|
|
193
193
|
export type GetOSRequest = {
|
|
194
194
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
195
|
-
zone?:
|
|
195
|
+
zone?: ScwZone;
|
|
196
196
|
/** UUID of the OS you want to get. */
|
|
197
197
|
osId: string;
|
|
198
198
|
};
|
|
199
199
|
export type GetServerRequest = {
|
|
200
200
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
201
|
-
zone?:
|
|
201
|
+
zone?: ScwZone;
|
|
202
202
|
/** UUID of the server you want to get. */
|
|
203
203
|
serverId: string;
|
|
204
204
|
};
|
|
205
205
|
export type GetServerTypeRequest = {
|
|
206
206
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
207
|
-
zone?:
|
|
207
|
+
zone?: ScwZone;
|
|
208
208
|
/** Server type identifier. */
|
|
209
209
|
serverType: string;
|
|
210
210
|
};
|
|
211
211
|
export type ListOSRequest = {
|
|
212
212
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
213
|
-
zone?:
|
|
213
|
+
zone?: ScwZone;
|
|
214
214
|
/** Positive integer to choose the page to return. */
|
|
215
215
|
page?: number;
|
|
216
216
|
/**
|
|
@@ -238,7 +238,7 @@ export interface ListServerPrivateNetworksResponse {
|
|
|
238
238
|
}
|
|
239
239
|
export type ListServerTypesRequest = {
|
|
240
240
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
241
|
-
zone?:
|
|
241
|
+
zone?: ScwZone;
|
|
242
242
|
};
|
|
243
243
|
export interface ListServerTypesResponse {
|
|
244
244
|
/** Available server types. */
|
|
@@ -246,7 +246,7 @@ export interface ListServerTypesResponse {
|
|
|
246
246
|
}
|
|
247
247
|
export type ListServersRequest = {
|
|
248
248
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
249
|
-
zone?:
|
|
249
|
+
zone?: ScwZone;
|
|
250
250
|
/** Sort order of the returned servers. */
|
|
251
251
|
orderBy?: ListServersRequestOrderBy;
|
|
252
252
|
/** Only list servers of this project ID. */
|
|
@@ -269,7 +269,7 @@ export interface ListServersResponse {
|
|
|
269
269
|
}
|
|
270
270
|
export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
|
|
271
271
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
272
|
-
zone?:
|
|
272
|
+
zone?: ScwZone;
|
|
273
273
|
/** ID of the server. */
|
|
274
274
|
serverId: string;
|
|
275
275
|
/** ID of the Private Network. */
|
|
@@ -279,7 +279,7 @@ export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
|
|
|
279
279
|
};
|
|
280
280
|
export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
|
|
281
281
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
282
|
-
zone?:
|
|
282
|
+
zone?: ScwZone;
|
|
283
283
|
/** ID of the server. */
|
|
284
284
|
serverId: string;
|
|
285
285
|
/** ID of the Private Network. */
|
|
@@ -287,13 +287,13 @@ export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
|
|
|
287
287
|
};
|
|
288
288
|
export type PrivateNetworkApiGetServerPrivateNetworkRequest = {
|
|
289
289
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
290
|
-
zone?:
|
|
290
|
+
zone?: ScwZone;
|
|
291
291
|
serverId: string;
|
|
292
292
|
privateNetworkId: string;
|
|
293
293
|
};
|
|
294
294
|
export type PrivateNetworkApiListServerPrivateNetworksRequest = {
|
|
295
295
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
296
|
-
zone?:
|
|
296
|
+
zone?: ScwZone;
|
|
297
297
|
/** Sort order for the returned Private Networks. */
|
|
298
298
|
orderBy?: ListServerPrivateNetworksRequestOrderBy;
|
|
299
299
|
/** Page number for the returned Private Networks. */
|
|
@@ -313,7 +313,7 @@ export type PrivateNetworkApiListServerPrivateNetworksRequest = {
|
|
|
313
313
|
};
|
|
314
314
|
export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
|
|
315
315
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
316
|
-
zone?:
|
|
316
|
+
zone?: ScwZone;
|
|
317
317
|
/** ID of the server. */
|
|
318
318
|
serverId: string;
|
|
319
319
|
/**
|
|
@@ -327,13 +327,13 @@ export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
|
|
|
327
327
|
};
|
|
328
328
|
export type RebootServerRequest = {
|
|
329
329
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
330
|
-
zone?:
|
|
330
|
+
zone?: ScwZone;
|
|
331
331
|
/** UUID of the server you want to reboot. */
|
|
332
332
|
serverId: string;
|
|
333
333
|
};
|
|
334
334
|
export type ReinstallServerRequest = {
|
|
335
335
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
336
|
-
zone?:
|
|
336
|
+
zone?: ScwZone;
|
|
337
337
|
/** UUID of the server you want to reinstall. */
|
|
338
338
|
serverId: string;
|
|
339
339
|
/**
|
|
@@ -347,7 +347,7 @@ export interface SetServerPrivateNetworksResponse {
|
|
|
347
347
|
}
|
|
348
348
|
export type StartConnectivityDiagnosticRequest = {
|
|
349
349
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
350
|
-
zone?:
|
|
350
|
+
zone?: ScwZone;
|
|
351
351
|
serverId: string;
|
|
352
352
|
};
|
|
353
353
|
export interface StartConnectivityDiagnosticResponse {
|
|
@@ -355,7 +355,7 @@ export interface StartConnectivityDiagnosticResponse {
|
|
|
355
355
|
}
|
|
356
356
|
export type UpdateServerRequest = {
|
|
357
357
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
358
|
-
zone?:
|
|
358
|
+
zone?: ScwZone;
|
|
359
359
|
/** UUID of the server you want to update. */
|
|
360
360
|
serverId: string;
|
|
361
361
|
/** Updated name for your server. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Money, Region, Zone } from '../../../bridge';
|
|
1
|
+
import type { Money, Region as ScwRegion, Zone as ScwZone } from '../../../bridge';
|
|
2
2
|
export type DNSStageType = 'unknown_type' | 'auto' | 'managed' | 'custom';
|
|
3
3
|
export type LbOriginError = 'unknown' | 'timeout' | 'connection_refused' | 'tls_error';
|
|
4
4
|
export type ListBackendStagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
@@ -19,7 +19,7 @@ export interface ScalewayLb {
|
|
|
19
19
|
/** ID of the Load Balancer. */
|
|
20
20
|
id: string;
|
|
21
21
|
/** Zone of the Load Balancer. */
|
|
22
|
-
zone:
|
|
22
|
+
zone: ScwZone;
|
|
23
23
|
/** ID of the frontend linked to the Load Balancer. */
|
|
24
24
|
frontendId: string;
|
|
25
25
|
/** Defines whether the Load Balancer's frontend handles SSL connections. */
|
|
@@ -53,7 +53,7 @@ export interface TLSSecret {
|
|
|
53
53
|
/** ID of the Secret. */
|
|
54
54
|
secretId: string;
|
|
55
55
|
/** Region of the Secret. */
|
|
56
|
-
region:
|
|
56
|
+
region: ScwRegion;
|
|
57
57
|
}
|
|
58
58
|
export interface BackendStage {
|
|
59
59
|
/** ID of the backend stage. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { API } from './api.gen.js';
|
|
2
|
-
export type { APIKey, AddGroupMemberRequest, AddGroupMembersRequest, Application, BearerType, ClonePolicyRequest, CreateAPIKeyRequest, CreateApplicationRequest, CreateGroupRequest, CreateJWTRequest, CreatePolicyRequest, CreateSSHKeyRequest, CreateUserMFAOTPRequest, CreateUserRequest, CreateUserRequestMember, DeleteAPIKeyRequest, DeleteApplicationRequest, DeleteGroupRequest, DeleteJWTRequest, DeletePolicyRequest, DeleteSSHKeyRequest, DeleteUserMFAOTPRequest, DeleteUserRequest, EncodedJWT, GetAPIKeyRequest, GetApplicationRequest, GetGroupRequest, GetJWTRequest, GetLogRequest, GetOrganizationSecuritySettingsRequest, GetPolicyRequest, GetQuotumRequest, GetSSHKeyRequest, GetUserRequest, GracePeriod, GracePeriodType, Group, JWT, ListAPIKeysRequest, ListAPIKeysRequestOrderBy, ListAPIKeysResponse, ListApplicationsRequest, ListApplicationsRequestOrderBy, ListApplicationsResponse, ListGracePeriodsRequest, ListGracePeriodsResponse, ListGroupsRequest, ListGroupsRequestOrderBy, ListGroupsResponse, ListJWTsRequest, ListJWTsRequestOrderBy, ListJWTsResponse, ListLogsRequest, ListLogsRequestOrderBy, ListLogsResponse, ListPermissionSetsRequest, ListPermissionSetsRequestOrderBy, ListPermissionSetsResponse, ListPoliciesRequest, ListPoliciesRequestOrderBy, ListPoliciesResponse, ListQuotaRequest, ListQuotaRequestOrderBy, ListQuotaResponse, ListRulesRequest, ListRulesResponse, ListSSHKeysRequest, ListSSHKeysRequestOrderBy, ListSSHKeysResponse, ListUsersRequest, ListUsersRequestOrderBy, ListUsersResponse, LockUserRequest, Log, LogAction, LogResourceType, MFAOTP, OrganizationSecuritySettings, PermissionSet, PermissionSetScopeType, Policy, Quotum, RemoveGroupMemberRequest, Rule, RuleSpecs, SSHKey, SetGroupMembersRequest, SetRulesRequest, SetRulesResponse, UnlockUserRequest, UpdateAPIKeyRequest, UpdateApplicationRequest, UpdateGroupRequest, UpdateOrganizationSecuritySettingsRequest, UpdatePolicyRequest, UpdateSSHKeyRequest, UpdateUserPasswordRequest, UpdateUserRequest, UpdateUserUsernameRequest, User, UserStatus, UserType, ValidateUserMFAOTPRequest, ValidateUserMFAOTPResponse, } from './types.gen';
|
|
2
|
+
export type { APIKey, AddGroupMemberRequest, AddGroupMembersRequest, Application, BearerType, ClonePolicyRequest, CreateAPIKeyRequest, CreateApplicationRequest, CreateGroupRequest, CreateJWTRequest, CreatePolicyRequest, CreateSSHKeyRequest, CreateUserMFAOTPRequest, CreateUserRequest, CreateUserRequestMember, DeleteAPIKeyRequest, DeleteApplicationRequest, DeleteGroupRequest, DeleteJWTRequest, DeletePolicyRequest, DeleteSSHKeyRequest, DeleteUserMFAOTPRequest, DeleteUserRequest, EncodedJWT, GetAPIKeyRequest, GetApplicationRequest, GetGroupRequest, GetJWTRequest, GetLogRequest, GetOrganizationSecuritySettingsRequest, GetPolicyRequest, GetQuotumRequest, GetSSHKeyRequest, GetUserRequest, GracePeriod, GracePeriodType, Group, JWT, ListAPIKeysRequest, ListAPIKeysRequestOrderBy, ListAPIKeysResponse, ListApplicationsRequest, ListApplicationsRequestOrderBy, ListApplicationsResponse, ListGracePeriodsRequest, ListGracePeriodsResponse, ListGroupsRequest, ListGroupsRequestOrderBy, ListGroupsResponse, ListJWTsRequest, ListJWTsRequestOrderBy, ListJWTsResponse, ListLogsRequest, ListLogsRequestOrderBy, ListLogsResponse, ListPermissionSetsRequest, ListPermissionSetsRequestOrderBy, ListPermissionSetsResponse, ListPoliciesRequest, ListPoliciesRequestOrderBy, ListPoliciesResponse, ListQuotaRequest, ListQuotaRequestOrderBy, ListQuotaResponse, ListRulesRequest, ListRulesResponse, ListSSHKeysRequest, ListSSHKeysRequestOrderBy, ListSSHKeysResponse, ListUsersRequest, ListUsersRequestOrderBy, ListUsersResponse, LocalityType, LockUserRequest, Log, LogAction, LogResourceType, MFAOTP, OrganizationSecuritySettings, PermissionSet, PermissionSetScopeType, Policy, Quotum, QuotumLimit, RemoveGroupMemberRequest, Rule, RuleSpecs, SSHKey, SetGroupMembersRequest, SetRulesRequest, SetRulesResponse, UnlockUserRequest, UpdateAPIKeyRequest, UpdateApplicationRequest, UpdateGroupRequest, UpdateOrganizationSecuritySettingsRequest, UpdatePolicyRequest, UpdateSSHKeyRequest, UpdateUserPasswordRequest, UpdateUserRequest, UpdateUserUsernameRequest, User, UserStatus, UserType, ValidateUserMFAOTPRequest, ValidateUserMFAOTPResponse, } from './types.gen';
|
|
3
3
|
export * as ValidationRules from './validation-rules.gen.js';
|
|
@@ -128,6 +128,20 @@ const unmarshalPolicy = (data) => {
|
|
|
128
128
|
userId: data.user_id
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
+
const unmarshalQuotumLimit = (data) => {
|
|
132
|
+
if (!json.isJSONObject(data)) {
|
|
133
|
+
throw new TypeError(
|
|
134
|
+
`Unmarshalling the type 'QuotumLimit' failed as data isn't a dictionary.`
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
return {
|
|
138
|
+
global: data.global,
|
|
139
|
+
limit: data.limit,
|
|
140
|
+
region: data.region,
|
|
141
|
+
unlimited: data.unlimited,
|
|
142
|
+
zone: data.zone
|
|
143
|
+
};
|
|
144
|
+
};
|
|
131
145
|
const unmarshalQuotum = (data) => {
|
|
132
146
|
if (!json.isJSONObject(data)) {
|
|
133
147
|
throw new TypeError(
|
|
@@ -137,6 +151,8 @@ const unmarshalQuotum = (data) => {
|
|
|
137
151
|
return {
|
|
138
152
|
description: data.description,
|
|
139
153
|
limit: data.limit,
|
|
154
|
+
limits: marshalling.unmarshalArrayOfObject(data.limits, unmarshalQuotumLimit),
|
|
155
|
+
localityType: data.locality_type,
|
|
140
156
|
name: data.name,
|
|
141
157
|
prettyName: data.pretty_name,
|
|
142
158
|
unit: data.unit,
|
|
@@ -126,6 +126,20 @@ const unmarshalPolicy = (data) => {
|
|
|
126
126
|
userId: data.user_id
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
|
+
const unmarshalQuotumLimit = (data) => {
|
|
130
|
+
if (!isJSONObject(data)) {
|
|
131
|
+
throw new TypeError(
|
|
132
|
+
`Unmarshalling the type 'QuotumLimit' failed as data isn't a dictionary.`
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
return {
|
|
136
|
+
global: data.global,
|
|
137
|
+
limit: data.limit,
|
|
138
|
+
region: data.region,
|
|
139
|
+
unlimited: data.unlimited,
|
|
140
|
+
zone: data.zone
|
|
141
|
+
};
|
|
142
|
+
};
|
|
129
143
|
const unmarshalQuotum = (data) => {
|
|
130
144
|
if (!isJSONObject(data)) {
|
|
131
145
|
throw new TypeError(
|
|
@@ -135,6 +149,8 @@ const unmarshalQuotum = (data) => {
|
|
|
135
149
|
return {
|
|
136
150
|
description: data.description,
|
|
137
151
|
limit: data.limit,
|
|
152
|
+
limits: unmarshalArrayOfObject(data.limits, unmarshalQuotumLimit),
|
|
153
|
+
localityType: data.locality_type,
|
|
138
154
|
name: data.name,
|
|
139
155
|
prettyName: data.pretty_name,
|
|
140
156
|
unit: data.unit,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Region as ScwRegion, Zone as ScwZone } from '../../../bridge';
|
|
1
2
|
export type BearerType = 'unknown_bearer_type' | 'user' | 'application';
|
|
2
3
|
export type GracePeriodType = 'unknown_grace_period_type' | 'update_password' | 'set_mfa';
|
|
3
4
|
export type ListAPIKeysRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc' | 'expires_at_asc' | 'expires_at_desc' | 'access_key_asc' | 'access_key_desc';
|
|
@@ -10,11 +11,47 @@ export type ListPoliciesRequestOrderBy = 'policy_name_asc' | 'policy_name_desc'
|
|
|
10
11
|
export type ListQuotaRequestOrderBy = 'name_asc' | 'name_desc';
|
|
11
12
|
export type ListSSHKeysRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc' | 'name_asc' | 'name_desc';
|
|
12
13
|
export type ListUsersRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc' | 'email_asc' | 'email_desc' | 'last_login_asc' | 'last_login_desc' | 'username_asc' | 'username_desc';
|
|
14
|
+
export type LocalityType = 'global' | 'region' | 'zone';
|
|
13
15
|
export type LogAction = 'unknown_action' | 'created' | 'updated' | 'deleted';
|
|
14
16
|
export type LogResourceType = 'unknown_resource_type' | 'api_key' | 'user' | 'application' | 'group' | 'policy';
|
|
15
17
|
export type PermissionSetScopeType = 'unknown_scope_type' | 'projects' | 'organization' | 'account_root_user';
|
|
16
18
|
export type UserStatus = 'unknown_status' | 'invitation_pending' | 'activated';
|
|
17
19
|
export type UserType = 'unknown_type' | 'guest' | 'owner' | 'member';
|
|
20
|
+
export interface QuotumLimit {
|
|
21
|
+
/**
|
|
22
|
+
* Whether or not the limit is applied globally.
|
|
23
|
+
*
|
|
24
|
+
* One-of ('locality'): at most one of 'global', 'region', 'zone' could be
|
|
25
|
+
* set.
|
|
26
|
+
*/
|
|
27
|
+
global?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The region on which the limit is applied.
|
|
30
|
+
*
|
|
31
|
+
* One-of ('locality'): at most one of 'global', 'region', 'zone' could be
|
|
32
|
+
* set.
|
|
33
|
+
*/
|
|
34
|
+
region?: ScwRegion;
|
|
35
|
+
/**
|
|
36
|
+
* The zone on which the limit is applied.
|
|
37
|
+
*
|
|
38
|
+
* One-of ('locality'): at most one of 'global', 'region', 'zone' could be
|
|
39
|
+
* set.
|
|
40
|
+
*/
|
|
41
|
+
zone?: ScwZone;
|
|
42
|
+
/**
|
|
43
|
+
* Maximum locality limit.
|
|
44
|
+
*
|
|
45
|
+
* One-of ('value'): at most one of 'limit', 'unlimited' could be set.
|
|
46
|
+
*/
|
|
47
|
+
limit?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Whether or not the quota per locality is unlimited.
|
|
50
|
+
*
|
|
51
|
+
* One-of ('value'): at most one of 'limit', 'unlimited' could be set.
|
|
52
|
+
*/
|
|
53
|
+
unlimited?: boolean;
|
|
54
|
+
}
|
|
18
55
|
export interface JWT {
|
|
19
56
|
/** JWT ID. */
|
|
20
57
|
jti: string;
|
|
@@ -254,15 +291,15 @@ export interface Quotum {
|
|
|
254
291
|
/** Name of the quota. */
|
|
255
292
|
name: string;
|
|
256
293
|
/**
|
|
257
|
-
* Maximum limit of the quota.
|
|
294
|
+
* @deprecated Maximum limit of the quota.
|
|
258
295
|
*
|
|
259
|
-
*
|
|
296
|
+
* One-of ('value'): at most one of 'limit', 'unlimited' could be set.
|
|
260
297
|
*/
|
|
261
298
|
limit?: number;
|
|
262
299
|
/**
|
|
263
|
-
* Defines whether or not the quota is unlimited.
|
|
300
|
+
* @deprecated Defines whether or not the quota is unlimited.
|
|
264
301
|
*
|
|
265
|
-
*
|
|
302
|
+
* One-of ('value'): at most one of 'limit', 'unlimited' could be set.
|
|
266
303
|
*/
|
|
267
304
|
unlimited?: boolean;
|
|
268
305
|
/** A human-readable name for the quota. */
|
|
@@ -271,6 +308,13 @@ export interface Quotum {
|
|
|
271
308
|
unit: string;
|
|
272
309
|
/** Details about the quota. */
|
|
273
310
|
description: string;
|
|
311
|
+
/**
|
|
312
|
+
* Whether this quotum is applied on at the zone level, region level, or
|
|
313
|
+
* globally.
|
|
314
|
+
*/
|
|
315
|
+
localityType: LocalityType;
|
|
316
|
+
/** Limits per locality. */
|
|
317
|
+
limits: QuotumLimit[];
|
|
274
318
|
}
|
|
275
319
|
export interface Rule {
|
|
276
320
|
/** Id of rule. */
|
|
@@ -50,9 +50,6 @@ const CreateSSHKeyRequest = {
|
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
const CreateUserRequestMember = {
|
|
53
|
-
email: {
|
|
54
|
-
ignoreEmpty: true
|
|
55
|
-
},
|
|
56
53
|
password: {
|
|
57
54
|
ignoreEmpty: true,
|
|
58
55
|
maxLength: 72
|
|
@@ -215,6 +212,12 @@ const UpdateGroupRequest = {
|
|
|
215
212
|
pattern: /^[a-zA-Z0-9\(\)\._\- ]+$/
|
|
216
213
|
}
|
|
217
214
|
};
|
|
215
|
+
const UpdateOrganizationSecuritySettingsRequest = {
|
|
216
|
+
loginAttemptsBeforeLocked: {
|
|
217
|
+
greaterThanOrEqual: 1,
|
|
218
|
+
lessThanOrEqual: 50
|
|
219
|
+
}
|
|
220
|
+
};
|
|
218
221
|
const UpdatePolicyRequest = {
|
|
219
222
|
description: {
|
|
220
223
|
maxLength: 200
|
|
@@ -270,6 +273,7 @@ exports.RuleSpecs = RuleSpecs;
|
|
|
270
273
|
exports.UpdateAPIKeyRequest = UpdateAPIKeyRequest;
|
|
271
274
|
exports.UpdateApplicationRequest = UpdateApplicationRequest;
|
|
272
275
|
exports.UpdateGroupRequest = UpdateGroupRequest;
|
|
276
|
+
exports.UpdateOrganizationSecuritySettingsRequest = UpdateOrganizationSecuritySettingsRequest;
|
|
273
277
|
exports.UpdatePolicyRequest = UpdatePolicyRequest;
|
|
274
278
|
exports.UpdateSSHKeyRequest = UpdateSSHKeyRequest;
|
|
275
279
|
exports.UpdateUserPasswordRequest = UpdateUserPasswordRequest;
|
|
@@ -48,9 +48,6 @@ export declare const CreateSSHKeyRequest: {
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
export declare const CreateUserRequestMember: {
|
|
51
|
-
email: {
|
|
52
|
-
ignoreEmpty: boolean;
|
|
53
|
-
};
|
|
54
51
|
password: {
|
|
55
52
|
ignoreEmpty: boolean;
|
|
56
53
|
maxLength: number;
|
|
@@ -213,6 +210,12 @@ export declare const UpdateGroupRequest: {
|
|
|
213
210
|
pattern: RegExp;
|
|
214
211
|
};
|
|
215
212
|
};
|
|
213
|
+
export declare const UpdateOrganizationSecuritySettingsRequest: {
|
|
214
|
+
loginAttemptsBeforeLocked: {
|
|
215
|
+
greaterThanOrEqual: number;
|
|
216
|
+
lessThanOrEqual: number;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
216
219
|
export declare const UpdatePolicyRequest: {
|
|
217
220
|
description: {
|
|
218
221
|
maxLength: number;
|
|
@@ -48,9 +48,6 @@ const CreateSSHKeyRequest = {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
const CreateUserRequestMember = {
|
|
51
|
-
email: {
|
|
52
|
-
ignoreEmpty: true
|
|
53
|
-
},
|
|
54
51
|
password: {
|
|
55
52
|
ignoreEmpty: true,
|
|
56
53
|
maxLength: 72
|
|
@@ -213,6 +210,12 @@ const UpdateGroupRequest = {
|
|
|
213
210
|
pattern: /^[a-zA-Z0-9\(\)\._\- ]+$/
|
|
214
211
|
}
|
|
215
212
|
};
|
|
213
|
+
const UpdateOrganizationSecuritySettingsRequest = {
|
|
214
|
+
loginAttemptsBeforeLocked: {
|
|
215
|
+
greaterThanOrEqual: 1,
|
|
216
|
+
lessThanOrEqual: 50
|
|
217
|
+
}
|
|
218
|
+
};
|
|
216
219
|
const UpdatePolicyRequest = {
|
|
217
220
|
description: {
|
|
218
221
|
maxLength: 200
|
|
@@ -269,6 +272,7 @@ export {
|
|
|
269
272
|
UpdateAPIKeyRequest,
|
|
270
273
|
UpdateApplicationRequest,
|
|
271
274
|
UpdateGroupRequest,
|
|
275
|
+
UpdateOrganizationSecuritySettingsRequest,
|
|
272
276
|
UpdatePolicyRequest,
|
|
273
277
|
UpdateSSHKeyRequest,
|
|
274
278
|
UpdateUserPasswordRequest,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { API as ParentAPI } from '../../../bridge';
|
|
2
|
-
import type { Region, WaitForOptions } from '../../../bridge';
|
|
2
|
+
import type { Region as ScwRegion, WaitForOptions } from '../../../bridge';
|
|
3
3
|
import type { AddDeploymentACLRulesRequest, AddDeploymentACLRulesResponse, CreateDeploymentRequest, CreateEndpointRequest, DeleteDeploymentACLRuleRequest, DeleteDeploymentRequest, DeleteEndpointRequest, Deployment, Endpoint, Eula, GetDeploymentCertificateRequest, GetDeploymentRequest, GetModelEulaRequest, GetModelRequest, ListDeploymentACLRulesRequest, ListDeploymentACLRulesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListModelsRequest, ListModelsResponse, ListNodeTypesRequest, ListNodeTypesResponse, Model, SetDeploymentACLRulesRequest, SetDeploymentACLRulesResponse, UpdateDeploymentRequest, UpdateEndpointRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Managed Inference API.
|
|
@@ -8,7 +8,7 @@ import type { AddDeploymentACLRulesRequest, AddDeploymentACLRulesResponse, Creat
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/** Lists the available regions of the API. */
|
|
11
|
-
static readonly LOCALITIES:
|
|
11
|
+
static readonly LOCALITIES: ScwRegion[];
|
|
12
12
|
protected pageOfListDeployments: (request?: Readonly<ListDeploymentsRequest>) => Promise<ListDeploymentsResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* List inference deployments. List all your inference deployments.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Region } from '../../../bridge';
|
|
1
|
+
import type { Region as ScwRegion } from '../../../bridge';
|
|
2
2
|
export type DeploymentStatus = 'unknown_status' | 'creating' | 'deploying' | 'ready' | 'error' | 'deleting' | 'locked';
|
|
3
3
|
export type ListDeploymentsRequestOrderBy = 'created_at_desc' | 'created_at_asc' | 'name_asc' | 'name_desc';
|
|
4
4
|
export type ListModelsRequestOrderBy = 'display_rank_asc' | 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
@@ -116,7 +116,7 @@ export interface Deployment {
|
|
|
116
116
|
/** Last modification date of the deployment. */
|
|
117
117
|
updatedAt?: Date;
|
|
118
118
|
/** Region of the deployment. */
|
|
119
|
-
region:
|
|
119
|
+
region: ScwRegion;
|
|
120
120
|
}
|
|
121
121
|
export interface Model {
|
|
122
122
|
/** Unique identifier. */
|
|
@@ -138,7 +138,7 @@ export interface Model {
|
|
|
138
138
|
/** Last modification date of the model. */
|
|
139
139
|
updatedAt?: Date;
|
|
140
140
|
/** Region of the model. */
|
|
141
|
-
region:
|
|
141
|
+
region: ScwRegion;
|
|
142
142
|
/**
|
|
143
143
|
* Object Storage URL pointing to the model source weight.
|
|
144
144
|
*
|
|
@@ -176,14 +176,14 @@ export interface NodeType {
|
|
|
176
176
|
/** Number of GPUs. */
|
|
177
177
|
gpus: number;
|
|
178
178
|
/** Region of the node type. */
|
|
179
|
-
region:
|
|
179
|
+
region: ScwRegion;
|
|
180
180
|
}
|
|
181
181
|
export type AddDeploymentACLRulesRequest = {
|
|
182
182
|
/**
|
|
183
183
|
* Region to target. If none is passed will use default region from the
|
|
184
184
|
* config.
|
|
185
185
|
*/
|
|
186
|
-
region?:
|
|
186
|
+
region?: ScwRegion;
|
|
187
187
|
/** ID of the deployment to add ACL rules to. */
|
|
188
188
|
deploymentId: string;
|
|
189
189
|
/** List of ACL rules to add. */
|
|
@@ -198,7 +198,7 @@ export type CreateDeploymentRequest = {
|
|
|
198
198
|
* Region to target. If none is passed will use default region from the
|
|
199
199
|
* config.
|
|
200
200
|
*/
|
|
201
|
-
region?:
|
|
201
|
+
region?: ScwRegion;
|
|
202
202
|
/** Name of the deployment. */
|
|
203
203
|
name?: string;
|
|
204
204
|
/** ID of the Project to create the deployment in. */
|
|
@@ -226,7 +226,7 @@ export type CreateEndpointRequest = {
|
|
|
226
226
|
* Region to target. If none is passed will use default region from the
|
|
227
227
|
* config.
|
|
228
228
|
*/
|
|
229
|
-
region?:
|
|
229
|
+
region?: ScwRegion;
|
|
230
230
|
/** ID of the deployment to create the endpoint for. */
|
|
231
231
|
deploymentId: string;
|
|
232
232
|
/** Specification of the endpoint. */
|
|
@@ -237,7 +237,7 @@ export type DeleteDeploymentACLRuleRequest = {
|
|
|
237
237
|
* Region to target. If none is passed will use default region from the
|
|
238
238
|
* config.
|
|
239
239
|
*/
|
|
240
|
-
region?:
|
|
240
|
+
region?: ScwRegion;
|
|
241
241
|
/** ID of the ACL rule to delete. */
|
|
242
242
|
aclId: string;
|
|
243
243
|
};
|
|
@@ -246,7 +246,7 @@ export type DeleteDeploymentRequest = {
|
|
|
246
246
|
* Region to target. If none is passed will use default region from the
|
|
247
247
|
* config.
|
|
248
248
|
*/
|
|
249
|
-
region?:
|
|
249
|
+
region?: ScwRegion;
|
|
250
250
|
/** ID of the deployment to delete. */
|
|
251
251
|
deploymentId: string;
|
|
252
252
|
};
|
|
@@ -255,7 +255,7 @@ export type DeleteEndpointRequest = {
|
|
|
255
255
|
* Region to target. If none is passed will use default region from the
|
|
256
256
|
* config.
|
|
257
257
|
*/
|
|
258
|
-
region?:
|
|
258
|
+
region?: ScwRegion;
|
|
259
259
|
/** ID of the endpoint to delete. */
|
|
260
260
|
endpointId: string;
|
|
261
261
|
};
|
|
@@ -268,7 +268,7 @@ export type GetDeploymentCertificateRequest = {
|
|
|
268
268
|
* Region to target. If none is passed will use default region from the
|
|
269
269
|
* config.
|
|
270
270
|
*/
|
|
271
|
-
region?:
|
|
271
|
+
region?: ScwRegion;
|
|
272
272
|
deploymentId: string;
|
|
273
273
|
};
|
|
274
274
|
export type GetDeploymentRequest = {
|
|
@@ -276,7 +276,7 @@ export type GetDeploymentRequest = {
|
|
|
276
276
|
* Region to target. If none is passed will use default region from the
|
|
277
277
|
* config.
|
|
278
278
|
*/
|
|
279
|
-
region?:
|
|
279
|
+
region?: ScwRegion;
|
|
280
280
|
/** ID of the deployment to get. */
|
|
281
281
|
deploymentId: string;
|
|
282
282
|
};
|
|
@@ -285,7 +285,7 @@ export type GetModelEulaRequest = {
|
|
|
285
285
|
* Region to target. If none is passed will use default region from the
|
|
286
286
|
* config.
|
|
287
287
|
*/
|
|
288
|
-
region?:
|
|
288
|
+
region?: ScwRegion;
|
|
289
289
|
modelId: string;
|
|
290
290
|
};
|
|
291
291
|
export type GetModelRequest = {
|
|
@@ -293,7 +293,7 @@ export type GetModelRequest = {
|
|
|
293
293
|
* Region to target. If none is passed will use default region from the
|
|
294
294
|
* config.
|
|
295
295
|
*/
|
|
296
|
-
region?:
|
|
296
|
+
region?: ScwRegion;
|
|
297
297
|
/** ID of the model to get. */
|
|
298
298
|
modelId: string;
|
|
299
299
|
};
|
|
@@ -302,7 +302,7 @@ export type ListDeploymentACLRulesRequest = {
|
|
|
302
302
|
* Region to target. If none is passed will use default region from the
|
|
303
303
|
* config.
|
|
304
304
|
*/
|
|
305
|
-
region?:
|
|
305
|
+
region?: ScwRegion;
|
|
306
306
|
/** ID of the deployment to list ACL rules for. */
|
|
307
307
|
deploymentId: string;
|
|
308
308
|
/** Page number to return. */
|
|
@@ -321,7 +321,7 @@ export type ListDeploymentsRequest = {
|
|
|
321
321
|
* Region to target. If none is passed will use default region from the
|
|
322
322
|
* config.
|
|
323
323
|
*/
|
|
324
|
-
region?:
|
|
324
|
+
region?: ScwRegion;
|
|
325
325
|
/** Page number to return. */
|
|
326
326
|
page?: number;
|
|
327
327
|
/** Maximum number of deployments to return per page. */
|
|
@@ -348,7 +348,7 @@ export type ListModelsRequest = {
|
|
|
348
348
|
* Region to target. If none is passed will use default region from the
|
|
349
349
|
* config.
|
|
350
350
|
*/
|
|
351
|
-
region?:
|
|
351
|
+
region?: ScwRegion;
|
|
352
352
|
/** Order in which to return results. */
|
|
353
353
|
orderBy?: ListModelsRequestOrderBy;
|
|
354
354
|
/** Page number to return. */
|
|
@@ -373,7 +373,7 @@ export type ListNodeTypesRequest = {
|
|
|
373
373
|
* Region to target. If none is passed will use default region from the
|
|
374
374
|
* config.
|
|
375
375
|
*/
|
|
376
|
-
region?:
|
|
376
|
+
region?: ScwRegion;
|
|
377
377
|
/** Page number to return. */
|
|
378
378
|
page?: number;
|
|
379
379
|
/** Maximum number of node types to return per page. */
|
|
@@ -392,7 +392,7 @@ export type SetDeploymentACLRulesRequest = {
|
|
|
392
392
|
* Region to target. If none is passed will use default region from the
|
|
393
393
|
* config.
|
|
394
394
|
*/
|
|
395
|
-
region?:
|
|
395
|
+
region?: ScwRegion;
|
|
396
396
|
/** ID of the deployment to set ACL rules for. */
|
|
397
397
|
deploymentId: string;
|
|
398
398
|
/** All existing ACL rules will be replaced by the new ones. */
|
|
@@ -407,7 +407,7 @@ export type UpdateDeploymentRequest = {
|
|
|
407
407
|
* Region to target. If none is passed will use default region from the
|
|
408
408
|
* config.
|
|
409
409
|
*/
|
|
410
|
-
region?:
|
|
410
|
+
region?: ScwRegion;
|
|
411
411
|
/** ID of the deployment to update. */
|
|
412
412
|
deploymentId: string;
|
|
413
413
|
/** Name of the deployment. */
|
|
@@ -424,7 +424,7 @@ export type UpdateEndpointRequest = {
|
|
|
424
424
|
* Region to target. If none is passed will use default region from the
|
|
425
425
|
* config.
|
|
426
426
|
*/
|
|
427
|
-
region?:
|
|
427
|
+
region?: ScwRegion;
|
|
428
428
|
/** ID of the endpoint to update. */
|
|
429
429
|
endpointId: string;
|
|
430
430
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { API as ParentAPI } from '../../../bridge';
|
|
2
|
-
import type { Zone } from '../../../bridge';
|
|
2
|
+
import type { Zone as ScwZone } from '../../../bridge';
|
|
3
3
|
import type { ApplyBlockMigrationRequest, AttachServerVolumeRequest, AttachServerVolumeResponse, CheckBlockMigrationOrganizationQuotasRequest, CreateImageRequest, CreateImageResponse, CreateIpRequest, CreateIpResponse, CreatePlacementGroupRequest, CreatePlacementGroupResponse, CreatePrivateNICRequest, CreatePrivateNICResponse, CreateSecurityGroupRequest, CreateSecurityGroupResponse, CreateSecurityGroupRuleRequest, CreateSecurityGroupRuleResponse, CreateServerRequest, CreateServerResponse, CreateSnapshotRequest, CreateSnapshotResponse, CreateVolumeRequest, CreateVolumeResponse, DeleteImageRequest, DeleteIpRequest, DeletePlacementGroupRequest, DeletePrivateNICRequest, DeleteSecurityGroupRequest, DeleteSecurityGroupRuleRequest, DeleteServerRequest, DeleteServerUserDataRequest, DeleteSnapshotRequest, DeleteVolumeRequest, DetachServerVolumeRequest, DetachServerVolumeResponse, ExportSnapshotRequest, ExportSnapshotResponse, GetDashboardRequest, GetDashboardResponse, GetImageRequest, GetImageResponse, GetIpRequest, GetIpResponse, GetPlacementGroupRequest, GetPlacementGroupResponse, GetPlacementGroupServersRequest, GetPlacementGroupServersResponse, GetPrivateNICRequest, GetPrivateNICResponse, GetSecurityGroupRequest, GetSecurityGroupResponse, GetSecurityGroupRuleRequest, GetSecurityGroupRuleResponse, GetServerRequest, GetServerResponse, GetServerTypesAvailabilityRequest, GetServerTypesAvailabilityResponse, GetSnapshotRequest, GetSnapshotResponse, GetVolumeRequest, GetVolumeResponse, ListDefaultSecurityGroupRulesRequest, ListImagesRequest, ListImagesResponse, ListIpsRequest, ListIpsResponse, ListPlacementGroupsRequest, ListPlacementGroupsResponse, ListPrivateNICsRequest, ListPrivateNICsResponse, ListSecurityGroupRulesRequest, ListSecurityGroupRulesResponse, ListSecurityGroupsRequest, ListSecurityGroupsResponse, ListServerActionsRequest, ListServerActionsResponse, ListServerUserDataRequest, ListServerUserDataResponse, ListServersRequest, ListServersResponse, ListServersTypesRequest, ListServersTypesResponse, ListSnapshotsRequest, ListSnapshotsResponse, ListVolumesRequest, ListVolumesResponse, ListVolumesTypesRequest, ListVolumesTypesResponse, MigrationPlan, PlanBlockMigrationRequest, PrivateNIC, ServerActionRequest, ServerActionResponse, SetImageRequest, SetPlacementGroupRequest, SetPlacementGroupResponse, SetPlacementGroupServersRequest, SetPlacementGroupServersResponse, SetSecurityGroupRulesRequest, SetSecurityGroupRulesResponse, UpdateImageRequest, UpdateImageResponse, UpdateIpRequest, UpdateIpResponse, UpdatePlacementGroupRequest, UpdatePlacementGroupResponse, UpdatePlacementGroupServersRequest, UpdatePlacementGroupServersResponse, UpdatePrivateNICRequest, UpdateSecurityGroupRequest, UpdateSecurityGroupResponse, UpdateSecurityGroupRuleRequest, UpdateSecurityGroupRuleResponse, UpdateServerRequest, UpdateServerResponse, UpdateSnapshotRequest, UpdateSnapshotResponse, UpdateVolumeRequest, UpdateVolumeResponse } from './types.gen';
|
|
4
4
|
import type { SetImageResponse, SetSecurityGroupRequest, SetSecurityGroupResponse, SetSecurityGroupRuleRequest, SetSecurityGroupRuleResponse, SetServerRequest, SetServerResponse, SetSnapshotRequest, SetSnapshotResponse } from './types.private.gen';
|
|
5
5
|
/**
|
|
@@ -9,7 +9,7 @@ import type { SetImageResponse, SetSecurityGroupRequest, SetSecurityGroupRespons
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class API extends ParentAPI {
|
|
11
11
|
/** Lists the available zones of the API. */
|
|
12
|
-
static readonly LOCALITIES:
|
|
12
|
+
static readonly LOCALITIES: ScwZone[];
|
|
13
13
|
/**
|
|
14
14
|
* Get availability. Get availability for all Instance types.
|
|
15
15
|
*
|