@scaleway/sdk 2.8.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/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 -12
- package/dist/index.d.ts +232 -20
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -12502,6 +12502,8 @@ interface ServerIp {
|
|
|
12502
12502
|
/** Tags associated with the IP. */
|
|
12503
12503
|
tags: string[];
|
|
12504
12504
|
state: ServerIpState;
|
|
12505
|
+
/** The ip_id of an IPAM ip if the ip is created from IPAM, null if not. */
|
|
12506
|
+
ipamId: string;
|
|
12505
12507
|
}
|
|
12506
12508
|
interface ServerIpv6 {
|
|
12507
12509
|
/** Instance IPv6 IP-Address. */
|
|
@@ -12671,6 +12673,7 @@ interface Ip$1 {
|
|
|
12671
12673
|
type: IpType;
|
|
12672
12674
|
state: IpState;
|
|
12673
12675
|
prefix: string;
|
|
12676
|
+
ipamId: string;
|
|
12674
12677
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
12675
12678
|
zone: Zone;
|
|
12676
12679
|
}
|
|
@@ -16447,6 +16450,12 @@ interface Resource {
|
|
|
16447
16450
|
*/
|
|
16448
16451
|
name?: string;
|
|
16449
16452
|
}
|
|
16453
|
+
interface Reverse {
|
|
16454
|
+
/** Reverse domain name. */
|
|
16455
|
+
hostname: string;
|
|
16456
|
+
/** IP corresponding to the hostname. */
|
|
16457
|
+
address?: string;
|
|
16458
|
+
}
|
|
16450
16459
|
interface Source {
|
|
16451
16460
|
/**
|
|
16452
16461
|
* This source is global.
|
|
@@ -16489,6 +16498,8 @@ interface IP$1 {
|
|
|
16489
16498
|
resource?: Resource;
|
|
16490
16499
|
/** Tags for the IP. */
|
|
16491
16500
|
tags: string[];
|
|
16501
|
+
/** Array of reverses associated with the IP. */
|
|
16502
|
+
reverses: Reverse[];
|
|
16492
16503
|
/** Region of the IP. */
|
|
16493
16504
|
region: Region;
|
|
16494
16505
|
/** Zone of the IP, if zonal. */
|
|
@@ -16614,6 +16625,11 @@ type UpdateIPRequest$1 = {
|
|
|
16614
16625
|
ipId: string;
|
|
16615
16626
|
/** Tags for the IP. */
|
|
16616
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[];
|
|
16617
16633
|
};
|
|
16618
16634
|
|
|
16619
16635
|
/**
|
|
@@ -16686,9 +16702,10 @@ type index_gen$h_BookIPRequest = BookIPRequest;
|
|
|
16686
16702
|
type index_gen$h_ReleaseIPRequest = ReleaseIPRequest;
|
|
16687
16703
|
type index_gen$h_Resource = Resource;
|
|
16688
16704
|
type index_gen$h_ResourceType = ResourceType;
|
|
16705
|
+
type index_gen$h_Reverse = Reverse;
|
|
16689
16706
|
type index_gen$h_Source = Source;
|
|
16690
16707
|
declare namespace index_gen$h {
|
|
16691
|
-
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 };
|
|
16692
16709
|
}
|
|
16693
16710
|
|
|
16694
16711
|
declare namespace index$i {
|
|
@@ -17262,6 +17279,14 @@ declare namespace index$h {
|
|
|
17262
17279
|
type JobRunState = 'unknown_state' | 'queued' | 'scheduled' | 'running' | 'succeeded' | 'failed' | 'canceled';
|
|
17263
17280
|
type ListJobDefinitionsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
17264
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
|
+
}
|
|
17265
17290
|
interface JobDefinition {
|
|
17266
17291
|
id: string;
|
|
17267
17292
|
name: string;
|
|
@@ -17275,6 +17300,7 @@ interface JobDefinition {
|
|
|
17275
17300
|
environmentVariables: Record<string, string>;
|
|
17276
17301
|
description: string;
|
|
17277
17302
|
jobTimeout?: string;
|
|
17303
|
+
cronSchedule?: CronSchedule$1;
|
|
17278
17304
|
/**
|
|
17279
17305
|
* Region to target. If none is passed will use default region from the
|
|
17280
17306
|
* config.
|
|
@@ -17299,21 +17325,35 @@ interface JobRun {
|
|
|
17299
17325
|
*/
|
|
17300
17326
|
region: Region;
|
|
17301
17327
|
}
|
|
17328
|
+
interface UpdateJobDefinitionRequestCronScheduleConfig$1 {
|
|
17329
|
+
schedule?: string;
|
|
17330
|
+
timezone?: string;
|
|
17331
|
+
}
|
|
17302
17332
|
type CreateJobDefinitionRequest$1 = {
|
|
17303
17333
|
/**
|
|
17304
17334
|
* Region to target. If none is passed will use default region from the
|
|
17305
17335
|
* config.
|
|
17306
17336
|
*/
|
|
17307
17337
|
region?: Region;
|
|
17338
|
+
/** Name of the job definition. */
|
|
17308
17339
|
name?: string;
|
|
17340
|
+
/** CPU limit of the job. */
|
|
17309
17341
|
cpuLimit: number;
|
|
17342
|
+
/** Memory limit of the job. */
|
|
17310
17343
|
memoryLimit: number;
|
|
17344
|
+
/** Image to use for the job. */
|
|
17311
17345
|
imageUri: string;
|
|
17346
|
+
/** Startup command. */
|
|
17312
17347
|
command: string;
|
|
17348
|
+
/** UUID of the Scaleway Project containing the job. */
|
|
17313
17349
|
projectId?: string;
|
|
17350
|
+
/** Environment variables of the job. */
|
|
17314
17351
|
environmentVariables?: Record<string, string>;
|
|
17352
|
+
/** Description of the job. */
|
|
17315
17353
|
description: string;
|
|
17354
|
+
/** Timeout of the job in seconds. */
|
|
17316
17355
|
jobTimeout?: string;
|
|
17356
|
+
cronSchedule?: CreateJobDefinitionRequestCronScheduleConfig$1;
|
|
17317
17357
|
};
|
|
17318
17358
|
type DeleteJobDefinitionRequest = {
|
|
17319
17359
|
/**
|
|
@@ -17321,6 +17361,7 @@ type DeleteJobDefinitionRequest = {
|
|
|
17321
17361
|
* config.
|
|
17322
17362
|
*/
|
|
17323
17363
|
region?: Region;
|
|
17364
|
+
/** UUID of the job definition to delete. */
|
|
17324
17365
|
jobDefinitionId: string;
|
|
17325
17366
|
};
|
|
17326
17367
|
type GetJobDefinitionRequest = {
|
|
@@ -17329,6 +17370,7 @@ type GetJobDefinitionRequest = {
|
|
|
17329
17370
|
* config.
|
|
17330
17371
|
*/
|
|
17331
17372
|
region?: Region;
|
|
17373
|
+
/** UUID of the job definition to get. */
|
|
17332
17374
|
jobDefinitionId: string;
|
|
17333
17375
|
};
|
|
17334
17376
|
type GetJobRunRequest = {
|
|
@@ -17337,6 +17379,7 @@ type GetJobRunRequest = {
|
|
|
17337
17379
|
* config.
|
|
17338
17380
|
*/
|
|
17339
17381
|
region?: Region;
|
|
17382
|
+
/** UUID of the job run to get. */
|
|
17340
17383
|
jobRunId: string;
|
|
17341
17384
|
};
|
|
17342
17385
|
type ListJobDefinitionsRequest$1 = {
|
|
@@ -17376,6 +17419,7 @@ type StartJobDefinitionRequest = {
|
|
|
17376
17419
|
* config.
|
|
17377
17420
|
*/
|
|
17378
17421
|
region?: Region;
|
|
17422
|
+
/** UUID of the job definition to start. */
|
|
17379
17423
|
jobDefinitionId: string;
|
|
17380
17424
|
};
|
|
17381
17425
|
type StopJobRunRequest = {
|
|
@@ -17384,6 +17428,7 @@ type StopJobRunRequest = {
|
|
|
17384
17428
|
* config.
|
|
17385
17429
|
*/
|
|
17386
17430
|
region?: Region;
|
|
17431
|
+
/** UUID of the job run to stop. */
|
|
17387
17432
|
jobRunId: string;
|
|
17388
17433
|
};
|
|
17389
17434
|
type UpdateJobDefinitionRequest$1 = {
|
|
@@ -17392,34 +17437,99 @@ type UpdateJobDefinitionRequest$1 = {
|
|
|
17392
17437
|
* config.
|
|
17393
17438
|
*/
|
|
17394
17439
|
region?: Region;
|
|
17440
|
+
/** UUID of the job definition to update. */
|
|
17395
17441
|
jobDefinitionId: string;
|
|
17442
|
+
/** Name of the job definition. */
|
|
17396
17443
|
name?: string;
|
|
17444
|
+
/** CPU limit of the job. */
|
|
17397
17445
|
cpuLimit?: number;
|
|
17446
|
+
/** Memory limit of the job. */
|
|
17398
17447
|
memoryLimit?: number;
|
|
17448
|
+
/** Image to use for the job. */
|
|
17399
17449
|
imageUri?: string;
|
|
17450
|
+
/** Startup command. */
|
|
17400
17451
|
command?: string;
|
|
17452
|
+
/** Environment variables of the job. */
|
|
17401
17453
|
environmentVariables?: Record<string, string>;
|
|
17454
|
+
/** Description of the job. */
|
|
17402
17455
|
description?: string;
|
|
17456
|
+
/** Timeout of the job in seconds. */
|
|
17403
17457
|
jobTimeout?: string;
|
|
17458
|
+
cronSchedule?: UpdateJobDefinitionRequestCronScheduleConfig$1;
|
|
17404
17459
|
};
|
|
17405
17460
|
|
|
17406
17461
|
/** Serverless Jobs API. */
|
|
17407
17462
|
declare class API$f extends API$w {
|
|
17408
17463
|
/** Lists the available regions of the API. */
|
|
17409
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
|
+
*/
|
|
17410
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
|
+
*/
|
|
17411
17478
|
getJobDefinition: (request: Readonly<GetJobDefinitionRequest>) => Promise<JobDefinition>;
|
|
17412
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
|
+
*/
|
|
17413
17486
|
listJobDefinitions: (request?: Readonly<ListJobDefinitionsRequest$1>) => Promise<ListJobDefinitionsResponse> & {
|
|
17414
17487
|
all: () => Promise<JobDefinition[]>;
|
|
17415
17488
|
[Symbol.asyncIterator]: () => AsyncGenerator<JobDefinition[], void, void>;
|
|
17416
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
|
+
*/
|
|
17417
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
|
+
*/
|
|
17418
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
|
+
*/
|
|
17419
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
|
+
*/
|
|
17420
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
|
+
*/
|
|
17421
17525
|
stopJobRun: (request: Readonly<StopJobRunRequest>) => Promise<JobRun>;
|
|
17422
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
|
+
*/
|
|
17423
17533
|
listJobRuns: (request?: Readonly<ListJobRunsRequest$1>) => Promise<ListJobRunsResponse> & {
|
|
17424
17534
|
all: () => Promise<JobRun[]>;
|
|
17425
17535
|
[Symbol.asyncIterator]: () => AsyncGenerator<JobRun[], void, void>;
|
|
@@ -17443,6 +17553,26 @@ declare const CreateJobDefinitionRequest: {
|
|
|
17443
17553
|
pattern: RegExp;
|
|
17444
17554
|
};
|
|
17445
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
|
+
};
|
|
17446
17576
|
declare const ListJobDefinitionsRequest: {
|
|
17447
17577
|
page: {
|
|
17448
17578
|
greaterThanOrEqual: number;
|
|
@@ -17475,13 +17605,26 @@ declare const UpdateJobDefinitionRequest: {
|
|
|
17475
17605
|
pattern: RegExp;
|
|
17476
17606
|
};
|
|
17477
17607
|
};
|
|
17608
|
+
declare const UpdateJobDefinitionRequestCronScheduleConfig: {
|
|
17609
|
+
schedule: {
|
|
17610
|
+
maxLength: number;
|
|
17611
|
+
minLength: number;
|
|
17612
|
+
};
|
|
17613
|
+
timezone: {
|
|
17614
|
+
maxLength: number;
|
|
17615
|
+
minLength: number;
|
|
17616
|
+
};
|
|
17617
|
+
};
|
|
17478
17618
|
|
|
17479
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;
|
|
17480
17622
|
declare const validationRules_gen$5_ListJobDefinitionsRequest: typeof ListJobDefinitionsRequest;
|
|
17481
17623
|
declare const validationRules_gen$5_ListJobRunsRequest: typeof ListJobRunsRequest;
|
|
17482
17624
|
declare const validationRules_gen$5_UpdateJobDefinitionRequest: typeof UpdateJobDefinitionRequest;
|
|
17625
|
+
declare const validationRules_gen$5_UpdateJobDefinitionRequestCronScheduleConfig: typeof UpdateJobDefinitionRequestCronScheduleConfig;
|
|
17483
17626
|
declare namespace validationRules_gen$5 {
|
|
17484
|
-
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 };
|
|
17485
17628
|
}
|
|
17486
17629
|
|
|
17487
17630
|
type index_gen$f_DeleteJobDefinitionRequest = DeleteJobDefinitionRequest;
|
|
@@ -17498,7 +17641,7 @@ type index_gen$f_ListJobRunsResponse = ListJobRunsResponse;
|
|
|
17498
17641
|
type index_gen$f_StartJobDefinitionRequest = StartJobDefinitionRequest;
|
|
17499
17642
|
type index_gen$f_StopJobRunRequest = StopJobRunRequest;
|
|
17500
17643
|
declare namespace index_gen$f {
|
|
17501
|
-
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 };
|
|
17502
17645
|
}
|
|
17503
17646
|
|
|
17504
17647
|
declare namespace index$g {
|
|
@@ -17844,6 +17987,11 @@ interface CreatePoolRequestUpgradePolicy {
|
|
|
17844
17987
|
maxUnavailable?: number;
|
|
17845
17988
|
maxSurge?: number;
|
|
17846
17989
|
}
|
|
17990
|
+
interface ExternalNodeCoreV1Taint {
|
|
17991
|
+
key: string;
|
|
17992
|
+
value: string;
|
|
17993
|
+
effect: string;
|
|
17994
|
+
}
|
|
17847
17995
|
interface ClusterType {
|
|
17848
17996
|
/** Cluster type name. */
|
|
17849
17997
|
name: string;
|
|
@@ -18277,6 +18425,7 @@ interface ExternalNode {
|
|
|
18277
18425
|
runcVersion: string;
|
|
18278
18426
|
cniPluginsVersion: string;
|
|
18279
18427
|
nodeLabels: Record<string, string>;
|
|
18428
|
+
nodeTaints: ExternalNodeCoreV1Taint[];
|
|
18280
18429
|
}
|
|
18281
18430
|
type GetClusterKubeConfigRequest$1 = {
|
|
18282
18431
|
/**
|
|
@@ -19049,6 +19198,7 @@ type index$f_CreatePoolRequestUpgradePolicy = CreatePoolRequestUpgradePolicy;
|
|
|
19049
19198
|
type index$f_DeleteNodeRequest = DeleteNodeRequest;
|
|
19050
19199
|
type index$f_DeletePoolRequest = DeletePoolRequest;
|
|
19051
19200
|
type index$f_ExternalNode = ExternalNode;
|
|
19201
|
+
type index$f_ExternalNodeCoreV1Taint = ExternalNodeCoreV1Taint;
|
|
19052
19202
|
type index$f_GetNodeRequest = GetNodeRequest;
|
|
19053
19203
|
type index$f_GetPoolRequest = GetPoolRequest;
|
|
19054
19204
|
type index$f_Ingress = Ingress;
|
|
@@ -19083,7 +19233,7 @@ type index$f_UpdatePoolRequestUpgradePolicy = UpdatePoolRequestUpgradePolicy;
|
|
|
19083
19233
|
type index$f_UpgradeClusterRequest = UpgradeClusterRequest;
|
|
19084
19234
|
type index$f_UpgradePoolRequest = UpgradePoolRequest;
|
|
19085
19235
|
declare namespace index$f {
|
|
19086
|
-
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 };
|
|
19087
19237
|
}
|
|
19088
19238
|
|
|
19089
19239
|
declare namespace index$e {
|
|
@@ -19937,6 +20087,8 @@ type CreateIpRequest = {
|
|
|
19937
20087
|
projectId?: string;
|
|
19938
20088
|
/** Reverse DNS (domain name) for the IP address. */
|
|
19939
20089
|
reverse?: string;
|
|
20090
|
+
/** If true, creates a Flexible IP with an ipv6 address. */
|
|
20091
|
+
isIpv6: boolean;
|
|
19940
20092
|
};
|
|
19941
20093
|
type CreateLbRequest = {
|
|
19942
20094
|
/**
|
|
@@ -19972,6 +20124,13 @@ type CreateLbRequest = {
|
|
|
19972
20124
|
* value is `false` (do not assign).
|
|
19973
20125
|
*/
|
|
19974
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[];
|
|
19975
20134
|
/** List of tags for the Load Balancer. */
|
|
19976
20135
|
tags?: string[];
|
|
19977
20136
|
/**
|
|
@@ -20780,6 +20939,8 @@ type UpdateIpRequest = {
|
|
|
20780
20939
|
ipId: string;
|
|
20781
20940
|
/** Reverse DNS (domain name) for the IP address. */
|
|
20782
20941
|
reverse?: string;
|
|
20942
|
+
/** ID of the server on which to attach the flexible IP. */
|
|
20943
|
+
lbId?: string;
|
|
20783
20944
|
};
|
|
20784
20945
|
type UpdateLbRequest = {
|
|
20785
20946
|
/**
|
|
@@ -21053,6 +21214,8 @@ type ZonedApiCreateIpRequest = {
|
|
|
21053
21214
|
projectId?: string;
|
|
21054
21215
|
/** Reverse DNS (domain name) for the IP address. */
|
|
21055
21216
|
reverse?: string;
|
|
21217
|
+
/** If true, creates a Flexible IP with an ipv6 address. */
|
|
21218
|
+
isIpv6: boolean;
|
|
21056
21219
|
};
|
|
21057
21220
|
type ZonedApiCreateLbRequest = {
|
|
21058
21221
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
@@ -21085,6 +21248,13 @@ type ZonedApiCreateLbRequest = {
|
|
|
21085
21248
|
* value is `false` (do not assign).
|
|
21086
21249
|
*/
|
|
21087
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[];
|
|
21088
21258
|
/** List of tags for the Load Balancer. */
|
|
21089
21259
|
tags?: string[];
|
|
21090
21260
|
/**
|
|
@@ -21702,6 +21872,8 @@ type ZonedApiUpdateIpRequest = {
|
|
|
21702
21872
|
ipId: string;
|
|
21703
21873
|
/** Reverse DNS (domain name) for the IP address. */
|
|
21704
21874
|
reverse?: string;
|
|
21875
|
+
/** ID of the server on which to attach the flexible IP. */
|
|
21876
|
+
lbId?: string;
|
|
21705
21877
|
};
|
|
21706
21878
|
type ZonedApiUpdateLbRequest = {
|
|
21707
21879
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
@@ -21858,7 +22030,7 @@ declare class ZonedAPI extends API$w {
|
|
|
21858
22030
|
* @param request - The request {@link ZonedApiCreateIpRequest}
|
|
21859
22031
|
* @returns A Promise of Ip
|
|
21860
22032
|
*/
|
|
21861
|
-
createIp: (request
|
|
22033
|
+
createIp: (request: Readonly<ZonedApiCreateIpRequest>) => Promise<Ip>;
|
|
21862
22034
|
/**
|
|
21863
22035
|
* Get an IP address. Retrieve the full details of a Load Balancer flexible IP
|
|
21864
22036
|
* address.
|
|
@@ -22394,7 +22566,7 @@ declare class API$d extends API$w {
|
|
|
22394
22566
|
* @param request - The request {@link CreateIpRequest}
|
|
22395
22567
|
* @returns A Promise of Ip
|
|
22396
22568
|
*/
|
|
22397
|
-
createIp: (request
|
|
22569
|
+
createIp: (request: Readonly<CreateIpRequest>) => Promise<Ip>;
|
|
22398
22570
|
/**
|
|
22399
22571
|
* Get an IP.
|
|
22400
22572
|
*
|
|
@@ -27617,13 +27789,35 @@ declare namespace index$7 {
|
|
|
27617
27789
|
export { index_gen$9 as v1 };
|
|
27618
27790
|
}
|
|
27619
27791
|
|
|
27792
|
+
type EphemeralPolicyAction = 'unknown_action' | 'delete' | 'disable';
|
|
27620
27793
|
type ListFoldersRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
27621
27794
|
type ListSecretsRequestOrderBy = 'name_asc' | 'name_desc' | 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
|
|
27622
27795
|
type Product = 'unknown' | 'edge_services';
|
|
27623
|
-
type SecretEphemeralAction = 'unknown_ephemeral_action' | 'delete_secret' | 'disable_secret';
|
|
27624
27796
|
type SecretStatus = 'ready' | 'locked';
|
|
27625
27797
|
type SecretType = 'unknown_secret_type' | 'opaque' | 'certificate' | 'key_value';
|
|
27626
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
|
+
}
|
|
27627
27821
|
interface PasswordGenerationParams {
|
|
27628
27822
|
/** Length of the password to generate (between 1 and 1024). */
|
|
27629
27823
|
length: number;
|
|
@@ -27673,6 +27867,12 @@ interface SecretVersion {
|
|
|
27673
27867
|
description?: string;
|
|
27674
27868
|
/** Returns `true` if the version is the latest. */
|
|
27675
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;
|
|
27676
27876
|
}
|
|
27677
27877
|
interface Secret {
|
|
27678
27878
|
/** ID of the secret. */
|
|
@@ -27705,10 +27905,11 @@ interface Secret {
|
|
|
27705
27905
|
type: SecretType;
|
|
27706
27906
|
/** Location of the secret in the directory structure. */
|
|
27707
27907
|
path: string;
|
|
27708
|
-
/**
|
|
27709
|
-
|
|
27710
|
-
|
|
27711
|
-
|
|
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;
|
|
27712
27913
|
/** Region of the secret. */
|
|
27713
27914
|
region: Region;
|
|
27714
27915
|
}
|
|
@@ -27822,10 +28023,11 @@ type CreateSecretRequest = {
|
|
|
27822
28023
|
* specified, the path is `/`.
|
|
27823
28024
|
*/
|
|
27824
28025
|
path?: string;
|
|
27825
|
-
/**
|
|
27826
|
-
|
|
27827
|
-
|
|
27828
|
-
|
|
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;
|
|
27829
28031
|
};
|
|
27830
28032
|
type CreateSecretVersionRequest = {
|
|
27831
28033
|
/**
|
|
@@ -28174,6 +28376,8 @@ type UpdateSecretRequest = {
|
|
|
28174
28376
|
* specified, the path is `/`.
|
|
28175
28377
|
*/
|
|
28176
28378
|
path?: string;
|
|
28379
|
+
/** (Optional.) Policy that defines whether/when a secret's versions expire. */
|
|
28380
|
+
ephemeralPolicy?: EphemeralPolicy;
|
|
28177
28381
|
};
|
|
28178
28382
|
type UpdateSecretVersionRequest = {
|
|
28179
28383
|
/**
|
|
@@ -28194,6 +28398,12 @@ type UpdateSecretVersionRequest = {
|
|
|
28194
28398
|
revision: string;
|
|
28195
28399
|
/** Description of the version. */
|
|
28196
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;
|
|
28197
28407
|
};
|
|
28198
28408
|
|
|
28199
28409
|
/**
|
|
@@ -28242,9 +28452,9 @@ declare class API$7 extends API$w {
|
|
|
28242
28452
|
*/
|
|
28243
28453
|
getSecretByName: (request: Readonly<GetSecretByNameRequest>) => Promise<Secret>;
|
|
28244
28454
|
/**
|
|
28245
|
-
* Update metadata of a secret. Edit a secret's metadata such as name, tag(s)
|
|
28246
|
-
* and
|
|
28247
|
-
* `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.
|
|
28248
28458
|
*
|
|
28249
28459
|
* @param request - The request {@link UpdateSecretRequest}
|
|
28250
28460
|
* @returns A Promise of Secret
|
|
@@ -28467,6 +28677,9 @@ type index_gen$8_DeleteSecretRequest = DeleteSecretRequest;
|
|
|
28467
28677
|
type index_gen$8_DestroySecretVersionRequest = DestroySecretVersionRequest;
|
|
28468
28678
|
type index_gen$8_DisableSecretVersionRequest = DisableSecretVersionRequest;
|
|
28469
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;
|
|
28470
28683
|
type index_gen$8_Folder = Folder;
|
|
28471
28684
|
type index_gen$8_GeneratePasswordRequest = GeneratePasswordRequest;
|
|
28472
28685
|
type index_gen$8_GetSecretByNameRequest = GetSecretByNameRequest;
|
|
@@ -28488,7 +28701,6 @@ type index_gen$8_PasswordGenerationParams = PasswordGenerationParams;
|
|
|
28488
28701
|
type index_gen$8_Product = Product;
|
|
28489
28702
|
type index_gen$8_ProtectSecretRequest = ProtectSecretRequest;
|
|
28490
28703
|
type index_gen$8_Secret = Secret;
|
|
28491
|
-
type index_gen$8_SecretEphemeralAction = SecretEphemeralAction;
|
|
28492
28704
|
type index_gen$8_SecretStatus = SecretStatus;
|
|
28493
28705
|
type index_gen$8_SecretType = SecretType;
|
|
28494
28706
|
type index_gen$8_SecretVersion = SecretVersion;
|
|
@@ -28497,7 +28709,7 @@ type index_gen$8_UnprotectSecretRequest = UnprotectSecretRequest;
|
|
|
28497
28709
|
type index_gen$8_UpdateSecretRequest = UpdateSecretRequest;
|
|
28498
28710
|
type index_gen$8_UpdateSecretVersionRequest = UpdateSecretVersionRequest;
|
|
28499
28711
|
declare namespace index_gen$8 {
|
|
28500
|
-
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 };
|
|
28501
28713
|
}
|
|
28502
28714
|
|
|
28503
28715
|
declare namespace index$6 {
|
package/dist/scw/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Scaleway SDK.",
|
|
6
6
|
"keywords": [
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"bundledDependencies": [
|
|
36
36
|
"@scaleway/random-name"
|
|
37
37
|
],
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "f60888c378d45911d524e8629278f524f93ed76b"
|
|
39
39
|
}
|