@northflank/js-client 0.6.3-beta.0 → 0.7.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/cjs/api-client.d.ts +50 -4
- package/dist/cjs/endpoints/create/service/combined.d.ts +23 -0
- package/dist/cjs/endpoints/create/service/deployment.d.ts +23 -0
- package/dist/cjs/endpoints/update/job/healthChecks.d.ts +2 -2
- package/dist/cjs/endpoints/update/service/healthChecks.d.ts +2 -2
- package/dist/esm/api-client.d.ts +50 -4
- package/dist/esm/endpoints/create/service/combined.d.ts +23 -0
- package/dist/esm/endpoints/create/service/deployment.d.ts +23 -0
- package/dist/esm/endpoints/update/job/healthChecks.d.ts +2 -2
- package/dist/esm/endpoints/update/service/healthChecks.d.ts +2 -2
- package/package.json +1 -1
package/dist/cjs/api-client.d.ts
CHANGED
|
@@ -3365,7 +3365,7 @@ declare type UpdateJobHealthchecksParameters = {
|
|
|
3365
3365
|
'jobId': string;
|
|
3366
3366
|
};
|
|
3367
3367
|
declare type UpdateJobHealthchecksData = {
|
|
3368
|
-
/** An array of health checks */
|
|
3368
|
+
/** An array of health checks. */
|
|
3369
3369
|
'healthChecks': {
|
|
3370
3370
|
/** The protocol to access the health check with. Example: "HTTP" */
|
|
3371
3371
|
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
@@ -3375,7 +3375,7 @@ declare type UpdateJobHealthchecksData = {
|
|
|
3375
3375
|
'path'?: string;
|
|
3376
3376
|
/** The command to run for the health check. Required when protocol is CMD */
|
|
3377
3377
|
'cmd'?: string;
|
|
3378
|
-
/** Port number for the health check endpoint. Required when protocol is HTTP. Example:
|
|
3378
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
3379
3379
|
'port'?: number;
|
|
3380
3380
|
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
3381
3381
|
'initialDelaySeconds': number;
|
|
@@ -5380,6 +5380,29 @@ declare type CreateServiceCombinedData = {
|
|
|
5380
5380
|
'buildArguments'?: any;
|
|
5381
5381
|
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
5382
5382
|
'buildFiles'?: any;
|
|
5383
|
+
/** An array of health checks. */
|
|
5384
|
+
'healthChecks'?: {
|
|
5385
|
+
/** The protocol to access the health check with. Example: "HTTP" */
|
|
5386
|
+
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
5387
|
+
/** The type of health check. Example: "readinessProbe" */
|
|
5388
|
+
'type': 'livenessProbe' | 'readinessProbe' | 'startupProbe';
|
|
5389
|
+
/** The path of the health check endpoint. Required when protocol is HTTP. Example: "/health-check" */
|
|
5390
|
+
'path'?: string;
|
|
5391
|
+
/** The command to run for the health check. Required when protocol is CMD */
|
|
5392
|
+
'cmd'?: string;
|
|
5393
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
5394
|
+
'port'?: number;
|
|
5395
|
+
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
5396
|
+
'initialDelaySeconds': number;
|
|
5397
|
+
/** The time between each check, in seconds. Example: 60 */
|
|
5398
|
+
'periodSeconds': number;
|
|
5399
|
+
/** The time to wait for a response before marking the health check as a failure. Example: 1 */
|
|
5400
|
+
'timeoutSeconds': number;
|
|
5401
|
+
/** The maximum number of allowed failures. Example: 3 */
|
|
5402
|
+
'failureThreshold': number;
|
|
5403
|
+
/** The number of successes required to mark the health check as a success. Example: 1 */
|
|
5404
|
+
'successThreshold'?: number;
|
|
5405
|
+
}[];
|
|
5383
5406
|
};
|
|
5384
5407
|
/** Creates a new combined service. */
|
|
5385
5408
|
declare class CreateServiceCombinedEndpoint extends PostApiEndpoint<CreateServiceCombinedRequest, CreateServiceCombinedResult> {
|
|
@@ -5599,6 +5622,29 @@ declare type CreateServiceDeploymentData = {
|
|
|
5599
5622
|
'runtimeEnvironment'?: any;
|
|
5600
5623
|
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
5601
5624
|
'runtimeFiles'?: any;
|
|
5625
|
+
/** An array of health checks. */
|
|
5626
|
+
'healthChecks'?: {
|
|
5627
|
+
/** The protocol to access the health check with. Example: "HTTP" */
|
|
5628
|
+
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
5629
|
+
/** The type of health check. Example: "readinessProbe" */
|
|
5630
|
+
'type': 'livenessProbe' | 'readinessProbe' | 'startupProbe';
|
|
5631
|
+
/** The path of the health check endpoint. Required when protocol is HTTP. Example: "/health-check" */
|
|
5632
|
+
'path'?: string;
|
|
5633
|
+
/** The command to run for the health check. Required when protocol is CMD */
|
|
5634
|
+
'cmd'?: string;
|
|
5635
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
5636
|
+
'port'?: number;
|
|
5637
|
+
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
5638
|
+
'initialDelaySeconds': number;
|
|
5639
|
+
/** The time between each check, in seconds. Example: 60 */
|
|
5640
|
+
'periodSeconds': number;
|
|
5641
|
+
/** The time to wait for a response before marking the health check as a failure. Example: 1 */
|
|
5642
|
+
'timeoutSeconds': number;
|
|
5643
|
+
/** The maximum number of allowed failures. Example: 3 */
|
|
5644
|
+
'failureThreshold': number;
|
|
5645
|
+
/** The number of successes required to mark the health check as a success. Example: 1 */
|
|
5646
|
+
'successThreshold'?: number;
|
|
5647
|
+
}[];
|
|
5602
5648
|
};
|
|
5603
5649
|
/** Creates a new deployment service. */
|
|
5604
5650
|
declare class CreateServiceDeploymentEndpoint extends PostApiEndpoint<CreateServiceDeploymentRequest, CreateServiceDeploymentResult> {
|
|
@@ -6518,7 +6564,7 @@ declare type UpdateServiceHealthchecksParameters = {
|
|
|
6518
6564
|
'serviceId': string;
|
|
6519
6565
|
};
|
|
6520
6566
|
declare type UpdateServiceHealthchecksData = {
|
|
6521
|
-
/** An array of health checks */
|
|
6567
|
+
/** An array of health checks. */
|
|
6522
6568
|
'healthChecks': {
|
|
6523
6569
|
/** The protocol to access the health check with. Example: "HTTP" */
|
|
6524
6570
|
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
@@ -6528,7 +6574,7 @@ declare type UpdateServiceHealthchecksData = {
|
|
|
6528
6574
|
'path'?: string;
|
|
6529
6575
|
/** The command to run for the health check. Required when protocol is CMD */
|
|
6530
6576
|
'cmd'?: string;
|
|
6531
|
-
/** Port number for the health check endpoint. Required when protocol is HTTP. Example:
|
|
6577
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
6532
6578
|
'port'?: number;
|
|
6533
6579
|
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
6534
6580
|
'initialDelaySeconds': number;
|
|
@@ -221,6 +221,29 @@ export declare type CreateServiceCombinedData = {
|
|
|
221
221
|
'buildArguments'?: any;
|
|
222
222
|
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
223
223
|
'buildFiles'?: any;
|
|
224
|
+
/** An array of health checks. */
|
|
225
|
+
'healthChecks'?: {
|
|
226
|
+
/** The protocol to access the health check with. Example: "HTTP" */
|
|
227
|
+
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
228
|
+
/** The type of health check. Example: "readinessProbe" */
|
|
229
|
+
'type': 'livenessProbe' | 'readinessProbe' | 'startupProbe';
|
|
230
|
+
/** The path of the health check endpoint. Required when protocol is HTTP. Example: "/health-check" */
|
|
231
|
+
'path'?: string;
|
|
232
|
+
/** The command to run for the health check. Required when protocol is CMD */
|
|
233
|
+
'cmd'?: string;
|
|
234
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
235
|
+
'port'?: number;
|
|
236
|
+
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
237
|
+
'initialDelaySeconds': number;
|
|
238
|
+
/** The time between each check, in seconds. Example: 60 */
|
|
239
|
+
'periodSeconds': number;
|
|
240
|
+
/** The time to wait for a response before marking the health check as a failure. Example: 1 */
|
|
241
|
+
'timeoutSeconds': number;
|
|
242
|
+
/** The maximum number of allowed failures. Example: 3 */
|
|
243
|
+
'failureThreshold': number;
|
|
244
|
+
/** The number of successes required to mark the health check as a success. Example: 1 */
|
|
245
|
+
'successThreshold'?: number;
|
|
246
|
+
}[];
|
|
224
247
|
};
|
|
225
248
|
/** Creates a new combined service. */
|
|
226
249
|
export declare class CreateServiceCombinedEndpoint extends PostApiEndpoint<CreateServiceCombinedRequest, CreateServiceCombinedResult> {
|
|
@@ -208,6 +208,29 @@ export declare type CreateServiceDeploymentData = {
|
|
|
208
208
|
'runtimeEnvironment'?: any;
|
|
209
209
|
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
210
210
|
'runtimeFiles'?: any;
|
|
211
|
+
/** An array of health checks. */
|
|
212
|
+
'healthChecks'?: {
|
|
213
|
+
/** The protocol to access the health check with. Example: "HTTP" */
|
|
214
|
+
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
215
|
+
/** The type of health check. Example: "readinessProbe" */
|
|
216
|
+
'type': 'livenessProbe' | 'readinessProbe' | 'startupProbe';
|
|
217
|
+
/** The path of the health check endpoint. Required when protocol is HTTP. Example: "/health-check" */
|
|
218
|
+
'path'?: string;
|
|
219
|
+
/** The command to run for the health check. Required when protocol is CMD */
|
|
220
|
+
'cmd'?: string;
|
|
221
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
222
|
+
'port'?: number;
|
|
223
|
+
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
224
|
+
'initialDelaySeconds': number;
|
|
225
|
+
/** The time between each check, in seconds. Example: 60 */
|
|
226
|
+
'periodSeconds': number;
|
|
227
|
+
/** The time to wait for a response before marking the health check as a failure. Example: 1 */
|
|
228
|
+
'timeoutSeconds': number;
|
|
229
|
+
/** The maximum number of allowed failures. Example: 3 */
|
|
230
|
+
'failureThreshold': number;
|
|
231
|
+
/** The number of successes required to mark the health check as a success. Example: 1 */
|
|
232
|
+
'successThreshold'?: number;
|
|
233
|
+
}[];
|
|
211
234
|
};
|
|
212
235
|
/** Creates a new deployment service. */
|
|
213
236
|
export declare class CreateServiceDeploymentEndpoint extends PostApiEndpoint<CreateServiceDeploymentRequest, CreateServiceDeploymentResult> {
|
|
@@ -11,7 +11,7 @@ export declare type UpdateJobHealthchecksParameters = {
|
|
|
11
11
|
'jobId': string;
|
|
12
12
|
};
|
|
13
13
|
export declare type UpdateJobHealthchecksData = {
|
|
14
|
-
/** An array of health checks */
|
|
14
|
+
/** An array of health checks. */
|
|
15
15
|
'healthChecks': {
|
|
16
16
|
/** The protocol to access the health check with. Example: "HTTP" */
|
|
17
17
|
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
@@ -21,7 +21,7 @@ export declare type UpdateJobHealthchecksData = {
|
|
|
21
21
|
'path'?: string;
|
|
22
22
|
/** The command to run for the health check. Required when protocol is CMD */
|
|
23
23
|
'cmd'?: string;
|
|
24
|
-
/** Port number for the health check endpoint. Required when protocol is HTTP. Example:
|
|
24
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
25
25
|
'port'?: number;
|
|
26
26
|
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
27
27
|
'initialDelaySeconds': number;
|
|
@@ -11,7 +11,7 @@ export declare type UpdateServiceHealthchecksParameters = {
|
|
|
11
11
|
'serviceId': string;
|
|
12
12
|
};
|
|
13
13
|
export declare type UpdateServiceHealthchecksData = {
|
|
14
|
-
/** An array of health checks */
|
|
14
|
+
/** An array of health checks. */
|
|
15
15
|
'healthChecks': {
|
|
16
16
|
/** The protocol to access the health check with. Example: "HTTP" */
|
|
17
17
|
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
@@ -21,7 +21,7 @@ export declare type UpdateServiceHealthchecksData = {
|
|
|
21
21
|
'path'?: string;
|
|
22
22
|
/** The command to run for the health check. Required when protocol is CMD */
|
|
23
23
|
'cmd'?: string;
|
|
24
|
-
/** Port number for the health check endpoint. Required when protocol is HTTP. Example:
|
|
24
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
25
25
|
'port'?: number;
|
|
26
26
|
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
27
27
|
'initialDelaySeconds': number;
|
package/dist/esm/api-client.d.ts
CHANGED
|
@@ -3365,7 +3365,7 @@ declare type UpdateJobHealthchecksParameters = {
|
|
|
3365
3365
|
'jobId': string;
|
|
3366
3366
|
};
|
|
3367
3367
|
declare type UpdateJobHealthchecksData = {
|
|
3368
|
-
/** An array of health checks */
|
|
3368
|
+
/** An array of health checks. */
|
|
3369
3369
|
'healthChecks': {
|
|
3370
3370
|
/** The protocol to access the health check with. Example: "HTTP" */
|
|
3371
3371
|
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
@@ -3375,7 +3375,7 @@ declare type UpdateJobHealthchecksData = {
|
|
|
3375
3375
|
'path'?: string;
|
|
3376
3376
|
/** The command to run for the health check. Required when protocol is CMD */
|
|
3377
3377
|
'cmd'?: string;
|
|
3378
|
-
/** Port number for the health check endpoint. Required when protocol is HTTP. Example:
|
|
3378
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
3379
3379
|
'port'?: number;
|
|
3380
3380
|
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
3381
3381
|
'initialDelaySeconds': number;
|
|
@@ -5380,6 +5380,29 @@ declare type CreateServiceCombinedData = {
|
|
|
5380
5380
|
'buildArguments'?: any;
|
|
5381
5381
|
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
5382
5382
|
'buildFiles'?: any;
|
|
5383
|
+
/** An array of health checks. */
|
|
5384
|
+
'healthChecks'?: {
|
|
5385
|
+
/** The protocol to access the health check with. Example: "HTTP" */
|
|
5386
|
+
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
5387
|
+
/** The type of health check. Example: "readinessProbe" */
|
|
5388
|
+
'type': 'livenessProbe' | 'readinessProbe' | 'startupProbe';
|
|
5389
|
+
/** The path of the health check endpoint. Required when protocol is HTTP. Example: "/health-check" */
|
|
5390
|
+
'path'?: string;
|
|
5391
|
+
/** The command to run for the health check. Required when protocol is CMD */
|
|
5392
|
+
'cmd'?: string;
|
|
5393
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
5394
|
+
'port'?: number;
|
|
5395
|
+
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
5396
|
+
'initialDelaySeconds': number;
|
|
5397
|
+
/** The time between each check, in seconds. Example: 60 */
|
|
5398
|
+
'periodSeconds': number;
|
|
5399
|
+
/** The time to wait for a response before marking the health check as a failure. Example: 1 */
|
|
5400
|
+
'timeoutSeconds': number;
|
|
5401
|
+
/** The maximum number of allowed failures. Example: 3 */
|
|
5402
|
+
'failureThreshold': number;
|
|
5403
|
+
/** The number of successes required to mark the health check as a success. Example: 1 */
|
|
5404
|
+
'successThreshold'?: number;
|
|
5405
|
+
}[];
|
|
5383
5406
|
};
|
|
5384
5407
|
/** Creates a new combined service. */
|
|
5385
5408
|
declare class CreateServiceCombinedEndpoint extends PostApiEndpoint<CreateServiceCombinedRequest, CreateServiceCombinedResult> {
|
|
@@ -5599,6 +5622,29 @@ declare type CreateServiceDeploymentData = {
|
|
|
5599
5622
|
'runtimeEnvironment'?: any;
|
|
5600
5623
|
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
5601
5624
|
'runtimeFiles'?: any;
|
|
5625
|
+
/** An array of health checks. */
|
|
5626
|
+
'healthChecks'?: {
|
|
5627
|
+
/** The protocol to access the health check with. Example: "HTTP" */
|
|
5628
|
+
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
5629
|
+
/** The type of health check. Example: "readinessProbe" */
|
|
5630
|
+
'type': 'livenessProbe' | 'readinessProbe' | 'startupProbe';
|
|
5631
|
+
/** The path of the health check endpoint. Required when protocol is HTTP. Example: "/health-check" */
|
|
5632
|
+
'path'?: string;
|
|
5633
|
+
/** The command to run for the health check. Required when protocol is CMD */
|
|
5634
|
+
'cmd'?: string;
|
|
5635
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
5636
|
+
'port'?: number;
|
|
5637
|
+
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
5638
|
+
'initialDelaySeconds': number;
|
|
5639
|
+
/** The time between each check, in seconds. Example: 60 */
|
|
5640
|
+
'periodSeconds': number;
|
|
5641
|
+
/** The time to wait for a response before marking the health check as a failure. Example: 1 */
|
|
5642
|
+
'timeoutSeconds': number;
|
|
5643
|
+
/** The maximum number of allowed failures. Example: 3 */
|
|
5644
|
+
'failureThreshold': number;
|
|
5645
|
+
/** The number of successes required to mark the health check as a success. Example: 1 */
|
|
5646
|
+
'successThreshold'?: number;
|
|
5647
|
+
}[];
|
|
5602
5648
|
};
|
|
5603
5649
|
/** Creates a new deployment service. */
|
|
5604
5650
|
declare class CreateServiceDeploymentEndpoint extends PostApiEndpoint<CreateServiceDeploymentRequest, CreateServiceDeploymentResult> {
|
|
@@ -6518,7 +6564,7 @@ declare type UpdateServiceHealthchecksParameters = {
|
|
|
6518
6564
|
'serviceId': string;
|
|
6519
6565
|
};
|
|
6520
6566
|
declare type UpdateServiceHealthchecksData = {
|
|
6521
|
-
/** An array of health checks */
|
|
6567
|
+
/** An array of health checks. */
|
|
6522
6568
|
'healthChecks': {
|
|
6523
6569
|
/** The protocol to access the health check with. Example: "HTTP" */
|
|
6524
6570
|
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
@@ -6528,7 +6574,7 @@ declare type UpdateServiceHealthchecksData = {
|
|
|
6528
6574
|
'path'?: string;
|
|
6529
6575
|
/** The command to run for the health check. Required when protocol is CMD */
|
|
6530
6576
|
'cmd'?: string;
|
|
6531
|
-
/** Port number for the health check endpoint. Required when protocol is HTTP. Example:
|
|
6577
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
6532
6578
|
'port'?: number;
|
|
6533
6579
|
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
6534
6580
|
'initialDelaySeconds': number;
|
|
@@ -221,6 +221,29 @@ export declare type CreateServiceCombinedData = {
|
|
|
221
221
|
'buildArguments'?: any;
|
|
222
222
|
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
223
223
|
'buildFiles'?: any;
|
|
224
|
+
/** An array of health checks. */
|
|
225
|
+
'healthChecks'?: {
|
|
226
|
+
/** The protocol to access the health check with. Example: "HTTP" */
|
|
227
|
+
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
228
|
+
/** The type of health check. Example: "readinessProbe" */
|
|
229
|
+
'type': 'livenessProbe' | 'readinessProbe' | 'startupProbe';
|
|
230
|
+
/** The path of the health check endpoint. Required when protocol is HTTP. Example: "/health-check" */
|
|
231
|
+
'path'?: string;
|
|
232
|
+
/** The command to run for the health check. Required when protocol is CMD */
|
|
233
|
+
'cmd'?: string;
|
|
234
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
235
|
+
'port'?: number;
|
|
236
|
+
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
237
|
+
'initialDelaySeconds': number;
|
|
238
|
+
/** The time between each check, in seconds. Example: 60 */
|
|
239
|
+
'periodSeconds': number;
|
|
240
|
+
/** The time to wait for a response before marking the health check as a failure. Example: 1 */
|
|
241
|
+
'timeoutSeconds': number;
|
|
242
|
+
/** The maximum number of allowed failures. Example: 3 */
|
|
243
|
+
'failureThreshold': number;
|
|
244
|
+
/** The number of successes required to mark the health check as a success. Example: 1 */
|
|
245
|
+
'successThreshold'?: number;
|
|
246
|
+
}[];
|
|
224
247
|
};
|
|
225
248
|
/** Creates a new combined service. */
|
|
226
249
|
export declare class CreateServiceCombinedEndpoint extends PostApiEndpoint<CreateServiceCombinedRequest, CreateServiceCombinedResult> {
|
|
@@ -208,6 +208,29 @@ export declare type CreateServiceDeploymentData = {
|
|
|
208
208
|
'runtimeEnvironment'?: any;
|
|
209
209
|
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
210
210
|
'runtimeFiles'?: any;
|
|
211
|
+
/** An array of health checks. */
|
|
212
|
+
'healthChecks'?: {
|
|
213
|
+
/** The protocol to access the health check with. Example: "HTTP" */
|
|
214
|
+
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
215
|
+
/** The type of health check. Example: "readinessProbe" */
|
|
216
|
+
'type': 'livenessProbe' | 'readinessProbe' | 'startupProbe';
|
|
217
|
+
/** The path of the health check endpoint. Required when protocol is HTTP. Example: "/health-check" */
|
|
218
|
+
'path'?: string;
|
|
219
|
+
/** The command to run for the health check. Required when protocol is CMD */
|
|
220
|
+
'cmd'?: string;
|
|
221
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
222
|
+
'port'?: number;
|
|
223
|
+
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
224
|
+
'initialDelaySeconds': number;
|
|
225
|
+
/** The time between each check, in seconds. Example: 60 */
|
|
226
|
+
'periodSeconds': number;
|
|
227
|
+
/** The time to wait for a response before marking the health check as a failure. Example: 1 */
|
|
228
|
+
'timeoutSeconds': number;
|
|
229
|
+
/** The maximum number of allowed failures. Example: 3 */
|
|
230
|
+
'failureThreshold': number;
|
|
231
|
+
/** The number of successes required to mark the health check as a success. Example: 1 */
|
|
232
|
+
'successThreshold'?: number;
|
|
233
|
+
}[];
|
|
211
234
|
};
|
|
212
235
|
/** Creates a new deployment service. */
|
|
213
236
|
export declare class CreateServiceDeploymentEndpoint extends PostApiEndpoint<CreateServiceDeploymentRequest, CreateServiceDeploymentResult> {
|
|
@@ -11,7 +11,7 @@ export declare type UpdateJobHealthchecksParameters = {
|
|
|
11
11
|
'jobId': string;
|
|
12
12
|
};
|
|
13
13
|
export declare type UpdateJobHealthchecksData = {
|
|
14
|
-
/** An array of health checks */
|
|
14
|
+
/** An array of health checks. */
|
|
15
15
|
'healthChecks': {
|
|
16
16
|
/** The protocol to access the health check with. Example: "HTTP" */
|
|
17
17
|
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
@@ -21,7 +21,7 @@ export declare type UpdateJobHealthchecksData = {
|
|
|
21
21
|
'path'?: string;
|
|
22
22
|
/** The command to run for the health check. Required when protocol is CMD */
|
|
23
23
|
'cmd'?: string;
|
|
24
|
-
/** Port number for the health check endpoint. Required when protocol is HTTP. Example:
|
|
24
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
25
25
|
'port'?: number;
|
|
26
26
|
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
27
27
|
'initialDelaySeconds': number;
|
|
@@ -11,7 +11,7 @@ export declare type UpdateServiceHealthchecksParameters = {
|
|
|
11
11
|
'serviceId': string;
|
|
12
12
|
};
|
|
13
13
|
export declare type UpdateServiceHealthchecksData = {
|
|
14
|
-
/** An array of health checks */
|
|
14
|
+
/** An array of health checks. */
|
|
15
15
|
'healthChecks': {
|
|
16
16
|
/** The protocol to access the health check with. Example: "HTTP" */
|
|
17
17
|
'protocol': 'HTTP' | 'CMD' | 'TCP';
|
|
@@ -21,7 +21,7 @@ export declare type UpdateServiceHealthchecksData = {
|
|
|
21
21
|
'path'?: string;
|
|
22
22
|
/** The command to run for the health check. Required when protocol is CMD */
|
|
23
23
|
'cmd'?: string;
|
|
24
|
-
/** Port number for the health check endpoint. Required when protocol is HTTP. Example:
|
|
24
|
+
/** Port number for the health check endpoint. Required when protocol is HTTP. Example: 8080 */
|
|
25
25
|
'port'?: number;
|
|
26
26
|
/** Initial delay, in seconds, before the health check is first run. Example: 10 */
|
|
27
27
|
'initialDelaySeconds': number;
|