@scaleway/sdk 2.65.0 → 2.67.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/cockpit/v1/api.gen.cjs +14 -17
- package/dist/api/cockpit/v1/api.gen.d.ts +6 -9
- package/dist/api/cockpit/v1/api.gen.js +15 -18
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +29 -26
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/marshalling.gen.js +29 -26
- package/dist/api/cockpit/v1/types.gen.d.ts +49 -34
- package/dist/api/cockpit/v1/validation-rules.gen.cjs +0 -10
- package/dist/api/cockpit/v1/validation-rules.gen.d.ts +0 -9
- package/dist/api/cockpit/v1/validation-rules.gen.js +0 -10
- 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/lb/v1/marshalling.gen.cjs +5 -0
- package/dist/api/lb/v1/marshalling.gen.js +5 -0
- package/dist/api/lb/v1/types.gen.d.ts +25 -0
- 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 +38 -1
- package/dist/api/secret/v1beta1/api.gen.d.ts +19 -3
- package/dist/api/secret/v1beta1/api.gen.js +38 -1
- package/dist/api/secret/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +2 -0
- package/dist/api/secret/v1beta1/marshalling.gen.js +2 -0
- package/dist/api/secret/v1beta1/types.gen.d.ts +52 -25
- 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.cjs +6 -0
- package/dist/api/vpcgw/v1/api.gen.d.ts +4 -3
- package/dist/api/vpcgw/v1/api.gen.js +6 -0
- package/dist/api/vpcgw/v1/index.gen.d.ts +1 -1
- package/dist/api/vpcgw/v1/types.gen.d.ts +49 -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/api/webhosting/v1/marshalling.gen.cjs +7 -3
- package/dist/api/webhosting/v1/marshalling.gen.js +7 -3
- package/dist/api/webhosting/v1/types.gen.d.ts +14 -6
- 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
|
@@ -35,15 +35,6 @@ const RegionalApiListDataSourcesRequest = {
|
|
|
35
35
|
lessThanOrEqual: 1e3
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
-
const RegionalApiListManagedAlertsRequest = {
|
|
39
|
-
page: {
|
|
40
|
-
greaterThanOrEqual: 1
|
|
41
|
-
},
|
|
42
|
-
pageSize: {
|
|
43
|
-
greaterThanOrEqual: 1,
|
|
44
|
-
lessThanOrEqual: 1e3
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
38
|
const RegionalApiListTokensRequest = {
|
|
48
39
|
page: {
|
|
49
40
|
greaterThanOrEqual: 1
|
|
@@ -71,7 +62,6 @@ export {
|
|
|
71
62
|
RegionalApiCreateTokenRequest,
|
|
72
63
|
RegionalApiListContactPointsRequest,
|
|
73
64
|
RegionalApiListDataSourcesRequest,
|
|
74
|
-
RegionalApiListManagedAlertsRequest,
|
|
75
65
|
RegionalApiListTokensRequest,
|
|
76
66
|
RegionalApiUpdateDataSourceRequest
|
|
77
67
|
};
|
|
@@ -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.
|