@northflank/js-client 0.8.4 → 0.8.6
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/cjs/api-client.d.ts +253 -46
- package/dist/cjs/api-client.js +1 -1
- package/dist/esm/api-client.d.ts +253 -46
- package/dist/esm/api-client.js +1 -1
- package/package.json +1 -1
package/dist/cjs/api-client.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
3
|
import * as stream from 'stream';
|
|
4
|
+
import { Stream } from 'stream';
|
|
4
5
|
|
|
5
6
|
type Optional<T, K extends keyof T> = Omit<T, K> & Partial<T>;
|
|
6
7
|
declare abstract class ApiClientContextProvider {
|
|
@@ -574,6 +575,16 @@ declare class NorthflankFileCopy {
|
|
|
574
575
|
targetDirectory: string;
|
|
575
576
|
targetFile?: string | undefined;
|
|
576
577
|
}>;
|
|
578
|
+
downloadServiceFileStream(parameters: {
|
|
579
|
+
projectId: string;
|
|
580
|
+
serviceId: string;
|
|
581
|
+
}, options: {
|
|
582
|
+
remotePath: string;
|
|
583
|
+
containerName?: string;
|
|
584
|
+
}): Promise<{
|
|
585
|
+
fileStream: Stream.PassThrough;
|
|
586
|
+
completionPromise: Promise<boolean>;
|
|
587
|
+
}>;
|
|
577
588
|
uploadServiceFiles(parameters: {
|
|
578
589
|
projectId: string;
|
|
579
590
|
serviceId: string;
|
|
@@ -584,6 +595,14 @@ declare class NorthflankFileCopy {
|
|
|
584
595
|
targetDirectory: string;
|
|
585
596
|
targetFile?: string | undefined;
|
|
586
597
|
}>;
|
|
598
|
+
uploadServiceFileStream(parameters: {
|
|
599
|
+
projectId: string;
|
|
600
|
+
serviceId: string;
|
|
601
|
+
}, options: {
|
|
602
|
+
source: string | Buffer | Stream;
|
|
603
|
+
remotePath: string;
|
|
604
|
+
containerName?: string;
|
|
605
|
+
}): Promise<void>;
|
|
587
606
|
downloadJobFiles(parameters: {
|
|
588
607
|
projectId: string;
|
|
589
608
|
jobId: string;
|
|
@@ -594,6 +613,16 @@ declare class NorthflankFileCopy {
|
|
|
594
613
|
targetDirectory: string;
|
|
595
614
|
targetFile?: string | undefined;
|
|
596
615
|
}>;
|
|
616
|
+
downloadJobFileStream(parameters: {
|
|
617
|
+
projectId: string;
|
|
618
|
+
jobId: string;
|
|
619
|
+
}, options: {
|
|
620
|
+
remotePath: string;
|
|
621
|
+
containerName?: string;
|
|
622
|
+
}): Promise<{
|
|
623
|
+
fileStream: Stream.PassThrough;
|
|
624
|
+
completionPromise: Promise<boolean>;
|
|
625
|
+
}>;
|
|
597
626
|
uploadJobFiles(parameters: {
|
|
598
627
|
projectId: string;
|
|
599
628
|
jobId: string;
|
|
@@ -604,6 +633,14 @@ declare class NorthflankFileCopy {
|
|
|
604
633
|
targetDirectory: string;
|
|
605
634
|
targetFile?: string | undefined;
|
|
606
635
|
}>;
|
|
636
|
+
uploadJobFileStream(parameters: {
|
|
637
|
+
projectId: string;
|
|
638
|
+
jobId: string;
|
|
639
|
+
}, options: {
|
|
640
|
+
source: string | Buffer | Stream;
|
|
641
|
+
remotePath: string;
|
|
642
|
+
containerName?: string;
|
|
643
|
+
}): Promise<void>;
|
|
607
644
|
private copy;
|
|
608
645
|
}
|
|
609
646
|
|
|
@@ -1796,7 +1833,7 @@ type ListCloudClustersResult = {
|
|
|
1796
1833
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
1797
1834
|
'description'?: string;
|
|
1798
1835
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
1799
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
1836
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
1800
1837
|
/** Region of the cluster. Example: "europe-west2" */
|
|
1801
1838
|
'region': string;
|
|
1802
1839
|
'status'?: {
|
|
@@ -2034,10 +2071,10 @@ type ListCloudClustersResult = {
|
|
|
2034
2071
|
};
|
|
2035
2072
|
'infrastructure'?: {
|
|
2036
2073
|
'workloads'?: {
|
|
2037
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2074
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2038
2075
|
};
|
|
2039
2076
|
'builds'?: {
|
|
2040
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2077
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2041
2078
|
};
|
|
2042
2079
|
'installKata'?: boolean;
|
|
2043
2080
|
'installGvisor'?: boolean;
|
|
@@ -2182,7 +2219,7 @@ type CreateCloudClusterResult = {
|
|
|
2182
2219
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
2183
2220
|
'description'?: string;
|
|
2184
2221
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
2185
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
2222
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
2186
2223
|
/** Region of the cluster. Example: "europe-west2" */
|
|
2187
2224
|
'region': string;
|
|
2188
2225
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -2402,10 +2439,10 @@ type CreateCloudClusterResult = {
|
|
|
2402
2439
|
};
|
|
2403
2440
|
'infrastructure'?: {
|
|
2404
2441
|
'workloads'?: {
|
|
2405
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2442
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2406
2443
|
};
|
|
2407
2444
|
'builds'?: {
|
|
2408
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2445
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2409
2446
|
};
|
|
2410
2447
|
'installKata'?: boolean;
|
|
2411
2448
|
'installGvisor'?: boolean;
|
|
@@ -2546,7 +2583,7 @@ type CreateCloudClusterData = {
|
|
|
2546
2583
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
2547
2584
|
'description'?: string;
|
|
2548
2585
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
2549
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
2586
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
2550
2587
|
/** Region of the cluster. Example: "europe-west2" */
|
|
2551
2588
|
'region': string;
|
|
2552
2589
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -2766,10 +2803,10 @@ type CreateCloudClusterData = {
|
|
|
2766
2803
|
};
|
|
2767
2804
|
'infrastructure'?: {
|
|
2768
2805
|
'workloads'?: {
|
|
2769
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2806
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2770
2807
|
};
|
|
2771
2808
|
'builds'?: {
|
|
2772
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
2809
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
2773
2810
|
};
|
|
2774
2811
|
'installKata'?: boolean;
|
|
2775
2812
|
'installGvisor'?: boolean;
|
|
@@ -2898,7 +2935,7 @@ type PutCloudClusterResult = {
|
|
|
2898
2935
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
2899
2936
|
'description'?: string;
|
|
2900
2937
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
2901
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
2938
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
2902
2939
|
/** Region of the cluster. Example: "europe-west2" */
|
|
2903
2940
|
'region': string;
|
|
2904
2941
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -3118,10 +3155,10 @@ type PutCloudClusterResult = {
|
|
|
3118
3155
|
};
|
|
3119
3156
|
'infrastructure'?: {
|
|
3120
3157
|
'workloads'?: {
|
|
3121
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3158
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3122
3159
|
};
|
|
3123
3160
|
'builds'?: {
|
|
3124
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3161
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3125
3162
|
};
|
|
3126
3163
|
'installKata'?: boolean;
|
|
3127
3164
|
'installGvisor'?: boolean;
|
|
@@ -3262,7 +3299,7 @@ type PutCloudClusterData = {
|
|
|
3262
3299
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
3263
3300
|
'description'?: string;
|
|
3264
3301
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
3265
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
3302
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
3266
3303
|
/** Region of the cluster. Example: "europe-west2" */
|
|
3267
3304
|
'region': string;
|
|
3268
3305
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -3482,10 +3519,10 @@ type PutCloudClusterData = {
|
|
|
3482
3519
|
};
|
|
3483
3520
|
'infrastructure'?: {
|
|
3484
3521
|
'workloads'?: {
|
|
3485
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3522
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3486
3523
|
};
|
|
3487
3524
|
'builds'?: {
|
|
3488
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3525
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3489
3526
|
};
|
|
3490
3527
|
'installKata'?: boolean;
|
|
3491
3528
|
'installGvisor'?: boolean;
|
|
@@ -3614,7 +3651,7 @@ type GetCloudClusterResult = {
|
|
|
3614
3651
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
3615
3652
|
'description'?: string;
|
|
3616
3653
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
3617
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
3654
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
3618
3655
|
/** Region of the cluster. Example: "europe-west2" */
|
|
3619
3656
|
'region': string;
|
|
3620
3657
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -3834,10 +3871,10 @@ type GetCloudClusterResult = {
|
|
|
3834
3871
|
};
|
|
3835
3872
|
'infrastructure'?: {
|
|
3836
3873
|
'workloads'?: {
|
|
3837
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3874
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3838
3875
|
};
|
|
3839
3876
|
'builds'?: {
|
|
3840
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
3877
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
3841
3878
|
};
|
|
3842
3879
|
'installKata'?: boolean;
|
|
3843
3880
|
'installGvisor'?: boolean;
|
|
@@ -3990,7 +4027,7 @@ type PatchCloudClusterResult = {
|
|
|
3990
4027
|
/** The description of the cluster. Example: "This is a new cluster." */
|
|
3991
4028
|
'description'?: string;
|
|
3992
4029
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
3993
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
4030
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
3994
4031
|
/** Region of the cluster. Example: "europe-west2" */
|
|
3995
4032
|
'region': string;
|
|
3996
4033
|
/** Deprecated: This field is no longer used, the version is now set by the platform. Example: "1.30" */
|
|
@@ -4210,10 +4247,10 @@ type PatchCloudClusterResult = {
|
|
|
4210
4247
|
};
|
|
4211
4248
|
'infrastructure'?: {
|
|
4212
4249
|
'workloads'?: {
|
|
4213
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
4250
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
4214
4251
|
};
|
|
4215
4252
|
'builds'?: {
|
|
4216
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
4253
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
4217
4254
|
};
|
|
4218
4255
|
'installKata'?: boolean;
|
|
4219
4256
|
'installGvisor'?: boolean;
|
|
@@ -4554,10 +4591,10 @@ type PatchCloudClusterData = {
|
|
|
4554
4591
|
};
|
|
4555
4592
|
'infrastructure'?: {
|
|
4556
4593
|
'workloads'?: {
|
|
4557
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
4594
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
4558
4595
|
};
|
|
4559
4596
|
'builds'?: {
|
|
4560
|
-
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu'
|
|
4597
|
+
'runtimeClass'?: 'none' | 'gvisor' | 'kata-clh' | 'kata-qemu';
|
|
4561
4598
|
};
|
|
4562
4599
|
'installKata'?: boolean;
|
|
4563
4600
|
'installGvisor'?: boolean;
|
|
@@ -4803,7 +4840,7 @@ type ListCloudIntegrationsResult = {
|
|
|
4803
4840
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
4804
4841
|
'description'?: string;
|
|
4805
4842
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
4806
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
4843
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
4807
4844
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
4808
4845
|
/** BYOC restrictions configuration for controlling team access */
|
|
4809
4846
|
'restrictions'?: {
|
|
@@ -4869,7 +4906,7 @@ type CreateCloudIntegrationResult = {
|
|
|
4869
4906
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
4870
4907
|
'description'?: string;
|
|
4871
4908
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
4872
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
4909
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
4873
4910
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
4874
4911
|
/** BYOC restrictions configuration for controlling team access */
|
|
4875
4912
|
'restrictions'?: {
|
|
@@ -4956,7 +4993,7 @@ type CreateCloudIntegrationData = {
|
|
|
4956
4993
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
4957
4994
|
'description'?: string;
|
|
4958
4995
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
4959
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
4996
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
4960
4997
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
4961
4998
|
/** BYOC restrictions configuration for controlling team access */
|
|
4962
4999
|
'restrictions'?: {
|
|
@@ -5046,7 +5083,7 @@ type PutCloudIntegrationResult = {
|
|
|
5046
5083
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
5047
5084
|
'description'?: string;
|
|
5048
5085
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
5049
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
5086
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
5050
5087
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
5051
5088
|
/** BYOC restrictions configuration for controlling team access */
|
|
5052
5089
|
'restrictions'?: {
|
|
@@ -5137,7 +5174,7 @@ type PutCloudIntegrationData = {
|
|
|
5137
5174
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
5138
5175
|
'description'?: string;
|
|
5139
5176
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
5140
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
5177
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
5141
5178
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
5142
5179
|
/** BYOC restrictions configuration for controlling team access */
|
|
5143
5180
|
'restrictions'?: {
|
|
@@ -5227,7 +5264,7 @@ type GetCloudIntegrationResult = {
|
|
|
5227
5264
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
5228
5265
|
'description'?: string;
|
|
5229
5266
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
5230
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
5267
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
5231
5268
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
5232
5269
|
/** BYOC restrictions configuration for controlling team access */
|
|
5233
5270
|
'restrictions'?: {
|
|
@@ -5328,7 +5365,7 @@ type PatchCloudIntegrationResult = {
|
|
|
5328
5365
|
/** The description of the integration. Example: "This is a new cloud provider integration." */
|
|
5329
5366
|
'description'?: string;
|
|
5330
5367
|
/** Cloud provider to be used for the selected resource Example: "gcp" */
|
|
5331
|
-
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'byok';
|
|
5368
|
+
'provider': 'aws' | 'azure' | 'civo' | 'gcp' | 'oci' | 'cloudflare' | 'aiven' | 'byok';
|
|
5332
5369
|
'features'?: 'byoc' | 'byoc-static-egress' | 'byoc-custom-launch-templates' | 'byoc-custom-vpc' | 'byoc-logs' | 'cloudfront' | 'route53' | 'registry-pull' | 'registry-push' | 'opentofu'[];
|
|
5333
5370
|
/** BYOC restrictions configuration for controlling team access */
|
|
5334
5371
|
'restrictions'?: {
|
|
@@ -6690,7 +6727,7 @@ type ListLogsinksResult = {
|
|
|
6690
6727
|
'forwardMeshLogs'?: boolean;
|
|
6691
6728
|
};
|
|
6692
6729
|
/** The type of the log sink. */
|
|
6693
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
6730
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
6694
6731
|
/** Timestamp of when the log sink was created. Example: "2022-06-14 15:10:42.842Z" */
|
|
6695
6732
|
'createdAt': string;
|
|
6696
6733
|
/** Timestamp of when the log sink was last updated. Example: "2022-06-14 15:10:42.842Z" */
|
|
@@ -6986,7 +7023,7 @@ type CreateLogsinkData = {
|
|
|
6986
7023
|
'token'?: string;
|
|
6987
7024
|
};
|
|
6988
7025
|
'framing'?: {
|
|
6989
|
-
'method'?: 'none' | 'newline' | '
|
|
7026
|
+
'method'?: 'none' | 'newline' | 'length';
|
|
6990
7027
|
};
|
|
6991
7028
|
};
|
|
6992
7029
|
} | {
|
|
@@ -7147,6 +7184,50 @@ type CreateLogsinkData = {
|
|
|
7147
7184
|
/** The Log Shipping Token of the account you want to ship to Example: "sNFijNFgNFoNFrMsNFbNFObNFcgNFqoa" */
|
|
7148
7185
|
'token': string;
|
|
7149
7186
|
};
|
|
7187
|
+
} | {
|
|
7188
|
+
/** Name of the log sink. Example: "example-log-sink" */
|
|
7189
|
+
'name': string;
|
|
7190
|
+
/** Description of the log sink. Example: "This is an example log sink." */
|
|
7191
|
+
'description'?: string;
|
|
7192
|
+
/** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
|
|
7193
|
+
'restricted'?: boolean;
|
|
7194
|
+
/** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
|
|
7195
|
+
'projects'?: string[];
|
|
7196
|
+
/** Configuration of restrictions. */
|
|
7197
|
+
'restrictions'?: {
|
|
7198
|
+
/** Configuration of tag restriction settings. */
|
|
7199
|
+
'tags'?: {
|
|
7200
|
+
/** Whether restriction by tag should be enabled. */
|
|
7201
|
+
'enabled'?: boolean;
|
|
7202
|
+
/** An array of previously defined tags to help identify and group the resource. */
|
|
7203
|
+
'items'?: string[];
|
|
7204
|
+
/** If all or any of the tags must be present on the target for it to match the condition. Example: "or" */
|
|
7205
|
+
'matchCondition'?: 'and' | 'or';
|
|
7206
|
+
};
|
|
7207
|
+
};
|
|
7208
|
+
'options'?: {
|
|
7209
|
+
/** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
|
|
7210
|
+
'useCustomLabels'?: boolean;
|
|
7211
|
+
/** Forward CDN logs from your workloads Example: true */
|
|
7212
|
+
'forwardCdnLogs'?: boolean;
|
|
7213
|
+
/** Forward ingress logs from your workloads Example: true */
|
|
7214
|
+
'forwardIngressLogs'?: boolean;
|
|
7215
|
+
/** Forward mesh logs from your workloads Example: true */
|
|
7216
|
+
'forwardMeshLogs'?: boolean;
|
|
7217
|
+
};
|
|
7218
|
+
/** The type of the log sink. Example: "solarWinds" */
|
|
7219
|
+
'sinkType': 'solarWinds';
|
|
7220
|
+
/** Details about the undefined log sink. */
|
|
7221
|
+
'sinkData': {
|
|
7222
|
+
/** Solar Winds API Key Example: "Tr8BIEmYx1fuM3_XRMwU3xXEFnD20p9NFkRIu1COrDqMCM4g86qWZgVdgs1Y7mzWtFMI0Zc" */
|
|
7223
|
+
'api_key': string;
|
|
7224
|
+
'encoding'?: {
|
|
7225
|
+
/** Codec to encode logs in Example: "json" */
|
|
7226
|
+
'codec': 'text' | 'json';
|
|
7227
|
+
};
|
|
7228
|
+
/** Solar Winds endpoint type */
|
|
7229
|
+
'endpointType': 'unitary' | 'bulk';
|
|
7230
|
+
};
|
|
7150
7231
|
} | {
|
|
7151
7232
|
/** Name of the log sink. Example: "example-log-sink" */
|
|
7152
7233
|
'name': string;
|
|
@@ -7268,7 +7349,7 @@ type GetLogsinkResult = {
|
|
|
7268
7349
|
'forwardMeshLogs'?: boolean;
|
|
7269
7350
|
};
|
|
7270
7351
|
/** The type of the log sink. */
|
|
7271
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7352
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7272
7353
|
/** Timestamp of when the log sink was created. Example: "2022-06-14 15:10:42.842Z" */
|
|
7273
7354
|
'createdAt': string;
|
|
7274
7355
|
/** Timestamp of when the log sink was last updated. Example: "2022-06-14 15:10:42.842Z" */
|
|
@@ -7344,7 +7425,7 @@ type GetLogsinkResult = {
|
|
|
7344
7425
|
'token'?: string;
|
|
7345
7426
|
};
|
|
7346
7427
|
'framing'?: {
|
|
7347
|
-
'method'?: 'none' | 'newline' | '
|
|
7428
|
+
'method'?: 'none' | 'newline' | 'length';
|
|
7348
7429
|
};
|
|
7349
7430
|
} | {
|
|
7350
7431
|
/** Ingestion Key Example: "b1dd3feb585asd1a3e9edpo9kmn5e590hg9" */
|
|
@@ -7364,6 +7445,15 @@ type GetLogsinkResult = {
|
|
|
7364
7445
|
'region': 'eu' | 'uk' | 'us' | 'ca' | 'au' | 'nl' | 'wa';
|
|
7365
7446
|
/** The Log Shipping Token of the account you want to ship to Example: "sNFijNFgNFoNFrMsNFbNFObNFcgNFqoa" */
|
|
7366
7447
|
'token': string;
|
|
7448
|
+
} | {
|
|
7449
|
+
/** Solar Winds API Key Example: "Tr8BIEmYx1fuM3_XRMwU3xXEFnD20p9NFkRIu1COrDqMCM4g86qWZgVdgs1Y7mzWtFMI0Zc" */
|
|
7450
|
+
'api_key': string;
|
|
7451
|
+
'encoding'?: {
|
|
7452
|
+
/** Codec to encode logs in Example: "json" */
|
|
7453
|
+
'codec': 'text' | 'json';
|
|
7454
|
+
};
|
|
7455
|
+
/** Solar Winds endpoint type */
|
|
7456
|
+
'endpointType': 'unitary' | 'bulk';
|
|
7367
7457
|
} | {
|
|
7368
7458
|
/** Name of the data Example: "staging" */
|
|
7369
7459
|
'dataset': string;
|
|
@@ -7477,7 +7567,7 @@ type UpdateLogsinkData = {
|
|
|
7477
7567
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7478
7568
|
'resumeLogSink'?: boolean;
|
|
7479
7569
|
/** The type of log sink to target Example: "http" */
|
|
7480
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7570
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7481
7571
|
/** Details about the Loki log sink. */
|
|
7482
7572
|
'sinkData': {
|
|
7483
7573
|
/** The endpoint of the Loki log sink. Example: "https://logs.example.com" */
|
|
@@ -7510,7 +7600,7 @@ type UpdateLogsinkData = {
|
|
|
7510
7600
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7511
7601
|
'resumeLogSink'?: boolean;
|
|
7512
7602
|
/** The type of log sink to target Example: "http" */
|
|
7513
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7603
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7514
7604
|
/** Details about the Datadog log sink. */
|
|
7515
7605
|
'sinkData': {
|
|
7516
7606
|
/** The Datadog API key. Example: "abcdef12345678900000000000000000" */
|
|
@@ -7536,7 +7626,7 @@ type UpdateLogsinkData = {
|
|
|
7536
7626
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7537
7627
|
'resumeLogSink'?: boolean;
|
|
7538
7628
|
/** The type of log sink to target Example: "http" */
|
|
7539
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7629
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7540
7630
|
/** Papertrail Sink Schema. */
|
|
7541
7631
|
'sinkData': {
|
|
7542
7632
|
/** The authentication strategy. Example: "port" */
|
|
@@ -7571,7 +7661,7 @@ type UpdateLogsinkData = {
|
|
|
7571
7661
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7572
7662
|
'resumeLogSink'?: boolean;
|
|
7573
7663
|
/** The type of log sink to target Example: "http" */
|
|
7574
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7664
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7575
7665
|
/** Details about the HTTP log sink. */
|
|
7576
7666
|
'sinkData': {
|
|
7577
7667
|
/** Uri to send logs to. Example: "my.log-collector.com" */
|
|
@@ -7605,7 +7695,7 @@ type UpdateLogsinkData = {
|
|
|
7605
7695
|
'token'?: string;
|
|
7606
7696
|
};
|
|
7607
7697
|
'framing'?: {
|
|
7608
|
-
'method'?: 'none' | 'newline' | '
|
|
7698
|
+
'method'?: 'none' | 'newline' | 'length';
|
|
7609
7699
|
};
|
|
7610
7700
|
};
|
|
7611
7701
|
} | {
|
|
@@ -7626,7 +7716,7 @@ type UpdateLogsinkData = {
|
|
|
7626
7716
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7627
7717
|
'resumeLogSink'?: boolean;
|
|
7628
7718
|
/** The type of log sink to target Example: "http" */
|
|
7629
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7719
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7630
7720
|
/** Details about the AWS S3 log sink. */
|
|
7631
7721
|
'sinkData': {
|
|
7632
7722
|
/** Endpoint for the AWS S3 or compatible API bucket. Example: "my.bucket.com" */
|
|
@@ -7663,7 +7753,7 @@ type UpdateLogsinkData = {
|
|
|
7663
7753
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7664
7754
|
'resumeLogSink'?: boolean;
|
|
7665
7755
|
/** The type of log sink to target Example: "http" */
|
|
7666
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7756
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7667
7757
|
/** Details about the Better Stack log sink. */
|
|
7668
7758
|
'sinkData': {
|
|
7669
7759
|
/** Better Stack Source Token Example: "vhnqrLygVQ5GnSQUTZamKvAq" */
|
|
@@ -7689,7 +7779,7 @@ type UpdateLogsinkData = {
|
|
|
7689
7779
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7690
7780
|
'resumeLogSink'?: boolean;
|
|
7691
7781
|
/** The type of log sink to target Example: "http" */
|
|
7692
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7782
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7693
7783
|
/** Details about the LogDNA log sink. */
|
|
7694
7784
|
'sinkData': {
|
|
7695
7785
|
/** Ingestion Key Example: "b1dd3feb585asd1a3e9edpo9kmn5e590hg9" */
|
|
@@ -7713,7 +7803,7 @@ type UpdateLogsinkData = {
|
|
|
7713
7803
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7714
7804
|
'resumeLogSink'?: boolean;
|
|
7715
7805
|
/** The type of log sink to target Example: "http" */
|
|
7716
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7806
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7717
7807
|
/** Details about the Logz.io log sink. */
|
|
7718
7808
|
'sinkData': {
|
|
7719
7809
|
/** Your Logzio region code Example: "eu" */
|
|
@@ -7739,7 +7829,37 @@ type UpdateLogsinkData = {
|
|
|
7739
7829
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7740
7830
|
'resumeLogSink'?: boolean;
|
|
7741
7831
|
/** The type of log sink to target Example: "http" */
|
|
7742
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7832
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7833
|
+
/** Details about the undefined log sink. */
|
|
7834
|
+
'sinkData': {
|
|
7835
|
+
/** Solar Winds API Key Example: "Tr8BIEmYx1fuM3_XRMwU3xXEFnD20p9NFkRIu1COrDqMCM4g86qWZgVdgs1Y7mzWtFMI0Zc" */
|
|
7836
|
+
'api_key'?: string;
|
|
7837
|
+
'encoding'?: {
|
|
7838
|
+
/** Codec to encode logs in Example: "json" */
|
|
7839
|
+
'codec'?: 'text' | 'json';
|
|
7840
|
+
};
|
|
7841
|
+
/** Solar Winds endpoint type */
|
|
7842
|
+
'endpointType'?: 'unitary' | 'bulk';
|
|
7843
|
+
};
|
|
7844
|
+
} | {
|
|
7845
|
+
/** If `true`, only logs from the projects in `projects` will be sent to the log sink. Example: true */
|
|
7846
|
+
'restricted'?: boolean;
|
|
7847
|
+
/** If `restricted` is `true`, only logs from these projects will be sent to the log sink. */
|
|
7848
|
+
'projects'?: string[];
|
|
7849
|
+
'options'?: {
|
|
7850
|
+
/** If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels Example: true */
|
|
7851
|
+
'useCustomLabels'?: boolean;
|
|
7852
|
+
/** Forward CDN logs from your workloads Example: true */
|
|
7853
|
+
'forwardCdnLogs'?: boolean;
|
|
7854
|
+
/** Forward ingress logs from your workloads Example: true */
|
|
7855
|
+
'forwardIngressLogs'?: boolean;
|
|
7856
|
+
/** Forward mesh logs from your workloads Example: true */
|
|
7857
|
+
'forwardMeshLogs'?: boolean;
|
|
7858
|
+
};
|
|
7859
|
+
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7860
|
+
'resumeLogSink'?: boolean;
|
|
7861
|
+
/** The type of log sink to target Example: "http" */
|
|
7862
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7743
7863
|
/** Details about the Honeycomb log sink. */
|
|
7744
7864
|
'sinkData': {
|
|
7745
7865
|
/** Honeycomb API Key Example: "b1dd3feb585asd1a3e9" */
|
|
@@ -7765,7 +7885,7 @@ type UpdateLogsinkData = {
|
|
|
7765
7885
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7766
7886
|
'resumeLogSink'?: boolean;
|
|
7767
7887
|
/** The type of log sink to target Example: "http" */
|
|
7768
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7888
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7769
7889
|
/** Details about the Axiom log sink. */
|
|
7770
7890
|
'sinkData': {
|
|
7771
7891
|
/** Name of the data Example: "staging" */
|
|
@@ -7797,7 +7917,7 @@ type UpdateLogsinkData = {
|
|
|
7797
7917
|
/** If `true`, and the log sink is currently paused, the log sink will be resumed after updating. */
|
|
7798
7918
|
'resumeLogSink'?: boolean;
|
|
7799
7919
|
/** The type of log sink to target Example: "http" */
|
|
7800
|
-
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'axiom' | 'newRelic';
|
|
7920
|
+
'sinkType': 'loki' | 'datadog_logs' | 'papertrail' | 'http' | 'aws_s3' | 'logdna' | 'coralogix' | 'betterStack' | 'honeycomb' | 'logzio' | 'solarWinds' | 'axiom' | 'newRelic';
|
|
7801
7921
|
/** Details about the New Relic log sink. */
|
|
7802
7922
|
'sinkData': {
|
|
7803
7923
|
/** New Relic Account ID Example: "b1dd3feb585asd1a3e9" */
|
|
@@ -8846,6 +8966,14 @@ type CreateProjectResult = {
|
|
|
8846
8966
|
'region'?: string;
|
|
8847
8967
|
/** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
|
|
8848
8968
|
'clusterId'?: string;
|
|
8969
|
+
/** Registry configuration for the project. Can be PaaS or Self-Hosted */
|
|
8970
|
+
'customRegistry'?: {
|
|
8971
|
+
'enabled'?: boolean;
|
|
8972
|
+
'configuration'?: {
|
|
8973
|
+
'credentialId': string;
|
|
8974
|
+
'provider'?: 'acr' | 'ecr' | 'gar' | 'dockerhub' | 'github' | 'gitlab' | 'custom' | 'legacy';
|
|
8975
|
+
};
|
|
8976
|
+
};
|
|
8849
8977
|
/** Advanced project networking settings. */
|
|
8850
8978
|
'networking'?: {
|
|
8851
8979
|
/** Projects from which ingress request should be permitted. */
|
|
@@ -9067,6 +9195,14 @@ type PutProjectResult = {
|
|
|
9067
9195
|
'region'?: string;
|
|
9068
9196
|
/** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
|
|
9069
9197
|
'clusterId'?: string;
|
|
9198
|
+
/** Registry configuration for the project. Can be PaaS or Self-Hosted */
|
|
9199
|
+
'customRegistry'?: {
|
|
9200
|
+
'enabled'?: boolean;
|
|
9201
|
+
'configuration'?: {
|
|
9202
|
+
'credentialId': string;
|
|
9203
|
+
'provider'?: 'acr' | 'ecr' | 'gar' | 'dockerhub' | 'github' | 'gitlab' | 'custom' | 'legacy';
|
|
9204
|
+
};
|
|
9205
|
+
};
|
|
9070
9206
|
/** Advanced project networking settings. */
|
|
9071
9207
|
'networking'?: {
|
|
9072
9208
|
/** Projects from which ingress request should be permitted. */
|
|
@@ -9288,6 +9424,14 @@ type PatchProjectResult = {
|
|
|
9288
9424
|
'region'?: string;
|
|
9289
9425
|
/** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
|
|
9290
9426
|
'clusterId'?: string;
|
|
9427
|
+
/** Registry configuration for the project. Can be PaaS or Self-Hosted */
|
|
9428
|
+
'customRegistry'?: {
|
|
9429
|
+
'enabled'?: boolean;
|
|
9430
|
+
'configuration'?: {
|
|
9431
|
+
'credentialId': string;
|
|
9432
|
+
'provider'?: 'acr' | 'ecr' | 'gar' | 'dockerhub' | 'github' | 'gitlab' | 'custom' | 'legacy';
|
|
9433
|
+
};
|
|
9434
|
+
};
|
|
9291
9435
|
/** Advanced project networking settings. */
|
|
9292
9436
|
'networking'?: {
|
|
9293
9437
|
/** Projects from which ingress request should be permitted. */
|
|
@@ -9452,6 +9596,15 @@ type GetProjectResult = {
|
|
|
9452
9596
|
/** Type of the service (combined, build or deployment) Example: "combined" */
|
|
9453
9597
|
'serviceType': 'combined' | 'build' | 'deployment';
|
|
9454
9598
|
}[];
|
|
9599
|
+
'customRegistry'?: {
|
|
9600
|
+
/** Whether the project has a custom registry. */
|
|
9601
|
+
'enabled': boolean;
|
|
9602
|
+
/** The configuration of the custom registry. */
|
|
9603
|
+
'configuration'?: {
|
|
9604
|
+
'credentialId'?: string;
|
|
9605
|
+
'provider'?: 'acr' | 'ecr' | 'gar' | 'dockerhub' | 'github' | 'gitlab' | 'custom' | 'legacy';
|
|
9606
|
+
};
|
|
9607
|
+
};
|
|
9455
9608
|
/** An array of jobs belonging to the project. */
|
|
9456
9609
|
'jobs': {
|
|
9457
9610
|
/** Identifier for the job. Example: "example-job" */
|
|
@@ -18657,6 +18810,8 @@ type PatchServiceBuildData = {
|
|
|
18657
18810
|
};
|
|
18658
18811
|
};
|
|
18659
18812
|
'dockerfile'?: {
|
|
18813
|
+
/** DEPRECATED: This field will be removed in the near future and currently has no effect. */
|
|
18814
|
+
'useCache'?: boolean;
|
|
18660
18815
|
/** Build engine to use. Defaults to recommended build engine `buildkit` Example: "buildkit" */
|
|
18661
18816
|
'buildEngine'?: 'buildkit' | 'kaniko';
|
|
18662
18817
|
/** The file path of the Dockerfile. Example: "/Dockerfile" */
|
|
@@ -19033,6 +19188,8 @@ type CreateServiceCombinedResult = {
|
|
|
19033
19188
|
'successThreshold'?: number;
|
|
19034
19189
|
}[];
|
|
19035
19190
|
'loadBalancing'?: {
|
|
19191
|
+
/** Enable headless service networking. */
|
|
19192
|
+
'enableHeadlessService'?: boolean;
|
|
19036
19193
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
19037
19194
|
'consistentHash'?: {
|
|
19038
19195
|
'mode': 'ip' | 'customHeader';
|
|
@@ -19572,6 +19729,8 @@ type CreateServiceCombinedData = {
|
|
|
19572
19729
|
'successThreshold'?: number;
|
|
19573
19730
|
}[];
|
|
19574
19731
|
'loadBalancing'?: {
|
|
19732
|
+
/** Enable headless service networking. */
|
|
19733
|
+
'enableHeadlessService'?: boolean;
|
|
19575
19734
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
19576
19735
|
'consistentHash'?: {
|
|
19577
19736
|
'mode': 'ip' | 'customHeader';
|
|
@@ -19943,6 +20102,8 @@ type PutServiceCombinedResult = {
|
|
|
19943
20102
|
'successThreshold'?: number;
|
|
19944
20103
|
}[];
|
|
19945
20104
|
'loadBalancing'?: {
|
|
20105
|
+
/** Enable headless service networking. */
|
|
20106
|
+
'enableHeadlessService'?: boolean;
|
|
19946
20107
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
19947
20108
|
'consistentHash'?: {
|
|
19948
20109
|
'mode': 'ip' | 'customHeader';
|
|
@@ -20482,6 +20643,8 @@ type PutServiceCombinedData = {
|
|
|
20482
20643
|
'successThreshold'?: number;
|
|
20483
20644
|
}[];
|
|
20484
20645
|
'loadBalancing'?: {
|
|
20646
|
+
/** Enable headless service networking. */
|
|
20647
|
+
'enableHeadlessService'?: boolean;
|
|
20485
20648
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
20486
20649
|
'consistentHash'?: {
|
|
20487
20650
|
'mode': 'ip' | 'customHeader';
|
|
@@ -20853,6 +21016,8 @@ type PatchServiceCombinedResult = {
|
|
|
20853
21016
|
'successThreshold'?: number;
|
|
20854
21017
|
}[];
|
|
20855
21018
|
'loadBalancing'?: {
|
|
21019
|
+
/** Enable headless service networking. */
|
|
21020
|
+
'enableHeadlessService'?: boolean;
|
|
20856
21021
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
20857
21022
|
'consistentHash'?: {
|
|
20858
21023
|
'mode': 'ip' | 'customHeader';
|
|
@@ -21290,6 +21455,8 @@ type PatchServiceCombinedData = {
|
|
|
21290
21455
|
};
|
|
21291
21456
|
};
|
|
21292
21457
|
'dockerfile'?: {
|
|
21458
|
+
/** DEPRECATED: This field will be removed in the near future and currently has no effect. */
|
|
21459
|
+
'useCache'?: boolean;
|
|
21293
21460
|
/** Build engine to use. Defaults to recommended build engine `buildkit` Example: "buildkit" */
|
|
21294
21461
|
'buildEngine'?: 'buildkit' | 'kaniko';
|
|
21295
21462
|
/** The file path of the Dockerfile. Example: "/Dockerfile" */
|
|
@@ -21375,6 +21542,8 @@ type PatchServiceCombinedData = {
|
|
|
21375
21542
|
'successThreshold'?: number;
|
|
21376
21543
|
}[];
|
|
21377
21544
|
'loadBalancing'?: {
|
|
21545
|
+
/** Enable headless service networking. */
|
|
21546
|
+
'enableHeadlessService'?: boolean;
|
|
21378
21547
|
'mode'?: 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
21379
21548
|
'consistentHash'?: {
|
|
21380
21549
|
'mode': 'ip' | 'customHeader';
|
|
@@ -21643,6 +21812,8 @@ type CreateServiceDeploymentResult = {
|
|
|
21643
21812
|
'successThreshold'?: number;
|
|
21644
21813
|
}[];
|
|
21645
21814
|
'loadBalancing'?: {
|
|
21815
|
+
/** Enable headless service networking. */
|
|
21816
|
+
'enableHeadlessService'?: boolean;
|
|
21646
21817
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
21647
21818
|
'consistentHash'?: {
|
|
21648
21819
|
'mode': 'ip' | 'customHeader';
|
|
@@ -22229,6 +22400,8 @@ type CreateServiceDeploymentData = {
|
|
|
22229
22400
|
'successThreshold'?: number;
|
|
22230
22401
|
}[];
|
|
22231
22402
|
'loadBalancing'?: {
|
|
22403
|
+
/** Enable headless service networking. */
|
|
22404
|
+
'enableHeadlessService'?: boolean;
|
|
22232
22405
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
22233
22406
|
'consistentHash'?: {
|
|
22234
22407
|
'mode': 'ip' | 'customHeader';
|
|
@@ -22499,6 +22672,8 @@ type PutServiceDeploymentResult = {
|
|
|
22499
22672
|
'successThreshold'?: number;
|
|
22500
22673
|
}[];
|
|
22501
22674
|
'loadBalancing'?: {
|
|
22675
|
+
/** Enable headless service networking. */
|
|
22676
|
+
'enableHeadlessService'?: boolean;
|
|
22502
22677
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
22503
22678
|
'consistentHash'?: {
|
|
22504
22679
|
'mode': 'ip' | 'customHeader';
|
|
@@ -23085,6 +23260,8 @@ type PutServiceDeploymentData = {
|
|
|
23085
23260
|
'successThreshold'?: number;
|
|
23086
23261
|
}[];
|
|
23087
23262
|
'loadBalancing'?: {
|
|
23263
|
+
/** Enable headless service networking. */
|
|
23264
|
+
'enableHeadlessService'?: boolean;
|
|
23088
23265
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
23089
23266
|
'consistentHash'?: {
|
|
23090
23267
|
'mode': 'ip' | 'customHeader';
|
|
@@ -23355,6 +23532,8 @@ type PatchServiceDeploymentResult = {
|
|
|
23355
23532
|
'successThreshold'?: number;
|
|
23356
23533
|
}[];
|
|
23357
23534
|
'loadBalancing'?: {
|
|
23535
|
+
/** Enable headless service networking. */
|
|
23536
|
+
'enableHeadlessService'?: boolean;
|
|
23358
23537
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
23359
23538
|
'consistentHash'?: {
|
|
23360
23539
|
'mode': 'ip' | 'customHeader';
|
|
@@ -23938,6 +24117,8 @@ type PatchServiceDeploymentData = {
|
|
|
23938
24117
|
'successThreshold'?: number;
|
|
23939
24118
|
}[];
|
|
23940
24119
|
'loadBalancing'?: {
|
|
24120
|
+
/** Enable headless service networking. */
|
|
24121
|
+
'enableHeadlessService'?: boolean;
|
|
23941
24122
|
'mode'?: 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
23942
24123
|
'consistentHash'?: {
|
|
23943
24124
|
'mode': 'ip' | 'customHeader';
|
|
@@ -24166,6 +24347,8 @@ type GetServiceResult = {
|
|
|
24166
24347
|
'imageUrl'?: string;
|
|
24167
24348
|
};
|
|
24168
24349
|
'loadBalancing'?: {
|
|
24350
|
+
/** Enable headless service networking. */
|
|
24351
|
+
'enableHeadlessService'?: boolean;
|
|
24169
24352
|
'mode': 'leastConnection' | 'consistentHash' | 'roundRobin' | 'consistentReplicaRouting';
|
|
24170
24353
|
'consistentHash'?: {
|
|
24171
24354
|
'mode': 'ip' | 'customHeader';
|
|
@@ -27151,17 +27334,29 @@ declare class ApiClient {
|
|
|
27151
27334
|
service: {
|
|
27152
27335
|
files: InstanceType<typeof NorthflankFileCopy>['downloadServiceFiles'];
|
|
27153
27336
|
};
|
|
27337
|
+
serviceStream: {
|
|
27338
|
+
files: InstanceType<typeof NorthflankFileCopy>['downloadServiceFileStream'];
|
|
27339
|
+
};
|
|
27154
27340
|
job: {
|
|
27155
27341
|
files: InstanceType<typeof NorthflankFileCopy>['downloadJobFiles'];
|
|
27156
27342
|
};
|
|
27343
|
+
jobStream: {
|
|
27344
|
+
files: InstanceType<typeof NorthflankFileCopy>['downloadJobFileStream'];
|
|
27345
|
+
};
|
|
27157
27346
|
};
|
|
27158
27347
|
upload: {
|
|
27159
27348
|
service: {
|
|
27160
27349
|
files: InstanceType<typeof NorthflankFileCopy>['uploadServiceFiles'];
|
|
27161
27350
|
};
|
|
27351
|
+
serviceStream: {
|
|
27352
|
+
files: InstanceType<typeof NorthflankFileCopy>['uploadServiceFileStream'];
|
|
27353
|
+
};
|
|
27162
27354
|
job: {
|
|
27163
27355
|
files: InstanceType<typeof NorthflankFileCopy>['uploadJobFiles'];
|
|
27164
27356
|
};
|
|
27357
|
+
jobStream: {
|
|
27358
|
+
files: InstanceType<typeof NorthflankFileCopy>['uploadJobFileStream'];
|
|
27359
|
+
};
|
|
27165
27360
|
};
|
|
27166
27361
|
get: {
|
|
27167
27362
|
addon: GetAddonCall & {
|
|
@@ -27575,17 +27770,29 @@ declare class ApiClient {
|
|
|
27575
27770
|
service: {
|
|
27576
27771
|
files: InstanceType<typeof NorthflankFileCopy>['downloadServiceFiles'];
|
|
27577
27772
|
};
|
|
27773
|
+
serviceStream: {
|
|
27774
|
+
files: InstanceType<typeof NorthflankFileCopy>['downloadServiceFileStream'];
|
|
27775
|
+
};
|
|
27578
27776
|
job: {
|
|
27579
27777
|
files: InstanceType<typeof NorthflankFileCopy>['downloadJobFiles'];
|
|
27580
27778
|
};
|
|
27779
|
+
jobStream: {
|
|
27780
|
+
files: InstanceType<typeof NorthflankFileCopy>['downloadJobFileStream'];
|
|
27781
|
+
};
|
|
27581
27782
|
};
|
|
27582
27783
|
upload: {
|
|
27583
27784
|
service: {
|
|
27584
27785
|
files: InstanceType<typeof NorthflankFileCopy>['uploadServiceFiles'];
|
|
27585
27786
|
};
|
|
27787
|
+
serviceStream: {
|
|
27788
|
+
files: InstanceType<typeof NorthflankFileCopy>['uploadServiceFileStream'];
|
|
27789
|
+
};
|
|
27586
27790
|
job: {
|
|
27587
27791
|
files: InstanceType<typeof NorthflankFileCopy>['uploadJobFiles'];
|
|
27588
27792
|
};
|
|
27793
|
+
jobStream: {
|
|
27794
|
+
files: InstanceType<typeof NorthflankFileCopy>['uploadJobFileStream'];
|
|
27795
|
+
};
|
|
27589
27796
|
};
|
|
27590
27797
|
get: {
|
|
27591
27798
|
addon: GetAddonEndpoint & {
|