@distilled.cloud/cloudflare 0.5.5 → 0.6.1

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.
@@ -0,0 +1,763 @@
1
+ /**
2
+ * Cloudflare CONTAINERS API
3
+ *
4
+ * Generated from Cloudflare TypeScript SDK.
5
+ * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service containers
6
+ */
7
+ import * as Schema from "effect/Schema";
8
+ import type * as HttpClient from "effect/unstable/http/HttpClient";
9
+ import * as API from "../client/api.ts";
10
+ import type { Credentials } from "../credentials.ts";
11
+ import { type DefaultErrors } from "../errors.ts";
12
+ declare const ContainerApplicationNotFound_base: Schema.ErrorClass<ContainerApplicationNotFound, Schema.TaggedStruct<"ContainerApplicationNotFound", {
13
+ readonly code: Schema.Number;
14
+ readonly message: Schema.String;
15
+ }>, import("effect/Cause").YieldableError>;
16
+ export declare class ContainerApplicationNotFound extends ContainerApplicationNotFound_base {
17
+ }
18
+ declare const DurableObjectAlreadyHasApplication_base: Schema.ErrorClass<DurableObjectAlreadyHasApplication, Schema.TaggedStruct<"DurableObjectAlreadyHasApplication", {
19
+ readonly code: Schema.Number;
20
+ readonly message: Schema.String;
21
+ }>, import("effect/Cause").YieldableError>;
22
+ export declare class DurableObjectAlreadyHasApplication extends DurableObjectAlreadyHasApplication_base {
23
+ }
24
+ declare const InvalidRoute_base: Schema.ErrorClass<InvalidRoute, Schema.TaggedStruct<"InvalidRoute", {
25
+ readonly code: Schema.Number;
26
+ readonly message: Schema.String;
27
+ }>, import("effect/Cause").YieldableError>;
28
+ export declare class InvalidRoute extends InvalidRoute_base {
29
+ }
30
+ export interface GetContainerApplicationRequest {
31
+ accountId: string;
32
+ applicationId: string;
33
+ }
34
+ export declare const GetContainerApplicationRequest: Schema.Schema<GetContainerApplicationRequest>;
35
+ export interface GetContainerApplicationResponse {
36
+ id: string;
37
+ accountId: string;
38
+ name: string;
39
+ schedulingPolicy: "moon" | "gpu" | "regional" | "fill_metals" | "default";
40
+ instances: number;
41
+ maxInstances: number;
42
+ constraints: {
43
+ tier?: number | null;
44
+ };
45
+ affinities?: {
46
+ colocation?: "datacenter" | null;
47
+ } | null;
48
+ configuration: {
49
+ image: string;
50
+ instanceType?: "lite" | "dev" | "basic" | "standard" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | null;
51
+ observability?: {
52
+ logs?: {
53
+ enabled: boolean;
54
+ } | null;
55
+ } | null;
56
+ sshPublicKeyIds?: string[] | null;
57
+ secrets?: {
58
+ name: string;
59
+ type: "env";
60
+ secret: string;
61
+ }[] | null;
62
+ vcpu?: number | null;
63
+ memory?: string | null;
64
+ disk?: {
65
+ size: string;
66
+ } | null;
67
+ environmentVariables?: {
68
+ name: string;
69
+ value: string;
70
+ }[] | null;
71
+ labels?: {
72
+ name: string;
73
+ value: string;
74
+ }[] | null;
75
+ network?: {
76
+ assignIpv4?: "none" | "predefined" | "account" | null;
77
+ assignIpv6?: "none" | "predefined" | "account" | null;
78
+ mode?: "public" | "private" | null;
79
+ } | null;
80
+ command?: string[] | null;
81
+ entrypoint?: string[] | null;
82
+ dns?: {
83
+ servers?: string[] | null;
84
+ searches?: string[] | null;
85
+ } | null;
86
+ ports?: {
87
+ name: string;
88
+ port?: number | null;
89
+ }[] | null;
90
+ checks?: {
91
+ name?: string | null;
92
+ type: "http" | "tcp";
93
+ tls?: boolean | null;
94
+ port: string;
95
+ http?: {
96
+ method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | null;
97
+ body?: string | null;
98
+ path?: string | null;
99
+ headers?: unknown | null;
100
+ } | null;
101
+ interval: string;
102
+ timeout: string;
103
+ retries?: number | null;
104
+ kind: "health" | "ready";
105
+ }[] | null;
106
+ };
107
+ durableObjects?: {
108
+ namespaceId: string;
109
+ } | null;
110
+ createdAt: string;
111
+ version: number;
112
+ durableObjectNamespaceId?: string | null;
113
+ health: {
114
+ instances: unknown;
115
+ };
116
+ }
117
+ export declare const GetContainerApplicationResponse: Schema.Schema<GetContainerApplicationResponse>;
118
+ export type GetContainerApplicationError = DefaultErrors | InvalidRoute | ContainerApplicationNotFound;
119
+ export declare const getContainerApplication: API.OperationMethod<GetContainerApplicationRequest, GetContainerApplicationResponse, GetContainerApplicationError, Credentials | HttpClient.HttpClient>;
120
+ export interface ListContainerApplicationsRequest {
121
+ accountId: string;
122
+ }
123
+ export declare const ListContainerApplicationsRequest: Schema.Schema<ListContainerApplicationsRequest>;
124
+ export type ListContainerApplicationsResponse = {
125
+ id: string;
126
+ accountId: string;
127
+ name: string;
128
+ schedulingPolicy: "moon" | "gpu" | "regional" | "fill_metals" | "default";
129
+ instances: number;
130
+ maxInstances: number;
131
+ constraints: {
132
+ tier?: number | null;
133
+ };
134
+ affinities?: {
135
+ colocation?: "datacenter" | null;
136
+ } | null;
137
+ configuration: {
138
+ image: string;
139
+ instanceType?: "lite" | "dev" | "basic" | "standard" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | null;
140
+ observability?: {
141
+ logs?: {
142
+ enabled: boolean;
143
+ } | null;
144
+ } | null;
145
+ sshPublicKeyIds?: string[] | null;
146
+ secrets?: {
147
+ name: string;
148
+ type: "env";
149
+ secret: string;
150
+ }[] | null;
151
+ vcpu?: number | null;
152
+ memory?: string | null;
153
+ disk?: {
154
+ size: string;
155
+ } | null;
156
+ environmentVariables?: {
157
+ name: string;
158
+ value: string;
159
+ }[] | null;
160
+ labels?: {
161
+ name: string;
162
+ value: string;
163
+ }[] | null;
164
+ network?: {
165
+ assignIpv4?: "none" | "predefined" | "account" | null;
166
+ assignIpv6?: "none" | "predefined" | "account" | null;
167
+ mode?: "public" | "private" | null;
168
+ } | null;
169
+ command?: string[] | null;
170
+ entrypoint?: string[] | null;
171
+ dns?: {
172
+ servers?: string[] | null;
173
+ searches?: string[] | null;
174
+ } | null;
175
+ ports?: {
176
+ name: string;
177
+ port?: number | null;
178
+ }[] | null;
179
+ checks?: {
180
+ name?: string | null;
181
+ type: "http" | "tcp";
182
+ tls?: boolean | null;
183
+ port: string;
184
+ http?: {
185
+ method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | null;
186
+ body?: string | null;
187
+ path?: string | null;
188
+ headers?: unknown | null;
189
+ } | null;
190
+ interval: string;
191
+ timeout: string;
192
+ retries?: number | null;
193
+ kind: "health" | "ready";
194
+ }[] | null;
195
+ };
196
+ durableObjects?: {
197
+ namespaceId: string;
198
+ } | null;
199
+ createdAt: string;
200
+ version: number;
201
+ durableObjectNamespaceId?: string | null;
202
+ health: {
203
+ instances: unknown;
204
+ };
205
+ }[];
206
+ export declare const ListContainerApplicationsResponse: Schema.Schema<ListContainerApplicationsResponse>;
207
+ export type ListContainerApplicationsError = DefaultErrors | InvalidRoute;
208
+ export declare const listContainerApplications: API.OperationMethod<ListContainerApplicationsRequest, ListContainerApplicationsResponse, ListContainerApplicationsError, Credentials | HttpClient.HttpClient>;
209
+ export interface CreateContainerApplicationRequest {
210
+ accountId: string;
211
+ name: string;
212
+ maxInstances: number;
213
+ configuration: {
214
+ image: string;
215
+ instanceType?: "lite" | "dev" | "basic" | "standard" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
216
+ observability?: {
217
+ logs?: {
218
+ enabled: boolean;
219
+ };
220
+ };
221
+ sshPublicKeyIds?: string[];
222
+ secrets?: {
223
+ name: string;
224
+ type: "env";
225
+ secret: string;
226
+ }[];
227
+ vcpu?: number;
228
+ memory?: string;
229
+ disk?: {
230
+ size: string;
231
+ };
232
+ environmentVariables?: {
233
+ name: string;
234
+ value: string;
235
+ }[];
236
+ labels?: {
237
+ name: string;
238
+ value: string;
239
+ }[];
240
+ network?: {
241
+ assignIpv4?: "none" | "predefined" | "account";
242
+ assignIpv6?: "none" | "predefined" | "account";
243
+ mode?: "public" | "private";
244
+ };
245
+ command?: string[];
246
+ entrypoint?: string[];
247
+ dns?: {
248
+ servers?: string[];
249
+ searches?: string[];
250
+ };
251
+ ports?: {
252
+ name: string;
253
+ port?: number;
254
+ }[];
255
+ checks?: {
256
+ name?: string;
257
+ type: "http" | "tcp";
258
+ tls?: boolean;
259
+ port: string;
260
+ http?: {
261
+ method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
262
+ body?: string;
263
+ path?: string;
264
+ headers?: unknown;
265
+ };
266
+ interval: string;
267
+ timeout: string;
268
+ retries?: number;
269
+ kind: "health" | "ready";
270
+ }[];
271
+ };
272
+ durableObjects?: {
273
+ namespaceId: string;
274
+ };
275
+ instances?: number;
276
+ schedulingPolicy?: "moon" | "gpu" | "regional" | "fill_metals" | "default";
277
+ constraints?: {
278
+ tier?: number;
279
+ };
280
+ affinities?: {
281
+ colocation?: "datacenter";
282
+ };
283
+ }
284
+ export declare const CreateContainerApplicationRequest: Schema.Schema<CreateContainerApplicationRequest>;
285
+ export interface CreateContainerApplicationResponse {
286
+ id: string;
287
+ accountId: string;
288
+ name: string;
289
+ schedulingPolicy: "moon" | "gpu" | "regional" | "fill_metals" | "default";
290
+ instances: number;
291
+ maxInstances: number;
292
+ constraints: {
293
+ tier?: number | null;
294
+ };
295
+ affinities?: {
296
+ colocation?: "datacenter" | null;
297
+ } | null;
298
+ configuration: {
299
+ image: string;
300
+ instanceType?: "lite" | "dev" | "basic" | "standard" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | null;
301
+ observability?: {
302
+ logs?: {
303
+ enabled: boolean;
304
+ } | null;
305
+ } | null;
306
+ sshPublicKeyIds?: string[] | null;
307
+ secrets?: {
308
+ name: string;
309
+ type: "env";
310
+ secret: string;
311
+ }[] | null;
312
+ vcpu?: number | null;
313
+ memory?: string | null;
314
+ disk?: {
315
+ size: string;
316
+ } | null;
317
+ environmentVariables?: {
318
+ name: string;
319
+ value: string;
320
+ }[] | null;
321
+ labels?: {
322
+ name: string;
323
+ value: string;
324
+ }[] | null;
325
+ network?: {
326
+ assignIpv4?: "none" | "predefined" | "account" | null;
327
+ assignIpv6?: "none" | "predefined" | "account" | null;
328
+ mode?: "public" | "private" | null;
329
+ } | null;
330
+ command?: string[] | null;
331
+ entrypoint?: string[] | null;
332
+ dns?: {
333
+ servers?: string[] | null;
334
+ searches?: string[] | null;
335
+ } | null;
336
+ ports?: {
337
+ name: string;
338
+ port?: number | null;
339
+ }[] | null;
340
+ checks?: {
341
+ name?: string | null;
342
+ type: "http" | "tcp";
343
+ tls?: boolean | null;
344
+ port: string;
345
+ http?: {
346
+ method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | null;
347
+ body?: string | null;
348
+ path?: string | null;
349
+ headers?: unknown | null;
350
+ } | null;
351
+ interval: string;
352
+ timeout: string;
353
+ retries?: number | null;
354
+ kind: "health" | "ready";
355
+ }[] | null;
356
+ };
357
+ durableObjects?: {
358
+ namespaceId: string;
359
+ } | null;
360
+ createdAt: string;
361
+ version: number;
362
+ durableObjectNamespaceId?: string | null;
363
+ health: {
364
+ instances: unknown;
365
+ };
366
+ }
367
+ export declare const CreateContainerApplicationResponse: Schema.Schema<CreateContainerApplicationResponse>;
368
+ export type CreateContainerApplicationError = DefaultErrors | InvalidRoute | DurableObjectAlreadyHasApplication;
369
+ export declare const createContainerApplication: API.OperationMethod<CreateContainerApplicationRequest, CreateContainerApplicationResponse, CreateContainerApplicationError, Credentials | HttpClient.HttpClient>;
370
+ export interface UpdateContainerApplicationRequest {
371
+ accountId: string;
372
+ applicationId: string;
373
+ instances?: number;
374
+ maxInstances?: number;
375
+ affinities?: {
376
+ colocation?: "datacenter";
377
+ };
378
+ schedulingPolicy?: "moon" | "gpu" | "regional" | "fill_metals" | "default";
379
+ constraints?: {
380
+ tier?: number;
381
+ region?: "AFR" | "APAC" | "EEUR" | "ENAM" | "WNAM" | "ME" | "OC" | "SAM" | "WEUR";
382
+ regions?: ("AFR" | "APAC" | "EEUR" | "ENAM" | "WNAM" | "ME" | "OC" | "SAM" | "WEUR")[];
383
+ cities?: ("AFR" | "APAC" | "EEUR" | "ENAM" | "WNAM" | "ME" | "OC" | "SAM" | "WEUR")[];
384
+ };
385
+ configuration?: {
386
+ image: string;
387
+ instanceType?: "lite" | "dev" | "basic" | "standard" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
388
+ observability?: {
389
+ logs?: {
390
+ enabled: boolean;
391
+ };
392
+ };
393
+ sshPublicKeyIds?: string[];
394
+ secrets?: {
395
+ name: string;
396
+ type: "env";
397
+ secret: string;
398
+ }[];
399
+ vcpu?: number;
400
+ memory?: string;
401
+ disk?: {
402
+ size: string;
403
+ };
404
+ environmentVariables?: {
405
+ name: string;
406
+ value: string;
407
+ }[];
408
+ labels?: {
409
+ name: string;
410
+ value: string;
411
+ }[];
412
+ network?: {
413
+ assignIpv4?: "none" | "predefined" | "account";
414
+ assignIpv6?: "none" | "predefined" | "account";
415
+ mode?: "public" | "private";
416
+ };
417
+ command?: string[];
418
+ entrypoint?: string[];
419
+ dns?: {
420
+ servers?: string[];
421
+ searches?: string[];
422
+ };
423
+ ports?: {
424
+ name: string;
425
+ port?: number;
426
+ }[];
427
+ checks?: {
428
+ name?: string;
429
+ type: "http" | "tcp";
430
+ tls?: boolean;
431
+ port: string;
432
+ http?: {
433
+ method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
434
+ body?: string;
435
+ path?: string;
436
+ headers?: unknown;
437
+ };
438
+ interval: string;
439
+ timeout: string;
440
+ retries?: number;
441
+ kind: "health" | "ready";
442
+ }[];
443
+ };
444
+ }
445
+ export declare const UpdateContainerApplicationRequest: Schema.Schema<UpdateContainerApplicationRequest>;
446
+ export interface UpdateContainerApplicationResponse {
447
+ id: string;
448
+ accountId: string;
449
+ name: string;
450
+ schedulingPolicy: "moon" | "gpu" | "regional" | "fill_metals" | "default";
451
+ instances: number;
452
+ maxInstances: number;
453
+ constraints: {
454
+ tier?: number | null;
455
+ };
456
+ affinities?: {
457
+ colocation?: "datacenter" | null;
458
+ } | null;
459
+ configuration: {
460
+ image: string;
461
+ instanceType?: "lite" | "dev" | "basic" | "standard" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | null;
462
+ observability?: {
463
+ logs?: {
464
+ enabled: boolean;
465
+ } | null;
466
+ } | null;
467
+ sshPublicKeyIds?: string[] | null;
468
+ secrets?: {
469
+ name: string;
470
+ type: "env";
471
+ secret: string;
472
+ }[] | null;
473
+ vcpu?: number | null;
474
+ memory?: string | null;
475
+ disk?: {
476
+ size: string;
477
+ } | null;
478
+ environmentVariables?: {
479
+ name: string;
480
+ value: string;
481
+ }[] | null;
482
+ labels?: {
483
+ name: string;
484
+ value: string;
485
+ }[] | null;
486
+ network?: {
487
+ assignIpv4?: "none" | "predefined" | "account" | null;
488
+ assignIpv6?: "none" | "predefined" | "account" | null;
489
+ mode?: "public" | "private" | null;
490
+ } | null;
491
+ command?: string[] | null;
492
+ entrypoint?: string[] | null;
493
+ dns?: {
494
+ servers?: string[] | null;
495
+ searches?: string[] | null;
496
+ } | null;
497
+ ports?: {
498
+ name: string;
499
+ port?: number | null;
500
+ }[] | null;
501
+ checks?: {
502
+ name?: string | null;
503
+ type: "http" | "tcp";
504
+ tls?: boolean | null;
505
+ port: string;
506
+ http?: {
507
+ method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | null;
508
+ body?: string | null;
509
+ path?: string | null;
510
+ headers?: unknown | null;
511
+ } | null;
512
+ interval: string;
513
+ timeout: string;
514
+ retries?: number | null;
515
+ kind: "health" | "ready";
516
+ }[] | null;
517
+ };
518
+ durableObjects?: {
519
+ namespaceId: string;
520
+ } | null;
521
+ createdAt: string;
522
+ version: number;
523
+ durableObjectNamespaceId?: string | null;
524
+ health: {
525
+ instances: unknown;
526
+ };
527
+ }
528
+ export declare const UpdateContainerApplicationResponse: Schema.Schema<UpdateContainerApplicationResponse>;
529
+ export type UpdateContainerApplicationError = DefaultErrors | InvalidRoute | ContainerApplicationNotFound;
530
+ export declare const updateContainerApplication: API.OperationMethod<UpdateContainerApplicationRequest, UpdateContainerApplicationResponse, UpdateContainerApplicationError, Credentials | HttpClient.HttpClient>;
531
+ export interface DeleteContainerApplicationRequest {
532
+ accountId: string;
533
+ applicationId: string;
534
+ }
535
+ export declare const DeleteContainerApplicationRequest: Schema.Schema<DeleteContainerApplicationRequest>;
536
+ export type DeleteContainerApplicationResponse = unknown;
537
+ export declare const DeleteContainerApplicationResponse: Schema.Schema<unknown>;
538
+ export type DeleteContainerApplicationError = DefaultErrors | InvalidRoute | ContainerApplicationNotFound;
539
+ export declare const deleteContainerApplication: API.OperationMethod<DeleteContainerApplicationRequest, DeleteContainerApplicationResponse, DeleteContainerApplicationError, Credentials | HttpClient.HttpClient>;
540
+ export interface CreateContainerApplicationRolloutRequest {
541
+ accountId: string;
542
+ applicationId: string;
543
+ description: string;
544
+ strategy: "rolling";
545
+ kind?: "full_auto";
546
+ stepPercentage: number;
547
+ targetConfiguration: {
548
+ image: string;
549
+ instanceType?: "lite" | "dev" | "basic" | "standard" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
550
+ observability?: {
551
+ logs?: {
552
+ enabled: boolean;
553
+ };
554
+ };
555
+ sshPublicKeyIds?: string[];
556
+ secrets?: {
557
+ name: string;
558
+ type: "env";
559
+ secret: string;
560
+ }[];
561
+ vcpu?: number;
562
+ memory?: string;
563
+ disk?: {
564
+ size: string;
565
+ };
566
+ environmentVariables?: {
567
+ name: string;
568
+ value: string;
569
+ }[];
570
+ labels?: {
571
+ name: string;
572
+ value: string;
573
+ }[];
574
+ network?: {
575
+ assignIpv4?: "none" | "predefined" | "account";
576
+ assignIpv6?: "none" | "predefined" | "account";
577
+ mode?: "public" | "private";
578
+ };
579
+ command?: string[];
580
+ entrypoint?: string[];
581
+ dns?: {
582
+ servers?: string[];
583
+ searches?: string[];
584
+ };
585
+ ports?: {
586
+ name: string;
587
+ port?: number;
588
+ }[];
589
+ checks?: {
590
+ name?: string;
591
+ type: "http" | "tcp";
592
+ tls?: boolean;
593
+ port: string;
594
+ http?: {
595
+ method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
596
+ body?: string;
597
+ path?: string;
598
+ headers?: unknown;
599
+ };
600
+ interval: string;
601
+ timeout: string;
602
+ retries?: number;
603
+ kind: "health" | "ready";
604
+ }[];
605
+ };
606
+ }
607
+ export declare const CreateContainerApplicationRolloutRequest: Schema.Schema<CreateContainerApplicationRolloutRequest>;
608
+ export interface CreateContainerApplicationRolloutResponse {
609
+ id: string;
610
+ createdAt: string;
611
+ lastUpdatedAt: string;
612
+ description: string;
613
+ status: "progressing" | "completed" | "failed";
614
+ health: {
615
+ instances: {
616
+ healthy: number;
617
+ failed: number;
618
+ starting: number;
619
+ scheduling: number;
620
+ };
621
+ };
622
+ kind: "full_auto";
623
+ strategy: "rolling";
624
+ currentConfiguration: {
625
+ image: string;
626
+ observability?: {
627
+ logs?: {
628
+ enabled: boolean;
629
+ } | null;
630
+ } | null;
631
+ };
632
+ targetConfiguration: {
633
+ image: string;
634
+ instanceType?: "lite" | "dev" | "basic" | "standard" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | null;
635
+ observability?: {
636
+ logs?: {
637
+ enabled: boolean;
638
+ } | null;
639
+ } | null;
640
+ sshPublicKeyIds?: string[] | null;
641
+ secrets?: {
642
+ name: string;
643
+ type: "env";
644
+ secret: string;
645
+ }[] | null;
646
+ vcpu?: number | null;
647
+ memory?: string | null;
648
+ disk?: {
649
+ size: string;
650
+ } | null;
651
+ environmentVariables?: {
652
+ name: string;
653
+ value: string;
654
+ }[] | null;
655
+ labels?: {
656
+ name: string;
657
+ value: string;
658
+ }[] | null;
659
+ network?: {
660
+ assignIpv4?: "none" | "predefined" | "account" | null;
661
+ assignIpv6?: "none" | "predefined" | "account" | null;
662
+ mode?: "public" | "private" | null;
663
+ } | null;
664
+ command?: string[] | null;
665
+ entrypoint?: string[] | null;
666
+ dns?: {
667
+ servers?: string[] | null;
668
+ searches?: string[] | null;
669
+ } | null;
670
+ ports?: {
671
+ name: string;
672
+ port?: number | null;
673
+ }[] | null;
674
+ checks?: {
675
+ name?: string | null;
676
+ type: "http" | "tcp";
677
+ tls?: boolean | null;
678
+ port: string;
679
+ http?: {
680
+ method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | null;
681
+ body?: string | null;
682
+ path?: string | null;
683
+ headers?: unknown | null;
684
+ } | null;
685
+ interval: string;
686
+ timeout: string;
687
+ retries?: number | null;
688
+ kind: "health" | "ready";
689
+ }[] | null;
690
+ };
691
+ currentVersion: number;
692
+ targetVersion: number;
693
+ steps: {
694
+ id: number;
695
+ status: "progressing" | "pending" | "completed" | "failed";
696
+ stepSize: {
697
+ percentage: number;
698
+ };
699
+ description: string;
700
+ startedAt?: string | null;
701
+ }[];
702
+ progress: {
703
+ totalSteps: number;
704
+ currentStep: number;
705
+ updatedInstances: number;
706
+ totalInstances: number;
707
+ };
708
+ }
709
+ export declare const CreateContainerApplicationRolloutResponse: Schema.Schema<CreateContainerApplicationRolloutResponse>;
710
+ export type CreateContainerApplicationRolloutError = DefaultErrors | InvalidRoute | ContainerApplicationNotFound;
711
+ export declare const createContainerApplicationRollout: API.OperationMethod<CreateContainerApplicationRolloutRequest, CreateContainerApplicationRolloutResponse, CreateContainerApplicationRolloutError, Credentials | HttpClient.HttpClient>;
712
+ export interface GetContainerIdentityRequest {
713
+ accountId: string;
714
+ }
715
+ export declare const GetContainerIdentityRequest: Schema.Schema<GetContainerIdentityRequest>;
716
+ export interface GetContainerIdentityResponse {
717
+ accountId?: string | null;
718
+ externalAccountId: string;
719
+ legacyIdentity: string;
720
+ capabilities?: string[] | null;
721
+ limits: {
722
+ accountId: string;
723
+ vcpuPerDeployment: number;
724
+ memoryMibPerDeployment: number;
725
+ memoryPerDeployment: string;
726
+ diskPerDeployment: string;
727
+ diskMbPerDeployment: number;
728
+ totalVcpu: number;
729
+ totalMemoryMib: number;
730
+ nodeGroup: string;
731
+ ipv4s: number;
732
+ networkModes: string[];
733
+ totalDiskMb: number;
734
+ totalMemory: string;
735
+ };
736
+ locations: unknown[];
737
+ defaults: {
738
+ vcpus: number;
739
+ memoryMib: number;
740
+ memory: string;
741
+ diskMb: number;
742
+ };
743
+ }
744
+ export declare const GetContainerIdentityResponse: Schema.Schema<GetContainerIdentityResponse>;
745
+ export type GetContainerIdentityError = DefaultErrors | InvalidRoute;
746
+ export declare const getContainerIdentity: API.OperationMethod<GetContainerIdentityRequest, GetContainerIdentityResponse, GetContainerIdentityError, Credentials | HttpClient.HttpClient>;
747
+ export interface CreateContainerRegistryCredentialsRequest {
748
+ accountId: string;
749
+ registryId: string;
750
+ permissions: ("pull" | "push")[];
751
+ expirationMinutes: number;
752
+ }
753
+ export declare const CreateContainerRegistryCredentialsRequest: Schema.Schema<CreateContainerRegistryCredentialsRequest>;
754
+ export interface CreateContainerRegistryCredentialsResponse {
755
+ user?: string | null;
756
+ username?: string | null;
757
+ password: string;
758
+ }
759
+ export declare const CreateContainerRegistryCredentialsResponse: Schema.Schema<CreateContainerRegistryCredentialsResponse>;
760
+ export type CreateContainerRegistryCredentialsError = DefaultErrors | InvalidRoute;
761
+ export declare const createContainerRegistryCredentials: API.OperationMethod<CreateContainerRegistryCredentialsRequest, CreateContainerRegistryCredentialsResponse, CreateContainerRegistryCredentialsError, Credentials | HttpClient.HttpClient>;
762
+ export {};
763
+ //# sourceMappingURL=containers.d.ts.map