@scaleway/sdk 2.0.0-alpha.9 → 2.1.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/marshalling.gen.js +12 -12
- package/dist/api/baremetal/v1/marshalling.gen.js +63 -52
- package/dist/api/billing/v2alpha1/api.gen.js +32 -1
- package/dist/api/billing/v2alpha1/marshalling.gen.js +46 -1
- package/dist/api/block/v1alpha1/api.gen.js +23 -19
- package/dist/api/block/v1alpha1/marshalling.gen.js +47 -40
- package/dist/api/block/v1alpha1/validation-rules.gen.js +11 -1
- package/dist/api/cockpit/v1beta1/api.gen.js +143 -48
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +89 -36
- package/dist/api/container/v1beta1/index.gen.js +2 -0
- package/dist/api/container/v1beta1/marshalling.gen.js +63 -35
- package/dist/api/container/v1beta1/validation-rules.gen.js +44 -0
- package/dist/api/document_db/v1beta1/marshalling.gen.js +117 -61
- package/dist/api/domain/v2beta1/api.gen.js +29 -37
- package/dist/api/domain/v2beta1/index.gen.js +0 -2
- package/dist/api/domain/v2beta1/marshalling.gen.js +408 -194
- package/dist/api/flexibleip/v1alpha1/api.gen.js +6 -14
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +2 -2
- package/dist/api/function/v1beta1/api.gen.js +36 -0
- package/dist/api/function/v1beta1/index.gen.js +2 -0
- package/dist/api/function/v1beta1/marshalling.gen.js +64 -36
- package/dist/api/function/v1beta1/validation-rules.gen.js +44 -0
- package/dist/api/iam/v1alpha1/api.gen.js +54 -44
- package/dist/api/iam/v1alpha1/marshalling.gen.js +69 -34
- package/dist/api/iam/v1alpha1/validation-rules.gen.js +10 -1
- package/dist/api/instance/v1/api.gen.js +1 -1
- package/dist/api/instance/v1/content.gen.js +4 -1
- package/dist/api/instance/v1/index.js +1 -1
- package/dist/api/instance/v1/marshalling.gen.js +414 -205
- package/dist/api/iot/v1/api.gen.js +24 -32
- package/dist/api/iot/v1/marshalling.gen.js +87 -36
- package/dist/api/ipam/index.js +2 -0
- package/dist/api/ipam/v1/api.gen.js +113 -0
- package/dist/api/ipam/v1/index.gen.js +6 -0
- package/dist/api/ipam/v1/marshalling.gen.js +77 -0
- package/dist/api/ipam/v1/validation-rules.gen.js +11 -0
- package/dist/api/ipfs/v1alpha1/api.gen.js +120 -3
- package/dist/api/ipfs/v1alpha1/content.gen.js +4 -1
- package/dist/api/ipfs/v1alpha1/index.gen.js +2 -2
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +71 -19
- package/dist/api/jobs/index.js +2 -0
- package/dist/api/jobs/v1alpha1/api.gen.js +111 -0
- package/dist/api/jobs/v1alpha1/content.gen.js +7 -0
- package/dist/api/jobs/v1alpha1/index.gen.js +7 -0
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +84 -0
- package/dist/api/jobs/v1alpha1/validation-rules.gen.js +45 -0
- package/dist/api/k8s/v1/marshalling.gen.js +128 -40
- package/dist/api/lb/v1/api.gen.js +1 -1
- package/dist/api/lb/v1/marshalling.gen.js +268 -152
- package/dist/api/marketplace/v1/marshalling.gen.js +11 -11
- package/dist/api/marketplace/v2/api.gen.js +3 -3
- package/dist/api/mnq/index.js +2 -0
- package/dist/api/mnq/v1alpha1/api.gen.js +12 -20
- package/dist/api/mnq/v1alpha1/marshalling.gen.js +19 -14
- package/dist/api/mnq/v1beta1/api.gen.js +529 -0
- package/dist/api/mnq/v1beta1/index.gen.js +6 -0
- package/dist/api/mnq/v1beta1/marshalling.gen.js +212 -0
- package/dist/api/mnq/v1beta1/validation-rules.gen.js +77 -0
- package/dist/api/rdb/v1/marshalling.gen.js +131 -66
- package/dist/api/redis/v1/marshalling.gen.js +51 -27
- package/dist/api/registry/v1/marshalling.gen.js +6 -4
- package/dist/api/secret/v1alpha1/api.gen.js +2 -2
- package/dist/api/secret/v1alpha1/marshalling.gen.js +17 -5
- package/dist/api/std/index.gen.js +1 -0
- package/dist/api/tem/v1alpha1/api.gen.js +8 -2
- package/dist/api/tem/v1alpha1/marshalling.gen.js +35 -13
- package/dist/api/test/v1/marshalling.gen.js +5 -3
- package/dist/api/vpc/v2/marshalling.gen.js +2 -0
- package/dist/api/vpcgw/v1/marshalling.gen.js +53 -24
- package/dist/api/webhosting/v1alpha1/api.gen.js +2 -54
- package/dist/api/webhosting/v1alpha1/index.gen.js +1 -1
- package/dist/api/webhosting/v1alpha1/marshalling.gen.js +14 -41
- package/dist/api/webhosting/v1alpha1/validation-rules.gen.js +1 -10
- package/dist/index.cjs +4351 -1833
- package/dist/index.d.ts +6783 -2543
- package/dist/index.js +34 -28
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -25,16 +25,16 @@ const unmarshalAPIKey = data => {
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
accessKey: data.access_key,
|
|
28
|
-
applicationId: data.application_id
|
|
28
|
+
applicationId: data.application_id,
|
|
29
29
|
createdAt: unmarshalDate(data.created_at),
|
|
30
30
|
creationIp: data.creation_ip,
|
|
31
31
|
defaultProjectId: data.default_project_id,
|
|
32
32
|
description: data.description,
|
|
33
33
|
editable: data.editable,
|
|
34
34
|
expiresAt: unmarshalDate(data.expires_at),
|
|
35
|
-
secretKey: data.secret_key
|
|
35
|
+
secretKey: data.secret_key,
|
|
36
36
|
updatedAt: unmarshalDate(data.updated_at),
|
|
37
|
-
userId: data.user_id
|
|
37
|
+
userId: data.user_id
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
const unmarshalApplication = data => {
|
|
@@ -67,25 +67,41 @@ const unmarshalGroup = data => {
|
|
|
67
67
|
userIds: data.user_ids
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
|
+
const unmarshalLog = data => {
|
|
71
|
+
if (!isJSONObject(data)) {
|
|
72
|
+
throw new TypeError(`Unmarshalling the type 'Log' failed as data isn't a dictionary.`);
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
action: data.action,
|
|
76
|
+
bearerId: data.bearer_id,
|
|
77
|
+
createdAt: unmarshalDate(data.created_at),
|
|
78
|
+
id: data.id,
|
|
79
|
+
ip: data.ip,
|
|
80
|
+
organizationId: data.organization_id,
|
|
81
|
+
resourceId: data.resource_id,
|
|
82
|
+
resourceType: data.resource_type,
|
|
83
|
+
userAgent: data.user_agent
|
|
84
|
+
};
|
|
85
|
+
};
|
|
70
86
|
const unmarshalPolicy = data => {
|
|
71
87
|
if (!isJSONObject(data)) {
|
|
72
88
|
throw new TypeError(`Unmarshalling the type 'Policy' failed as data isn't a dictionary.`);
|
|
73
89
|
}
|
|
74
90
|
return {
|
|
75
|
-
applicationId: data.application_id
|
|
91
|
+
applicationId: data.application_id,
|
|
76
92
|
createdAt: unmarshalDate(data.created_at),
|
|
77
93
|
description: data.description,
|
|
78
94
|
editable: data.editable,
|
|
79
|
-
groupId: data.group_id
|
|
95
|
+
groupId: data.group_id,
|
|
80
96
|
id: data.id,
|
|
81
97
|
name: data.name,
|
|
82
98
|
nbPermissionSets: data.nb_permission_sets,
|
|
83
99
|
nbRules: data.nb_rules,
|
|
84
100
|
nbScopes: data.nb_scopes,
|
|
85
|
-
noPrincipal: data.no_principal
|
|
101
|
+
noPrincipal: data.no_principal,
|
|
86
102
|
organizationId: data.organization_id,
|
|
87
103
|
updatedAt: unmarshalDate(data.updated_at),
|
|
88
|
-
userId: data.user_id
|
|
104
|
+
userId: data.user_id
|
|
89
105
|
};
|
|
90
106
|
};
|
|
91
107
|
const unmarshalQuotum = data => {
|
|
@@ -93,9 +109,9 @@ const unmarshalQuotum = data => {
|
|
|
93
109
|
throw new TypeError(`Unmarshalling the type 'Quotum' failed as data isn't a dictionary.`);
|
|
94
110
|
}
|
|
95
111
|
return {
|
|
96
|
-
limit: data.limit
|
|
112
|
+
limit: data.limit,
|
|
97
113
|
name: data.name,
|
|
98
|
-
unlimited: data.unlimited
|
|
114
|
+
unlimited: data.unlimited
|
|
99
115
|
};
|
|
100
116
|
};
|
|
101
117
|
const unmarshalSSHKey = data => {
|
|
@@ -128,7 +144,7 @@ const unmarshalUser = data => {
|
|
|
128
144
|
mfa: data.mfa,
|
|
129
145
|
organizationId: data.organization_id,
|
|
130
146
|
status: data.status,
|
|
131
|
-
twoFactorEnabled: data.two_factor_enabled
|
|
147
|
+
twoFactorEnabled: data.two_factor_enabled,
|
|
132
148
|
type: data.type,
|
|
133
149
|
updatedAt: unmarshalDate(data.updated_at)
|
|
134
150
|
};
|
|
@@ -169,12 +185,21 @@ const unmarshalListJWTsResponse = data => {
|
|
|
169
185
|
totalCount: data.total_count
|
|
170
186
|
};
|
|
171
187
|
};
|
|
188
|
+
const unmarshalListLogsResponse = data => {
|
|
189
|
+
if (!isJSONObject(data)) {
|
|
190
|
+
throw new TypeError(`Unmarshalling the type 'ListLogsResponse' failed as data isn't a dictionary.`);
|
|
191
|
+
}
|
|
192
|
+
return {
|
|
193
|
+
logs: unmarshalArrayOfObject(data.logs, unmarshalLog),
|
|
194
|
+
totalCount: data.total_count
|
|
195
|
+
};
|
|
196
|
+
};
|
|
172
197
|
const unmarshalPermissionSet = data => {
|
|
173
198
|
if (!isJSONObject(data)) {
|
|
174
199
|
throw new TypeError(`Unmarshalling the type 'PermissionSet' failed as data isn't a dictionary.`);
|
|
175
200
|
}
|
|
176
201
|
return {
|
|
177
|
-
categories: data.categories
|
|
202
|
+
categories: data.categories,
|
|
178
203
|
description: data.description,
|
|
179
204
|
id: data.id,
|
|
180
205
|
name: data.name,
|
|
@@ -213,12 +238,12 @@ const unmarshalRule = data => {
|
|
|
213
238
|
throw new TypeError(`Unmarshalling the type 'Rule' failed as data isn't a dictionary.`);
|
|
214
239
|
}
|
|
215
240
|
return {
|
|
216
|
-
accountRootUserId: data.account_root_user_id
|
|
241
|
+
accountRootUserId: data.account_root_user_id,
|
|
217
242
|
id: data.id,
|
|
218
|
-
organizationId: data.organization_id
|
|
219
|
-
permissionSetNames: data.permission_set_names
|
|
243
|
+
organizationId: data.organization_id,
|
|
244
|
+
permissionSetNames: data.permission_set_names,
|
|
220
245
|
permissionSetsScopeType: data.permission_sets_scope_type,
|
|
221
|
-
projectIds: data.project_ids
|
|
246
|
+
projectIds: data.project_ids
|
|
222
247
|
};
|
|
223
248
|
};
|
|
224
249
|
const unmarshalListRulesResponse = data => {
|
|
@@ -258,11 +283,11 @@ const unmarshalSetRulesResponse = data => {
|
|
|
258
283
|
};
|
|
259
284
|
const marshalAddGroupMemberRequest = (request, defaults) => ({
|
|
260
285
|
...resolveOneOf([{
|
|
261
|
-
param: 'application_id',
|
|
262
|
-
value: request.applicationId
|
|
263
|
-
}, {
|
|
264
286
|
param: 'user_id',
|
|
265
287
|
value: request.userId
|
|
288
|
+
}, {
|
|
289
|
+
param: 'application_id',
|
|
290
|
+
value: request.applicationId
|
|
266
291
|
}])
|
|
267
292
|
});
|
|
268
293
|
const marshalAddGroupMembersRequest = (request, defaults) => ({
|
|
@@ -291,23 +316,33 @@ const marshalCreateGroupRequest = (request, defaults) => ({
|
|
|
291
316
|
name: request.name || randomName('grp'),
|
|
292
317
|
organization_id: request.organizationId ?? defaults.defaultOrganizationId
|
|
293
318
|
});
|
|
319
|
+
const marshalRuleSpecs = (request, defaults) => ({
|
|
320
|
+
permission_set_names: request.permissionSetNames,
|
|
321
|
+
...resolveOneOf([{
|
|
322
|
+
param: 'project_ids',
|
|
323
|
+
value: request.projectIds
|
|
324
|
+
}, {
|
|
325
|
+
param: 'organization_id',
|
|
326
|
+
value: request.organizationId
|
|
327
|
+
}])
|
|
328
|
+
});
|
|
294
329
|
const marshalCreatePolicyRequest = (request, defaults) => ({
|
|
295
330
|
description: request.description,
|
|
296
331
|
name: request.name || randomName('pol'),
|
|
297
332
|
organization_id: request.organizationId ?? defaults.defaultOrganizationId,
|
|
298
|
-
rules: request.rules,
|
|
333
|
+
rules: request.rules !== undefined ? request.rules.map(elt => marshalRuleSpecs(elt)) : undefined,
|
|
299
334
|
...resolveOneOf([{
|
|
300
|
-
param: '
|
|
301
|
-
value: request.
|
|
335
|
+
param: 'user_id',
|
|
336
|
+
value: request.userId
|
|
302
337
|
}, {
|
|
303
338
|
param: 'group_id',
|
|
304
339
|
value: request.groupId
|
|
340
|
+
}, {
|
|
341
|
+
param: 'application_id',
|
|
342
|
+
value: request.applicationId
|
|
305
343
|
}, {
|
|
306
344
|
param: 'no_principal',
|
|
307
345
|
value: request.noPrincipal
|
|
308
|
-
}, {
|
|
309
|
-
param: 'user_id',
|
|
310
|
-
value: request.userId
|
|
311
346
|
}])
|
|
312
347
|
});
|
|
313
348
|
const marshalCreateSSHKeyRequest = (request, defaults) => ({
|
|
@@ -321,11 +356,11 @@ const marshalCreateUserRequest = (request, defaults) => ({
|
|
|
321
356
|
});
|
|
322
357
|
const marshalRemoveGroupMemberRequest = (request, defaults) => ({
|
|
323
358
|
...resolveOneOf([{
|
|
324
|
-
param: 'application_id',
|
|
325
|
-
value: request.applicationId
|
|
326
|
-
}, {
|
|
327
359
|
param: 'user_id',
|
|
328
360
|
value: request.userId
|
|
361
|
+
}, {
|
|
362
|
+
param: 'application_id',
|
|
363
|
+
value: request.applicationId
|
|
329
364
|
}])
|
|
330
365
|
});
|
|
331
366
|
const marshalSetGroupMembersRequest = (request, defaults) => ({
|
|
@@ -334,7 +369,7 @@ const marshalSetGroupMembersRequest = (request, defaults) => ({
|
|
|
334
369
|
});
|
|
335
370
|
const marshalSetRulesRequest = (request, defaults) => ({
|
|
336
371
|
policy_id: request.policyId,
|
|
337
|
-
rules: request.rules
|
|
372
|
+
rules: request.rules.map(elt => marshalRuleSpecs(elt))
|
|
338
373
|
});
|
|
339
374
|
const marshalUpdateAPIKeyRequest = (request, defaults) => ({
|
|
340
375
|
default_project_id: request.defaultProjectId,
|
|
@@ -352,17 +387,17 @@ const marshalUpdatePolicyRequest = (request, defaults) => ({
|
|
|
352
387
|
description: request.description,
|
|
353
388
|
name: request.name,
|
|
354
389
|
...resolveOneOf([{
|
|
355
|
-
param: '
|
|
356
|
-
value: request.
|
|
390
|
+
param: 'user_id',
|
|
391
|
+
value: request.userId
|
|
357
392
|
}, {
|
|
358
393
|
param: 'group_id',
|
|
359
394
|
value: request.groupId
|
|
395
|
+
}, {
|
|
396
|
+
param: 'application_id',
|
|
397
|
+
value: request.applicationId
|
|
360
398
|
}, {
|
|
361
399
|
param: 'no_principal',
|
|
362
400
|
value: request.noPrincipal
|
|
363
|
-
}, {
|
|
364
|
-
param: 'user_id',
|
|
365
|
-
value: request.userId
|
|
366
401
|
}])
|
|
367
402
|
});
|
|
368
403
|
const marshalUpdateSSHKeyRequest = (request, defaults) => ({
|
|
@@ -370,4 +405,4 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
|
|
|
370
405
|
name: request.name
|
|
371
406
|
});
|
|
372
407
|
|
|
373
|
-
export { marshalAddGroupMemberRequest, marshalAddGroupMembersRequest, marshalCreateAPIKeyRequest, marshalCreateApplicationRequest, marshalCreateGroupRequest, marshalCreatePolicyRequest, marshalCreateSSHKeyRequest, marshalCreateUserRequest, marshalRemoveGroupMemberRequest, marshalSetGroupMembersRequest, marshalSetRulesRequest, marshalUpdateAPIKeyRequest, marshalUpdateApplicationRequest, marshalUpdateGroupRequest, marshalUpdatePolicyRequest, marshalUpdateSSHKeyRequest, unmarshalAPIKey, unmarshalApplication, unmarshalGroup, unmarshalJWT, unmarshalListAPIKeysResponse, unmarshalListApplicationsResponse, unmarshalListGroupsResponse, unmarshalListJWTsResponse, unmarshalListPermissionSetsResponse, unmarshalListPoliciesResponse, unmarshalListQuotaResponse, unmarshalListRulesResponse, unmarshalListSSHKeysResponse, unmarshalListUsersResponse, unmarshalPolicy, unmarshalQuotum, unmarshalSSHKey, unmarshalSetRulesResponse, unmarshalUser };
|
|
408
|
+
export { marshalAddGroupMemberRequest, marshalAddGroupMembersRequest, marshalCreateAPIKeyRequest, marshalCreateApplicationRequest, marshalCreateGroupRequest, marshalCreatePolicyRequest, marshalCreateSSHKeyRequest, marshalCreateUserRequest, marshalRemoveGroupMemberRequest, marshalSetGroupMembersRequest, marshalSetRulesRequest, marshalUpdateAPIKeyRequest, marshalUpdateApplicationRequest, marshalUpdateGroupRequest, marshalUpdatePolicyRequest, marshalUpdateSSHKeyRequest, unmarshalAPIKey, unmarshalApplication, unmarshalGroup, unmarshalJWT, unmarshalListAPIKeysResponse, unmarshalListApplicationsResponse, unmarshalListGroupsResponse, unmarshalListJWTsResponse, unmarshalListLogsResponse, unmarshalListPermissionSetsResponse, unmarshalListPoliciesResponse, unmarshalListQuotaResponse, unmarshalListRulesResponse, unmarshalListSSHKeysResponse, unmarshalListUsersResponse, unmarshalLog, unmarshalPolicy, unmarshalQuotum, unmarshalSSHKey, unmarshalSetRulesResponse, unmarshalUser };
|
|
@@ -102,6 +102,15 @@ const ListJWTsRequest = {
|
|
|
102
102
|
lessThanOrEqual: 100
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
+
const ListLogsRequest = {
|
|
106
|
+
page: {
|
|
107
|
+
greaterThan: 0
|
|
108
|
+
},
|
|
109
|
+
pageSize: {
|
|
110
|
+
greaterThanOrEqual: 1,
|
|
111
|
+
lessThanOrEqual: 100
|
|
112
|
+
}
|
|
113
|
+
};
|
|
105
114
|
const ListPermissionSetsRequest = {
|
|
106
115
|
page: {
|
|
107
116
|
greaterThan: 0
|
|
@@ -204,4 +213,4 @@ const UpdateSSHKeyRequest = {
|
|
|
204
213
|
}
|
|
205
214
|
};
|
|
206
215
|
|
|
207
|
-
export { CreateAPIKeyRequest, CreateApplicationRequest, CreateGroupRequest, CreatePolicyRequest, CreateSSHKeyRequest, GetQuotumRequest, ListAPIKeysRequest, ListApplicationsRequest, ListGroupsRequest, ListJWTsRequest, ListPermissionSetsRequest, ListPoliciesRequest, ListQuotaRequest, ListRulesRequest, ListSSHKeysRequest, ListUsersRequest, UpdateAPIKeyRequest, UpdateApplicationRequest, UpdateGroupRequest, UpdatePolicyRequest, UpdateSSHKeyRequest };
|
|
216
|
+
export { CreateAPIKeyRequest, CreateApplicationRequest, CreateGroupRequest, CreatePolicyRequest, CreateSSHKeyRequest, GetQuotumRequest, ListAPIKeysRequest, ListApplicationsRequest, ListGroupsRequest, ListJWTsRequest, ListLogsRequest, ListPermissionSetsRequest, ListPoliciesRequest, ListQuotaRequest, ListRulesRequest, ListSSHKeysRequest, ListUsersRequest, UpdateAPIKeyRequest, UpdateApplicationRequest, UpdateGroupRequest, UpdatePolicyRequest, UpdateSSHKeyRequest };
|
|
@@ -83,7 +83,7 @@ class API extends API$1 {
|
|
|
83
83
|
return _this4.client.fetch({
|
|
84
84
|
method: 'GET',
|
|
85
85
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? _this4.client.settings.defaultZone)}/servers`,
|
|
86
|
-
urlParams: urlParams(['commercial_type', request.commercialType], ['name', request.name], ['order', request.order], ['organization', request.organization], ['page', request.page], ['per_page', request.perPage ?? _this4.client.settings.defaultPageSize], ['private_ip', request.privateIp], ['private_network', request.privateNetwork], ['private_networks', request.privateNetworks && request.privateNetworks.length > 0 ? request.privateNetworks.join(',') : undefined], ['private_nic_mac_address', request.privateNicMacAddress], ['project', request.project], ['state', request.state], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined], ['without_ip', request.withoutIp])
|
|
86
|
+
urlParams: urlParams(['commercial_type', request.commercialType], ['name', request.name], ['order', request.order], ['organization', request.organization], ['page', request.page], ['per_page', request.perPage ?? _this4.client.settings.defaultPageSize], ['private_ip', request.privateIp], ['private_network', request.privateNetwork], ['private_networks', request.privateNetworks && request.privateNetworks.length > 0 ? request.privateNetworks.join(',') : undefined], ['private_nic_mac_address', request.privateNicMacAddress], ['project', request.project], ['servers', request.servers && request.servers.length > 0 ? request.servers.join(',') : undefined], ['state', request.state], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined], ['without_ip', request.withoutIp])
|
|
87
87
|
}, unmarshalListServersResponse);
|
|
88
88
|
};
|
|
89
89
|
})();
|
|
@@ -13,6 +13,9 @@ const PRIVATE_NIC_TRANSIENT_STATUSES = ['syncing'];
|
|
|
13
13
|
/** Lists transient statutes of the enum {@link SecurityGroupState}. */
|
|
14
14
|
const SECURITY_GROUP_TRANSIENT_STATUSES = ['syncing'];
|
|
15
15
|
|
|
16
|
+
/** Lists transient statutes of the enum {@link ServerIpState}. */
|
|
17
|
+
const SERVER_IP_TRANSIENT_STATUSES = ['pending'];
|
|
18
|
+
|
|
16
19
|
/** Lists transient statutes of the enum {@link ServerState}. */
|
|
17
20
|
const SERVER_TRANSIENT_STATUSES = ['starting', 'stopping'];
|
|
18
21
|
|
|
@@ -28,4 +31,4 @@ const VOLUME_SERVER_TRANSIENT_STATUSES = ['snapshotting', 'fetching', 'resizing'
|
|
|
28
31
|
/** Lists transient statutes of the enum {@link VolumeState}. */
|
|
29
32
|
const VOLUME_TRANSIENT_STATUSES = ['snapshotting', 'fetching', 'resizing', 'saving', 'hotsyncing'];
|
|
30
33
|
|
|
31
|
-
export { IMAGE_TRANSIENT_STATUSES, IP_TRANSIENT_STATUSES, PRIVATE_NIC_TRANSIENT_STATUSES, SECURITY_GROUP_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES, VOLUME_SERVER_TRANSIENT_STATUSES, VOLUME_TRANSIENT_STATUSES };
|
|
34
|
+
export { IMAGE_TRANSIENT_STATUSES, IP_TRANSIENT_STATUSES, PRIVATE_NIC_TRANSIENT_STATUSES, SECURITY_GROUP_TRANSIENT_STATUSES, SERVER_IP_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES, VOLUME_SERVER_TRANSIENT_STATUSES, VOLUME_TRANSIENT_STATUSES };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { InstanceV1UtilsAPI as API } from './api.utils.js';
|
|
2
|
-
export { IMAGE_TRANSIENT_STATUSES, IP_TRANSIENT_STATUSES, PRIVATE_NIC_TRANSIENT_STATUSES, SECURITY_GROUP_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES, VOLUME_SERVER_TRANSIENT_STATUSES, VOLUME_TRANSIENT_STATUSES } from './content.gen.js';
|
|
2
|
+
export { IMAGE_TRANSIENT_STATUSES, IP_TRANSIENT_STATUSES, PRIVATE_NIC_TRANSIENT_STATUSES, SECURITY_GROUP_TRANSIENT_STATUSES, SERVER_IP_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES, VOLUME_SERVER_TRANSIENT_STATUSES, VOLUME_TRANSIENT_STATUSES } from './content.gen.js';
|