@scaleway/sdk-edge-services 2.3.0 → 2.4.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.
|
@@ -57,6 +57,12 @@ export declare class API extends ParentAPI {
|
|
|
57
57
|
*/
|
|
58
58
|
deletePipeline: (request: Readonly<DeletePipelineRequest>) => Promise<void>;
|
|
59
59
|
protected pageOfListHeadStages: (request: Readonly<ListHeadStagesRequest>) => Promise<ListHeadStagesResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* List Head stage for your pipeline.. List Head stage for your pipeline.
|
|
62
|
+
*
|
|
63
|
+
* @param request - The request {@link ListHeadStagesRequest}
|
|
64
|
+
* @returns A Promise of ListHeadStagesResponse
|
|
65
|
+
*/
|
|
60
66
|
listHeadStages: (request: Readonly<ListHeadStagesRequest>) => Promise<ListHeadStagesResponse> & {
|
|
61
67
|
all: () => Promise<import("./types.gen.js").ListHeadStagesResponseHeadStage[]>;
|
|
62
68
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen.js").ListHeadStagesResponseHeadStage[], void, void>;
|
package/dist/v1beta1/api.gen.js
CHANGED
|
@@ -139,6 +139,12 @@ class API extends API$1 {
|
|
|
139
139
|
},
|
|
140
140
|
unmarshalListHeadStagesResponse
|
|
141
141
|
);
|
|
142
|
+
/**
|
|
143
|
+
* List Head stage for your pipeline.. List Head stage for your pipeline.
|
|
144
|
+
*
|
|
145
|
+
* @param request - The request {@link ListHeadStagesRequest}
|
|
146
|
+
* @returns A Promise of ListHeadStagesResponse
|
|
147
|
+
*/
|
|
142
148
|
listHeadStages = (request) => enrichForPagination("headStages", this.pageOfListHeadStages, request);
|
|
143
149
|
/**
|
|
144
150
|
* Configure a entry point to your pipeline. You must specify a `head stage` to form a stage-chain that goes all the way to the backend stage (origin), so the HTTP request will be processed according to the stages you created.. You must specify either a `add_new_head_stage` (to add a new head stage), `remove_head_stage` (to remove a head stage) or `swap_head_stage` (to replace a head stage).
|
|
@@ -1348,10 +1348,6 @@ export type UpdateBackendStageRequest = {
|
|
|
1348
1348
|
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
|
|
1349
1349
|
*/
|
|
1350
1350
|
scalewayLb?: ScalewayLbBackendConfig;
|
|
1351
|
-
/**
|
|
1352
|
-
* Pipeline ID the Backend stage belongs to.
|
|
1353
|
-
*/
|
|
1354
|
-
pipelineId: string;
|
|
1355
1351
|
/**
|
|
1356
1352
|
*
|
|
1357
1353
|
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
|
|
@@ -1362,6 +1358,10 @@ export type UpdateBackendStageRequest = {
|
|
|
1362
1358
|
* One-of ('backendConfig'): at most one of 'scalewayS3', 'scalewayLb', 'scalewayServerlessContainer', 'scalewayServerlessFunction' could be set.
|
|
1363
1359
|
*/
|
|
1364
1360
|
scalewayServerlessFunction?: ScalewayServerlessFunctionBackendConfig;
|
|
1361
|
+
/**
|
|
1362
|
+
* Pipeline ID the Backend stage belongs to.
|
|
1363
|
+
*/
|
|
1364
|
+
pipelineId: string;
|
|
1365
1365
|
};
|
|
1366
1366
|
export type UpdateCacheStageRequest = {
|
|
1367
1367
|
/**
|