@scaleway/sdk 2.7.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/block/v1alpha1/api.gen.js +1 -7
- package/dist/api/block/v1alpha1/marshalling.gen.js +1 -9
- package/dist/api/block/v1alpha1/validation-rules.gen.js +1 -6
- package/dist/api/instance/v1/marshalling.gen.js +3 -0
- package/dist/api/ipam/v1/marshalling.gen.js +15 -0
- package/dist/api/jobs/v1alpha1/api.gen.js +64 -0
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +20 -0
- package/dist/api/jobs/v1alpha1/validation-rules.gen.js +31 -1
- package/dist/api/k8s/v1/marshalling.gen.js +11 -0
- package/dist/api/lb/v1/api.gen.js +2 -2
- package/dist/api/lb/v1/marshalling.gen.js +8 -0
- package/dist/api/secret/v1alpha1/api.gen.js +3 -3
- package/dist/api/secret/v1alpha1/marshalling.gen.js +37 -6
- package/dist/index.cjs +197 -32
- package/dist/index.d.ts +234 -39
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3259,16 +3259,6 @@ type GetVolumeRequest$2 = {
|
|
|
3259
3259
|
/** UUID of the volume. */
|
|
3260
3260
|
volumeId: string;
|
|
3261
3261
|
};
|
|
3262
|
-
type ImportSnapshotFromS3Request$1 = {
|
|
3263
|
-
/** Zone to target. If none is passed will use default zone from the config. */
|
|
3264
|
-
zone?: Zone;
|
|
3265
|
-
bucket: string;
|
|
3266
|
-
key: string;
|
|
3267
|
-
name: string;
|
|
3268
|
-
projectId?: string;
|
|
3269
|
-
tags?: string[];
|
|
3270
|
-
size?: number;
|
|
3271
|
-
};
|
|
3272
3262
|
type ListSnapshotsRequest$4 = {
|
|
3273
3263
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
3274
3264
|
zone?: Zone;
|
|
@@ -3517,7 +3507,6 @@ declare class API$r extends API$w {
|
|
|
3517
3507
|
* @returns A Promise of Snapshot
|
|
3518
3508
|
*/
|
|
3519
3509
|
createSnapshot: (request: Readonly<CreateSnapshotRequest$4>) => Promise<Snapshot$3>;
|
|
3520
|
-
importSnapshotFromS3: (request: Readonly<ImportSnapshotFromS3Request$1>) => Promise<Snapshot$3>;
|
|
3521
3510
|
/**
|
|
3522
3511
|
* Delete a snapshot. You must specify the `snapshot_id` of the snapshot you
|
|
3523
3512
|
* want to delete. The snapshot must not be in use.
|
|
@@ -3551,11 +3540,6 @@ declare const CreateVolumeRequest$2: {
|
|
|
3551
3540
|
minLength: number;
|
|
3552
3541
|
};
|
|
3553
3542
|
};
|
|
3554
|
-
declare const ImportSnapshotFromS3Request: {
|
|
3555
|
-
name: {
|
|
3556
|
-
minLength: number;
|
|
3557
|
-
};
|
|
3558
|
-
};
|
|
3559
3543
|
declare const ListSnapshotsRequest$3: {
|
|
3560
3544
|
page: {
|
|
3561
3545
|
greaterThan: number;
|
|
@@ -3589,11 +3573,10 @@ declare const Reference: {
|
|
|
3589
3573
|
};
|
|
3590
3574
|
};
|
|
3591
3575
|
|
|
3592
|
-
declare const validationRules_gen$c_ImportSnapshotFromS3Request: typeof ImportSnapshotFromS3Request;
|
|
3593
3576
|
declare const validationRules_gen$c_ListVolumeTypesRequest: typeof ListVolumeTypesRequest;
|
|
3594
3577
|
declare const validationRules_gen$c_Reference: typeof Reference;
|
|
3595
3578
|
declare namespace validationRules_gen$c {
|
|
3596
|
-
export { CreateSnapshotRequest$3 as CreateSnapshotRequest, CreateVolumeRequest$2 as CreateVolumeRequest,
|
|
3579
|
+
export { CreateSnapshotRequest$3 as CreateSnapshotRequest, CreateVolumeRequest$2 as CreateVolumeRequest, ListSnapshotsRequest$3 as ListSnapshotsRequest, validationRules_gen$c_ListVolumeTypesRequest as ListVolumeTypesRequest, ListVolumesRequest$2 as ListVolumesRequest, validationRules_gen$c_Reference as Reference };
|
|
3597
3580
|
}
|
|
3598
3581
|
|
|
3599
3582
|
type index_gen$q_CreateVolumeRequestFromEmpty = CreateVolumeRequestFromEmpty;
|
|
@@ -3607,7 +3590,7 @@ type index_gen$q_SnapshotSummary = SnapshotSummary;
|
|
|
3607
3590
|
type index_gen$q_VolumeSpecifications = VolumeSpecifications;
|
|
3608
3591
|
type index_gen$q_VolumeStatus = VolumeStatus;
|
|
3609
3592
|
declare namespace index_gen$q {
|
|
3610
|
-
export { API$r as API, type CreateSnapshotRequest$4 as CreateSnapshotRequest, type CreateVolumeRequest$3 as CreateVolumeRequest, type index_gen$q_CreateVolumeRequestFromEmpty as CreateVolumeRequestFromEmpty, type index_gen$q_CreateVolumeRequestFromSnapshot as CreateVolumeRequestFromSnapshot, type DeleteSnapshotRequest$3 as DeleteSnapshotRequest, type DeleteVolumeRequest$2 as DeleteVolumeRequest, type GetSnapshotRequest$3 as GetSnapshotRequest, type GetVolumeRequest$2 as GetVolumeRequest, type
|
|
3593
|
+
export { API$r as API, type CreateSnapshotRequest$4 as CreateSnapshotRequest, type CreateVolumeRequest$3 as CreateVolumeRequest, type index_gen$q_CreateVolumeRequestFromEmpty as CreateVolumeRequestFromEmpty, type index_gen$q_CreateVolumeRequestFromSnapshot as CreateVolumeRequestFromSnapshot, type DeleteSnapshotRequest$3 as DeleteSnapshotRequest, type DeleteVolumeRequest$2 as DeleteVolumeRequest, type GetSnapshotRequest$3 as GetSnapshotRequest, type GetVolumeRequest$2 as GetVolumeRequest, type ListSnapshotsRequest$4 as ListSnapshotsRequest, type ListSnapshotsRequestOrderBy$2 as ListSnapshotsRequestOrderBy, type ListSnapshotsResponse$3 as ListSnapshotsResponse, type ListVolumeTypesRequest$1 as ListVolumeTypesRequest, type index_gen$q_ListVolumeTypesResponse as ListVolumeTypesResponse, type ListVolumesRequest$3 as ListVolumesRequest, type ListVolumesRequestOrderBy$1 as ListVolumesRequestOrderBy, type ListVolumesResponse$2 as ListVolumesResponse, index_gen$q_REFERENCE_TRANSIENT_STATUSES as REFERENCE_TRANSIENT_STATUSES, type Reference$1 as Reference, type index_gen$q_ReferenceStatus as ReferenceStatus, type index_gen$q_ReferenceType as ReferenceType, SNAPSHOT_TRANSIENT_STATUSES$3 as SNAPSHOT_TRANSIENT_STATUSES, type Snapshot$3 as Snapshot, type index_gen$q_SnapshotParentVolume as SnapshotParentVolume, type SnapshotStatus$2 as SnapshotStatus, type index_gen$q_SnapshotSummary as SnapshotSummary, type StorageClass$2 as StorageClass, type UpdateSnapshotRequest$3 as UpdateSnapshotRequest, type UpdateVolumeRequest$2 as UpdateVolumeRequest, VOLUME_TRANSIENT_STATUSES$1 as VOLUME_TRANSIENT_STATUSES, validationRules_gen$c as ValidationRules, type Volume$4 as Volume, type index_gen$q_VolumeSpecifications as VolumeSpecifications, type index_gen$q_VolumeStatus as VolumeStatus, type VolumeType$3 as VolumeType };
|
|
3611
3594
|
}
|
|
3612
3595
|
|
|
3613
3596
|
declare namespace index$t {
|
|
@@ -12519,6 +12502,8 @@ interface ServerIp {
|
|
|
12519
12502
|
/** Tags associated with the IP. */
|
|
12520
12503
|
tags: string[];
|
|
12521
12504
|
state: ServerIpState;
|
|
12505
|
+
/** The ip_id of an IPAM ip if the ip is created from IPAM, null if not. */
|
|
12506
|
+
ipamId: string;
|
|
12522
12507
|
}
|
|
12523
12508
|
interface ServerIpv6 {
|
|
12524
12509
|
/** Instance IPv6 IP-Address. */
|
|
@@ -12688,6 +12673,7 @@ interface Ip$1 {
|
|
|
12688
12673
|
type: IpType;
|
|
12689
12674
|
state: IpState;
|
|
12690
12675
|
prefix: string;
|
|
12676
|
+
ipamId: string;
|
|
12691
12677
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
12692
12678
|
zone: Zone;
|
|
12693
12679
|
}
|
|
@@ -16464,6 +16450,12 @@ interface Resource {
|
|
|
16464
16450
|
*/
|
|
16465
16451
|
name?: string;
|
|
16466
16452
|
}
|
|
16453
|
+
interface Reverse {
|
|
16454
|
+
/** Reverse domain name. */
|
|
16455
|
+
hostname: string;
|
|
16456
|
+
/** IP corresponding to the hostname. */
|
|
16457
|
+
address?: string;
|
|
16458
|
+
}
|
|
16467
16459
|
interface Source {
|
|
16468
16460
|
/**
|
|
16469
16461
|
* This source is global.
|
|
@@ -16506,6 +16498,8 @@ interface IP$1 {
|
|
|
16506
16498
|
resource?: Resource;
|
|
16507
16499
|
/** Tags for the IP. */
|
|
16508
16500
|
tags: string[];
|
|
16501
|
+
/** Array of reverses associated with the IP. */
|
|
16502
|
+
reverses: Reverse[];
|
|
16509
16503
|
/** Region of the IP. */
|
|
16510
16504
|
region: Region;
|
|
16511
16505
|
/** Zone of the IP, if zonal. */
|
|
@@ -16631,6 +16625,11 @@ type UpdateIPRequest$1 = {
|
|
|
16631
16625
|
ipId: string;
|
|
16632
16626
|
/** Tags for the IP. */
|
|
16633
16627
|
tags?: string[];
|
|
16628
|
+
/**
|
|
16629
|
+
* Array of reverse domain names associated with an IP in the subnet of the
|
|
16630
|
+
* current IP.
|
|
16631
|
+
*/
|
|
16632
|
+
reverses?: Reverse[];
|
|
16634
16633
|
};
|
|
16635
16634
|
|
|
16636
16635
|
/**
|
|
@@ -16703,9 +16702,10 @@ type index_gen$h_BookIPRequest = BookIPRequest;
|
|
|
16703
16702
|
type index_gen$h_ReleaseIPRequest = ReleaseIPRequest;
|
|
16704
16703
|
type index_gen$h_Resource = Resource;
|
|
16705
16704
|
type index_gen$h_ResourceType = ResourceType;
|
|
16705
|
+
type index_gen$h_Reverse = Reverse;
|
|
16706
16706
|
type index_gen$h_Source = Source;
|
|
16707
16707
|
declare namespace index_gen$h {
|
|
16708
|
-
export { API$h as API, type index_gen$h_BookIPRequest as BookIPRequest, type GetIPRequest$1 as GetIPRequest, type IP$1 as IP, type ListIPsRequest$3 as ListIPsRequest, type ListIPsRequestOrderBy$1 as ListIPsRequestOrderBy, type ListIPsResponse$1 as ListIPsResponse, type index_gen$h_ReleaseIPRequest as ReleaseIPRequest, type index_gen$h_Resource as Resource, type index_gen$h_ResourceType as ResourceType, type index_gen$h_Source as Source, type UpdateIPRequest$1 as UpdateIPRequest, validationRules_gen$6 as ValidationRules };
|
|
16708
|
+
export { API$h as API, type index_gen$h_BookIPRequest as BookIPRequest, type GetIPRequest$1 as GetIPRequest, type IP$1 as IP, type ListIPsRequest$3 as ListIPsRequest, type ListIPsRequestOrderBy$1 as ListIPsRequestOrderBy, type ListIPsResponse$1 as ListIPsResponse, type index_gen$h_ReleaseIPRequest as ReleaseIPRequest, type index_gen$h_Resource as Resource, type index_gen$h_ResourceType as ResourceType, type index_gen$h_Reverse as Reverse, type index_gen$h_Source as Source, type UpdateIPRequest$1 as UpdateIPRequest, validationRules_gen$6 as ValidationRules };
|
|
16709
16709
|
}
|
|
16710
16710
|
|
|
16711
16711
|
declare namespace index$i {
|
|
@@ -17279,6 +17279,14 @@ declare namespace index$h {
|
|
|
17279
17279
|
type JobRunState = 'unknown_state' | 'queued' | 'scheduled' | 'running' | 'succeeded' | 'failed' | 'canceled';
|
|
17280
17280
|
type ListJobDefinitionsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
17281
17281
|
type ListJobRunsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
17282
|
+
interface CronSchedule$1 {
|
|
17283
|
+
schedule: string;
|
|
17284
|
+
timezone: string;
|
|
17285
|
+
}
|
|
17286
|
+
interface CreateJobDefinitionRequestCronScheduleConfig$1 {
|
|
17287
|
+
schedule: string;
|
|
17288
|
+
timezone: string;
|
|
17289
|
+
}
|
|
17282
17290
|
interface JobDefinition {
|
|
17283
17291
|
id: string;
|
|
17284
17292
|
name: string;
|
|
@@ -17292,6 +17300,7 @@ interface JobDefinition {
|
|
|
17292
17300
|
environmentVariables: Record<string, string>;
|
|
17293
17301
|
description: string;
|
|
17294
17302
|
jobTimeout?: string;
|
|
17303
|
+
cronSchedule?: CronSchedule$1;
|
|
17295
17304
|
/**
|
|
17296
17305
|
* Region to target. If none is passed will use default region from the
|
|
17297
17306
|
* config.
|
|
@@ -17316,21 +17325,35 @@ interface JobRun {
|
|
|
17316
17325
|
*/
|
|
17317
17326
|
region: Region;
|
|
17318
17327
|
}
|
|
17328
|
+
interface UpdateJobDefinitionRequestCronScheduleConfig$1 {
|
|
17329
|
+
schedule?: string;
|
|
17330
|
+
timezone?: string;
|
|
17331
|
+
}
|
|
17319
17332
|
type CreateJobDefinitionRequest$1 = {
|
|
17320
17333
|
/**
|
|
17321
17334
|
* Region to target. If none is passed will use default region from the
|
|
17322
17335
|
* config.
|
|
17323
17336
|
*/
|
|
17324
17337
|
region?: Region;
|
|
17338
|
+
/** Name of the job definition. */
|
|
17325
17339
|
name?: string;
|
|
17340
|
+
/** CPU limit of the job. */
|
|
17326
17341
|
cpuLimit: number;
|
|
17342
|
+
/** Memory limit of the job. */
|
|
17327
17343
|
memoryLimit: number;
|
|
17344
|
+
/** Image to use for the job. */
|
|
17328
17345
|
imageUri: string;
|
|
17346
|
+
/** Startup command. */
|
|
17329
17347
|
command: string;
|
|
17348
|
+
/** UUID of the Scaleway Project containing the job. */
|
|
17330
17349
|
projectId?: string;
|
|
17350
|
+
/** Environment variables of the job. */
|
|
17331
17351
|
environmentVariables?: Record<string, string>;
|
|
17352
|
+
/** Description of the job. */
|
|
17332
17353
|
description: string;
|
|
17354
|
+
/** Timeout of the job in seconds. */
|
|
17333
17355
|
jobTimeout?: string;
|
|
17356
|
+
cronSchedule?: CreateJobDefinitionRequestCronScheduleConfig$1;
|
|
17334
17357
|
};
|
|
17335
17358
|
type DeleteJobDefinitionRequest = {
|
|
17336
17359
|
/**
|
|
@@ -17338,6 +17361,7 @@ type DeleteJobDefinitionRequest = {
|
|
|
17338
17361
|
* config.
|
|
17339
17362
|
*/
|
|
17340
17363
|
region?: Region;
|
|
17364
|
+
/** UUID of the job definition to delete. */
|
|
17341
17365
|
jobDefinitionId: string;
|
|
17342
17366
|
};
|
|
17343
17367
|
type GetJobDefinitionRequest = {
|
|
@@ -17346,6 +17370,7 @@ type GetJobDefinitionRequest = {
|
|
|
17346
17370
|
* config.
|
|
17347
17371
|
*/
|
|
17348
17372
|
region?: Region;
|
|
17373
|
+
/** UUID of the job definition to get. */
|
|
17349
17374
|
jobDefinitionId: string;
|
|
17350
17375
|
};
|
|
17351
17376
|
type GetJobRunRequest = {
|
|
@@ -17354,6 +17379,7 @@ type GetJobRunRequest = {
|
|
|
17354
17379
|
* config.
|
|
17355
17380
|
*/
|
|
17356
17381
|
region?: Region;
|
|
17382
|
+
/** UUID of the job run to get. */
|
|
17357
17383
|
jobRunId: string;
|
|
17358
17384
|
};
|
|
17359
17385
|
type ListJobDefinitionsRequest$1 = {
|
|
@@ -17393,6 +17419,7 @@ type StartJobDefinitionRequest = {
|
|
|
17393
17419
|
* config.
|
|
17394
17420
|
*/
|
|
17395
17421
|
region?: Region;
|
|
17422
|
+
/** UUID of the job definition to start. */
|
|
17396
17423
|
jobDefinitionId: string;
|
|
17397
17424
|
};
|
|
17398
17425
|
type StopJobRunRequest = {
|
|
@@ -17401,6 +17428,7 @@ type StopJobRunRequest = {
|
|
|
17401
17428
|
* config.
|
|
17402
17429
|
*/
|
|
17403
17430
|
region?: Region;
|
|
17431
|
+
/** UUID of the job run to stop. */
|
|
17404
17432
|
jobRunId: string;
|
|
17405
17433
|
};
|
|
17406
17434
|
type UpdateJobDefinitionRequest$1 = {
|
|
@@ -17409,34 +17437,99 @@ type UpdateJobDefinitionRequest$1 = {
|
|
|
17409
17437
|
* config.
|
|
17410
17438
|
*/
|
|
17411
17439
|
region?: Region;
|
|
17440
|
+
/** UUID of the job definition to update. */
|
|
17412
17441
|
jobDefinitionId: string;
|
|
17442
|
+
/** Name of the job definition. */
|
|
17413
17443
|
name?: string;
|
|
17444
|
+
/** CPU limit of the job. */
|
|
17414
17445
|
cpuLimit?: number;
|
|
17446
|
+
/** Memory limit of the job. */
|
|
17415
17447
|
memoryLimit?: number;
|
|
17448
|
+
/** Image to use for the job. */
|
|
17416
17449
|
imageUri?: string;
|
|
17450
|
+
/** Startup command. */
|
|
17417
17451
|
command?: string;
|
|
17452
|
+
/** Environment variables of the job. */
|
|
17418
17453
|
environmentVariables?: Record<string, string>;
|
|
17454
|
+
/** Description of the job. */
|
|
17419
17455
|
description?: string;
|
|
17456
|
+
/** Timeout of the job in seconds. */
|
|
17420
17457
|
jobTimeout?: string;
|
|
17458
|
+
cronSchedule?: UpdateJobDefinitionRequestCronScheduleConfig$1;
|
|
17421
17459
|
};
|
|
17422
17460
|
|
|
17423
17461
|
/** Serverless Jobs API. */
|
|
17424
17462
|
declare class API$f extends API$w {
|
|
17425
17463
|
/** Lists the available regions of the API. */
|
|
17426
17464
|
static readonly LOCALITIES: Region[];
|
|
17465
|
+
/**
|
|
17466
|
+
* Create a new job definition in a specified Project.
|
|
17467
|
+
*
|
|
17468
|
+
* @param request - The request {@link CreateJobDefinitionRequest}
|
|
17469
|
+
* @returns A Promise of JobDefinition
|
|
17470
|
+
*/
|
|
17427
17471
|
createJobDefinition: (request: Readonly<CreateJobDefinitionRequest$1>) => Promise<JobDefinition>;
|
|
17472
|
+
/**
|
|
17473
|
+
* Get a job definition by its unique identifier.
|
|
17474
|
+
*
|
|
17475
|
+
* @param request - The request {@link GetJobDefinitionRequest}
|
|
17476
|
+
* @returns A Promise of JobDefinition
|
|
17477
|
+
*/
|
|
17428
17478
|
getJobDefinition: (request: Readonly<GetJobDefinitionRequest>) => Promise<JobDefinition>;
|
|
17429
17479
|
protected pageOfListJobDefinitions: (request?: Readonly<ListJobDefinitionsRequest$1>) => Promise<ListJobDefinitionsResponse>;
|
|
17480
|
+
/**
|
|
17481
|
+
* List all your job definitions with filters.
|
|
17482
|
+
*
|
|
17483
|
+
* @param request - The request {@link ListJobDefinitionsRequest}
|
|
17484
|
+
* @returns A Promise of ListJobDefinitionsResponse
|
|
17485
|
+
*/
|
|
17430
17486
|
listJobDefinitions: (request?: Readonly<ListJobDefinitionsRequest$1>) => Promise<ListJobDefinitionsResponse> & {
|
|
17431
17487
|
all: () => Promise<JobDefinition[]>;
|
|
17432
17488
|
[Symbol.asyncIterator]: () => AsyncGenerator<JobDefinition[], void, void>;
|
|
17433
17489
|
};
|
|
17490
|
+
/**
|
|
17491
|
+
* Update an existing job definition associated with the specified unique
|
|
17492
|
+
* identifier.
|
|
17493
|
+
*
|
|
17494
|
+
* @param request - The request {@link UpdateJobDefinitionRequest}
|
|
17495
|
+
* @returns A Promise of JobDefinition
|
|
17496
|
+
*/
|
|
17434
17497
|
updateJobDefinition: (request: Readonly<UpdateJobDefinitionRequest$1>) => Promise<JobDefinition>;
|
|
17498
|
+
/**
|
|
17499
|
+
* Delete an exsisting job definition by its unique identifier.
|
|
17500
|
+
*
|
|
17501
|
+
* @param request - The request {@link DeleteJobDefinitionRequest}
|
|
17502
|
+
*/
|
|
17435
17503
|
deleteJobDefinition: (request: Readonly<DeleteJobDefinitionRequest>) => Promise<void>;
|
|
17504
|
+
/**
|
|
17505
|
+
* Run an existing job definition by its unique identifier. This will create a
|
|
17506
|
+
* new job run.
|
|
17507
|
+
*
|
|
17508
|
+
* @param request - The request {@link StartJobDefinitionRequest}
|
|
17509
|
+
* @returns A Promise of JobRun
|
|
17510
|
+
*/
|
|
17436
17511
|
startJobDefinition: (request: Readonly<StartJobDefinitionRequest>) => Promise<JobRun>;
|
|
17512
|
+
/**
|
|
17513
|
+
* Get a job run by its unique identifier.
|
|
17514
|
+
*
|
|
17515
|
+
* @param request - The request {@link GetJobRunRequest}
|
|
17516
|
+
* @returns A Promise of JobRun
|
|
17517
|
+
*/
|
|
17437
17518
|
getJobRun: (request: Readonly<GetJobRunRequest>) => Promise<JobRun>;
|
|
17519
|
+
/**
|
|
17520
|
+
* Stop a job run by its unique identifier.
|
|
17521
|
+
*
|
|
17522
|
+
* @param request - The request {@link StopJobRunRequest}
|
|
17523
|
+
* @returns A Promise of JobRun
|
|
17524
|
+
*/
|
|
17438
17525
|
stopJobRun: (request: Readonly<StopJobRunRequest>) => Promise<JobRun>;
|
|
17439
17526
|
protected pageOfListJobRuns: (request?: Readonly<ListJobRunsRequest$1>) => Promise<ListJobRunsResponse>;
|
|
17527
|
+
/**
|
|
17528
|
+
* List all job runs with filters.
|
|
17529
|
+
*
|
|
17530
|
+
* @param request - The request {@link ListJobRunsRequest}
|
|
17531
|
+
* @returns A Promise of ListJobRunsResponse
|
|
17532
|
+
*/
|
|
17440
17533
|
listJobRuns: (request?: Readonly<ListJobRunsRequest$1>) => Promise<ListJobRunsResponse> & {
|
|
17441
17534
|
all: () => Promise<JobRun[]>;
|
|
17442
17535
|
[Symbol.asyncIterator]: () => AsyncGenerator<JobRun[], void, void>;
|
|
@@ -17460,6 +17553,26 @@ declare const CreateJobDefinitionRequest: {
|
|
|
17460
17553
|
pattern: RegExp;
|
|
17461
17554
|
};
|
|
17462
17555
|
};
|
|
17556
|
+
declare const CreateJobDefinitionRequestCronScheduleConfig: {
|
|
17557
|
+
schedule: {
|
|
17558
|
+
maxLength: number;
|
|
17559
|
+
minLength: number;
|
|
17560
|
+
};
|
|
17561
|
+
timezone: {
|
|
17562
|
+
maxLength: number;
|
|
17563
|
+
minLength: number;
|
|
17564
|
+
};
|
|
17565
|
+
};
|
|
17566
|
+
declare const CronSchedule: {
|
|
17567
|
+
schedule: {
|
|
17568
|
+
maxLength: number;
|
|
17569
|
+
minLength: number;
|
|
17570
|
+
};
|
|
17571
|
+
timezone: {
|
|
17572
|
+
maxLength: number;
|
|
17573
|
+
minLength: number;
|
|
17574
|
+
};
|
|
17575
|
+
};
|
|
17463
17576
|
declare const ListJobDefinitionsRequest: {
|
|
17464
17577
|
page: {
|
|
17465
17578
|
greaterThanOrEqual: number;
|
|
@@ -17492,13 +17605,26 @@ declare const UpdateJobDefinitionRequest: {
|
|
|
17492
17605
|
pattern: RegExp;
|
|
17493
17606
|
};
|
|
17494
17607
|
};
|
|
17608
|
+
declare const UpdateJobDefinitionRequestCronScheduleConfig: {
|
|
17609
|
+
schedule: {
|
|
17610
|
+
maxLength: number;
|
|
17611
|
+
minLength: number;
|
|
17612
|
+
};
|
|
17613
|
+
timezone: {
|
|
17614
|
+
maxLength: number;
|
|
17615
|
+
minLength: number;
|
|
17616
|
+
};
|
|
17617
|
+
};
|
|
17495
17618
|
|
|
17496
17619
|
declare const validationRules_gen$5_CreateJobDefinitionRequest: typeof CreateJobDefinitionRequest;
|
|
17620
|
+
declare const validationRules_gen$5_CreateJobDefinitionRequestCronScheduleConfig: typeof CreateJobDefinitionRequestCronScheduleConfig;
|
|
17621
|
+
declare const validationRules_gen$5_CronSchedule: typeof CronSchedule;
|
|
17497
17622
|
declare const validationRules_gen$5_ListJobDefinitionsRequest: typeof ListJobDefinitionsRequest;
|
|
17498
17623
|
declare const validationRules_gen$5_ListJobRunsRequest: typeof ListJobRunsRequest;
|
|
17499
17624
|
declare const validationRules_gen$5_UpdateJobDefinitionRequest: typeof UpdateJobDefinitionRequest;
|
|
17625
|
+
declare const validationRules_gen$5_UpdateJobDefinitionRequestCronScheduleConfig: typeof UpdateJobDefinitionRequestCronScheduleConfig;
|
|
17500
17626
|
declare namespace validationRules_gen$5 {
|
|
17501
|
-
export { validationRules_gen$5_CreateJobDefinitionRequest as CreateJobDefinitionRequest, validationRules_gen$5_ListJobDefinitionsRequest as ListJobDefinitionsRequest, validationRules_gen$5_ListJobRunsRequest as ListJobRunsRequest, validationRules_gen$5_UpdateJobDefinitionRequest as UpdateJobDefinitionRequest };
|
|
17627
|
+
export { validationRules_gen$5_CreateJobDefinitionRequest as CreateJobDefinitionRequest, validationRules_gen$5_CreateJobDefinitionRequestCronScheduleConfig as CreateJobDefinitionRequestCronScheduleConfig, validationRules_gen$5_CronSchedule as CronSchedule, validationRules_gen$5_ListJobDefinitionsRequest as ListJobDefinitionsRequest, validationRules_gen$5_ListJobRunsRequest as ListJobRunsRequest, validationRules_gen$5_UpdateJobDefinitionRequest as UpdateJobDefinitionRequest, validationRules_gen$5_UpdateJobDefinitionRequestCronScheduleConfig as UpdateJobDefinitionRequestCronScheduleConfig };
|
|
17502
17628
|
}
|
|
17503
17629
|
|
|
17504
17630
|
type index_gen$f_DeleteJobDefinitionRequest = DeleteJobDefinitionRequest;
|
|
@@ -17515,7 +17641,7 @@ type index_gen$f_ListJobRunsResponse = ListJobRunsResponse;
|
|
|
17515
17641
|
type index_gen$f_StartJobDefinitionRequest = StartJobDefinitionRequest;
|
|
17516
17642
|
type index_gen$f_StopJobRunRequest = StopJobRunRequest;
|
|
17517
17643
|
declare namespace index_gen$f {
|
|
17518
|
-
export { API$f as API, type CreateJobDefinitionRequest$1 as CreateJobDefinitionRequest, type index_gen$f_DeleteJobDefinitionRequest as DeleteJobDefinitionRequest, type index_gen$f_GetJobDefinitionRequest as GetJobDefinitionRequest, type index_gen$f_GetJobRunRequest as GetJobRunRequest, index_gen$f_JOB_RUN_TRANSIENT_STATUSES as JOB_RUN_TRANSIENT_STATUSES, type index_gen$f_JobDefinition as JobDefinition, type index_gen$f_JobRun as JobRun, type index_gen$f_JobRunState as JobRunState, type ListJobDefinitionsRequest$1 as ListJobDefinitionsRequest, type index_gen$f_ListJobDefinitionsRequestOrderBy as ListJobDefinitionsRequestOrderBy, type index_gen$f_ListJobDefinitionsResponse as ListJobDefinitionsResponse, type ListJobRunsRequest$1 as ListJobRunsRequest, type index_gen$f_ListJobRunsRequestOrderBy as ListJobRunsRequestOrderBy, type index_gen$f_ListJobRunsResponse as ListJobRunsResponse, type index_gen$f_StartJobDefinitionRequest as StartJobDefinitionRequest, type index_gen$f_StopJobRunRequest as StopJobRunRequest, type UpdateJobDefinitionRequest$1 as UpdateJobDefinitionRequest, validationRules_gen$5 as ValidationRules };
|
|
17644
|
+
export { API$f as API, type CreateJobDefinitionRequest$1 as CreateJobDefinitionRequest, type CreateJobDefinitionRequestCronScheduleConfig$1 as CreateJobDefinitionRequestCronScheduleConfig, type CronSchedule$1 as CronSchedule, type index_gen$f_DeleteJobDefinitionRequest as DeleteJobDefinitionRequest, type index_gen$f_GetJobDefinitionRequest as GetJobDefinitionRequest, type index_gen$f_GetJobRunRequest as GetJobRunRequest, index_gen$f_JOB_RUN_TRANSIENT_STATUSES as JOB_RUN_TRANSIENT_STATUSES, type index_gen$f_JobDefinition as JobDefinition, type index_gen$f_JobRun as JobRun, type index_gen$f_JobRunState as JobRunState, type ListJobDefinitionsRequest$1 as ListJobDefinitionsRequest, type index_gen$f_ListJobDefinitionsRequestOrderBy as ListJobDefinitionsRequestOrderBy, type index_gen$f_ListJobDefinitionsResponse as ListJobDefinitionsResponse, type ListJobRunsRequest$1 as ListJobRunsRequest, type index_gen$f_ListJobRunsRequestOrderBy as ListJobRunsRequestOrderBy, type index_gen$f_ListJobRunsResponse as ListJobRunsResponse, type index_gen$f_StartJobDefinitionRequest as StartJobDefinitionRequest, type index_gen$f_StopJobRunRequest as StopJobRunRequest, type UpdateJobDefinitionRequest$1 as UpdateJobDefinitionRequest, type UpdateJobDefinitionRequestCronScheduleConfig$1 as UpdateJobDefinitionRequestCronScheduleConfig, validationRules_gen$5 as ValidationRules };
|
|
17519
17645
|
}
|
|
17520
17646
|
|
|
17521
17647
|
declare namespace index$g {
|
|
@@ -17861,6 +17987,11 @@ interface CreatePoolRequestUpgradePolicy {
|
|
|
17861
17987
|
maxUnavailable?: number;
|
|
17862
17988
|
maxSurge?: number;
|
|
17863
17989
|
}
|
|
17990
|
+
interface ExternalNodeCoreV1Taint {
|
|
17991
|
+
key: string;
|
|
17992
|
+
value: string;
|
|
17993
|
+
effect: string;
|
|
17994
|
+
}
|
|
17864
17995
|
interface ClusterType {
|
|
17865
17996
|
/** Cluster type name. */
|
|
17866
17997
|
name: string;
|
|
@@ -18294,6 +18425,7 @@ interface ExternalNode {
|
|
|
18294
18425
|
runcVersion: string;
|
|
18295
18426
|
cniPluginsVersion: string;
|
|
18296
18427
|
nodeLabels: Record<string, string>;
|
|
18428
|
+
nodeTaints: ExternalNodeCoreV1Taint[];
|
|
18297
18429
|
}
|
|
18298
18430
|
type GetClusterKubeConfigRequest$1 = {
|
|
18299
18431
|
/**
|
|
@@ -19066,6 +19198,7 @@ type index$f_CreatePoolRequestUpgradePolicy = CreatePoolRequestUpgradePolicy;
|
|
|
19066
19198
|
type index$f_DeleteNodeRequest = DeleteNodeRequest;
|
|
19067
19199
|
type index$f_DeletePoolRequest = DeletePoolRequest;
|
|
19068
19200
|
type index$f_ExternalNode = ExternalNode;
|
|
19201
|
+
type index$f_ExternalNodeCoreV1Taint = ExternalNodeCoreV1Taint;
|
|
19069
19202
|
type index$f_GetNodeRequest = GetNodeRequest;
|
|
19070
19203
|
type index$f_GetPoolRequest = GetPoolRequest;
|
|
19071
19204
|
type index$f_Ingress = Ingress;
|
|
@@ -19100,7 +19233,7 @@ type index$f_UpdatePoolRequestUpgradePolicy = UpdatePoolRequestUpgradePolicy;
|
|
|
19100
19233
|
type index$f_UpgradeClusterRequest = UpgradeClusterRequest;
|
|
19101
19234
|
type index$f_UpgradePoolRequest = UpgradePoolRequest;
|
|
19102
19235
|
declare namespace index$f {
|
|
19103
|
-
export { K8SUtilsAPI as API, type index$f_AutoscalerEstimator as AutoscalerEstimator, type index$f_AutoscalerExpander as AutoscalerExpander, CLUSTER_TRANSIENT_STATUSES$1 as CLUSTER_TRANSIENT_STATUSES, type index$f_CNI as CNI, type Cluster$1 as Cluster, type index$f_ClusterAutoUpgrade as ClusterAutoUpgrade, type index$f_ClusterAutoscalerConfig as ClusterAutoscalerConfig, type index$f_ClusterOpenIDConnectConfig as ClusterOpenIDConnectConfig, type ClusterStatus$1 as ClusterStatus, type index$f_ClusterType as ClusterType, type index$f_ClusterTypeAvailability as ClusterTypeAvailability, type index$f_ClusterTypeResiliency as ClusterTypeResiliency, type CreateClusterRequest$2 as CreateClusterRequest, type index$f_CreateClusterRequestAutoUpgrade as CreateClusterRequestAutoUpgrade, type CreateClusterRequestAutoscalerConfig$1 as CreateClusterRequestAutoscalerConfig, type CreateClusterRequestOpenIDConnectConfig$1 as CreateClusterRequestOpenIDConnectConfig, type CreateClusterRequestPoolConfig$1 as CreateClusterRequestPoolConfig, type index$f_CreateClusterRequestPoolConfigUpgradePolicy as CreateClusterRequestPoolConfigUpgradePolicy, type index$f_CreateExternalNodeRequest as CreateExternalNodeRequest, type CreatePoolRequest$1 as CreatePoolRequest, type index$f_CreatePoolRequestUpgradePolicy as CreatePoolRequestUpgradePolicy, type DeleteClusterRequest$1 as DeleteClusterRequest, type index$f_DeleteNodeRequest as DeleteNodeRequest, type index$f_DeletePoolRequest as DeletePoolRequest, type index$f_ExternalNode as ExternalNode, type GetClusterKubeConfigRequest$1 as GetClusterKubeConfigRequest, type GetClusterRequest$1 as GetClusterRequest, type index$f_GetNodeRequest as GetNodeRequest, type index$f_GetPoolRequest as GetPoolRequest, type GetVersionRequest$1 as GetVersionRequest, type index$f_Ingress as Ingress, type index$f_ListClusterAvailableTypesRequest as ListClusterAvailableTypesRequest, type index$f_ListClusterAvailableTypesResponse as ListClusterAvailableTypesResponse, type index$f_ListClusterAvailableVersionsRequest as ListClusterAvailableVersionsRequest, type index$f_ListClusterAvailableVersionsResponse as ListClusterAvailableVersionsResponse, type ListClusterTypesRequest$1 as ListClusterTypesRequest, type index$f_ListClusterTypesResponse as ListClusterTypesResponse, type ListClustersRequest$2 as ListClustersRequest, type ListClustersRequestOrderBy$1 as ListClustersRequestOrderBy, type ListClustersResponse$1 as ListClustersResponse, type ListNodesRequest$1 as ListNodesRequest, type index$f_ListNodesRequestOrderBy as ListNodesRequestOrderBy, type index$f_ListNodesResponse as ListNodesResponse, type ListPoolsRequest$1 as ListPoolsRequest, type index$f_ListPoolsRequestOrderBy as ListPoolsRequestOrderBy, type index$f_ListPoolsResponse as ListPoolsResponse, type ListVersionsRequest$1 as ListVersionsRequest, type ListVersionsResponse$1 as ListVersionsResponse, type MaintenanceWindow$1 as MaintenanceWindow, type index$f_MaintenanceWindowDayOfTheWeek as MaintenanceWindowDayOfTheWeek, type index$f_MigrateToPrivateNetworkClusterRequest as MigrateToPrivateNetworkClusterRequest, index$f_NODE_TRANSIENT_STATUSES as NODE_TRANSIENT_STATUSES, type index$f_Node as Node, type index$f_NodeStatus as NodeStatus, index$f_POOL_TRANSIENT_STATUSES as POOL_TRANSIENT_STATUSES, type index$f_Pool as Pool, type index$f_PoolStatus as PoolStatus, type index$f_PoolUpgradePolicy as PoolUpgradePolicy, type index$f_PoolVolumeType as PoolVolumeType, type index$f_RebootNodeRequest as RebootNodeRequest, type index$f_ReplaceNodeRequest as ReplaceNodeRequest, type index$f_ResetClusterAdminTokenRequest as ResetClusterAdminTokenRequest, type index$f_Runtime as Runtime, type index$f_SetClusterTypeRequest as SetClusterTypeRequest, type UpdateClusterRequest$2 as UpdateClusterRequest, type index$f_UpdateClusterRequestAutoUpgrade as UpdateClusterRequestAutoUpgrade, type UpdateClusterRequestAutoscalerConfig$1 as UpdateClusterRequestAutoscalerConfig, type index$f_UpdateClusterRequestOpenIDConnectConfig as UpdateClusterRequestOpenIDConnectConfig, type index$f_UpdatePoolRequest as UpdatePoolRequest, type index$f_UpdatePoolRequestUpgradePolicy as UpdatePoolRequestUpgradePolicy, type index$f_UpgradeClusterRequest as UpgradeClusterRequest, type index$f_UpgradePoolRequest as UpgradePoolRequest, validationRules_gen$4 as ValidationRules, type Version$2 as Version };
|
|
19236
|
+
export { K8SUtilsAPI as API, type index$f_AutoscalerEstimator as AutoscalerEstimator, type index$f_AutoscalerExpander as AutoscalerExpander, CLUSTER_TRANSIENT_STATUSES$1 as CLUSTER_TRANSIENT_STATUSES, type index$f_CNI as CNI, type Cluster$1 as Cluster, type index$f_ClusterAutoUpgrade as ClusterAutoUpgrade, type index$f_ClusterAutoscalerConfig as ClusterAutoscalerConfig, type index$f_ClusterOpenIDConnectConfig as ClusterOpenIDConnectConfig, type ClusterStatus$1 as ClusterStatus, type index$f_ClusterType as ClusterType, type index$f_ClusterTypeAvailability as ClusterTypeAvailability, type index$f_ClusterTypeResiliency as ClusterTypeResiliency, type CreateClusterRequest$2 as CreateClusterRequest, type index$f_CreateClusterRequestAutoUpgrade as CreateClusterRequestAutoUpgrade, type CreateClusterRequestAutoscalerConfig$1 as CreateClusterRequestAutoscalerConfig, type CreateClusterRequestOpenIDConnectConfig$1 as CreateClusterRequestOpenIDConnectConfig, type CreateClusterRequestPoolConfig$1 as CreateClusterRequestPoolConfig, type index$f_CreateClusterRequestPoolConfigUpgradePolicy as CreateClusterRequestPoolConfigUpgradePolicy, type index$f_CreateExternalNodeRequest as CreateExternalNodeRequest, type CreatePoolRequest$1 as CreatePoolRequest, type index$f_CreatePoolRequestUpgradePolicy as CreatePoolRequestUpgradePolicy, type DeleteClusterRequest$1 as DeleteClusterRequest, type index$f_DeleteNodeRequest as DeleteNodeRequest, type index$f_DeletePoolRequest as DeletePoolRequest, type index$f_ExternalNode as ExternalNode, type index$f_ExternalNodeCoreV1Taint as ExternalNodeCoreV1Taint, type GetClusterKubeConfigRequest$1 as GetClusterKubeConfigRequest, type GetClusterRequest$1 as GetClusterRequest, type index$f_GetNodeRequest as GetNodeRequest, type index$f_GetPoolRequest as GetPoolRequest, type GetVersionRequest$1 as GetVersionRequest, type index$f_Ingress as Ingress, type index$f_ListClusterAvailableTypesRequest as ListClusterAvailableTypesRequest, type index$f_ListClusterAvailableTypesResponse as ListClusterAvailableTypesResponse, type index$f_ListClusterAvailableVersionsRequest as ListClusterAvailableVersionsRequest, type index$f_ListClusterAvailableVersionsResponse as ListClusterAvailableVersionsResponse, type ListClusterTypesRequest$1 as ListClusterTypesRequest, type index$f_ListClusterTypesResponse as ListClusterTypesResponse, type ListClustersRequest$2 as ListClustersRequest, type ListClustersRequestOrderBy$1 as ListClustersRequestOrderBy, type ListClustersResponse$1 as ListClustersResponse, type ListNodesRequest$1 as ListNodesRequest, type index$f_ListNodesRequestOrderBy as ListNodesRequestOrderBy, type index$f_ListNodesResponse as ListNodesResponse, type ListPoolsRequest$1 as ListPoolsRequest, type index$f_ListPoolsRequestOrderBy as ListPoolsRequestOrderBy, type index$f_ListPoolsResponse as ListPoolsResponse, type ListVersionsRequest$1 as ListVersionsRequest, type ListVersionsResponse$1 as ListVersionsResponse, type MaintenanceWindow$1 as MaintenanceWindow, type index$f_MaintenanceWindowDayOfTheWeek as MaintenanceWindowDayOfTheWeek, type index$f_MigrateToPrivateNetworkClusterRequest as MigrateToPrivateNetworkClusterRequest, index$f_NODE_TRANSIENT_STATUSES as NODE_TRANSIENT_STATUSES, type index$f_Node as Node, type index$f_NodeStatus as NodeStatus, index$f_POOL_TRANSIENT_STATUSES as POOL_TRANSIENT_STATUSES, type index$f_Pool as Pool, type index$f_PoolStatus as PoolStatus, type index$f_PoolUpgradePolicy as PoolUpgradePolicy, type index$f_PoolVolumeType as PoolVolumeType, type index$f_RebootNodeRequest as RebootNodeRequest, type index$f_ReplaceNodeRequest as ReplaceNodeRequest, type index$f_ResetClusterAdminTokenRequest as ResetClusterAdminTokenRequest, type index$f_Runtime as Runtime, type index$f_SetClusterTypeRequest as SetClusterTypeRequest, type UpdateClusterRequest$2 as UpdateClusterRequest, type index$f_UpdateClusterRequestAutoUpgrade as UpdateClusterRequestAutoUpgrade, type UpdateClusterRequestAutoscalerConfig$1 as UpdateClusterRequestAutoscalerConfig, type index$f_UpdateClusterRequestOpenIDConnectConfig as UpdateClusterRequestOpenIDConnectConfig, type index$f_UpdatePoolRequest as UpdatePoolRequest, type index$f_UpdatePoolRequestUpgradePolicy as UpdatePoolRequestUpgradePolicy, type index$f_UpgradeClusterRequest as UpgradeClusterRequest, type index$f_UpgradePoolRequest as UpgradePoolRequest, validationRules_gen$4 as ValidationRules, type Version$2 as Version };
|
|
19104
19237
|
}
|
|
19105
19238
|
|
|
19106
19239
|
declare namespace index$e {
|
|
@@ -19954,6 +20087,8 @@ type CreateIpRequest = {
|
|
|
19954
20087
|
projectId?: string;
|
|
19955
20088
|
/** Reverse DNS (domain name) for the IP address. */
|
|
19956
20089
|
reverse?: string;
|
|
20090
|
+
/** If true, creates a Flexible IP with an ipv6 address. */
|
|
20091
|
+
isIpv6: boolean;
|
|
19957
20092
|
};
|
|
19958
20093
|
type CreateLbRequest = {
|
|
19959
20094
|
/**
|
|
@@ -19989,6 +20124,13 @@ type CreateLbRequest = {
|
|
|
19989
20124
|
* value is `false` (do not assign).
|
|
19990
20125
|
*/
|
|
19991
20126
|
assignFlexibleIp?: boolean;
|
|
20127
|
+
/**
|
|
20128
|
+
* Defines whether to automatically assign a flexible public IPv6 to the Load
|
|
20129
|
+
* Balancer. Default value is `false` (do not assign).
|
|
20130
|
+
*/
|
|
20131
|
+
assignFlexibleIpv6?: boolean;
|
|
20132
|
+
/** List of IP IDs to attach to the Load Balancer. */
|
|
20133
|
+
ipIds?: string[];
|
|
19992
20134
|
/** List of tags for the Load Balancer. */
|
|
19993
20135
|
tags?: string[];
|
|
19994
20136
|
/**
|
|
@@ -20797,6 +20939,8 @@ type UpdateIpRequest = {
|
|
|
20797
20939
|
ipId: string;
|
|
20798
20940
|
/** Reverse DNS (domain name) for the IP address. */
|
|
20799
20941
|
reverse?: string;
|
|
20942
|
+
/** ID of the server on which to attach the flexible IP. */
|
|
20943
|
+
lbId?: string;
|
|
20800
20944
|
};
|
|
20801
20945
|
type UpdateLbRequest = {
|
|
20802
20946
|
/**
|
|
@@ -21070,6 +21214,8 @@ type ZonedApiCreateIpRequest = {
|
|
|
21070
21214
|
projectId?: string;
|
|
21071
21215
|
/** Reverse DNS (domain name) for the IP address. */
|
|
21072
21216
|
reverse?: string;
|
|
21217
|
+
/** If true, creates a Flexible IP with an ipv6 address. */
|
|
21218
|
+
isIpv6: boolean;
|
|
21073
21219
|
};
|
|
21074
21220
|
type ZonedApiCreateLbRequest = {
|
|
21075
21221
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
@@ -21102,6 +21248,13 @@ type ZonedApiCreateLbRequest = {
|
|
|
21102
21248
|
* value is `false` (do not assign).
|
|
21103
21249
|
*/
|
|
21104
21250
|
assignFlexibleIp?: boolean;
|
|
21251
|
+
/**
|
|
21252
|
+
* Defines whether to automatically assign a flexible public IPv6 to the Load
|
|
21253
|
+
* Balancer. Default value is `false` (do not assign).
|
|
21254
|
+
*/
|
|
21255
|
+
assignFlexibleIpv6?: boolean;
|
|
21256
|
+
/** List of IP IDs to attach to the Load Balancer. */
|
|
21257
|
+
ipIds?: string[];
|
|
21105
21258
|
/** List of tags for the Load Balancer. */
|
|
21106
21259
|
tags?: string[];
|
|
21107
21260
|
/**
|
|
@@ -21719,6 +21872,8 @@ type ZonedApiUpdateIpRequest = {
|
|
|
21719
21872
|
ipId: string;
|
|
21720
21873
|
/** Reverse DNS (domain name) for the IP address. */
|
|
21721
21874
|
reverse?: string;
|
|
21875
|
+
/** ID of the server on which to attach the flexible IP. */
|
|
21876
|
+
lbId?: string;
|
|
21722
21877
|
};
|
|
21723
21878
|
type ZonedApiUpdateLbRequest = {
|
|
21724
21879
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
@@ -21875,7 +22030,7 @@ declare class ZonedAPI extends API$w {
|
|
|
21875
22030
|
* @param request - The request {@link ZonedApiCreateIpRequest}
|
|
21876
22031
|
* @returns A Promise of Ip
|
|
21877
22032
|
*/
|
|
21878
|
-
createIp: (request
|
|
22033
|
+
createIp: (request: Readonly<ZonedApiCreateIpRequest>) => Promise<Ip>;
|
|
21879
22034
|
/**
|
|
21880
22035
|
* Get an IP address. Retrieve the full details of a Load Balancer flexible IP
|
|
21881
22036
|
* address.
|
|
@@ -22411,7 +22566,7 @@ declare class API$d extends API$w {
|
|
|
22411
22566
|
* @param request - The request {@link CreateIpRequest}
|
|
22412
22567
|
* @returns A Promise of Ip
|
|
22413
22568
|
*/
|
|
22414
|
-
createIp: (request
|
|
22569
|
+
createIp: (request: Readonly<CreateIpRequest>) => Promise<Ip>;
|
|
22415
22570
|
/**
|
|
22416
22571
|
* Get an IP.
|
|
22417
22572
|
*
|
|
@@ -27634,13 +27789,35 @@ declare namespace index$7 {
|
|
|
27634
27789
|
export { index_gen$9 as v1 };
|
|
27635
27790
|
}
|
|
27636
27791
|
|
|
27792
|
+
type EphemeralPolicyAction = 'unknown_action' | 'delete' | 'disable';
|
|
27637
27793
|
type ListFoldersRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
27638
27794
|
type ListSecretsRequestOrderBy = 'name_asc' | 'name_desc' | 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
|
|
27639
27795
|
type Product = 'unknown' | 'edge_services';
|
|
27640
|
-
type SecretEphemeralAction = 'unknown_ephemeral_action' | 'delete_secret' | 'disable_secret';
|
|
27641
27796
|
type SecretStatus = 'ready' | 'locked';
|
|
27642
27797
|
type SecretType = 'unknown_secret_type' | 'opaque' | 'certificate' | 'key_value';
|
|
27643
27798
|
type SecretVersionStatus = 'unknown' | 'enabled' | 'disabled' | 'destroyed';
|
|
27799
|
+
interface EphemeralProperties {
|
|
27800
|
+
/** (Optional.) If not specified, the version does not have an expiration date. */
|
|
27801
|
+
expiresAt?: Date;
|
|
27802
|
+
/**
|
|
27803
|
+
* (Optional.) If not specified, the version can be accessed an unlimited
|
|
27804
|
+
* amount of times.
|
|
27805
|
+
*/
|
|
27806
|
+
expiresOnceAccessed?: boolean;
|
|
27807
|
+
/** See `EphemeralPolicy.Action` enum for a description of values. */
|
|
27808
|
+
action: EphemeralPolicyAction;
|
|
27809
|
+
}
|
|
27810
|
+
interface EphemeralPolicy {
|
|
27811
|
+
/**
|
|
27812
|
+
* Time frame, from one second and up to one year, during which the secret's
|
|
27813
|
+
* versions are valid.
|
|
27814
|
+
*/
|
|
27815
|
+
timeToLive?: string;
|
|
27816
|
+
/** Returns `true` if the version expires after a single user access. */
|
|
27817
|
+
expiresOnceAccessed?: boolean;
|
|
27818
|
+
/** See the `EphemeralPolicy.Action` enum for a description of values. */
|
|
27819
|
+
action: EphemeralPolicyAction;
|
|
27820
|
+
}
|
|
27644
27821
|
interface PasswordGenerationParams {
|
|
27645
27822
|
/** Length of the password to generate (between 1 and 1024). */
|
|
27646
27823
|
length: number;
|
|
@@ -27690,6 +27867,12 @@ interface SecretVersion {
|
|
|
27690
27867
|
description?: string;
|
|
27691
27868
|
/** Returns `true` if the version is the latest. */
|
|
27692
27869
|
isLatest: boolean;
|
|
27870
|
+
/**
|
|
27871
|
+
* Returns the version's expiration date, whether it expires after being
|
|
27872
|
+
* accessed once, and the action to perform (disable or delete) once the
|
|
27873
|
+
* version expires.
|
|
27874
|
+
*/
|
|
27875
|
+
ephemeralProperties?: EphemeralProperties;
|
|
27693
27876
|
}
|
|
27694
27877
|
interface Secret {
|
|
27695
27878
|
/** ID of the secret. */
|
|
@@ -27722,10 +27905,11 @@ interface Secret {
|
|
|
27722
27905
|
type: SecretType;
|
|
27723
27906
|
/** Location of the secret in the directory structure. */
|
|
27724
27907
|
path: string;
|
|
27725
|
-
/**
|
|
27726
|
-
|
|
27727
|
-
|
|
27728
|
-
|
|
27908
|
+
/**
|
|
27909
|
+
* (Optional.) Policy that defines whether/when a secret's versions expire. By
|
|
27910
|
+
* default, the policy is applied to all the secret's versions.
|
|
27911
|
+
*/
|
|
27912
|
+
ephemeralPolicy?: EphemeralPolicy;
|
|
27729
27913
|
/** Region of the secret. */
|
|
27730
27914
|
region: Region;
|
|
27731
27915
|
}
|
|
@@ -27839,10 +28023,11 @@ type CreateSecretRequest = {
|
|
|
27839
28023
|
* specified, the path is `/`.
|
|
27840
28024
|
*/
|
|
27841
28025
|
path?: string;
|
|
27842
|
-
/**
|
|
27843
|
-
|
|
27844
|
-
|
|
27845
|
-
|
|
28026
|
+
/**
|
|
28027
|
+
* (Optional.) Policy that defines whether/when a secret's versions expire. By
|
|
28028
|
+
* default, the policy is applied to all the secret's versions.
|
|
28029
|
+
*/
|
|
28030
|
+
ephemeralPolicy?: EphemeralPolicy;
|
|
27846
28031
|
};
|
|
27847
28032
|
type CreateSecretVersionRequest = {
|
|
27848
28033
|
/**
|
|
@@ -28191,6 +28376,8 @@ type UpdateSecretRequest = {
|
|
|
28191
28376
|
* specified, the path is `/`.
|
|
28192
28377
|
*/
|
|
28193
28378
|
path?: string;
|
|
28379
|
+
/** (Optional.) Policy that defines whether/when a secret's versions expire. */
|
|
28380
|
+
ephemeralPolicy?: EphemeralPolicy;
|
|
28194
28381
|
};
|
|
28195
28382
|
type UpdateSecretVersionRequest = {
|
|
28196
28383
|
/**
|
|
@@ -28211,6 +28398,12 @@ type UpdateSecretVersionRequest = {
|
|
|
28211
28398
|
revision: string;
|
|
28212
28399
|
/** Description of the version. */
|
|
28213
28400
|
description?: string;
|
|
28401
|
+
/**
|
|
28402
|
+
* (Optional.) Properties that defines the version's expiration date, whether
|
|
28403
|
+
* it expires after being accessed once, and the action to perform (disable or
|
|
28404
|
+
* delete) once the version expires.
|
|
28405
|
+
*/
|
|
28406
|
+
ephemeralProperties?: EphemeralProperties;
|
|
28214
28407
|
};
|
|
28215
28408
|
|
|
28216
28409
|
/**
|
|
@@ -28259,9 +28452,9 @@ declare class API$7 extends API$w {
|
|
|
28259
28452
|
*/
|
|
28260
28453
|
getSecretByName: (request: Readonly<GetSecretByNameRequest>) => Promise<Secret>;
|
|
28261
28454
|
/**
|
|
28262
|
-
* Update metadata of a secret. Edit a secret's metadata such as name, tag(s)
|
|
28263
|
-
* and
|
|
28264
|
-
* `region` parameters.
|
|
28455
|
+
* Update metadata of a secret. Edit a secret's metadata such as name, tag(s),
|
|
28456
|
+
* description and ephemeral policy. The secret to update is specified by the
|
|
28457
|
+
* `secret_id` and `region` parameters.
|
|
28265
28458
|
*
|
|
28266
28459
|
* @param request - The request {@link UpdateSecretRequest}
|
|
28267
28460
|
* @returns A Promise of Secret
|
|
@@ -28484,6 +28677,9 @@ type index_gen$8_DeleteSecretRequest = DeleteSecretRequest;
|
|
|
28484
28677
|
type index_gen$8_DestroySecretVersionRequest = DestroySecretVersionRequest;
|
|
28485
28678
|
type index_gen$8_DisableSecretVersionRequest = DisableSecretVersionRequest;
|
|
28486
28679
|
type index_gen$8_EnableSecretVersionRequest = EnableSecretVersionRequest;
|
|
28680
|
+
type index_gen$8_EphemeralPolicy = EphemeralPolicy;
|
|
28681
|
+
type index_gen$8_EphemeralPolicyAction = EphemeralPolicyAction;
|
|
28682
|
+
type index_gen$8_EphemeralProperties = EphemeralProperties;
|
|
28487
28683
|
type index_gen$8_Folder = Folder;
|
|
28488
28684
|
type index_gen$8_GeneratePasswordRequest = GeneratePasswordRequest;
|
|
28489
28685
|
type index_gen$8_GetSecretByNameRequest = GetSecretByNameRequest;
|
|
@@ -28505,7 +28701,6 @@ type index_gen$8_PasswordGenerationParams = PasswordGenerationParams;
|
|
|
28505
28701
|
type index_gen$8_Product = Product;
|
|
28506
28702
|
type index_gen$8_ProtectSecretRequest = ProtectSecretRequest;
|
|
28507
28703
|
type index_gen$8_Secret = Secret;
|
|
28508
|
-
type index_gen$8_SecretEphemeralAction = SecretEphemeralAction;
|
|
28509
28704
|
type index_gen$8_SecretStatus = SecretStatus;
|
|
28510
28705
|
type index_gen$8_SecretType = SecretType;
|
|
28511
28706
|
type index_gen$8_SecretVersion = SecretVersion;
|
|
@@ -28514,7 +28709,7 @@ type index_gen$8_UnprotectSecretRequest = UnprotectSecretRequest;
|
|
|
28514
28709
|
type index_gen$8_UpdateSecretRequest = UpdateSecretRequest;
|
|
28515
28710
|
type index_gen$8_UpdateSecretVersionRequest = UpdateSecretVersionRequest;
|
|
28516
28711
|
declare namespace index_gen$8 {
|
|
28517
|
-
export { API$7 as API, type index_gen$8_AccessSecretVersionByNameRequest as AccessSecretVersionByNameRequest, type index_gen$8_AccessSecretVersionRequest as AccessSecretVersionRequest, type index_gen$8_AccessSecretVersionResponse as AccessSecretVersionResponse, type index_gen$8_AddSecretOwnerRequest as AddSecretOwnerRequest, type index_gen$8_CreateFolderRequest as CreateFolderRequest, type index_gen$8_CreateSecretRequest as CreateSecretRequest, type index_gen$8_CreateSecretVersionRequest as CreateSecretVersionRequest, type index_gen$8_DeleteFolderRequest as DeleteFolderRequest, type index_gen$8_DeleteSecretRequest as DeleteSecretRequest, type index_gen$8_DestroySecretVersionRequest as DestroySecretVersionRequest, type index_gen$8_DisableSecretVersionRequest as DisableSecretVersionRequest, type index_gen$8_EnableSecretVersionRequest as EnableSecretVersionRequest, type index_gen$8_Folder as Folder, type index_gen$8_GeneratePasswordRequest as GeneratePasswordRequest, type index_gen$8_GetSecretByNameRequest as GetSecretByNameRequest, type index_gen$8_GetSecretRequest as GetSecretRequest, type index_gen$8_GetSecretVersionByNameRequest as GetSecretVersionByNameRequest, type index_gen$8_GetSecretVersionRequest as GetSecretVersionRequest, type index_gen$8_ListFoldersRequest as ListFoldersRequest, type index_gen$8_ListFoldersRequestOrderBy as ListFoldersRequestOrderBy, type index_gen$8_ListFoldersResponse as ListFoldersResponse, type index_gen$8_ListSecretVersionsByNameRequest as ListSecretVersionsByNameRequest, type index_gen$8_ListSecretVersionsRequest as ListSecretVersionsRequest, type index_gen$8_ListSecretVersionsResponse as ListSecretVersionsResponse, type index_gen$8_ListSecretsRequest as ListSecretsRequest, type index_gen$8_ListSecretsRequestOrderBy as ListSecretsRequestOrderBy, type index_gen$8_ListSecretsResponse as ListSecretsResponse, type index_gen$8_ListTagsRequest as ListTagsRequest, type index_gen$8_ListTagsResponse as ListTagsResponse, type index_gen$8_PasswordGenerationParams as PasswordGenerationParams, type index_gen$8_Product as Product, type index_gen$8_ProtectSecretRequest as ProtectSecretRequest, type index_gen$8_Secret as Secret, type index_gen$
|
|
28712
|
+
export { API$7 as API, type index_gen$8_AccessSecretVersionByNameRequest as AccessSecretVersionByNameRequest, type index_gen$8_AccessSecretVersionRequest as AccessSecretVersionRequest, type index_gen$8_AccessSecretVersionResponse as AccessSecretVersionResponse, type index_gen$8_AddSecretOwnerRequest as AddSecretOwnerRequest, type index_gen$8_CreateFolderRequest as CreateFolderRequest, type index_gen$8_CreateSecretRequest as CreateSecretRequest, type index_gen$8_CreateSecretVersionRequest as CreateSecretVersionRequest, type index_gen$8_DeleteFolderRequest as DeleteFolderRequest, type index_gen$8_DeleteSecretRequest as DeleteSecretRequest, type index_gen$8_DestroySecretVersionRequest as DestroySecretVersionRequest, type index_gen$8_DisableSecretVersionRequest as DisableSecretVersionRequest, type index_gen$8_EnableSecretVersionRequest as EnableSecretVersionRequest, type index_gen$8_EphemeralPolicy as EphemeralPolicy, type index_gen$8_EphemeralPolicyAction as EphemeralPolicyAction, type index_gen$8_EphemeralProperties as EphemeralProperties, type index_gen$8_Folder as Folder, type index_gen$8_GeneratePasswordRequest as GeneratePasswordRequest, type index_gen$8_GetSecretByNameRequest as GetSecretByNameRequest, type index_gen$8_GetSecretRequest as GetSecretRequest, type index_gen$8_GetSecretVersionByNameRequest as GetSecretVersionByNameRequest, type index_gen$8_GetSecretVersionRequest as GetSecretVersionRequest, type index_gen$8_ListFoldersRequest as ListFoldersRequest, type index_gen$8_ListFoldersRequestOrderBy as ListFoldersRequestOrderBy, type index_gen$8_ListFoldersResponse as ListFoldersResponse, type index_gen$8_ListSecretVersionsByNameRequest as ListSecretVersionsByNameRequest, type index_gen$8_ListSecretVersionsRequest as ListSecretVersionsRequest, type index_gen$8_ListSecretVersionsResponse as ListSecretVersionsResponse, type index_gen$8_ListSecretsRequest as ListSecretsRequest, type index_gen$8_ListSecretsRequestOrderBy as ListSecretsRequestOrderBy, type index_gen$8_ListSecretsResponse as ListSecretsResponse, type index_gen$8_ListTagsRequest as ListTagsRequest, type index_gen$8_ListTagsResponse as ListTagsResponse, type index_gen$8_PasswordGenerationParams as PasswordGenerationParams, type index_gen$8_Product as Product, type index_gen$8_ProtectSecretRequest as ProtectSecretRequest, type index_gen$8_Secret as Secret, type index_gen$8_SecretStatus as SecretStatus, type index_gen$8_SecretType as SecretType, type index_gen$8_SecretVersion as SecretVersion, type index_gen$8_SecretVersionStatus as SecretVersionStatus, type index_gen$8_UnprotectSecretRequest as UnprotectSecretRequest, type index_gen$8_UpdateSecretRequest as UpdateSecretRequest, type index_gen$8_UpdateSecretVersionRequest as UpdateSecretVersionRequest };
|
|
28518
28713
|
}
|
|
28519
28714
|
|
|
28520
28715
|
declare namespace index$6 {
|
package/dist/scw/constants.js
CHANGED