@scaleway/sdk 1.16.0 → 1.18.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/container/v1beta1/api.gen.js +99 -2
- package/dist/api/container/v1beta1/content.gen.js +4 -1
- package/dist/api/container/v1beta1/index.gen.js +1 -1
- package/dist/api/container/v1beta1/marshalling.gen.js +107 -1
- package/dist/api/instance/v1/marshalling.gen.js +1 -0
- package/dist/api/k8s/v1/api.gen.js +13 -1
- package/dist/api/k8s/v1/marshalling.gen.js +13 -1
- package/dist/api/lb/v1/api.gen.js +72 -49
- package/dist/api/lb/v1/marshalling.gen.js +0 -4
- package/dist/api/marketplace/v2/api.gen.js +1 -1
- package/dist/api/marketplace/v2/marshalling.gen.js +1 -0
- package/dist/api/rdb/v1/index.gen.js +2 -0
- package/dist/api/rdb/v1/marshalling.gen.js +2 -0
- package/dist/api/rdb/v1/validation-rules.gen.js +10 -0
- package/dist/api/secret/v1alpha1/api.gen.js +30 -1
- package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -1
- package/dist/api/vpc/v2/api.gen.js +16 -1
- package/dist/api/vpc/v2/marshalling.gen.js +1 -0
- package/dist/api/vpcgw/v1/api.gen.js +1 -1
- package/dist/index.cjs +308 -23
- package/dist/index.d.ts +471 -112
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2666,23 +2666,23 @@ declare const UpdateServerRequest$1: {
|
|
|
2666
2666
|
};
|
|
2667
2667
|
};
|
|
2668
2668
|
|
|
2669
|
-
declare const validationRules_gen$
|
|
2670
|
-
declare const validationRules_gen$
|
|
2671
|
-
declare const validationRules_gen$
|
|
2672
|
-
declare const validationRules_gen$
|
|
2673
|
-
declare const validationRules_gen$
|
|
2674
|
-
declare const validationRules_gen$
|
|
2675
|
-
declare namespace validationRules_gen$
|
|
2669
|
+
declare const validationRules_gen$5_CreateServerRequestInstall: typeof CreateServerRequestInstall;
|
|
2670
|
+
declare const validationRules_gen$5_InstallServerRequest: typeof InstallServerRequest;
|
|
2671
|
+
declare const validationRules_gen$5_ListOSRequest: typeof ListOSRequest;
|
|
2672
|
+
declare const validationRules_gen$5_ListOptionsRequest: typeof ListOptionsRequest;
|
|
2673
|
+
declare const validationRules_gen$5_ListServerEventsRequest: typeof ListServerEventsRequest;
|
|
2674
|
+
declare const validationRules_gen$5_ListSettingsRequest: typeof ListSettingsRequest;
|
|
2675
|
+
declare namespace validationRules_gen$5 {
|
|
2676
2676
|
export {
|
|
2677
2677
|
CreateServerRequest$1 as CreateServerRequest,
|
|
2678
|
-
validationRules_gen$
|
|
2679
|
-
validationRules_gen$
|
|
2680
|
-
validationRules_gen$
|
|
2678
|
+
validationRules_gen$5_CreateServerRequestInstall as CreateServerRequestInstall,
|
|
2679
|
+
validationRules_gen$5_InstallServerRequest as InstallServerRequest,
|
|
2680
|
+
validationRules_gen$5_ListOSRequest as ListOSRequest,
|
|
2681
2681
|
ListOffersRequest$1 as ListOffersRequest,
|
|
2682
|
-
validationRules_gen$
|
|
2683
|
-
validationRules_gen$
|
|
2682
|
+
validationRules_gen$5_ListOptionsRequest as ListOptionsRequest,
|
|
2683
|
+
validationRules_gen$5_ListServerEventsRequest as ListServerEventsRequest,
|
|
2684
2684
|
ListServersRequest$1 as ListServersRequest,
|
|
2685
|
-
validationRules_gen$
|
|
2685
|
+
validationRules_gen$5_ListSettingsRequest as ListSettingsRequest,
|
|
2686
2686
|
UpdateServerRequest$1 as UpdateServerRequest,
|
|
2687
2687
|
};
|
|
2688
2688
|
}
|
|
@@ -2826,7 +2826,7 @@ declare namespace index$r {
|
|
|
2826
2826
|
UpdateIPRequest$1 as UpdateIPRequest,
|
|
2827
2827
|
UpdateServerRequest$2 as UpdateServerRequest,
|
|
2828
2828
|
index$r_UpdateSettingRequest as UpdateSettingRequest,
|
|
2829
|
-
validationRules_gen$
|
|
2829
|
+
validationRules_gen$5 as ValidationRules,
|
|
2830
2830
|
};
|
|
2831
2831
|
}
|
|
2832
2832
|
|
|
@@ -3535,10 +3535,13 @@ type ListDomainsRequestOrderBy$2 = 'created_at_asc' | 'created_at_desc' | 'hostn
|
|
|
3535
3535
|
type ListLogsRequestOrderBy$1 = 'timestamp_desc' | 'timestamp_asc';
|
|
3536
3536
|
type ListNamespacesRequestOrderBy$3 = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
3537
3537
|
type ListTokensRequestOrderBy$1 = 'created_at_asc' | 'created_at_desc';
|
|
3538
|
+
type ListTriggersRequestOrderBy$1 = 'created_at_asc' | 'created_at_desc';
|
|
3538
3539
|
type LogStream$1 = 'unknown' | 'stdout' | 'stderr';
|
|
3539
3540
|
type NamespaceStatus$2 = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked' | 'creating' | 'pending';
|
|
3540
3541
|
type NullValue$2 = 'NULL_VALUE';
|
|
3541
3542
|
type TokenStatus$1 = 'unknown' | 'ready' | 'deleting' | 'error' | 'creating';
|
|
3543
|
+
type TriggerInputType$1 = 'unknown_input_type' | 'sqs' | 'scw_sqs' | 'nats' | 'scw_nats';
|
|
3544
|
+
type TriggerStatus$1 = 'unknown_status' | 'ready' | 'deleting' | 'error' | 'creating' | 'pending';
|
|
3542
3545
|
/** Container. */
|
|
3543
3546
|
interface Container {
|
|
3544
3547
|
/** UUID of the container. */
|
|
@@ -3593,6 +3596,24 @@ interface Container {
|
|
|
3593
3596
|
/** Region in which the container will be deployed. */
|
|
3594
3597
|
region: Region;
|
|
3595
3598
|
}
|
|
3599
|
+
interface CreateTriggerRequestMnqNatsClientConfig$1 {
|
|
3600
|
+
mnqNamespaceId: string;
|
|
3601
|
+
subject: string;
|
|
3602
|
+
mnqProjectId: string;
|
|
3603
|
+
mnqRegion: string;
|
|
3604
|
+
}
|
|
3605
|
+
interface CreateTriggerRequestMnqSqsClientConfig$1 {
|
|
3606
|
+
mnqNamespaceId: string;
|
|
3607
|
+
queue: string;
|
|
3608
|
+
mnqProjectId: string;
|
|
3609
|
+
mnqRegion: string;
|
|
3610
|
+
}
|
|
3611
|
+
interface CreateTriggerRequestSqsClientConfig$1 {
|
|
3612
|
+
endpoint: string;
|
|
3613
|
+
queueUrl: string;
|
|
3614
|
+
accessKey: string;
|
|
3615
|
+
secretKey: string;
|
|
3616
|
+
}
|
|
3596
3617
|
/** Cron. */
|
|
3597
3618
|
interface Cron$1 {
|
|
3598
3619
|
/** UUID of the cron. */
|
|
@@ -3660,6 +3681,10 @@ interface ListTokensResponse$1 {
|
|
|
3660
3681
|
tokens: Token$1[];
|
|
3661
3682
|
totalCount: number;
|
|
3662
3683
|
}
|
|
3684
|
+
interface ListTriggersResponse$1 {
|
|
3685
|
+
triggers: Trigger$1[];
|
|
3686
|
+
totalCount: number;
|
|
3687
|
+
}
|
|
3663
3688
|
/** Log. */
|
|
3664
3689
|
interface Log$1 {
|
|
3665
3690
|
message: string;
|
|
@@ -3734,6 +3759,54 @@ interface Token$1 {
|
|
|
3734
3759
|
/** Expiry date of the token. */
|
|
3735
3760
|
expiresAt?: Date;
|
|
3736
3761
|
}
|
|
3762
|
+
interface Trigger$1 {
|
|
3763
|
+
id: string;
|
|
3764
|
+
name: string;
|
|
3765
|
+
description: string;
|
|
3766
|
+
inputType: TriggerInputType$1;
|
|
3767
|
+
status: TriggerStatus$1;
|
|
3768
|
+
errorMessage?: string;
|
|
3769
|
+
containerId: string;
|
|
3770
|
+
/**
|
|
3771
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'sqsConfig',
|
|
3772
|
+
* 'scwNatsConfig' could be set.
|
|
3773
|
+
*/
|
|
3774
|
+
scwSqsConfig?: TriggerMnqSqsClientConfig$1;
|
|
3775
|
+
/**
|
|
3776
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'sqsConfig',
|
|
3777
|
+
* 'scwNatsConfig' could be set.
|
|
3778
|
+
*/
|
|
3779
|
+
sqsConfig?: TriggerSqsClientConfig$1;
|
|
3780
|
+
/**
|
|
3781
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'sqsConfig',
|
|
3782
|
+
* 'scwNatsConfig' could be set.
|
|
3783
|
+
*/
|
|
3784
|
+
scwNatsConfig?: TriggerMnqNatsClientConfig$1;
|
|
3785
|
+
}
|
|
3786
|
+
interface TriggerMnqNatsClientConfig$1 {
|
|
3787
|
+
mnqNamespaceId: string;
|
|
3788
|
+
subject: string;
|
|
3789
|
+
mnqProjectId: string;
|
|
3790
|
+
mnqRegion: string;
|
|
3791
|
+
mnqCredentialId?: string;
|
|
3792
|
+
}
|
|
3793
|
+
interface TriggerMnqSqsClientConfig$1 {
|
|
3794
|
+
mnqNamespaceId: string;
|
|
3795
|
+
queue: string;
|
|
3796
|
+
mnqProjectId: string;
|
|
3797
|
+
mnqRegion: string;
|
|
3798
|
+
mnqCredentialId?: string;
|
|
3799
|
+
}
|
|
3800
|
+
interface TriggerSqsClientConfig$1 {
|
|
3801
|
+
endpoint: string;
|
|
3802
|
+
queueUrl: string;
|
|
3803
|
+
accessKey: string;
|
|
3804
|
+
secretKey: string;
|
|
3805
|
+
}
|
|
3806
|
+
interface UpdateTriggerRequestSqsClientConfig$1 {
|
|
3807
|
+
accessKey?: string;
|
|
3808
|
+
secretKey?: string;
|
|
3809
|
+
}
|
|
3737
3810
|
type ListNamespacesRequest$3 = {
|
|
3738
3811
|
/**
|
|
3739
3812
|
* Region to target. If none is passed will use default region from the
|
|
@@ -4138,6 +4211,84 @@ type DeleteTokenRequest$1 = {
|
|
|
4138
4211
|
/** UUID of the token to delete. */
|
|
4139
4212
|
tokenId: string;
|
|
4140
4213
|
};
|
|
4214
|
+
type CreateTriggerRequest$1 = {
|
|
4215
|
+
/**
|
|
4216
|
+
* Region to target. If none is passed will use default region from the
|
|
4217
|
+
* config.
|
|
4218
|
+
*/
|
|
4219
|
+
region?: Region;
|
|
4220
|
+
name: string;
|
|
4221
|
+
description?: string;
|
|
4222
|
+
containerId: string;
|
|
4223
|
+
/**
|
|
4224
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'sqsConfig',
|
|
4225
|
+
* 'scwNatsConfig' could be set.
|
|
4226
|
+
*/
|
|
4227
|
+
scwSqsConfig?: CreateTriggerRequestMnqSqsClientConfig$1;
|
|
4228
|
+
/**
|
|
4229
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'sqsConfig',
|
|
4230
|
+
* 'scwNatsConfig' could be set.
|
|
4231
|
+
*/
|
|
4232
|
+
sqsConfig?: CreateTriggerRequestSqsClientConfig$1;
|
|
4233
|
+
/**
|
|
4234
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'sqsConfig',
|
|
4235
|
+
* 'scwNatsConfig' could be set.
|
|
4236
|
+
*/
|
|
4237
|
+
scwNatsConfig?: CreateTriggerRequestMnqNatsClientConfig$1;
|
|
4238
|
+
};
|
|
4239
|
+
type GetTriggerRequest$1 = {
|
|
4240
|
+
/**
|
|
4241
|
+
* Region to target. If none is passed will use default region from the
|
|
4242
|
+
* config.
|
|
4243
|
+
*/
|
|
4244
|
+
region?: Region;
|
|
4245
|
+
triggerId: string;
|
|
4246
|
+
};
|
|
4247
|
+
type ListTriggersRequest$1 = {
|
|
4248
|
+
/**
|
|
4249
|
+
* Region to target. If none is passed will use default region from the
|
|
4250
|
+
* config.
|
|
4251
|
+
*/
|
|
4252
|
+
region?: Region;
|
|
4253
|
+
page?: number;
|
|
4254
|
+
pageSize?: number;
|
|
4255
|
+
orderBy?: ListTriggersRequestOrderBy$1;
|
|
4256
|
+
/**
|
|
4257
|
+
* One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId'
|
|
4258
|
+
* could be set.
|
|
4259
|
+
*/
|
|
4260
|
+
containerId?: string;
|
|
4261
|
+
/**
|
|
4262
|
+
* One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId'
|
|
4263
|
+
* could be set.
|
|
4264
|
+
*/
|
|
4265
|
+
namespaceId?: string;
|
|
4266
|
+
/**
|
|
4267
|
+
* One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId'
|
|
4268
|
+
* could be set.
|
|
4269
|
+
*/
|
|
4270
|
+
projectId?: string;
|
|
4271
|
+
};
|
|
4272
|
+
type UpdateTriggerRequest$1 = {
|
|
4273
|
+
/**
|
|
4274
|
+
* Region to target. If none is passed will use default region from the
|
|
4275
|
+
* config.
|
|
4276
|
+
*/
|
|
4277
|
+
region?: Region;
|
|
4278
|
+
triggerId: string;
|
|
4279
|
+
name?: string;
|
|
4280
|
+
description?: string;
|
|
4281
|
+
/** One-of ('config'): at most one of 'sqsConfig' could be set. */
|
|
4282
|
+
sqsConfig?: UpdateTriggerRequestSqsClientConfig$1;
|
|
4283
|
+
};
|
|
4284
|
+
type DeleteTriggerRequest$1 = {
|
|
4285
|
+
/**
|
|
4286
|
+
* Region to target. If none is passed will use default region from the
|
|
4287
|
+
* config.
|
|
4288
|
+
*/
|
|
4289
|
+
region?: Region;
|
|
4290
|
+
triggerId: string;
|
|
4291
|
+
};
|
|
4141
4292
|
|
|
4142
4293
|
/** Serverless Containers API. */
|
|
4143
4294
|
declare class API$m extends API$s {
|
|
@@ -4397,6 +4548,54 @@ declare class API$m extends API$s {
|
|
|
4397
4548
|
* @returns A Promise of Token
|
|
4398
4549
|
*/
|
|
4399
4550
|
deleteToken: (request: Readonly<DeleteTokenRequest$1>) => Promise<Token$1>;
|
|
4551
|
+
/**
|
|
4552
|
+
* Create a trigger. Create a new trigger for a specified container.
|
|
4553
|
+
*
|
|
4554
|
+
* @param request - The request {@link CreateTriggerRequest}
|
|
4555
|
+
* @returns A Promise of Trigger
|
|
4556
|
+
*/
|
|
4557
|
+
createTrigger: (request: Readonly<CreateTriggerRequest$1>) => Promise<Trigger$1>;
|
|
4558
|
+
/**
|
|
4559
|
+
* Get a trigger. Get a trigger with a specified ID.
|
|
4560
|
+
*
|
|
4561
|
+
* @param request - The request {@link GetTriggerRequest}
|
|
4562
|
+
* @returns A Promise of Trigger
|
|
4563
|
+
*/
|
|
4564
|
+
getTrigger: (request: Readonly<GetTriggerRequest$1>) => Promise<Trigger$1>;
|
|
4565
|
+
/**
|
|
4566
|
+
* Waits for {@link Trigger} to be in a final state.
|
|
4567
|
+
*
|
|
4568
|
+
* @param request - The request {@link GetTriggerRequest}
|
|
4569
|
+
* @param options - The waiting options
|
|
4570
|
+
* @returns A Promise of Trigger
|
|
4571
|
+
*/
|
|
4572
|
+
waitForTrigger: (request: Readonly<GetTriggerRequest$1>, options?: Readonly<WaitForOptions<Trigger$1>>) => Promise<Trigger$1>;
|
|
4573
|
+
protected pageOfListTriggers: (request?: Readonly<ListTriggersRequest$1>) => Promise<ListTriggersResponse$1>;
|
|
4574
|
+
/**
|
|
4575
|
+
* List all triggers. List all triggers belonging to a specified Organization
|
|
4576
|
+
* or Project.
|
|
4577
|
+
*
|
|
4578
|
+
* @param request - The request {@link ListTriggersRequest}
|
|
4579
|
+
* @returns A Promise of ListTriggersResponse
|
|
4580
|
+
*/
|
|
4581
|
+
listTriggers: (request?: Readonly<ListTriggersRequest$1>) => Promise<ListTriggersResponse$1> & {
|
|
4582
|
+
all: () => Promise<Trigger$1[]>;
|
|
4583
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<Trigger$1[], void, void>;
|
|
4584
|
+
};
|
|
4585
|
+
/**
|
|
4586
|
+
* Update a trigger. Update a trigger with a specified ID.
|
|
4587
|
+
*
|
|
4588
|
+
* @param request - The request {@link UpdateTriggerRequest}
|
|
4589
|
+
* @returns A Promise of Trigger
|
|
4590
|
+
*/
|
|
4591
|
+
updateTrigger: (request: Readonly<UpdateTriggerRequest$1>) => Promise<Trigger$1>;
|
|
4592
|
+
/**
|
|
4593
|
+
* Delete a trigger. Delete a trigger with a specified ID.
|
|
4594
|
+
*
|
|
4595
|
+
* @param request - The request {@link DeleteTriggerRequest}
|
|
4596
|
+
* @returns A Promise of Trigger
|
|
4597
|
+
*/
|
|
4598
|
+
deleteTrigger: (request: Readonly<DeleteTriggerRequest$1>) => Promise<Trigger$1>;
|
|
4400
4599
|
}
|
|
4401
4600
|
|
|
4402
4601
|
/** Lists transient statutes of the enum {@link ContainerStatus}. */
|
|
@@ -4409,6 +4608,8 @@ declare const DOMAIN_TRANSIENT_STATUSES$3: DomainStatus$3[];
|
|
|
4409
4608
|
declare const NAMESPACE_TRANSIENT_STATUSES$2: NamespaceStatus$2[];
|
|
4410
4609
|
/** Lists transient statutes of the enum {@link TokenStatus}. */
|
|
4411
4610
|
declare const TOKEN_TRANSIENT_STATUSES$1: TokenStatus$1[];
|
|
4611
|
+
/** Lists transient statutes of the enum {@link TriggerStatus}. */
|
|
4612
|
+
declare const TRIGGER_TRANSIENT_STATUSES$1: TriggerStatus$1[];
|
|
4412
4613
|
|
|
4413
4614
|
declare const index_gen$j_CONTAINER_TRANSIENT_STATUSES: typeof CONTAINER_TRANSIENT_STATUSES;
|
|
4414
4615
|
type index_gen$j_Container = Container;
|
|
@@ -4439,6 +4640,10 @@ declare namespace index_gen$j {
|
|
|
4439
4640
|
CreateDomainRequest$2 as CreateDomainRequest,
|
|
4440
4641
|
CreateNamespaceRequest$3 as CreateNamespaceRequest,
|
|
4441
4642
|
CreateTokenRequest$1 as CreateTokenRequest,
|
|
4643
|
+
CreateTriggerRequest$1 as CreateTriggerRequest,
|
|
4644
|
+
CreateTriggerRequestMnqNatsClientConfig$1 as CreateTriggerRequestMnqNatsClientConfig,
|
|
4645
|
+
CreateTriggerRequestMnqSqsClientConfig$1 as CreateTriggerRequestMnqSqsClientConfig,
|
|
4646
|
+
CreateTriggerRequestSqsClientConfig$1 as CreateTriggerRequestSqsClientConfig,
|
|
4442
4647
|
Cron$1 as Cron,
|
|
4443
4648
|
CronStatus$1 as CronStatus,
|
|
4444
4649
|
DOMAIN_TRANSIENT_STATUSES$3 as DOMAIN_TRANSIENT_STATUSES,
|
|
@@ -4447,6 +4652,7 @@ declare namespace index_gen$j {
|
|
|
4447
4652
|
DeleteDomainRequest$1 as DeleteDomainRequest,
|
|
4448
4653
|
DeleteNamespaceRequest$3 as DeleteNamespaceRequest,
|
|
4449
4654
|
DeleteTokenRequest$1 as DeleteTokenRequest,
|
|
4655
|
+
DeleteTriggerRequest$1 as DeleteTriggerRequest,
|
|
4450
4656
|
index_gen$j_DeployContainerRequest as DeployContainerRequest,
|
|
4451
4657
|
Domain$3 as Domain,
|
|
4452
4658
|
DomainStatus$3 as DomainStatus,
|
|
@@ -4455,6 +4661,7 @@ declare namespace index_gen$j {
|
|
|
4455
4661
|
GetDomainRequest$2 as GetDomainRequest,
|
|
4456
4662
|
GetNamespaceRequest$3 as GetNamespaceRequest,
|
|
4457
4663
|
GetTokenRequest$1 as GetTokenRequest,
|
|
4664
|
+
GetTriggerRequest$1 as GetTriggerRequest,
|
|
4458
4665
|
IssueJWTRequest$1 as IssueJWTRequest,
|
|
4459
4666
|
index_gen$j_ListContainersRequest as ListContainersRequest,
|
|
4460
4667
|
index_gen$j_ListContainersRequestOrderBy as ListContainersRequestOrderBy,
|
|
@@ -4474,6 +4681,9 @@ declare namespace index_gen$j {
|
|
|
4474
4681
|
ListTokensRequest$1 as ListTokensRequest,
|
|
4475
4682
|
ListTokensRequestOrderBy$1 as ListTokensRequestOrderBy,
|
|
4476
4683
|
ListTokensResponse$1 as ListTokensResponse,
|
|
4684
|
+
ListTriggersRequest$1 as ListTriggersRequest,
|
|
4685
|
+
ListTriggersRequestOrderBy$1 as ListTriggersRequestOrderBy,
|
|
4686
|
+
ListTriggersResponse$1 as ListTriggersResponse,
|
|
4477
4687
|
Log$1 as Log,
|
|
4478
4688
|
LogStream$1 as LogStream,
|
|
4479
4689
|
NAMESPACE_TRANSIENT_STATUSES$2 as NAMESPACE_TRANSIENT_STATUSES,
|
|
@@ -4483,11 +4693,20 @@ declare namespace index_gen$j {
|
|
|
4483
4693
|
Secret$2 as Secret,
|
|
4484
4694
|
SecretHashedValue$1 as SecretHashedValue,
|
|
4485
4695
|
TOKEN_TRANSIENT_STATUSES$1 as TOKEN_TRANSIENT_STATUSES,
|
|
4696
|
+
TRIGGER_TRANSIENT_STATUSES$1 as TRIGGER_TRANSIENT_STATUSES,
|
|
4486
4697
|
Token$1 as Token,
|
|
4487
4698
|
TokenStatus$1 as TokenStatus,
|
|
4699
|
+
Trigger$1 as Trigger,
|
|
4700
|
+
TriggerInputType$1 as TriggerInputType,
|
|
4701
|
+
TriggerMnqNatsClientConfig$1 as TriggerMnqNatsClientConfig,
|
|
4702
|
+
TriggerMnqSqsClientConfig$1 as TriggerMnqSqsClientConfig,
|
|
4703
|
+
TriggerSqsClientConfig$1 as TriggerSqsClientConfig,
|
|
4704
|
+
TriggerStatus$1 as TriggerStatus,
|
|
4488
4705
|
index_gen$j_UpdateContainerRequest as UpdateContainerRequest,
|
|
4489
4706
|
UpdateCronRequest$1 as UpdateCronRequest,
|
|
4490
4707
|
UpdateNamespaceRequest$3 as UpdateNamespaceRequest,
|
|
4708
|
+
UpdateTriggerRequest$1 as UpdateTriggerRequest,
|
|
4709
|
+
UpdateTriggerRequestSqsClientConfig$1 as UpdateTriggerRequestSqsClientConfig,
|
|
4491
4710
|
};
|
|
4492
4711
|
}
|
|
4493
4712
|
|
|
@@ -6718,10 +6937,10 @@ declare const ListFlexibleIPsRequest: {
|
|
|
6718
6937
|
};
|
|
6719
6938
|
};
|
|
6720
6939
|
|
|
6721
|
-
declare const validationRules_gen$
|
|
6722
|
-
declare namespace validationRules_gen$
|
|
6940
|
+
declare const validationRules_gen$4_ListFlexibleIPsRequest: typeof ListFlexibleIPsRequest;
|
|
6941
|
+
declare namespace validationRules_gen$4 {
|
|
6723
6942
|
export {
|
|
6724
|
-
validationRules_gen$
|
|
6943
|
+
validationRules_gen$4_ListFlexibleIPsRequest as ListFlexibleIPsRequest,
|
|
6725
6944
|
};
|
|
6726
6945
|
}
|
|
6727
6946
|
|
|
@@ -6771,7 +6990,7 @@ declare namespace index_gen$h {
|
|
|
6771
6990
|
index_gen$h_MAC_ADDRESS_TRANSIENT_STATUSES as MAC_ADDRESS_TRANSIENT_STATUSES,
|
|
6772
6991
|
index_gen$h_MoveMACAddrRequest as MoveMACAddrRequest,
|
|
6773
6992
|
index_gen$h_UpdateFlexibleIPRequest as UpdateFlexibleIPRequest,
|
|
6774
|
-
validationRules_gen$
|
|
6993
|
+
validationRules_gen$4 as ValidationRules,
|
|
6775
6994
|
};
|
|
6776
6995
|
}
|
|
6777
6996
|
|
|
@@ -9490,49 +9709,49 @@ declare const UpdateSSHKeyRequest: {
|
|
|
9490
9709
|
};
|
|
9491
9710
|
};
|
|
9492
9711
|
|
|
9493
|
-
declare const validationRules_gen$
|
|
9494
|
-
declare const validationRules_gen$
|
|
9495
|
-
declare const validationRules_gen$
|
|
9496
|
-
declare const validationRules_gen$
|
|
9497
|
-
declare const validationRules_gen$
|
|
9498
|
-
declare const validationRules_gen$
|
|
9499
|
-
declare const validationRules_gen$
|
|
9500
|
-
declare const validationRules_gen$
|
|
9501
|
-
declare const validationRules_gen$
|
|
9502
|
-
declare const validationRules_gen$
|
|
9503
|
-
declare const validationRules_gen$
|
|
9504
|
-
declare const validationRules_gen$
|
|
9505
|
-
declare const validationRules_gen$
|
|
9506
|
-
declare const validationRules_gen$
|
|
9507
|
-
declare const validationRules_gen$
|
|
9508
|
-
declare const validationRules_gen$
|
|
9509
|
-
declare const validationRules_gen$
|
|
9510
|
-
declare const validationRules_gen$
|
|
9511
|
-
declare const validationRules_gen$
|
|
9512
|
-
declare const validationRules_gen$
|
|
9513
|
-
declare namespace validationRules_gen$
|
|
9712
|
+
declare const validationRules_gen$3_CreateAPIKeyRequest: typeof CreateAPIKeyRequest;
|
|
9713
|
+
declare const validationRules_gen$3_CreateApplicationRequest: typeof CreateApplicationRequest;
|
|
9714
|
+
declare const validationRules_gen$3_CreateGroupRequest: typeof CreateGroupRequest;
|
|
9715
|
+
declare const validationRules_gen$3_CreatePolicyRequest: typeof CreatePolicyRequest;
|
|
9716
|
+
declare const validationRules_gen$3_CreateSSHKeyRequest: typeof CreateSSHKeyRequest;
|
|
9717
|
+
declare const validationRules_gen$3_GetQuotumRequest: typeof GetQuotumRequest;
|
|
9718
|
+
declare const validationRules_gen$3_ListAPIKeysRequest: typeof ListAPIKeysRequest;
|
|
9719
|
+
declare const validationRules_gen$3_ListApplicationsRequest: typeof ListApplicationsRequest;
|
|
9720
|
+
declare const validationRules_gen$3_ListGroupsRequest: typeof ListGroupsRequest;
|
|
9721
|
+
declare const validationRules_gen$3_ListJWTsRequest: typeof ListJWTsRequest;
|
|
9722
|
+
declare const validationRules_gen$3_ListPermissionSetsRequest: typeof ListPermissionSetsRequest;
|
|
9723
|
+
declare const validationRules_gen$3_ListPoliciesRequest: typeof ListPoliciesRequest;
|
|
9724
|
+
declare const validationRules_gen$3_ListQuotaRequest: typeof ListQuotaRequest;
|
|
9725
|
+
declare const validationRules_gen$3_ListRulesRequest: typeof ListRulesRequest;
|
|
9726
|
+
declare const validationRules_gen$3_ListSSHKeysRequest: typeof ListSSHKeysRequest;
|
|
9727
|
+
declare const validationRules_gen$3_UpdateAPIKeyRequest: typeof UpdateAPIKeyRequest;
|
|
9728
|
+
declare const validationRules_gen$3_UpdateApplicationRequest: typeof UpdateApplicationRequest;
|
|
9729
|
+
declare const validationRules_gen$3_UpdateGroupRequest: typeof UpdateGroupRequest;
|
|
9730
|
+
declare const validationRules_gen$3_UpdatePolicyRequest: typeof UpdatePolicyRequest;
|
|
9731
|
+
declare const validationRules_gen$3_UpdateSSHKeyRequest: typeof UpdateSSHKeyRequest;
|
|
9732
|
+
declare namespace validationRules_gen$3 {
|
|
9514
9733
|
export {
|
|
9515
|
-
validationRules_gen$
|
|
9516
|
-
validationRules_gen$
|
|
9517
|
-
validationRules_gen$
|
|
9518
|
-
validationRules_gen$
|
|
9519
|
-
validationRules_gen$
|
|
9520
|
-
validationRules_gen$
|
|
9521
|
-
validationRules_gen$
|
|
9522
|
-
validationRules_gen$
|
|
9523
|
-
validationRules_gen$
|
|
9524
|
-
validationRules_gen$
|
|
9525
|
-
validationRules_gen$
|
|
9526
|
-
validationRules_gen$
|
|
9527
|
-
validationRules_gen$
|
|
9528
|
-
validationRules_gen$
|
|
9529
|
-
validationRules_gen$
|
|
9734
|
+
validationRules_gen$3_CreateAPIKeyRequest as CreateAPIKeyRequest,
|
|
9735
|
+
validationRules_gen$3_CreateApplicationRequest as CreateApplicationRequest,
|
|
9736
|
+
validationRules_gen$3_CreateGroupRequest as CreateGroupRequest,
|
|
9737
|
+
validationRules_gen$3_CreatePolicyRequest as CreatePolicyRequest,
|
|
9738
|
+
validationRules_gen$3_CreateSSHKeyRequest as CreateSSHKeyRequest,
|
|
9739
|
+
validationRules_gen$3_GetQuotumRequest as GetQuotumRequest,
|
|
9740
|
+
validationRules_gen$3_ListAPIKeysRequest as ListAPIKeysRequest,
|
|
9741
|
+
validationRules_gen$3_ListApplicationsRequest as ListApplicationsRequest,
|
|
9742
|
+
validationRules_gen$3_ListGroupsRequest as ListGroupsRequest,
|
|
9743
|
+
validationRules_gen$3_ListJWTsRequest as ListJWTsRequest,
|
|
9744
|
+
validationRules_gen$3_ListPermissionSetsRequest as ListPermissionSetsRequest,
|
|
9745
|
+
validationRules_gen$3_ListPoliciesRequest as ListPoliciesRequest,
|
|
9746
|
+
validationRules_gen$3_ListQuotaRequest as ListQuotaRequest,
|
|
9747
|
+
validationRules_gen$3_ListRulesRequest as ListRulesRequest,
|
|
9748
|
+
validationRules_gen$3_ListSSHKeysRequest as ListSSHKeysRequest,
|
|
9530
9749
|
ListUsersRequest$1 as ListUsersRequest,
|
|
9531
|
-
validationRules_gen$
|
|
9532
|
-
validationRules_gen$
|
|
9533
|
-
validationRules_gen$
|
|
9534
|
-
validationRules_gen$
|
|
9535
|
-
validationRules_gen$
|
|
9750
|
+
validationRules_gen$3_UpdateAPIKeyRequest as UpdateAPIKeyRequest,
|
|
9751
|
+
validationRules_gen$3_UpdateApplicationRequest as UpdateApplicationRequest,
|
|
9752
|
+
validationRules_gen$3_UpdateGroupRequest as UpdateGroupRequest,
|
|
9753
|
+
validationRules_gen$3_UpdatePolicyRequest as UpdatePolicyRequest,
|
|
9754
|
+
validationRules_gen$3_UpdateSSHKeyRequest as UpdateSSHKeyRequest,
|
|
9536
9755
|
};
|
|
9537
9756
|
}
|
|
9538
9757
|
|
|
@@ -9666,7 +9885,7 @@ declare namespace index_gen$f {
|
|
|
9666
9885
|
User$1 as User,
|
|
9667
9886
|
index_gen$f_UserStatus as UserStatus,
|
|
9668
9887
|
index_gen$f_UserType as UserType,
|
|
9669
|
-
validationRules_gen$
|
|
9888
|
+
validationRules_gen$3 as ValidationRules,
|
|
9670
9889
|
};
|
|
9671
9890
|
}
|
|
9672
9891
|
|
|
@@ -10414,21 +10633,21 @@ interface VolumeServer {
|
|
|
10414
10633
|
/** Volume server template. */
|
|
10415
10634
|
interface VolumeServerTemplate {
|
|
10416
10635
|
/** UUID of the volume. */
|
|
10417
|
-
id
|
|
10636
|
+
id?: string;
|
|
10418
10637
|
/** Force the Instance to boot on this volume. */
|
|
10419
|
-
boot
|
|
10638
|
+
boot?: boolean;
|
|
10420
10639
|
/** Name of the volume. */
|
|
10421
|
-
name
|
|
10640
|
+
name?: string;
|
|
10422
10641
|
/** Disk size of the volume, must be a multiple of 512. */
|
|
10423
|
-
size
|
|
10642
|
+
size?: number;
|
|
10424
10643
|
/** Type of the volume. */
|
|
10425
10644
|
volumeType: VolumeVolumeType;
|
|
10426
10645
|
/** ID of the snapshot on which this volume will be based. */
|
|
10427
|
-
baseSnapshot
|
|
10646
|
+
baseSnapshot?: string;
|
|
10428
10647
|
/** Organization ID of the volume. */
|
|
10429
|
-
organization
|
|
10648
|
+
organization?: string;
|
|
10430
10649
|
/** Project ID of the volume. */
|
|
10431
|
-
project
|
|
10650
|
+
project?: string;
|
|
10432
10651
|
}
|
|
10433
10652
|
interface VolumeSummary {
|
|
10434
10653
|
id: string;
|
|
@@ -11149,6 +11368,8 @@ type CreatePrivateNICRequest = {
|
|
|
11149
11368
|
privateNetworkId: string;
|
|
11150
11369
|
/** Private NIC tags. */
|
|
11151
11370
|
tags?: string[];
|
|
11371
|
+
/** Ip_ids defined from IPAM. */
|
|
11372
|
+
ipIds?: string[];
|
|
11152
11373
|
};
|
|
11153
11374
|
type GetPrivateNICRequest = {
|
|
11154
11375
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
@@ -13972,6 +14193,7 @@ declare namespace index$g {
|
|
|
13972
14193
|
|
|
13973
14194
|
type ListPinsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
13974
14195
|
type ListVolumesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
14196
|
+
type PinDetails = 'unknown_details' | 'pinning_looking_for_provider' | 'pinning_in_progress' | 'pinning_blocks_fetched' | 'pinning_fetching_url_data' | 'pinned_ok' | 'unpinned_ok' | 'unpinning_in_progress' | 'failed_contains_banned_cid' | 'failed_pinning' | 'failed_pinning_no_provider' | 'failed_pinning_bad_cid_format' | 'failed_pinning_timeout' | 'failed_pinning_too_big_content' | 'failed_pinning_unreachable_url' | 'failed_pinning_bad_url_format' | 'failed_pinning_no_url_content_length' | 'failed_pinning_bad_url_status_code' | 'failed_unpinning' | 'checking_coherence' | 'rescheduled';
|
|
13975
14197
|
type PinStatus = 'unknown_status' | 'queued' | 'pinning' | 'failed' | 'pinned';
|
|
13976
14198
|
interface ListPinsResponse {
|
|
13977
14199
|
totalCount: number;
|
|
@@ -13999,11 +14221,11 @@ interface PinCIDMeta {
|
|
|
13999
14221
|
id?: string;
|
|
14000
14222
|
}
|
|
14001
14223
|
interface PinInfo {
|
|
14002
|
-
statusDetails?: string;
|
|
14003
14224
|
id?: string;
|
|
14004
14225
|
url?: string;
|
|
14005
14226
|
size?: number;
|
|
14006
14227
|
progress?: number;
|
|
14228
|
+
statusDetails: PinDetails;
|
|
14007
14229
|
}
|
|
14008
14230
|
interface PinOptions {
|
|
14009
14231
|
requiredZones: string[];
|
|
@@ -14273,6 +14495,7 @@ declare const index_gen$d_PIN_TRANSIENT_STATUSES: typeof PIN_TRANSIENT_STATUSES;
|
|
|
14273
14495
|
type index_gen$d_Pin = Pin;
|
|
14274
14496
|
type index_gen$d_PinCID = PinCID;
|
|
14275
14497
|
type index_gen$d_PinCIDMeta = PinCIDMeta;
|
|
14498
|
+
type index_gen$d_PinDetails = PinDetails;
|
|
14276
14499
|
type index_gen$d_PinInfo = PinInfo;
|
|
14277
14500
|
type index_gen$d_PinOptions = PinOptions;
|
|
14278
14501
|
type index_gen$d_PinStatus = PinStatus;
|
|
@@ -14299,6 +14522,7 @@ declare namespace index_gen$d {
|
|
|
14299
14522
|
index_gen$d_Pin as Pin,
|
|
14300
14523
|
index_gen$d_PinCID as PinCID,
|
|
14301
14524
|
index_gen$d_PinCIDMeta as PinCIDMeta,
|
|
14525
|
+
index_gen$d_PinDetails as PinDetails,
|
|
14302
14526
|
index_gen$d_PinInfo as PinInfo,
|
|
14303
14527
|
index_gen$d_PinOptions as PinOptions,
|
|
14304
14528
|
index_gen$d_PinStatus as PinStatus,
|
|
@@ -14393,6 +14617,8 @@ interface Cluster$1 {
|
|
|
14393
14617
|
apiserverCertSans: string[];
|
|
14394
14618
|
/** Private network ID for internal cluster communication. */
|
|
14395
14619
|
privateNetworkId?: string;
|
|
14620
|
+
/** Date on which it will be possible to switch to a smaller offer. */
|
|
14621
|
+
commitmentEndsAt?: Date;
|
|
14396
14622
|
}
|
|
14397
14623
|
/** Cluster. auto upgrade. */
|
|
14398
14624
|
interface ClusterAutoUpgrade {
|
|
@@ -14486,6 +14712,10 @@ interface ClusterType {
|
|
|
14486
14712
|
name: string;
|
|
14487
14713
|
/** Cluster type availability. */
|
|
14488
14714
|
availability: ClusterTypeAvailability;
|
|
14715
|
+
/** Maximum number of nodes supported by the offer. */
|
|
14716
|
+
maxNodes: number;
|
|
14717
|
+
/** Time period during which you can no longer switch to a lower offer. */
|
|
14718
|
+
commitmentDelay?: string;
|
|
14489
14719
|
}
|
|
14490
14720
|
/** Create cluster request. auto upgrade. */
|
|
14491
14721
|
interface CreateClusterRequestAutoUpgrade {
|
|
@@ -14651,6 +14881,13 @@ interface ExternalNode {
|
|
|
14651
14881
|
kubeletConfig: string;
|
|
14652
14882
|
externalIp: string;
|
|
14653
14883
|
}
|
|
14884
|
+
/** List cluster available types response. */
|
|
14885
|
+
interface ListClusterAvailableTypesResponse {
|
|
14886
|
+
/** Available cluster types for the cluster. */
|
|
14887
|
+
clusterTypes: ClusterType[];
|
|
14888
|
+
/** Total number of types. */
|
|
14889
|
+
totalCount: number;
|
|
14890
|
+
}
|
|
14654
14891
|
/** List cluster available versions response. */
|
|
14655
14892
|
interface ListClusterAvailableVersionsResponse {
|
|
14656
14893
|
/** Available Kubernetes versions for the cluster. */
|
|
@@ -15128,6 +15365,15 @@ type ListClusterAvailableVersionsRequest = {
|
|
|
15128
15365
|
/** Cluster ID for which the available Kubernetes versions will be listed. */
|
|
15129
15366
|
clusterId: string;
|
|
15130
15367
|
};
|
|
15368
|
+
type ListClusterAvailableTypesRequest = {
|
|
15369
|
+
/**
|
|
15370
|
+
* Region to target. If none is passed will use default region from the
|
|
15371
|
+
* config.
|
|
15372
|
+
*/
|
|
15373
|
+
region?: Region;
|
|
15374
|
+
/** Cluster ID for which the available Kubernetes types will be listed. */
|
|
15375
|
+
clusterId: string;
|
|
15376
|
+
};
|
|
15131
15377
|
type ResetClusterAdminTokenRequest = {
|
|
15132
15378
|
/**
|
|
15133
15379
|
* Region to target. If none is passed will use default region from the
|
|
@@ -15481,6 +15727,14 @@ declare class API$e extends API$s {
|
|
|
15481
15727
|
* @returns A Promise of ListClusterAvailableVersionsResponse
|
|
15482
15728
|
*/
|
|
15483
15729
|
listClusterAvailableVersions: (request: Readonly<ListClusterAvailableVersionsRequest>) => Promise<ListClusterAvailableVersionsResponse>;
|
|
15730
|
+
/**
|
|
15731
|
+
* List available cluster types for a cluster. List the cluster types that a
|
|
15732
|
+
* specific Kubernetes cluster is allowed to switch to.
|
|
15733
|
+
*
|
|
15734
|
+
* @param request - The request {@link ListClusterAvailableTypesRequest}
|
|
15735
|
+
* @returns A Promise of ListClusterAvailableTypesResponse
|
|
15736
|
+
*/
|
|
15737
|
+
listClusterAvailableTypes: (request: Readonly<ListClusterAvailableTypesRequest>) => Promise<ListClusterAvailableTypesResponse>;
|
|
15484
15738
|
protected _getClusterKubeConfig: (request: Readonly<GetClusterKubeConfigRequest>) => Promise<Blob>;
|
|
15485
15739
|
/**
|
|
15486
15740
|
* Reset the admin token of a Cluster. Reset the admin token for a specific
|
|
@@ -15773,29 +16027,29 @@ declare const UpdateClusterRequestAutoscalerConfig: {
|
|
|
15773
16027
|
};
|
|
15774
16028
|
};
|
|
15775
16029
|
|
|
15776
|
-
declare const validationRules_gen$
|
|
15777
|
-
declare const validationRules_gen$
|
|
15778
|
-
declare const validationRules_gen$
|
|
15779
|
-
declare const validationRules_gen$
|
|
15780
|
-
declare const validationRules_gen$
|
|
15781
|
-
declare const validationRules_gen$
|
|
15782
|
-
declare const validationRules_gen$
|
|
15783
|
-
declare const validationRules_gen$
|
|
15784
|
-
declare const validationRules_gen$
|
|
15785
|
-
declare namespace validationRules_gen$
|
|
16030
|
+
declare const validationRules_gen$2_CreateClusterRequestAutoscalerConfig: typeof CreateClusterRequestAutoscalerConfig;
|
|
16031
|
+
declare const validationRules_gen$2_CreateClusterRequestOpenIDConnectConfig: typeof CreateClusterRequestOpenIDConnectConfig;
|
|
16032
|
+
declare const validationRules_gen$2_CreateClusterRequestPoolConfig: typeof CreateClusterRequestPoolConfig;
|
|
16033
|
+
declare const validationRules_gen$2_CreatePoolRequest: typeof CreatePoolRequest;
|
|
16034
|
+
declare const validationRules_gen$2_ListClusterTypesRequest: typeof ListClusterTypesRequest;
|
|
16035
|
+
declare const validationRules_gen$2_ListNodesRequest: typeof ListNodesRequest;
|
|
16036
|
+
declare const validationRules_gen$2_ListPoolsRequest: typeof ListPoolsRequest;
|
|
16037
|
+
declare const validationRules_gen$2_MaintenanceWindow: typeof MaintenanceWindow;
|
|
16038
|
+
declare const validationRules_gen$2_UpdateClusterRequestAutoscalerConfig: typeof UpdateClusterRequestAutoscalerConfig;
|
|
16039
|
+
declare namespace validationRules_gen$2 {
|
|
15786
16040
|
export {
|
|
15787
16041
|
CreateClusterRequest$1 as CreateClusterRequest,
|
|
15788
|
-
validationRules_gen$
|
|
15789
|
-
validationRules_gen$
|
|
15790
|
-
validationRules_gen$
|
|
15791
|
-
validationRules_gen$
|
|
15792
|
-
validationRules_gen$
|
|
16042
|
+
validationRules_gen$2_CreateClusterRequestAutoscalerConfig as CreateClusterRequestAutoscalerConfig,
|
|
16043
|
+
validationRules_gen$2_CreateClusterRequestOpenIDConnectConfig as CreateClusterRequestOpenIDConnectConfig,
|
|
16044
|
+
validationRules_gen$2_CreateClusterRequestPoolConfig as CreateClusterRequestPoolConfig,
|
|
16045
|
+
validationRules_gen$2_CreatePoolRequest as CreatePoolRequest,
|
|
16046
|
+
validationRules_gen$2_ListClusterTypesRequest as ListClusterTypesRequest,
|
|
15793
16047
|
ListClustersRequest$1 as ListClustersRequest,
|
|
15794
|
-
validationRules_gen$
|
|
15795
|
-
validationRules_gen$
|
|
15796
|
-
validationRules_gen$
|
|
16048
|
+
validationRules_gen$2_ListNodesRequest as ListNodesRequest,
|
|
16049
|
+
validationRules_gen$2_ListPoolsRequest as ListPoolsRequest,
|
|
16050
|
+
validationRules_gen$2_MaintenanceWindow as MaintenanceWindow,
|
|
15797
16051
|
UpdateClusterRequest$1 as UpdateClusterRequest,
|
|
15798
|
-
validationRules_gen$
|
|
16052
|
+
validationRules_gen$2_UpdateClusterRequestAutoscalerConfig as UpdateClusterRequestAutoscalerConfig,
|
|
15799
16053
|
};
|
|
15800
16054
|
}
|
|
15801
16055
|
|
|
@@ -15818,6 +16072,8 @@ type index$e_GetClusterKubeConfigRequest = GetClusterKubeConfigRequest;
|
|
|
15818
16072
|
type index$e_GetNodeRequest = GetNodeRequest;
|
|
15819
16073
|
type index$e_GetPoolRequest = GetPoolRequest;
|
|
15820
16074
|
type index$e_Ingress = Ingress;
|
|
16075
|
+
type index$e_ListClusterAvailableTypesRequest = ListClusterAvailableTypesRequest;
|
|
16076
|
+
type index$e_ListClusterAvailableTypesResponse = ListClusterAvailableTypesResponse;
|
|
15821
16077
|
type index$e_ListClusterAvailableVersionsRequest = ListClusterAvailableVersionsRequest;
|
|
15822
16078
|
type index$e_ListClusterAvailableVersionsResponse = ListClusterAvailableVersionsResponse;
|
|
15823
16079
|
type index$e_ListClusterTypesResponse = ListClusterTypesResponse;
|
|
@@ -15879,6 +16135,8 @@ declare namespace index$e {
|
|
|
15879
16135
|
index$e_GetPoolRequest as GetPoolRequest,
|
|
15880
16136
|
GetVersionRequest$2 as GetVersionRequest,
|
|
15881
16137
|
index$e_Ingress as Ingress,
|
|
16138
|
+
index$e_ListClusterAvailableTypesRequest as ListClusterAvailableTypesRequest,
|
|
16139
|
+
index$e_ListClusterAvailableTypesResponse as ListClusterAvailableTypesResponse,
|
|
15882
16140
|
index$e_ListClusterAvailableVersionsRequest as ListClusterAvailableVersionsRequest,
|
|
15883
16141
|
index$e_ListClusterAvailableVersionsResponse as ListClusterAvailableVersionsResponse,
|
|
15884
16142
|
ListClusterTypesRequest$1 as ListClusterTypesRequest,
|
|
@@ -15918,7 +16176,7 @@ declare namespace index$e {
|
|
|
15918
16176
|
index$e_UpdatePoolRequestUpgradePolicy as UpdatePoolRequestUpgradePolicy,
|
|
15919
16177
|
index$e_UpgradeClusterRequest as UpgradeClusterRequest,
|
|
15920
16178
|
index$e_UpgradePoolRequest as UpgradePoolRequest,
|
|
15921
|
-
validationRules_gen$
|
|
16179
|
+
validationRules_gen$2 as ValidationRules,
|
|
15922
16180
|
Version$2 as Version,
|
|
15923
16181
|
};
|
|
15924
16182
|
}
|
|
@@ -16006,7 +16264,7 @@ interface AclActionRedirect {
|
|
|
16006
16264
|
* `git`) will replace the request's original scheme. This can be useful to
|
|
16007
16265
|
* implement HTTP to HTTPS redirects. Valid placeholders that can be used in a
|
|
16008
16266
|
* `location` redirect to preserve parts of the original request in the
|
|
16009
|
-
* redirection URL are {{
|
|
16267
|
+
* redirection URL are {{host}}, {{query}}, {{path}} and {{scheme}}.
|
|
16010
16268
|
*/
|
|
16011
16269
|
target: string;
|
|
16012
16270
|
/**
|
|
@@ -16740,8 +16998,6 @@ type CreateLbRequest = {
|
|
|
16740
16998
|
* value is `false` (do not assign).
|
|
16741
16999
|
*/
|
|
16742
17000
|
assignFlexibleIp?: boolean;
|
|
16743
|
-
/** List of IP IDs to attach to the Load Balancer. */
|
|
16744
|
-
ipIds?: string[];
|
|
16745
17001
|
/** List of tags for the Load Balancer. */
|
|
16746
17002
|
tags?: string[];
|
|
16747
17003
|
/**
|
|
@@ -16867,8 +17123,6 @@ type CreateIpRequest = {
|
|
|
16867
17123
|
projectId?: string;
|
|
16868
17124
|
/** Reverse DNS (domain name) for the IP address. */
|
|
16869
17125
|
reverse?: string;
|
|
16870
|
-
/** If true, creates a Flexible IP with an ipv6 address. */
|
|
16871
|
-
isIpv6: boolean;
|
|
16872
17126
|
};
|
|
16873
17127
|
type GetIpRequest = {
|
|
16874
17128
|
/**
|
|
@@ -17796,8 +18050,6 @@ type ZonedApiCreateLbRequest = {
|
|
|
17796
18050
|
* value is `false` (do not assign).
|
|
17797
18051
|
*/
|
|
17798
18052
|
assignFlexibleIp?: boolean;
|
|
17799
|
-
/** List of IP IDs to attach to the Load Balancer. */
|
|
17800
|
-
ipIds?: string[];
|
|
17801
18053
|
/** List of tags for the Load Balancer. */
|
|
17802
18054
|
tags?: string[];
|
|
17803
18055
|
/**
|
|
@@ -17905,8 +18157,6 @@ type ZonedApiCreateIpRequest = {
|
|
|
17905
18157
|
projectId?: string;
|
|
17906
18158
|
/** Reverse DNS (domain name) for the IP address. */
|
|
17907
18159
|
reverse?: string;
|
|
17908
|
-
/** If true, creates a Flexible IP with an ipv6 address. */
|
|
17909
|
-
isIpv6: boolean;
|
|
17910
18160
|
};
|
|
17911
18161
|
type ZonedApiGetIpRequest = {
|
|
17912
18162
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
@@ -18736,7 +18986,7 @@ declare class API$d extends API$s {
|
|
|
18736
18986
|
* @param request - The request {@link CreateIpRequest}
|
|
18737
18987
|
* @returns A Promise of Ip
|
|
18738
18988
|
*/
|
|
18739
|
-
createIp: (request
|
|
18989
|
+
createIp: (request?: Readonly<CreateIpRequest>) => Promise<Ip>;
|
|
18740
18990
|
/**
|
|
18741
18991
|
* Get an IP.
|
|
18742
18992
|
*
|
|
@@ -18908,6 +19158,12 @@ declare class API$d extends API$s {
|
|
|
18908
19158
|
*/
|
|
18909
19159
|
getLbStats: (request: Readonly<GetLbStatsRequest>) => Promise<LbStats>;
|
|
18910
19160
|
protected pageOfListBackendStats: (request: Readonly<ListBackendStatsRequest>) => Promise<ListBackendStatsResponse>;
|
|
19161
|
+
/**
|
|
19162
|
+
* List backend server statistics.
|
|
19163
|
+
*
|
|
19164
|
+
* @param request - The request {@link ListBackendStatsRequest}
|
|
19165
|
+
* @returns A Promise of ListBackendStatsResponse
|
|
19166
|
+
*/
|
|
18911
19167
|
listBackendStats: (request: Readonly<ListBackendStatsRequest>) => Promise<ListBackendStatsResponse> & {
|
|
18912
19168
|
all: () => Promise<BackendServerStats[]>;
|
|
18913
19169
|
[Symbol.asyncIterator]: () => AsyncGenerator<BackendServerStats[], void, void>;
|
|
@@ -19182,7 +19438,7 @@ declare class ZonedAPI extends API$s {
|
|
|
19182
19438
|
* @param request - The request {@link ZonedApiCreateIpRequest}
|
|
19183
19439
|
* @returns A Promise of Ip
|
|
19184
19440
|
*/
|
|
19185
|
-
createIp: (request
|
|
19441
|
+
createIp: (request?: Readonly<ZonedApiCreateIpRequest>) => Promise<Ip>;
|
|
19186
19442
|
/**
|
|
19187
19443
|
* Get an IP address. Retrieve the full details of a Load Balancer flexible IP
|
|
19188
19444
|
* address.
|
|
@@ -20217,6 +20473,7 @@ declare namespace index_gen$c {
|
|
|
20217
20473
|
type ListImagesRequestOrderBy$1 = 'name_asc' | 'name_desc' | 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
|
|
20218
20474
|
type ListLocalImagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
20219
20475
|
type ListVersionsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
20476
|
+
type LocalImageType = 'unknown_type' | 'instance_local' | 'instance_sbs';
|
|
20220
20477
|
interface Category {
|
|
20221
20478
|
id: string;
|
|
20222
20479
|
name: string;
|
|
@@ -20277,6 +20534,8 @@ interface LocalImage {
|
|
|
20277
20534
|
zone: Zone;
|
|
20278
20535
|
/** Image label this image belongs to. */
|
|
20279
20536
|
label: string;
|
|
20537
|
+
/** Type of this local image. */
|
|
20538
|
+
type: LocalImageType;
|
|
20280
20539
|
}
|
|
20281
20540
|
/** Version. */
|
|
20282
20541
|
interface Version {
|
|
@@ -20341,6 +20600,7 @@ type ListLocalImagesRequest = {
|
|
|
20341
20600
|
*/
|
|
20342
20601
|
imageLabel?: string;
|
|
20343
20602
|
zone?: Zone;
|
|
20603
|
+
type?: LocalImageType;
|
|
20344
20604
|
};
|
|
20345
20605
|
type GetLocalImageRequest = {
|
|
20346
20606
|
localImageId: string;
|
|
@@ -20455,6 +20715,7 @@ type index_gen$b_ListVersionsRequest = ListVersionsRequest;
|
|
|
20455
20715
|
type index_gen$b_ListVersionsRequestOrderBy = ListVersionsRequestOrderBy;
|
|
20456
20716
|
type index_gen$b_ListVersionsResponse = ListVersionsResponse;
|
|
20457
20717
|
type index_gen$b_LocalImage = LocalImage;
|
|
20718
|
+
type index_gen$b_LocalImageType = LocalImageType;
|
|
20458
20719
|
type index_gen$b_Version = Version;
|
|
20459
20720
|
declare namespace index_gen$b {
|
|
20460
20721
|
export {
|
|
@@ -20477,6 +20738,7 @@ declare namespace index_gen$b {
|
|
|
20477
20738
|
index_gen$b_ListVersionsRequestOrderBy as ListVersionsRequestOrderBy,
|
|
20478
20739
|
index_gen$b_ListVersionsResponse as ListVersionsResponse,
|
|
20479
20740
|
index_gen$b_LocalImage as LocalImage,
|
|
20741
|
+
index_gen$b_LocalImageType as LocalImageType,
|
|
20480
20742
|
index_gen$b_Version as Version,
|
|
20481
20743
|
};
|
|
20482
20744
|
}
|
|
@@ -20933,10 +21195,16 @@ interface AddInstanceSettingsResponse {
|
|
|
20933
21195
|
/** Settings available on the Database Instance. */
|
|
20934
21196
|
settings: InstanceSetting[];
|
|
20935
21197
|
}
|
|
21198
|
+
/** Backup schedule. */
|
|
20936
21199
|
interface BackupSchedule {
|
|
21200
|
+
/** Frequency of the backup schedule (in hours). */
|
|
20937
21201
|
frequency: number;
|
|
21202
|
+
/** Default retention period of backups (in days). */
|
|
20938
21203
|
retention: number;
|
|
21204
|
+
/** Defines whether the backup schedule feature is disabled. */
|
|
20939
21205
|
disabled: boolean;
|
|
21206
|
+
/** Next run of the backup schedule (accurate to 10 minutes). */
|
|
21207
|
+
nextRunAt?: Date;
|
|
20940
21208
|
}
|
|
20941
21209
|
/** Database. */
|
|
20942
21210
|
interface Database {
|
|
@@ -21743,7 +22011,7 @@ type CreateInstanceRequest = {
|
|
|
21743
22011
|
*/
|
|
21744
22012
|
backupSameRegion: boolean;
|
|
21745
22013
|
};
|
|
21746
|
-
type UpdateInstanceRequest = {
|
|
22014
|
+
type UpdateInstanceRequest$1 = {
|
|
21747
22015
|
/**
|
|
21748
22016
|
* Region to target. If none is passed will use default region from the
|
|
21749
22017
|
* config.
|
|
@@ -21765,6 +22033,8 @@ type UpdateInstanceRequest = {
|
|
|
21765
22033
|
logsPolicy?: LogsPolicy;
|
|
21766
22034
|
/** Store logical backups in the same region as the Database Instance. */
|
|
21767
22035
|
backupSameRegion?: boolean;
|
|
22036
|
+
/** Defines the start time of the autobackup. */
|
|
22037
|
+
backupScheduleStartHour?: number;
|
|
21768
22038
|
};
|
|
21769
22039
|
type DeleteInstanceRequest = {
|
|
21770
22040
|
/**
|
|
@@ -22433,7 +22703,7 @@ declare class API$9 extends API$s {
|
|
|
22433
22703
|
* @param request - The request {@link UpdateInstanceRequest}
|
|
22434
22704
|
* @returns A Promise of Instance
|
|
22435
22705
|
*/
|
|
22436
|
-
updateInstance: (request: Readonly<UpdateInstanceRequest>) => Promise<Instance>;
|
|
22706
|
+
updateInstance: (request: Readonly<UpdateInstanceRequest$1>) => Promise<Instance>;
|
|
22437
22707
|
/**
|
|
22438
22708
|
* Delete a Database Instance. Delete a given Database Instance, specified by
|
|
22439
22709
|
* the `region` and `instance_id` parameters. Deleting a Database Instance is
|
|
@@ -22886,6 +23156,19 @@ declare const READ_REPLICA_TRANSIENT_STATUSES: ReadReplicaStatus[];
|
|
|
22886
23156
|
/** Lists transient statutes of the enum {@link SnapshotStatus}. */
|
|
22887
23157
|
declare const SNAPSHOT_TRANSIENT_STATUSES: SnapshotStatus[];
|
|
22888
23158
|
|
|
23159
|
+
declare const UpdateInstanceRequest: {
|
|
23160
|
+
backupScheduleStartHour: {
|
|
23161
|
+
lessThanOrEqual: number;
|
|
23162
|
+
};
|
|
23163
|
+
};
|
|
23164
|
+
|
|
23165
|
+
declare const validationRules_gen$1_UpdateInstanceRequest: typeof UpdateInstanceRequest;
|
|
23166
|
+
declare namespace validationRules_gen$1 {
|
|
23167
|
+
export {
|
|
23168
|
+
validationRules_gen$1_UpdateInstanceRequest as UpdateInstanceRequest,
|
|
23169
|
+
};
|
|
23170
|
+
}
|
|
23171
|
+
|
|
22889
23172
|
type index_gen$9_ACLRuleAction = ACLRuleAction;
|
|
22890
23173
|
type index_gen$9_ACLRuleDirection = ACLRuleDirection;
|
|
22891
23174
|
type index_gen$9_ACLRuleProtocol = ACLRuleProtocol;
|
|
@@ -23006,7 +23289,6 @@ type index_gen$9_SetPrivilegeRequest = SetPrivilegeRequest;
|
|
|
23006
23289
|
type index_gen$9_Snapshot = Snapshot;
|
|
23007
23290
|
type index_gen$9_SnapshotStatus = SnapshotStatus;
|
|
23008
23291
|
type index_gen$9_UpdateDatabaseBackupRequest = UpdateDatabaseBackupRequest;
|
|
23009
|
-
type index_gen$9_UpdateInstanceRequest = UpdateInstanceRequest;
|
|
23010
23292
|
type index_gen$9_UpdateSnapshotRequest = UpdateSnapshotRequest;
|
|
23011
23293
|
type index_gen$9_UpdateUserRequest = UpdateUserRequest;
|
|
23012
23294
|
type index_gen$9_UpgradableVersion = UpgradableVersion;
|
|
@@ -23146,12 +23428,13 @@ declare namespace index_gen$9 {
|
|
|
23146
23428
|
index_gen$9_Snapshot as Snapshot,
|
|
23147
23429
|
index_gen$9_SnapshotStatus as SnapshotStatus,
|
|
23148
23430
|
index_gen$9_UpdateDatabaseBackupRequest as UpdateDatabaseBackupRequest,
|
|
23149
|
-
|
|
23431
|
+
UpdateInstanceRequest$1 as UpdateInstanceRequest,
|
|
23150
23432
|
index_gen$9_UpdateSnapshotRequest as UpdateSnapshotRequest,
|
|
23151
23433
|
index_gen$9_UpdateUserRequest as UpdateUserRequest,
|
|
23152
23434
|
index_gen$9_UpgradableVersion as UpgradableVersion,
|
|
23153
23435
|
index_gen$9_UpgradeInstanceRequest as UpgradeInstanceRequest,
|
|
23154
23436
|
index_gen$9_User as User,
|
|
23437
|
+
validationRules_gen$1 as ValidationRules,
|
|
23155
23438
|
index_gen$9_Volume as Volume,
|
|
23156
23439
|
index_gen$9_VolumeType as VolumeType,
|
|
23157
23440
|
};
|
|
@@ -24555,6 +24838,7 @@ declare namespace index$6 {
|
|
|
24555
24838
|
type ListSecretsRequestOrderBy = 'name_asc' | 'name_desc' | 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
|
|
24556
24839
|
type Product = 'unknown';
|
|
24557
24840
|
type SecretStatus = 'ready' | 'locked';
|
|
24841
|
+
type SecretType = 'unknown_secret_type' | 'opaque' | 'network_edge_certificate';
|
|
24558
24842
|
type SecretVersionStatus = 'unknown' | 'enabled' | 'disabled' | 'destroyed';
|
|
24559
24843
|
/** Access secret version response. */
|
|
24560
24844
|
interface AccessSecretVersionResponse {
|
|
@@ -24616,8 +24900,9 @@ interface Secret {
|
|
|
24616
24900
|
/** Name of the secret. */
|
|
24617
24901
|
name: string;
|
|
24618
24902
|
/**
|
|
24619
|
-
* Current status of the secret. `ready`: the secret
|
|
24620
|
-
* secret
|
|
24903
|
+
* Current status of the secret. `ready`: the secret can be read, modified and
|
|
24904
|
+
* deleted. `locked`: no action can be performed on the secret. This status
|
|
24905
|
+
* can only be applied and removed by Scaleway.
|
|
24621
24906
|
*/
|
|
24622
24907
|
status: SecretStatus;
|
|
24623
24908
|
/** Date and time of the secret's creation. */
|
|
@@ -24630,8 +24915,12 @@ interface Secret {
|
|
|
24630
24915
|
versionCount: number;
|
|
24631
24916
|
/** Updated description of the secret. */
|
|
24632
24917
|
description?: string;
|
|
24633
|
-
/**
|
|
24918
|
+
/** Returns `true` for secrets that are managed by another product. */
|
|
24634
24919
|
isManaged: boolean;
|
|
24920
|
+
/** Returns `true` for protected secrets that cannot be deleted. */
|
|
24921
|
+
isProtected: boolean;
|
|
24922
|
+
/** Type of the secret. See `Secret.Type` enum for description of values. */
|
|
24923
|
+
type: SecretType;
|
|
24635
24924
|
/** Region of the secret. */
|
|
24636
24925
|
region: Region;
|
|
24637
24926
|
}
|
|
@@ -24674,6 +24963,11 @@ type CreateSecretRequest = {
|
|
|
24674
24963
|
tags?: string[];
|
|
24675
24964
|
/** Description of the secret. */
|
|
24676
24965
|
description?: string;
|
|
24966
|
+
/**
|
|
24967
|
+
* Type of the secret. (Optional.) See `Secret.Type` enum for description of
|
|
24968
|
+
* values. If not specified, the type is `Opaque`.
|
|
24969
|
+
*/
|
|
24970
|
+
type?: SecretType;
|
|
24677
24971
|
};
|
|
24678
24972
|
type GetSecretRequest = {
|
|
24679
24973
|
/**
|
|
@@ -24742,20 +25036,35 @@ type DeleteSecretRequest = {
|
|
|
24742
25036
|
/** ID of the secret. */
|
|
24743
25037
|
secretId: string;
|
|
24744
25038
|
};
|
|
24745
|
-
type
|
|
25039
|
+
type ProtectSecretRequest = {
|
|
24746
25040
|
/**
|
|
24747
25041
|
* Region to target. If none is passed will use default region from the
|
|
24748
25042
|
* config.
|
|
24749
25043
|
*/
|
|
24750
25044
|
region?: Region;
|
|
24751
|
-
/** ID of the secret. */
|
|
25045
|
+
/** ID of the secret to protect. */
|
|
25046
|
+
secretId: string;
|
|
25047
|
+
};
|
|
25048
|
+
type UnprotectSecretRequest = {
|
|
25049
|
+
/**
|
|
25050
|
+
* Region to target. If none is passed will use default region from the
|
|
25051
|
+
* config.
|
|
25052
|
+
*/
|
|
25053
|
+
region?: Region;
|
|
25054
|
+
/** ID of the secret to unprotect. */
|
|
24752
25055
|
secretId: string;
|
|
25056
|
+
};
|
|
25057
|
+
type AddSecretOwnerRequest = {
|
|
24753
25058
|
/**
|
|
24754
|
-
*
|
|
24755
|
-
*
|
|
25059
|
+
* Region to target. If none is passed will use default region from the
|
|
25060
|
+
* config.
|
|
24756
25061
|
*/
|
|
25062
|
+
region?: Region;
|
|
25063
|
+
/** ID of the secret. */
|
|
25064
|
+
secretId: string;
|
|
25065
|
+
/** @deprecated (Deprecated: use `product` field) Name of the product to add. */
|
|
24757
25066
|
productName?: string;
|
|
24758
|
-
/** ID of the product to add
|
|
25067
|
+
/** ID of the product to add. See `Product` enum for description of values. */
|
|
24759
25068
|
product?: Product;
|
|
24760
25069
|
};
|
|
24761
25070
|
type CreateSecretVersionRequest = {
|
|
@@ -25062,6 +25371,23 @@ declare class API$6 extends API$s {
|
|
|
25062
25371
|
* @param request - The request {@link DeleteSecretRequest}
|
|
25063
25372
|
*/
|
|
25064
25373
|
deleteSecret: (request: Readonly<DeleteSecretRequest>) => Promise<void>;
|
|
25374
|
+
/**
|
|
25375
|
+
* Protect a secret. Protect a given secret specified by the `secret_id`
|
|
25376
|
+
* parameter. A protected secret can be read and modified but cannot be
|
|
25377
|
+
* deleted.
|
|
25378
|
+
*
|
|
25379
|
+
* @param request - The request {@link ProtectSecretRequest}
|
|
25380
|
+
* @returns A Promise of Secret
|
|
25381
|
+
*/
|
|
25382
|
+
protectSecret: (request: Readonly<ProtectSecretRequest>) => Promise<Secret>;
|
|
25383
|
+
/**
|
|
25384
|
+
* Unprotect a secret. Unprotect a given secret specified by the `secret_id`
|
|
25385
|
+
* parameter. An unprotected secret can be read, modified and deleted.
|
|
25386
|
+
*
|
|
25387
|
+
* @param request - The request {@link UnprotectSecretRequest}
|
|
25388
|
+
* @returns A Promise of Secret
|
|
25389
|
+
*/
|
|
25390
|
+
unprotectSecret: (request: Readonly<UnprotectSecretRequest>) => Promise<Secret>;
|
|
25065
25391
|
/**
|
|
25066
25392
|
* Allow a product to use the secret.
|
|
25067
25393
|
*
|
|
@@ -25181,7 +25507,7 @@ declare class API$6 extends API$s {
|
|
|
25181
25507
|
destroySecretVersion: (request: Readonly<DestroySecretVersionRequest>) => Promise<SecretVersion>;
|
|
25182
25508
|
protected pageOfListTags: (request?: Readonly<ListTagsRequest>) => Promise<ListTagsResponse>;
|
|
25183
25509
|
/**
|
|
25184
|
-
* List tags. List all tags associated
|
|
25510
|
+
* List tags. List all tags associated with secrets within a given Project.
|
|
25185
25511
|
*
|
|
25186
25512
|
* @param request - The request {@link ListTagsRequest}
|
|
25187
25513
|
* @returns A Promise of ListTagsResponse
|
|
@@ -25217,10 +25543,13 @@ type index_gen$6_ListTagsRequest = ListTagsRequest;
|
|
|
25217
25543
|
type index_gen$6_ListTagsResponse = ListTagsResponse;
|
|
25218
25544
|
type index_gen$6_PasswordGenerationParams = PasswordGenerationParams;
|
|
25219
25545
|
type index_gen$6_Product = Product;
|
|
25546
|
+
type index_gen$6_ProtectSecretRequest = ProtectSecretRequest;
|
|
25220
25547
|
type index_gen$6_Secret = Secret;
|
|
25221
25548
|
type index_gen$6_SecretStatus = SecretStatus;
|
|
25549
|
+
type index_gen$6_SecretType = SecretType;
|
|
25222
25550
|
type index_gen$6_SecretVersion = SecretVersion;
|
|
25223
25551
|
type index_gen$6_SecretVersionStatus = SecretVersionStatus;
|
|
25552
|
+
type index_gen$6_UnprotectSecretRequest = UnprotectSecretRequest;
|
|
25224
25553
|
type index_gen$6_UpdateSecretRequest = UpdateSecretRequest;
|
|
25225
25554
|
type index_gen$6_UpdateSecretVersionRequest = UpdateSecretVersionRequest;
|
|
25226
25555
|
declare namespace index_gen$6 {
|
|
@@ -25251,10 +25580,13 @@ declare namespace index_gen$6 {
|
|
|
25251
25580
|
index_gen$6_ListTagsResponse as ListTagsResponse,
|
|
25252
25581
|
index_gen$6_PasswordGenerationParams as PasswordGenerationParams,
|
|
25253
25582
|
index_gen$6_Product as Product,
|
|
25583
|
+
index_gen$6_ProtectSecretRequest as ProtectSecretRequest,
|
|
25254
25584
|
index_gen$6_Secret as Secret,
|
|
25255
25585
|
index_gen$6_SecretStatus as SecretStatus,
|
|
25586
|
+
index_gen$6_SecretType as SecretType,
|
|
25256
25587
|
index_gen$6_SecretVersion as SecretVersion,
|
|
25257
25588
|
index_gen$6_SecretVersionStatus as SecretVersionStatus,
|
|
25589
|
+
index_gen$6_UnprotectSecretRequest as UnprotectSecretRequest,
|
|
25258
25590
|
index_gen$6_UpdateSecretRequest as UpdateSecretRequest,
|
|
25259
25591
|
index_gen$6_UpdateSecretVersionRequest as UpdateSecretVersionRequest,
|
|
25260
25592
|
};
|
|
@@ -26241,6 +26573,8 @@ interface PrivateNetwork {
|
|
|
26241
26573
|
subnets: Subnet[];
|
|
26242
26574
|
/** VPC the Private Network belongs to. */
|
|
26243
26575
|
vpcId: string;
|
|
26576
|
+
/** Defines whether managed DHCP is enabled for this Private Network. */
|
|
26577
|
+
dhcpEnabled: boolean;
|
|
26244
26578
|
}
|
|
26245
26579
|
interface SetSubnetsResponse {
|
|
26246
26580
|
subnets: string[];
|
|
@@ -26405,6 +26739,11 @@ type ListPrivateNetworksRequest = {
|
|
|
26405
26739
|
* returned.
|
|
26406
26740
|
*/
|
|
26407
26741
|
vpcId?: string;
|
|
26742
|
+
/**
|
|
26743
|
+
* DHCP status to filter for. When true, only Private Networks with managed
|
|
26744
|
+
* DHCP enabled will be returned.
|
|
26745
|
+
*/
|
|
26746
|
+
dhcpEnabled?: boolean;
|
|
26408
26747
|
};
|
|
26409
26748
|
type CreatePrivateNetworkRequest = {
|
|
26410
26749
|
/**
|
|
@@ -26479,6 +26818,15 @@ type MigrateZonalPrivateNetworksRequest = {
|
|
|
26479
26818
|
/** IDs of the Private Networks to migrate. */
|
|
26480
26819
|
privateNetworkIds?: string[];
|
|
26481
26820
|
};
|
|
26821
|
+
type EnableDHCPRequest = {
|
|
26822
|
+
/**
|
|
26823
|
+
* Region to target. If none is passed will use default region from the
|
|
26824
|
+
* config.
|
|
26825
|
+
*/
|
|
26826
|
+
region?: Region;
|
|
26827
|
+
/** Private Network ID. */
|
|
26828
|
+
privateNetworkId: string;
|
|
26829
|
+
};
|
|
26482
26830
|
type SetSubnetsRequest = {
|
|
26483
26831
|
/**
|
|
26484
26832
|
* Region to target. If none is passed will use default region from the
|
|
@@ -26611,6 +26959,15 @@ declare class API$2 extends API$s {
|
|
|
26611
26959
|
* @param request - The request {@link MigrateZonalPrivateNetworksRequest}
|
|
26612
26960
|
*/
|
|
26613
26961
|
migrateZonalPrivateNetworks: (request?: Readonly<MigrateZonalPrivateNetworksRequest>) => Promise<void>;
|
|
26962
|
+
/**
|
|
26963
|
+
* Enable DHCP on a Private Network. Enable DHCP managed on an existing
|
|
26964
|
+
* Private Network. Note that you will not be able to deactivate it
|
|
26965
|
+
* afterwards.
|
|
26966
|
+
*
|
|
26967
|
+
* @param request - The request {@link EnableDHCPRequest}
|
|
26968
|
+
* @returns A Promise of PrivateNetwork
|
|
26969
|
+
*/
|
|
26970
|
+
enableDHCP: (request: Readonly<EnableDHCPRequest>) => Promise<PrivateNetwork>;
|
|
26614
26971
|
/**
|
|
26615
26972
|
* Set the subnets of a Private Network. Set subnets for an existing Private
|
|
26616
26973
|
* Network. Note that the method is PUT and not PATCH. Any existing subnets
|
|
@@ -26646,6 +27003,7 @@ type index_gen$2_DeletePrivateNetworkRequest = DeletePrivateNetworkRequest;
|
|
|
26646
27003
|
type index_gen$2_DeleteSubnetsRequest = DeleteSubnetsRequest;
|
|
26647
27004
|
type index_gen$2_DeleteSubnetsResponse = DeleteSubnetsResponse;
|
|
26648
27005
|
type index_gen$2_DeleteVPCRequest = DeleteVPCRequest;
|
|
27006
|
+
type index_gen$2_EnableDHCPRequest = EnableDHCPRequest;
|
|
26649
27007
|
type index_gen$2_GetPrivateNetworkRequest = GetPrivateNetworkRequest;
|
|
26650
27008
|
type index_gen$2_GetVPCRequest = GetVPCRequest;
|
|
26651
27009
|
type index_gen$2_ListPrivateNetworksRequest = ListPrivateNetworksRequest;
|
|
@@ -26673,6 +27031,7 @@ declare namespace index_gen$2 {
|
|
|
26673
27031
|
index_gen$2_DeleteSubnetsRequest as DeleteSubnetsRequest,
|
|
26674
27032
|
index_gen$2_DeleteSubnetsResponse as DeleteSubnetsResponse,
|
|
26675
27033
|
index_gen$2_DeleteVPCRequest as DeleteVPCRequest,
|
|
27034
|
+
index_gen$2_EnableDHCPRequest as EnableDHCPRequest,
|
|
26676
27035
|
index_gen$2_GetPrivateNetworkRequest as GetPrivateNetworkRequest,
|
|
26677
27036
|
index_gen$2_GetVPCRequest as GetVPCRequest,
|
|
26678
27037
|
index_gen$2_ListPrivateNetworksRequest as ListPrivateNetworksRequest,
|