@scaleway/sdk 2.65.0 → 2.66.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/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +17 -0
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +17 -0
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +21 -0
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +9 -0
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +9 -0
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +24 -16
- package/dist/api/baremetal/v1/api.gen.d.ts +3 -3
- package/dist/api/baremetal/v1/types.gen.d.ts +33 -33
- package/dist/api/baremetal/v3/api.gen.d.ts +2 -2
- package/dist/api/baremetal/v3/types.gen.d.ts +5 -5
- package/dist/api/block/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/block/v1alpha1/types.gen.d.ts +17 -17
- package/dist/api/container/v1beta1/api.gen.cjs +5 -1
- package/dist/api/container/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.js +5 -1
- package/dist/api/container/v1beta1/types.gen.d.ts +32 -32
- package/dist/api/dedibox/v1/api.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/types.gen.d.ts +51 -51
- package/dist/api/edge_services/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +21 -2
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +22 -3
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +34 -0
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +14 -14
- package/dist/api/function/v1beta1/api.gen.cjs +5 -1
- package/dist/api/function/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/function/v1beta1/api.gen.js +5 -1
- package/dist/api/function/v1beta1/types.gen.d.ts +35 -35
- package/dist/api/iot/v1/api.gen.d.ts +2 -2
- package/dist/api/iot/v1/types.gen.d.ts +38 -38
- package/dist/api/jobs/v1alpha1/api.gen.cjs +5 -1
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.js +5 -1
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +19 -19
- package/dist/api/k8s/v1/api.gen.cjs +5 -1
- package/dist/api/k8s/v1/api.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.js +5 -1
- package/dist/api/k8s/v1/marshalling.gen.cjs +1 -0
- package/dist/api/k8s/v1/marshalling.gen.js +1 -0
- package/dist/api/k8s/v1/types.gen.d.ts +42 -41
- package/dist/api/marketplace/v2/types.gen.d.ts +3 -3
- package/dist/api/mnq/v1beta1/api.gen.d.ts +4 -4
- package/dist/api/mnq/v1beta1/types.gen.d.ts +31 -31
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +3 -3
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +24 -24
- package/dist/api/rdb/v1/api.gen.cjs +5 -1
- package/dist/api/rdb/v1/api.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.js +5 -1
- package/dist/api/rdb/v1/types.gen.d.ts +67 -67
- package/dist/api/redis/v1/api.gen.d.ts +2 -2
- package/dist/api/redis/v1/types.gen.d.ts +28 -28
- package/dist/api/registry/v1/api.gen.cjs +5 -1
- package/dist/api/registry/v1/api.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.js +5 -1
- package/dist/api/registry/v1/types.gen.d.ts +14 -14
- package/dist/api/secret/v1beta1/api.gen.cjs +5 -1
- package/dist/api/secret/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1beta1/api.gen.js +5 -1
- package/dist/api/secret/v1beta1/types.gen.d.ts +22 -22
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +12 -12
- package/dist/api/tem/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/types.gen.d.ts +25 -25
- package/dist/api/vpcgw/v1/api.gen.d.ts +2 -2
- package/dist/api/vpcgw/v1/types.gen.d.ts +44 -44
- package/dist/api/vpcgw/v2/api.gen.d.ts +2 -2
- package/dist/api/vpcgw/v2/types.gen.d.ts +33 -33
- package/dist/scw/client-settings.cjs +2 -2
- package/dist/scw/client-settings.d.ts +2 -2
- package/dist/scw/client-settings.js +2 -2
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -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 { CreateSnapshotRequest, CreateVolumeRequest, DeleteSnapshotRequest, DeleteVolumeRequest, ExportSnapshotToObjectStorageRequest, GetSnapshotRequest, GetVolumeRequest, ImportSnapshotFromObjectStorageRequest, ImportSnapshotFromS3Request, ListSnapshotsRequest, ListSnapshotsResponse, ListVolumeTypesRequest, ListVolumeTypesResponse, ListVolumesRequest, ListVolumesResponse, Snapshot, UpdateSnapshotRequest, UpdateVolumeRequest, Volume } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Block Storage API.
|
|
@@ -8,7 +8,7 @@ import type { CreateSnapshotRequest, CreateVolumeRequest, DeleteSnapshotRequest,
|
|
|
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
|
protected pageOfListVolumeTypes: (request?: Readonly<ListVolumeTypesRequest>) => Promise<ListVolumeTypesResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* List volume types. List all available volume types in a specified zone. The
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Money, Zone } from '../../../bridge';
|
|
1
|
+
import type { Money, Zone as ScwZone } from '../../../bridge';
|
|
2
2
|
export type ListSnapshotsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
3
3
|
export type ListVolumesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
4
4
|
export type ReferenceStatus = 'unknown_status' | 'attaching' | 'attached' | 'detaching' | 'detached' | 'creating' | 'error';
|
|
@@ -81,7 +81,7 @@ export interface Snapshot {
|
|
|
81
81
|
/** List of tags assigned to the volume. */
|
|
82
82
|
tags: string[];
|
|
83
83
|
/** Snapshot zone. */
|
|
84
|
-
zone:
|
|
84
|
+
zone: ScwZone;
|
|
85
85
|
/** Storage class of the snapshot. */
|
|
86
86
|
class: StorageClass;
|
|
87
87
|
}
|
|
@@ -122,7 +122,7 @@ export interface Volume {
|
|
|
122
122
|
/** List of tags assigned to the volume. */
|
|
123
123
|
tags: string[];
|
|
124
124
|
/** Volume zone. */
|
|
125
|
-
zone:
|
|
125
|
+
zone: ScwZone;
|
|
126
126
|
/** Specifications of the volume. */
|
|
127
127
|
specs?: VolumeSpecifications;
|
|
128
128
|
/** Last time the volume was detached. */
|
|
@@ -130,7 +130,7 @@ export interface Volume {
|
|
|
130
130
|
}
|
|
131
131
|
export type CreateSnapshotRequest = {
|
|
132
132
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
133
|
-
zone?:
|
|
133
|
+
zone?: ScwZone;
|
|
134
134
|
/** UUID of the volume to snapshot. */
|
|
135
135
|
volumeId: string;
|
|
136
136
|
/** Name of the snapshot. */
|
|
@@ -142,7 +142,7 @@ export type CreateSnapshotRequest = {
|
|
|
142
142
|
};
|
|
143
143
|
export type CreateVolumeRequest = {
|
|
144
144
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
145
|
-
zone?:
|
|
145
|
+
zone?: ScwZone;
|
|
146
146
|
/** Name of the volume. */
|
|
147
147
|
name?: string;
|
|
148
148
|
/**
|
|
@@ -171,19 +171,19 @@ export type CreateVolumeRequest = {
|
|
|
171
171
|
};
|
|
172
172
|
export type DeleteSnapshotRequest = {
|
|
173
173
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
174
|
-
zone?:
|
|
174
|
+
zone?: ScwZone;
|
|
175
175
|
/** UUID of the snapshot. */
|
|
176
176
|
snapshotId: string;
|
|
177
177
|
};
|
|
178
178
|
export type DeleteVolumeRequest = {
|
|
179
179
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
180
|
-
zone?:
|
|
180
|
+
zone?: ScwZone;
|
|
181
181
|
/** UUID of the volume. */
|
|
182
182
|
volumeId: string;
|
|
183
183
|
};
|
|
184
184
|
export type ExportSnapshotToObjectStorageRequest = {
|
|
185
185
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
186
|
-
zone?:
|
|
186
|
+
zone?: ScwZone;
|
|
187
187
|
/** UUID of the snapshot. */
|
|
188
188
|
snapshotId: string;
|
|
189
189
|
/** Scaleway Object Storage bucket where the object is stored. */
|
|
@@ -193,19 +193,19 @@ export type ExportSnapshotToObjectStorageRequest = {
|
|
|
193
193
|
};
|
|
194
194
|
export type GetSnapshotRequest = {
|
|
195
195
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
196
|
-
zone?:
|
|
196
|
+
zone?: ScwZone;
|
|
197
197
|
/** UUID of the snapshot. */
|
|
198
198
|
snapshotId: string;
|
|
199
199
|
};
|
|
200
200
|
export type GetVolumeRequest = {
|
|
201
201
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
202
|
-
zone?:
|
|
202
|
+
zone?: ScwZone;
|
|
203
203
|
/** UUID of the volume. */
|
|
204
204
|
volumeId: string;
|
|
205
205
|
};
|
|
206
206
|
export type ImportSnapshotFromObjectStorageRequest = {
|
|
207
207
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
208
|
-
zone?:
|
|
208
|
+
zone?: ScwZone;
|
|
209
209
|
/** Scaleway Object Storage bucket where the object is stored. */
|
|
210
210
|
bucket: string;
|
|
211
211
|
/** The object key inside the given bucket. */
|
|
@@ -221,7 +221,7 @@ export type ImportSnapshotFromObjectStorageRequest = {
|
|
|
221
221
|
};
|
|
222
222
|
export type ImportSnapshotFromS3Request = {
|
|
223
223
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
224
|
-
zone?:
|
|
224
|
+
zone?: ScwZone;
|
|
225
225
|
/** Scaleway Object Storage bucket where the object is stored. */
|
|
226
226
|
bucket: string;
|
|
227
227
|
/** The object key inside the given bucket. */
|
|
@@ -237,7 +237,7 @@ export type ImportSnapshotFromS3Request = {
|
|
|
237
237
|
};
|
|
238
238
|
export type ListSnapshotsRequest = {
|
|
239
239
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
240
|
-
zone?:
|
|
240
|
+
zone?: ScwZone;
|
|
241
241
|
/** Criteria to use when ordering the list. */
|
|
242
242
|
orderBy?: ListSnapshotsRequestOrderBy;
|
|
243
243
|
/** Filter by Project ID. */
|
|
@@ -264,7 +264,7 @@ export interface ListSnapshotsResponse {
|
|
|
264
264
|
}
|
|
265
265
|
export type ListVolumeTypesRequest = {
|
|
266
266
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
267
|
-
zone?:
|
|
267
|
+
zone?: ScwZone;
|
|
268
268
|
/** Page number. */
|
|
269
269
|
page?: number;
|
|
270
270
|
/**
|
|
@@ -281,7 +281,7 @@ export interface ListVolumeTypesResponse {
|
|
|
281
281
|
}
|
|
282
282
|
export type ListVolumesRequest = {
|
|
283
283
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
284
|
-
zone?:
|
|
284
|
+
zone?: ScwZone;
|
|
285
285
|
/** Criteria to use when ordering the list. */
|
|
286
286
|
orderBy?: ListVolumesRequestOrderBy;
|
|
287
287
|
/** Filter by Project ID. */
|
|
@@ -316,7 +316,7 @@ export interface ListVolumesResponse {
|
|
|
316
316
|
}
|
|
317
317
|
export type UpdateSnapshotRequest = {
|
|
318
318
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
319
|
-
zone?:
|
|
319
|
+
zone?: ScwZone;
|
|
320
320
|
/** UUID of the snapshot. */
|
|
321
321
|
snapshotId: string;
|
|
322
322
|
/** When defined, is the name of the snapshot. */
|
|
@@ -326,7 +326,7 @@ export type UpdateSnapshotRequest = {
|
|
|
326
326
|
};
|
|
327
327
|
export type UpdateVolumeRequest = {
|
|
328
328
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
329
|
-
zone?:
|
|
329
|
+
zone?: ScwZone;
|
|
330
330
|
/** UUID of the volume. */
|
|
331
331
|
volumeId: string;
|
|
332
332
|
/** When defined, is the new name of the volume. */
|
|
@@ -12,7 +12,11 @@ const jsonContentHeaders = {
|
|
|
12
12
|
};
|
|
13
13
|
class API extends api.API {
|
|
14
14
|
/** Lists the available regions of the API. */
|
|
15
|
-
static LOCALITIES = [
|
|
15
|
+
static LOCALITIES = [
|
|
16
|
+
"fr-par",
|
|
17
|
+
"nl-ams",
|
|
18
|
+
"pl-waw"
|
|
19
|
+
];
|
|
16
20
|
pageOfListNamespaces = (request = {}) => this.client.fetch(
|
|
17
21
|
{
|
|
18
22
|
method: "GET",
|
|
@@ -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 { Container, CreateContainerRequest, CreateCronRequest, CreateDomainRequest, CreateNamespaceRequest, CreateTokenRequest, CreateTriggerRequest, Cron, DeleteContainerRequest, DeleteCronRequest, DeleteDomainRequest, DeleteNamespaceRequest, DeleteTokenRequest, DeleteTriggerRequest, DeployContainerRequest, Domain, GetContainerRequest, GetCronRequest, GetDomainRequest, GetNamespaceRequest, GetTokenRequest, GetTriggerRequest, ListContainersRequest, ListContainersResponse, ListCronsRequest, ListCronsResponse, ListDomainsRequest, ListDomainsResponse, ListNamespacesRequest, ListNamespacesResponse, ListTokensRequest, ListTokensResponse, ListTriggersRequest, ListTriggersResponse, Namespace, Token, Trigger, UpdateContainerRequest, UpdateCronRequest, UpdateNamespaceRequest, UpdateTriggerRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Serverless Containers API.
|
|
@@ -8,7 +8,7 @@ import type { Container, CreateContainerRequest, CreateCronRequest, CreateDomain
|
|
|
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 pageOfListNamespaces: (request?: Readonly<ListNamespacesRequest>) => Promise<ListNamespacesResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* List all your namespaces. List all namespaces in a specified region.
|
|
@@ -10,7 +10,11 @@ const jsonContentHeaders = {
|
|
|
10
10
|
};
|
|
11
11
|
class API extends API$1 {
|
|
12
12
|
/** Lists the available regions of the API. */
|
|
13
|
-
static LOCALITIES = [
|
|
13
|
+
static LOCALITIES = [
|
|
14
|
+
"fr-par",
|
|
15
|
+
"nl-ams",
|
|
16
|
+
"pl-waw"
|
|
17
|
+
];
|
|
14
18
|
pageOfListNamespaces = (request = {}) => this.client.fetch(
|
|
15
19
|
{
|
|
16
20
|
method: "GET",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Region } from '../../../bridge';
|
|
1
|
+
import type { Region as ScwRegion } from '../../../bridge';
|
|
2
2
|
export type ContainerHttpOption = 'unknown_http_option' | 'enabled' | 'redirected';
|
|
3
3
|
export type ContainerPrivacy = 'unknown_privacy' | 'public' | 'private';
|
|
4
4
|
export type ContainerProtocol = 'unknown_protocol' | 'http1' | 'h2c';
|
|
@@ -201,7 +201,7 @@ export interface Container {
|
|
|
201
201
|
/** Last date when the container was successfully deployed and set to ready. */
|
|
202
202
|
readyAt?: Date;
|
|
203
203
|
/** Region in which the container will be deployed. */
|
|
204
|
-
region:
|
|
204
|
+
region: ScwRegion;
|
|
205
205
|
}
|
|
206
206
|
export interface Cron {
|
|
207
207
|
/** UUID of the cron. */
|
|
@@ -255,7 +255,7 @@ export interface Namespace {
|
|
|
255
255
|
/** Secret environment variables of the namespace. */
|
|
256
256
|
secretEnvironmentVariables: SecretHashedValue[];
|
|
257
257
|
/** Region in which the namespace will be created. */
|
|
258
|
-
region:
|
|
258
|
+
region: ScwRegion;
|
|
259
259
|
/** [ALPHA] List of tags applied to the Serverless Container Namespace. */
|
|
260
260
|
tags: string[];
|
|
261
261
|
/** Creation date of the namespace. */
|
|
@@ -335,7 +335,7 @@ export type CreateContainerRequest = {
|
|
|
335
335
|
* Region to target. If none is passed will use default region from the
|
|
336
336
|
* config.
|
|
337
337
|
*/
|
|
338
|
-
region?:
|
|
338
|
+
region?: ScwRegion;
|
|
339
339
|
/** UUID of the namespace the container belongs to. */
|
|
340
340
|
namespaceId: string;
|
|
341
341
|
/** Name of the container. */
|
|
@@ -400,7 +400,7 @@ export type CreateCronRequest = {
|
|
|
400
400
|
* Region to target. If none is passed will use default region from the
|
|
401
401
|
* config.
|
|
402
402
|
*/
|
|
403
|
-
region?:
|
|
403
|
+
region?: ScwRegion;
|
|
404
404
|
/** UUID of the container to invoke by the cron. */
|
|
405
405
|
containerId: string;
|
|
406
406
|
/** UNIX cron shedule. */
|
|
@@ -415,7 +415,7 @@ export type CreateDomainRequest = {
|
|
|
415
415
|
* Region to target. If none is passed will use default region from the
|
|
416
416
|
* config.
|
|
417
417
|
*/
|
|
418
|
-
region?:
|
|
418
|
+
region?: ScwRegion;
|
|
419
419
|
/** Domain to assign. */
|
|
420
420
|
hostname: string;
|
|
421
421
|
/** UUID of the container to assign the domain to. */
|
|
@@ -426,7 +426,7 @@ export type CreateNamespaceRequest = {
|
|
|
426
426
|
* Region to target. If none is passed will use default region from the
|
|
427
427
|
* config.
|
|
428
428
|
*/
|
|
429
|
-
region?:
|
|
429
|
+
region?: ScwRegion;
|
|
430
430
|
/** Name of the namespace to create. */
|
|
431
431
|
name?: string;
|
|
432
432
|
/** Environment variables of the namespace to create. */
|
|
@@ -445,7 +445,7 @@ export type CreateTokenRequest = {
|
|
|
445
445
|
* Region to target. If none is passed will use default region from the
|
|
446
446
|
* config.
|
|
447
447
|
*/
|
|
448
|
-
region?:
|
|
448
|
+
region?: ScwRegion;
|
|
449
449
|
/**
|
|
450
450
|
* UUID of the container to create the token for.
|
|
451
451
|
*
|
|
@@ -468,7 +468,7 @@ export type CreateTriggerRequest = {
|
|
|
468
468
|
* Region to target. If none is passed will use default region from the
|
|
469
469
|
* config.
|
|
470
470
|
*/
|
|
471
|
-
region?:
|
|
471
|
+
region?: ScwRegion;
|
|
472
472
|
/** Name of the trigger. */
|
|
473
473
|
name: string;
|
|
474
474
|
/** ID of the container to trigger. */
|
|
@@ -502,7 +502,7 @@ export type DeleteContainerRequest = {
|
|
|
502
502
|
* Region to target. If none is passed will use default region from the
|
|
503
503
|
* config.
|
|
504
504
|
*/
|
|
505
|
-
region?:
|
|
505
|
+
region?: ScwRegion;
|
|
506
506
|
/** UUID of the container to delete. */
|
|
507
507
|
containerId: string;
|
|
508
508
|
};
|
|
@@ -511,7 +511,7 @@ export type DeleteCronRequest = {
|
|
|
511
511
|
* Region to target. If none is passed will use default region from the
|
|
512
512
|
* config.
|
|
513
513
|
*/
|
|
514
|
-
region?:
|
|
514
|
+
region?: ScwRegion;
|
|
515
515
|
/** UUID of the cron to delete. */
|
|
516
516
|
cronId: string;
|
|
517
517
|
};
|
|
@@ -520,7 +520,7 @@ export type DeleteDomainRequest = {
|
|
|
520
520
|
* Region to target. If none is passed will use default region from the
|
|
521
521
|
* config.
|
|
522
522
|
*/
|
|
523
|
-
region?:
|
|
523
|
+
region?: ScwRegion;
|
|
524
524
|
/** UUID of the domain to delete. */
|
|
525
525
|
domainId: string;
|
|
526
526
|
};
|
|
@@ -529,7 +529,7 @@ export type DeleteNamespaceRequest = {
|
|
|
529
529
|
* Region to target. If none is passed will use default region from the
|
|
530
530
|
* config.
|
|
531
531
|
*/
|
|
532
|
-
region?:
|
|
532
|
+
region?: ScwRegion;
|
|
533
533
|
/** UUID of the namespace to delete. */
|
|
534
534
|
namespaceId: string;
|
|
535
535
|
};
|
|
@@ -538,7 +538,7 @@ export type DeleteTokenRequest = {
|
|
|
538
538
|
* Region to target. If none is passed will use default region from the
|
|
539
539
|
* config.
|
|
540
540
|
*/
|
|
541
|
-
region?:
|
|
541
|
+
region?: ScwRegion;
|
|
542
542
|
/** UUID of the token to delete. */
|
|
543
543
|
tokenId: string;
|
|
544
544
|
};
|
|
@@ -547,7 +547,7 @@ export type DeleteTriggerRequest = {
|
|
|
547
547
|
* Region to target. If none is passed will use default region from the
|
|
548
548
|
* config.
|
|
549
549
|
*/
|
|
550
|
-
region?:
|
|
550
|
+
region?: ScwRegion;
|
|
551
551
|
/** ID of the trigger to delete. */
|
|
552
552
|
triggerId: string;
|
|
553
553
|
};
|
|
@@ -556,7 +556,7 @@ export type DeployContainerRequest = {
|
|
|
556
556
|
* Region to target. If none is passed will use default region from the
|
|
557
557
|
* config.
|
|
558
558
|
*/
|
|
559
|
-
region?:
|
|
559
|
+
region?: ScwRegion;
|
|
560
560
|
/** UUID of the container to deploy. */
|
|
561
561
|
containerId: string;
|
|
562
562
|
};
|
|
@@ -565,7 +565,7 @@ export type GetContainerRequest = {
|
|
|
565
565
|
* Region to target. If none is passed will use default region from the
|
|
566
566
|
* config.
|
|
567
567
|
*/
|
|
568
|
-
region?:
|
|
568
|
+
region?: ScwRegion;
|
|
569
569
|
/** UUID of the container to get. */
|
|
570
570
|
containerId: string;
|
|
571
571
|
};
|
|
@@ -574,7 +574,7 @@ export type GetCronRequest = {
|
|
|
574
574
|
* Region to target. If none is passed will use default region from the
|
|
575
575
|
* config.
|
|
576
576
|
*/
|
|
577
|
-
region?:
|
|
577
|
+
region?: ScwRegion;
|
|
578
578
|
/** UUID of the cron to get. */
|
|
579
579
|
cronId: string;
|
|
580
580
|
};
|
|
@@ -583,7 +583,7 @@ export type GetDomainRequest = {
|
|
|
583
583
|
* Region to target. If none is passed will use default region from the
|
|
584
584
|
* config.
|
|
585
585
|
*/
|
|
586
|
-
region?:
|
|
586
|
+
region?: ScwRegion;
|
|
587
587
|
/** UUID of the domain to get. */
|
|
588
588
|
domainId: string;
|
|
589
589
|
};
|
|
@@ -592,7 +592,7 @@ export type GetNamespaceRequest = {
|
|
|
592
592
|
* Region to target. If none is passed will use default region from the
|
|
593
593
|
* config.
|
|
594
594
|
*/
|
|
595
|
-
region?:
|
|
595
|
+
region?: ScwRegion;
|
|
596
596
|
/** UUID of the namespace to get. */
|
|
597
597
|
namespaceId: string;
|
|
598
598
|
};
|
|
@@ -601,7 +601,7 @@ export type GetTokenRequest = {
|
|
|
601
601
|
* Region to target. If none is passed will use default region from the
|
|
602
602
|
* config.
|
|
603
603
|
*/
|
|
604
|
-
region?:
|
|
604
|
+
region?: ScwRegion;
|
|
605
605
|
/** UUID of the token to get. */
|
|
606
606
|
tokenId: string;
|
|
607
607
|
};
|
|
@@ -610,7 +610,7 @@ export type GetTriggerRequest = {
|
|
|
610
610
|
* Region to target. If none is passed will use default region from the
|
|
611
611
|
* config.
|
|
612
612
|
*/
|
|
613
|
-
region?:
|
|
613
|
+
region?: ScwRegion;
|
|
614
614
|
/** ID of the trigger to get. */
|
|
615
615
|
triggerId: string;
|
|
616
616
|
};
|
|
@@ -619,7 +619,7 @@ export type ListContainersRequest = {
|
|
|
619
619
|
* Region to target. If none is passed will use default region from the
|
|
620
620
|
* config.
|
|
621
621
|
*/
|
|
622
|
-
region?:
|
|
622
|
+
region?: ScwRegion;
|
|
623
623
|
/** Page number. */
|
|
624
624
|
page?: number;
|
|
625
625
|
/** Number of containers per page. */
|
|
@@ -646,7 +646,7 @@ export type ListCronsRequest = {
|
|
|
646
646
|
* Region to target. If none is passed will use default region from the
|
|
647
647
|
* config.
|
|
648
648
|
*/
|
|
649
|
-
region?:
|
|
649
|
+
region?: ScwRegion;
|
|
650
650
|
/** Page number. */
|
|
651
651
|
page?: number;
|
|
652
652
|
/** Number of crons per page. */
|
|
@@ -667,7 +667,7 @@ export type ListDomainsRequest = {
|
|
|
667
667
|
* Region to target. If none is passed will use default region from the
|
|
668
668
|
* config.
|
|
669
669
|
*/
|
|
670
|
-
region?:
|
|
670
|
+
region?: ScwRegion;
|
|
671
671
|
/** Page number. */
|
|
672
672
|
page?: number;
|
|
673
673
|
/** Number of domains per page. */
|
|
@@ -688,7 +688,7 @@ export type ListNamespacesRequest = {
|
|
|
688
688
|
* Region to target. If none is passed will use default region from the
|
|
689
689
|
* config.
|
|
690
690
|
*/
|
|
691
|
-
region?:
|
|
691
|
+
region?: ScwRegion;
|
|
692
692
|
/** Page number. */
|
|
693
693
|
page?: number;
|
|
694
694
|
/** Number of namespaces per page. */
|
|
@@ -713,7 +713,7 @@ export type ListTokensRequest = {
|
|
|
713
713
|
* Region to target. If none is passed will use default region from the
|
|
714
714
|
* config.
|
|
715
715
|
*/
|
|
716
|
-
region?:
|
|
716
|
+
region?: ScwRegion;
|
|
717
717
|
/** Page number. */
|
|
718
718
|
page?: number;
|
|
719
719
|
/** Number of tokens per page. */
|
|
@@ -734,7 +734,7 @@ export type ListTriggersRequest = {
|
|
|
734
734
|
* Region to target. If none is passed will use default region from the
|
|
735
735
|
* config.
|
|
736
736
|
*/
|
|
737
|
-
region?:
|
|
737
|
+
region?: ScwRegion;
|
|
738
738
|
/** Page number to return. */
|
|
739
739
|
page?: number;
|
|
740
740
|
/** Maximum number of triggers to return per page. */
|
|
@@ -774,7 +774,7 @@ export type UpdateContainerRequest = {
|
|
|
774
774
|
* Region to target. If none is passed will use default region from the
|
|
775
775
|
* config.
|
|
776
776
|
*/
|
|
777
|
-
region?:
|
|
777
|
+
region?: ScwRegion;
|
|
778
778
|
/** UUID of the container to update. */
|
|
779
779
|
containerId: string;
|
|
780
780
|
/** Environment variables of the container. */
|
|
@@ -836,7 +836,7 @@ export type UpdateCronRequest = {
|
|
|
836
836
|
* Region to target. If none is passed will use default region from the
|
|
837
837
|
* config.
|
|
838
838
|
*/
|
|
839
|
-
region?:
|
|
839
|
+
region?: ScwRegion;
|
|
840
840
|
/** UUID of the cron to update. */
|
|
841
841
|
cronId: string;
|
|
842
842
|
/** UUID of the container invoked by the cron. */
|
|
@@ -853,7 +853,7 @@ export type UpdateNamespaceRequest = {
|
|
|
853
853
|
* Region to target. If none is passed will use default region from the
|
|
854
854
|
* config.
|
|
855
855
|
*/
|
|
856
|
-
region?:
|
|
856
|
+
region?: ScwRegion;
|
|
857
857
|
/** UUID of the namespace to update. */
|
|
858
858
|
namespaceId: string;
|
|
859
859
|
/** Environment variables of the namespace to update. */
|
|
@@ -870,7 +870,7 @@ export type UpdateTriggerRequest = {
|
|
|
870
870
|
* Region to target. If none is passed will use default region from the
|
|
871
871
|
* config.
|
|
872
872
|
*/
|
|
873
|
-
region?:
|
|
873
|
+
region?: ScwRegion;
|
|
874
874
|
/** ID of the trigger to update. */
|
|
875
875
|
triggerId: string;
|
|
876
876
|
/** Name of the trigger. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { API as ParentAPI } from '../../../bridge';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Zone as ScwZone, WaitForOptions } from '../../../bridge';
|
|
3
3
|
import type { AttachFailoverIPToMacAddressRequest, AttachFailoverIPsRequest, BMCAccess, Backup, BillingApiCanOrderRequest, BillingApiDownloadInvoiceRequest, BillingApiDownloadRefundRequest, BillingApiGetInvoiceRequest, BillingApiGetRefundRequest, BillingApiListInvoicesRequest, BillingApiListRefundsRequest, CanOrderResponse, CancelServerInstallRequest, CreateFailoverIPsRequest, CreateFailoverIPsResponse, CreateServerRequest, DeleteFailoverIPRequest, DeleteServerRequest, DeleteServiceRequest, DetachFailoverIPFromMacAddressRequest, DetachFailoverIPsRequest, FailoverIP, GetBMCAccessRequest, GetFailoverIPRequest, GetIPv6BlockQuotasResponse, GetOSRequest, GetOfferRequest, GetOrderedServiceRequest, GetRaidRequest, GetRemainingQuotaRequest, GetRemainingQuotaResponse, GetRescueRequest, GetRpnStatusResponse, GetServerBackupRequest, GetServerDefaultPartitioningRequest, GetServerInstallRequest, GetServerRequest, GetServiceRequest, IP, IPv6Block, IPv6BlockApiCreateIPv6BlockRequest, IPv6BlockApiCreateIPv6BlockSubnetRequest, IPv6BlockApiDeleteIPv6BlockRequest, IPv6BlockApiGetIPv6BlockQuotasRequest, IPv6BlockApiGetIPv6BlockRequest, IPv6BlockApiListIPv6BlockSubnetsAvailableRequest, IPv6BlockApiUpdateIPv6BlockRequest, InstallServerRequest, Invoice, ListFailoverIPsRequest, ListFailoverIPsResponse, ListIPv6BlockSubnetsAvailableResponse, ListInvoicesResponse, ListIpsResponse, ListOSRequest, ListOSResponse, ListOffersRequest, ListOffersResponse, ListRefundsResponse, ListRpnCapableSanServersResponse, ListRpnCapableServersResponse, ListRpnGroupMembersResponse, ListRpnGroupsResponse, ListRpnInvitesResponse, ListRpnSansResponse, ListRpnServerCapabilitiesResponse, ListRpnV2CapableResourcesResponse, ListRpnV2GroupLogsResponse, ListRpnV2GroupsResponse, ListRpnV2MembersResponse, ListServerDisksRequest, ListServerDisksResponse, ListServerEventsRequest, ListServerEventsResponse, ListServersRequest, ListServersResponse, ListServicesRequest, ListServicesResponse, ListSubscribableServerOptionsRequest, ListSubscribableServerOptionsResponse, OS, Offer, Raid, RebootServerRequest, Refund, Rescue, RpnApiGetRpnStatusRequest, RpnApiListRpnServerCapabilitiesRequest, RpnGroup, RpnSan, RpnSanApiAddIpRequest, RpnSanApiCreateRpnSanRequest, RpnSanApiDeleteRpnSanRequest, RpnSanApiGetRpnSanRequest, RpnSanApiListAvailableIpsRequest, RpnSanApiListIpsRequest, RpnSanApiListRpnSansRequest, RpnSanApiRemoveIpRequest, RpnV1ApiAcceptRpnInviteRequest, RpnV1ApiAddRpnGroupMembersRequest, RpnV1ApiCreateRpnGroupRequest, RpnV1ApiDeleteRpnGroupMembersRequest, RpnV1ApiDeleteRpnGroupRequest, RpnV1ApiGetRpnGroupRequest, RpnV1ApiLeaveRpnGroupRequest, RpnV1ApiListRpnCapableSanServersRequest, RpnV1ApiListRpnCapableServersRequest, RpnV1ApiListRpnGroupMembersRequest, RpnV1ApiListRpnGroupsRequest, RpnV1ApiListRpnInvitesRequest, RpnV1ApiRefuseRpnInviteRequest, RpnV1ApiRpnGroupInviteRequest, RpnV1ApiUpdateRpnGroupNameRequest, RpnV2ApiAddRpnV2MembersRequest, RpnV2ApiCreateRpnV2GroupRequest, RpnV2ApiDeleteRpnV2GroupRequest, RpnV2ApiDeleteRpnV2MembersRequest, RpnV2ApiDisableRpnV2GroupCompatibilityRequest, RpnV2ApiEnableRpnV2GroupCompatibilityRequest, RpnV2ApiGetRpnV2GroupRequest, RpnV2ApiListRpnV2CapableResourcesRequest, RpnV2ApiListRpnV2GroupLogsRequest, RpnV2ApiListRpnV2GroupsRequest, RpnV2ApiListRpnV2MembersRequest, RpnV2ApiUpdateRpnV2GroupNameRequest, RpnV2ApiUpdateRpnV2VlanForMembersRequest, RpnV2Group, Server, ServerDefaultPartitioning, ServerInstall, Service, StartBMCAccessRequest, StartRescueRequest, StartServerRequest, StopBMCAccessRequest, StopRescueRequest, StopServerRequest, SubscribeServerOptionRequest, SubscribeStorageOptionsRequest, SubscribeStorageOptionsResponse, UpdateRaidRequest, UpdateReverseRequest, UpdateServerBackupRequest, UpdateServerRequest, UpdateServerTagsRequest } from './types.gen';
|
|
4
4
|
/** Dedibox Phoenix API. */
|
|
5
5
|
export declare class API extends ParentAPI {
|
|
6
6
|
/** Lists the available zones of the API. */
|
|
7
|
-
static readonly LOCALITIES:
|
|
7
|
+
static readonly LOCALITIES: ScwZone[];
|
|
8
8
|
protected pageOfListServers: (request?: Readonly<ListServersRequest>) => Promise<ListServersResponse>;
|
|
9
9
|
/**
|
|
10
10
|
* List baremetal servers for project.
|