@scaleway/sdk 1.30.0 → 1.32.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/account/v2/marshalling.gen.js +1 -1
- package/dist/api/account/v3/marshalling.gen.js +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +1 -1
- package/dist/api/cockpit/v1beta1/api.gen.js +44 -40
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +25 -4
- package/dist/api/container/v1beta1/marshalling.gen.js +1 -1
- package/dist/api/function/v1beta1/marshalling.gen.js +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +1 -1
- package/dist/api/instance/v1/api.gen.js +3 -3
- package/dist/api/instance/v1/marshalling.gen.js +1 -1
- package/dist/api/iot/v1/marshalling.gen.js +1 -1
- package/dist/api/ipfs/v1alpha1/api.gen.js +2 -113
- package/dist/api/ipfs/v1alpha1/content.gen.js +1 -4
- package/dist/api/ipfs/v1alpha1/index.gen.js +1 -1
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +1 -55
- package/dist/api/k8s/v1/api.gen.js +1 -1
- package/dist/api/k8s/v1/marshalling.gen.js +1 -1
- package/dist/api/lb/v1/marshalling.gen.js +2 -1
- package/dist/api/mnq/v1alpha1/marshalling.gen.js +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +1 -1
- package/dist/api/redis/v1/marshalling.gen.js +1 -1
- package/dist/api/registry/v1/marshalling.gen.js +1 -1
- package/dist/api/secret/v1alpha1/api.gen.js +2 -2
- package/dist/api/vpc/v1/marshalling.gen.js +1 -1
- package/dist/api/vpc/v2/marshalling.gen.js +1 -1
- package/dist/api/vpcgw/v1/marshalling.gen.js +1 -1
- package/dist/api/webhosting/v1alpha1/marshalling.gen.js +1 -0
- package/dist/helpers/is-browser.js +3 -1
- package/dist/index.cjs +78 -202
- package/dist/index.d.ts +180 -241
- package/dist/scw/constants.js +1 -1
- package/node_modules/@scaleway/random-name/CHANGELOG.md +11 -13
- package/node_modules/@scaleway/random-name/package.json +7 -7
- package/package.json +3 -3
- /package/dist/node_modules/.pnpm/{@scaleway_random-name@4.0.1 → @scaleway_random-name@4.0.2}/node_modules/@scaleway/random-name/dist/index.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -2981,6 +2981,7 @@ declare namespace index$p {
|
|
|
2981
2981
|
}
|
|
2982
2982
|
|
|
2983
2983
|
type CockpitStatus = 'unknown_status' | 'creating' | 'ready' | 'deleting' | 'updating' | 'error';
|
|
2984
|
+
type DatasourceType = 'unknown_datasource_type' | 'metrics' | 'logs' | 'traces' | 'alerts';
|
|
2984
2985
|
type GrafanaUserRole = 'unknown_role' | 'editor' | 'viewer';
|
|
2985
2986
|
type ListGrafanaUsersRequestOrderBy = 'login_asc' | 'login_desc';
|
|
2986
2987
|
type ListPlansRequestOrderBy = 'name_asc' | 'name_desc';
|
|
@@ -3031,6 +3032,19 @@ interface ContactPoint {
|
|
|
3031
3032
|
interface ContactPointEmail {
|
|
3032
3033
|
to: string;
|
|
3033
3034
|
}
|
|
3035
|
+
/** Datasource. */
|
|
3036
|
+
interface Datasource {
|
|
3037
|
+
/** ID of the datasource. */
|
|
3038
|
+
id: string;
|
|
3039
|
+
/** ID of the Project the Cockpit belongs to. */
|
|
3040
|
+
projectId: string;
|
|
3041
|
+
/** Datasource name. */
|
|
3042
|
+
name: string;
|
|
3043
|
+
/** Datasource URL. */
|
|
3044
|
+
url: string;
|
|
3045
|
+
/** Datasource type. */
|
|
3046
|
+
type: DatasourceType;
|
|
3047
|
+
}
|
|
3034
3048
|
/** Grafana user. */
|
|
3035
3049
|
interface GrafanaUser {
|
|
3036
3050
|
/** ID of the Grafana user. */
|
|
@@ -3126,10 +3140,14 @@ interface TokenScopes {
|
|
|
3126
3140
|
queryLogs: boolean;
|
|
3127
3141
|
/** Permission to write logs. */
|
|
3128
3142
|
writeLogs: boolean;
|
|
3129
|
-
/** Permission to
|
|
3143
|
+
/** Permission to set up logs rules. */
|
|
3130
3144
|
setupLogsRules: boolean;
|
|
3131
|
-
/** Permission to
|
|
3145
|
+
/** Permission to set up alerts. */
|
|
3132
3146
|
setupAlerts: boolean;
|
|
3147
|
+
/** Permission to fetch traces. */
|
|
3148
|
+
queryTraces: boolean;
|
|
3149
|
+
/** Permission to write traces. */
|
|
3150
|
+
writeTraces: boolean;
|
|
3133
3151
|
}
|
|
3134
3152
|
type ActivateCockpitRequest = {
|
|
3135
3153
|
/** ID of the Project the Cockpit belongs to. */
|
|
@@ -3157,6 +3175,14 @@ type ResetCockpitGrafanaRequest = {
|
|
|
3157
3175
|
/** ID of the Project the Cockpit belongs to. */
|
|
3158
3176
|
projectId?: string;
|
|
3159
3177
|
};
|
|
3178
|
+
type CreateDatasourceRequest = {
|
|
3179
|
+
/** ID of the Project the Cockpit belongs to. */
|
|
3180
|
+
projectId?: string;
|
|
3181
|
+
/** Datasource name. */
|
|
3182
|
+
name: string;
|
|
3183
|
+
/** Datasource type. */
|
|
3184
|
+
type?: DatasourceType;
|
|
3185
|
+
};
|
|
3160
3186
|
type CreateTokenRequest$2 = {
|
|
3161
3187
|
/** ID of the Project. */
|
|
3162
3188
|
projectId?: string;
|
|
@@ -3259,20 +3285,20 @@ type SelectPlanRequest = {
|
|
|
3259
3285
|
/**
|
|
3260
3286
|
* Cockpit API.
|
|
3261
3287
|
*
|
|
3262
|
-
* Cockpit
|
|
3263
|
-
*
|
|
3264
|
-
*
|
|
3288
|
+
* Cockpit's API allows you to activate your Cockpit on your Projects.
|
|
3289
|
+
* Scaleway's Cockpit stores metrics and logs and provides a dedicated Grafana
|
|
3290
|
+
* for dashboarding to visualize them. Cockpit API.
|
|
3265
3291
|
*/
|
|
3266
3292
|
declare class API$n extends API$s {
|
|
3267
3293
|
/**
|
|
3268
|
-
* Activate
|
|
3294
|
+
* Activate the Cockpit of the specified Project ID.
|
|
3269
3295
|
*
|
|
3270
3296
|
* @param request - The request {@link ActivateCockpitRequest}
|
|
3271
3297
|
* @returns A Promise of Cockpit
|
|
3272
3298
|
*/
|
|
3273
3299
|
activateCockpit: (request?: Readonly<ActivateCockpitRequest>) => Promise<Cockpit>;
|
|
3274
3300
|
/**
|
|
3275
|
-
*
|
|
3301
|
+
* Retrieve the Cockpit of the specified Project ID.
|
|
3276
3302
|
*
|
|
3277
3303
|
* @param request - The request {@link GetCockpitRequest}
|
|
3278
3304
|
* @returns A Promise of Cockpit
|
|
@@ -3287,30 +3313,35 @@ declare class API$n extends API$s {
|
|
|
3287
3313
|
*/
|
|
3288
3314
|
waitForCockpit: (request?: Readonly<GetCockpitRequest>, options?: Readonly<WaitForOptions<Cockpit>>) => Promise<Cockpit>;
|
|
3289
3315
|
/**
|
|
3290
|
-
* Get
|
|
3291
|
-
* Project ID.
|
|
3316
|
+
* Get metrics from your Cockpit with the specified Project ID.
|
|
3292
3317
|
*
|
|
3293
3318
|
* @param request - The request {@link GetCockpitMetricsRequest}
|
|
3294
3319
|
* @returns A Promise of CockpitMetrics
|
|
3295
3320
|
*/
|
|
3296
3321
|
getCockpitMetrics: (request?: Readonly<GetCockpitMetricsRequest>) => Promise<CockpitMetrics>;
|
|
3297
3322
|
/**
|
|
3298
|
-
* Deactivate
|
|
3323
|
+
* Deactivate the Cockpit of the specified Project ID.
|
|
3299
3324
|
*
|
|
3300
3325
|
* @param request - The request {@link DeactivateCockpitRequest}
|
|
3301
3326
|
* @returns A Promise of Cockpit
|
|
3302
3327
|
*/
|
|
3303
3328
|
deactivateCockpit: (request?: Readonly<DeactivateCockpitRequest>) => Promise<Cockpit>;
|
|
3304
3329
|
/**
|
|
3305
|
-
* Reset
|
|
3306
|
-
* Project ID.
|
|
3330
|
+
* Reset your Cockpit's Grafana associated with the specified Project ID.
|
|
3307
3331
|
*
|
|
3308
3332
|
* @param request - The request {@link ResetCockpitGrafanaRequest}
|
|
3309
3333
|
* @returns A Promise of Cockpit
|
|
3310
3334
|
*/
|
|
3311
3335
|
resetCockpitGrafana: (request?: Readonly<ResetCockpitGrafanaRequest>) => Promise<Cockpit>;
|
|
3312
3336
|
/**
|
|
3313
|
-
* Create a
|
|
3337
|
+
* Create a datasource for the specified Project ID and the given type.
|
|
3338
|
+
*
|
|
3339
|
+
* @param request - The request {@link CreateDatasourceRequest}
|
|
3340
|
+
* @returns A Promise of Datasource
|
|
3341
|
+
*/
|
|
3342
|
+
createDatasource: (request: Readonly<CreateDatasourceRequest>) => Promise<Datasource>;
|
|
3343
|
+
/**
|
|
3344
|
+
* Create a token associated with the specified Project ID.
|
|
3314
3345
|
*
|
|
3315
3346
|
* @param request - The request {@link CreateTokenRequest}
|
|
3316
3347
|
* @returns A Promise of Token
|
|
@@ -3318,7 +3349,7 @@ declare class API$n extends API$s {
|
|
|
3318
3349
|
createToken: (request?: Readonly<CreateTokenRequest$2>) => Promise<Token$2>;
|
|
3319
3350
|
protected pageOfListTokens: (request?: Readonly<ListTokensRequest$2>) => Promise<ListTokensResponse$2>;
|
|
3320
3351
|
/**
|
|
3321
|
-
*
|
|
3352
|
+
* Get a list of tokens associated with the specified Project ID.
|
|
3322
3353
|
*
|
|
3323
3354
|
* @param request - The request {@link ListTokensRequest}
|
|
3324
3355
|
* @returns A Promise of ListTokensResponse
|
|
@@ -3328,21 +3359,20 @@ declare class API$n extends API$s {
|
|
|
3328
3359
|
[Symbol.asyncIterator]: () => AsyncGenerator<Token$2[], void, void>;
|
|
3329
3360
|
};
|
|
3330
3361
|
/**
|
|
3331
|
-
*
|
|
3362
|
+
* Retrieve the token associated with the specified token ID.
|
|
3332
3363
|
*
|
|
3333
3364
|
* @param request - The request {@link GetTokenRequest}
|
|
3334
3365
|
* @returns A Promise of Token
|
|
3335
3366
|
*/
|
|
3336
3367
|
getToken: (request: Readonly<GetTokenRequest$2>) => Promise<Token$2>;
|
|
3337
3368
|
/**
|
|
3338
|
-
* Delete
|
|
3369
|
+
* Delete the token associated with the specified token ID.
|
|
3339
3370
|
*
|
|
3340
3371
|
* @param request - The request {@link DeleteTokenRequest}
|
|
3341
3372
|
*/
|
|
3342
3373
|
deleteToken: (request: Readonly<DeleteTokenRequest$2>) => Promise<void>;
|
|
3343
3374
|
/**
|
|
3344
|
-
* Create a contact point
|
|
3345
|
-
* default receiver.
|
|
3375
|
+
* Create a contact point to receive alerts for the default receiver.
|
|
3346
3376
|
*
|
|
3347
3377
|
* @param request - The request {@link CreateContactPointRequest}
|
|
3348
3378
|
* @returns A Promise of ContactPoint
|
|
@@ -3350,8 +3380,8 @@ declare class API$n extends API$s {
|
|
|
3350
3380
|
createContactPoint: (request?: Readonly<CreateContactPointRequest>) => Promise<ContactPoint>;
|
|
3351
3381
|
protected pageOfListContactPoints: (request?: Readonly<ListContactPointsRequest>) => Promise<ListContactPointsResponse>;
|
|
3352
3382
|
/**
|
|
3353
|
-
*
|
|
3354
|
-
*
|
|
3383
|
+
* Get a list of contact points for the Cockpit associated with the specified
|
|
3384
|
+
* Project ID.
|
|
3355
3385
|
*
|
|
3356
3386
|
* @param request - The request {@link ListContactPointsRequest}
|
|
3357
3387
|
* @returns A Promise of ListContactPointsResponse
|
|
@@ -3361,37 +3391,32 @@ declare class API$n extends API$s {
|
|
|
3361
3391
|
[Symbol.asyncIterator]: () => AsyncGenerator<ContactPoint[], void, void>;
|
|
3362
3392
|
};
|
|
3363
3393
|
/**
|
|
3364
|
-
* Delete
|
|
3365
|
-
* receiver.
|
|
3394
|
+
* Delete a contact point for the default receiver.
|
|
3366
3395
|
*
|
|
3367
3396
|
* @param request - The request {@link DeleteContactPointRequest}
|
|
3368
3397
|
*/
|
|
3369
3398
|
deleteContactPoint: (request?: Readonly<DeleteContactPointRequest>) => Promise<void>;
|
|
3370
3399
|
/**
|
|
3371
|
-
* Enable
|
|
3372
|
-
* specified Project's Cockpit.
|
|
3400
|
+
* Enable the sending of managed alerts for the specified Project's Cockpit.
|
|
3373
3401
|
*
|
|
3374
3402
|
* @param request - The request {@link EnableManagedAlertsRequest}
|
|
3375
3403
|
*/
|
|
3376
3404
|
enableManagedAlerts: (request?: Readonly<EnableManagedAlertsRequest>) => Promise<void>;
|
|
3377
3405
|
/**
|
|
3378
|
-
* Disable
|
|
3379
|
-
* specified Project's Cockpit.
|
|
3406
|
+
* Disable the sending of managed alerts for the specified Project's Cockpit.
|
|
3380
3407
|
*
|
|
3381
3408
|
* @param request - The request {@link DisableManagedAlertsRequest}
|
|
3382
3409
|
*/
|
|
3383
3410
|
disableManagedAlerts: (request?: Readonly<DisableManagedAlertsRequest>) => Promise<void>;
|
|
3384
3411
|
/**
|
|
3385
|
-
* Trigger a test alert
|
|
3386
|
-
* receivers.
|
|
3412
|
+
* Trigger a test alert to all of the Cockpit's receivers.
|
|
3387
3413
|
*
|
|
3388
3414
|
* @param request - The request {@link TriggerTestAlertRequest}
|
|
3389
3415
|
*/
|
|
3390
3416
|
triggerTestAlert: (request?: Readonly<TriggerTestAlertRequest>) => Promise<void>;
|
|
3391
3417
|
/**
|
|
3392
|
-
* Create a Grafana user
|
|
3393
|
-
*
|
|
3394
|
-
* Grafana user ID.
|
|
3418
|
+
* Create a Grafana user for your Cockpit's Grafana instance. Make sure you
|
|
3419
|
+
* save the automatically-generated password and the Grafana user ID.
|
|
3395
3420
|
*
|
|
3396
3421
|
* @param request - The request {@link CreateGrafanaUserRequest}
|
|
3397
3422
|
* @returns A Promise of GrafanaUser
|
|
@@ -3399,8 +3424,8 @@ declare class API$n extends API$s {
|
|
|
3399
3424
|
createGrafanaUser: (request: Readonly<CreateGrafanaUserRequest>) => Promise<GrafanaUser>;
|
|
3400
3425
|
protected pageOfListGrafanaUsers: (request?: Readonly<ListGrafanaUsersRequest>) => Promise<ListGrafanaUsersResponse>;
|
|
3401
3426
|
/**
|
|
3402
|
-
*
|
|
3403
|
-
*
|
|
3427
|
+
* Get a list of Grafana users who are able to connect to the Cockpit's
|
|
3428
|
+
* Grafana instance.
|
|
3404
3429
|
*
|
|
3405
3430
|
* @param request - The request {@link ListGrafanaUsersRequest}
|
|
3406
3431
|
* @returns A Promise of ListGrafanaUsersResponse
|
|
@@ -3410,15 +3435,15 @@ declare class API$n extends API$s {
|
|
|
3410
3435
|
[Symbol.asyncIterator]: () => AsyncGenerator<GrafanaUser[], void, void>;
|
|
3411
3436
|
};
|
|
3412
3437
|
/**
|
|
3413
|
-
* Delete a Grafana user
|
|
3414
|
-
*
|
|
3438
|
+
* Delete a Grafana user from a Grafana instance, specified by the Cockpit's
|
|
3439
|
+
* Project ID and the Grafana user ID.
|
|
3415
3440
|
*
|
|
3416
3441
|
* @param request - The request {@link DeleteGrafanaUserRequest}
|
|
3417
3442
|
*/
|
|
3418
3443
|
deleteGrafanaUser: (request: Readonly<DeleteGrafanaUserRequest>) => Promise<void>;
|
|
3419
3444
|
/**
|
|
3420
|
-
* Reset a Grafana user's password
|
|
3421
|
-
*
|
|
3445
|
+
* Reset a Grafana user's password specified by the Cockpit's Project ID and
|
|
3446
|
+
* the Grafana user ID.
|
|
3422
3447
|
*
|
|
3423
3448
|
* @param request - The request {@link ResetGrafanaUserPasswordRequest}
|
|
3424
3449
|
* @returns A Promise of GrafanaUser
|
|
@@ -3426,7 +3451,7 @@ declare class API$n extends API$s {
|
|
|
3426
3451
|
resetGrafanaUserPassword: (request: Readonly<ResetGrafanaUserPasswordRequest>) => Promise<GrafanaUser>;
|
|
3427
3452
|
protected pageOfListPlans: (request?: Readonly<ListPlansRequest>) => Promise<ListPlansResponse>;
|
|
3428
3453
|
/**
|
|
3429
|
-
*
|
|
3454
|
+
* Get a list of all pricing plans available.
|
|
3430
3455
|
*
|
|
3431
3456
|
* @param request - The request {@link ListPlansRequest}
|
|
3432
3457
|
* @returns A Promise of ListPlansResponse
|
|
@@ -3436,9 +3461,8 @@ declare class API$n extends API$s {
|
|
|
3436
3461
|
[Symbol.asyncIterator]: () => AsyncGenerator<Plan[], void, void>;
|
|
3437
3462
|
};
|
|
3438
3463
|
/**
|
|
3439
|
-
* Select
|
|
3440
|
-
*
|
|
3441
|
-
* request.
|
|
3464
|
+
* Select your chosen pricing plan for your Cockpit, specifying the Cockpit's
|
|
3465
|
+
* Project ID and the pricing plan's ID in the request.
|
|
3442
3466
|
*
|
|
3443
3467
|
* @param request - The request {@link SelectPlanRequest}
|
|
3444
3468
|
* @returns A Promise of SelectPlanResponse
|
|
@@ -3458,7 +3482,10 @@ type index_gen$k_CockpitStatus = CockpitStatus;
|
|
|
3458
3482
|
type index_gen$k_ContactPoint = ContactPoint;
|
|
3459
3483
|
type index_gen$k_ContactPointEmail = ContactPointEmail;
|
|
3460
3484
|
type index_gen$k_CreateContactPointRequest = CreateContactPointRequest;
|
|
3485
|
+
type index_gen$k_CreateDatasourceRequest = CreateDatasourceRequest;
|
|
3461
3486
|
type index_gen$k_CreateGrafanaUserRequest = CreateGrafanaUserRequest;
|
|
3487
|
+
type index_gen$k_Datasource = Datasource;
|
|
3488
|
+
type index_gen$k_DatasourceType = DatasourceType;
|
|
3462
3489
|
type index_gen$k_DeactivateCockpitRequest = DeactivateCockpitRequest;
|
|
3463
3490
|
type index_gen$k_DeleteContactPointRequest = DeleteContactPointRequest;
|
|
3464
3491
|
type index_gen$k_DeleteGrafanaUserRequest = DeleteGrafanaUserRequest;
|
|
@@ -3485,7 +3512,7 @@ type index_gen$k_SelectPlanResponse = SelectPlanResponse;
|
|
|
3485
3512
|
type index_gen$k_TokenScopes = TokenScopes;
|
|
3486
3513
|
type index_gen$k_TriggerTestAlertRequest = TriggerTestAlertRequest;
|
|
3487
3514
|
declare namespace index_gen$k {
|
|
3488
|
-
export { API$n as API, type index_gen$k_ActivateCockpitRequest as ActivateCockpitRequest, index_gen$k_COCKPIT_TRANSIENT_STATUSES as COCKPIT_TRANSIENT_STATUSES, type index_gen$k_Cockpit as Cockpit, type index_gen$k_CockpitEndpoints as CockpitEndpoints, type index_gen$k_CockpitMetrics as CockpitMetrics, type index_gen$k_CockpitStatus as CockpitStatus, type index_gen$k_ContactPoint as ContactPoint, type index_gen$k_ContactPointEmail as ContactPointEmail, type index_gen$k_CreateContactPointRequest as CreateContactPointRequest, type index_gen$k_CreateGrafanaUserRequest as CreateGrafanaUserRequest, type CreateTokenRequest$2 as CreateTokenRequest, type index_gen$k_DeactivateCockpitRequest as DeactivateCockpitRequest, type index_gen$k_DeleteContactPointRequest as DeleteContactPointRequest, type index_gen$k_DeleteGrafanaUserRequest as DeleteGrafanaUserRequest, type DeleteTokenRequest$2 as DeleteTokenRequest, type index_gen$k_DisableManagedAlertsRequest as DisableManagedAlertsRequest, type index_gen$k_EnableManagedAlertsRequest as EnableManagedAlertsRequest, type index_gen$k_GetCockpitMetricsRequest as GetCockpitMetricsRequest, type index_gen$k_GetCockpitRequest as GetCockpitRequest, type GetTokenRequest$2 as GetTokenRequest, type index_gen$k_GrafanaUser as GrafanaUser, type index_gen$k_GrafanaUserRole as GrafanaUserRole, type index_gen$k_ListContactPointsRequest as ListContactPointsRequest, type index_gen$k_ListContactPointsResponse as ListContactPointsResponse, type index_gen$k_ListGrafanaUsersRequest as ListGrafanaUsersRequest, type index_gen$k_ListGrafanaUsersRequestOrderBy as ListGrafanaUsersRequestOrderBy, type index_gen$k_ListGrafanaUsersResponse as ListGrafanaUsersResponse, type index_gen$k_ListPlansRequest as ListPlansRequest, type index_gen$k_ListPlansRequestOrderBy as ListPlansRequestOrderBy, type index_gen$k_ListPlansResponse as ListPlansResponse, type ListTokensRequest$2 as ListTokensRequest, type ListTokensRequestOrderBy$2 as ListTokensRequestOrderBy, type ListTokensResponse$2 as ListTokensResponse, type index_gen$k_Plan as Plan, type index_gen$k_PlanName as PlanName, type index_gen$k_ResetCockpitGrafanaRequest as ResetCockpitGrafanaRequest, type index_gen$k_ResetGrafanaUserPasswordRequest as ResetGrafanaUserPasswordRequest, type index_gen$k_SelectPlanRequest as SelectPlanRequest, type index_gen$k_SelectPlanResponse as SelectPlanResponse, type Token$2 as Token, type index_gen$k_TokenScopes as TokenScopes, type index_gen$k_TriggerTestAlertRequest as TriggerTestAlertRequest };
|
|
3515
|
+
export { API$n as API, type index_gen$k_ActivateCockpitRequest as ActivateCockpitRequest, index_gen$k_COCKPIT_TRANSIENT_STATUSES as COCKPIT_TRANSIENT_STATUSES, type index_gen$k_Cockpit as Cockpit, type index_gen$k_CockpitEndpoints as CockpitEndpoints, type index_gen$k_CockpitMetrics as CockpitMetrics, type index_gen$k_CockpitStatus as CockpitStatus, type index_gen$k_ContactPoint as ContactPoint, type index_gen$k_ContactPointEmail as ContactPointEmail, type index_gen$k_CreateContactPointRequest as CreateContactPointRequest, type index_gen$k_CreateDatasourceRequest as CreateDatasourceRequest, type index_gen$k_CreateGrafanaUserRequest as CreateGrafanaUserRequest, type CreateTokenRequest$2 as CreateTokenRequest, type index_gen$k_Datasource as Datasource, type index_gen$k_DatasourceType as DatasourceType, type index_gen$k_DeactivateCockpitRequest as DeactivateCockpitRequest, type index_gen$k_DeleteContactPointRequest as DeleteContactPointRequest, type index_gen$k_DeleteGrafanaUserRequest as DeleteGrafanaUserRequest, type DeleteTokenRequest$2 as DeleteTokenRequest, type index_gen$k_DisableManagedAlertsRequest as DisableManagedAlertsRequest, type index_gen$k_EnableManagedAlertsRequest as EnableManagedAlertsRequest, type index_gen$k_GetCockpitMetricsRequest as GetCockpitMetricsRequest, type index_gen$k_GetCockpitRequest as GetCockpitRequest, type GetTokenRequest$2 as GetTokenRequest, type index_gen$k_GrafanaUser as GrafanaUser, type index_gen$k_GrafanaUserRole as GrafanaUserRole, type index_gen$k_ListContactPointsRequest as ListContactPointsRequest, type index_gen$k_ListContactPointsResponse as ListContactPointsResponse, type index_gen$k_ListGrafanaUsersRequest as ListGrafanaUsersRequest, type index_gen$k_ListGrafanaUsersRequestOrderBy as ListGrafanaUsersRequestOrderBy, type index_gen$k_ListGrafanaUsersResponse as ListGrafanaUsersResponse, type index_gen$k_ListPlansRequest as ListPlansRequest, type index_gen$k_ListPlansRequestOrderBy as ListPlansRequestOrderBy, type index_gen$k_ListPlansResponse as ListPlansResponse, type ListTokensRequest$2 as ListTokensRequest, type ListTokensRequestOrderBy$2 as ListTokensRequestOrderBy, type ListTokensResponse$2 as ListTokensResponse, type index_gen$k_Plan as Plan, type index_gen$k_PlanName as PlanName, type index_gen$k_ResetCockpitGrafanaRequest as ResetCockpitGrafanaRequest, type index_gen$k_ResetGrafanaUserPasswordRequest as ResetGrafanaUserPasswordRequest, type index_gen$k_SelectPlanRequest as SelectPlanRequest, type index_gen$k_SelectPlanResponse as SelectPlanResponse, type Token$2 as Token, type index_gen$k_TokenScopes as TokenScopes, type index_gen$k_TriggerTestAlertRequest as TriggerTestAlertRequest };
|
|
3489
3516
|
}
|
|
3490
3517
|
|
|
3491
3518
|
declare namespace index$o {
|
|
@@ -9443,9 +9470,9 @@ type SnapshotState = 'available' | 'snapshotting' | 'error' | 'invalid_data' | '
|
|
|
9443
9470
|
type SnapshotVolumeType = 'unknown_volume_type' | 'l_ssd' | 'b_ssd' | 'unified';
|
|
9444
9471
|
type TaskStatus = 'pending' | 'started' | 'success' | 'failure' | 'retry';
|
|
9445
9472
|
type VolumeServerState = 'available' | 'snapshotting' | 'error' | 'fetching' | 'resizing' | 'saving' | 'hotsyncing';
|
|
9446
|
-
type VolumeServerVolumeType = 'l_ssd' | 'b_ssd';
|
|
9473
|
+
type VolumeServerVolumeType = 'l_ssd' | 'b_ssd' | 'sbs_volume' | 'scratch';
|
|
9447
9474
|
type VolumeState = 'available' | 'snapshotting' | 'error' | 'fetching' | 'resizing' | 'saving' | 'hotsyncing';
|
|
9448
|
-
type VolumeVolumeType = 'l_ssd' | 'b_ssd' | 'unified' | 'scratch';
|
|
9475
|
+
type VolumeVolumeType = 'l_ssd' | 'b_ssd' | 'unified' | 'scratch' | 'sbs_volume';
|
|
9449
9476
|
/** Bootscript. */
|
|
9450
9477
|
interface Bootscript {
|
|
9451
9478
|
/** Bootscript arguments. */
|
|
@@ -10301,6 +10328,8 @@ type ListServersRequest = {
|
|
|
10301
10328
|
* them).
|
|
10302
10329
|
*/
|
|
10303
10330
|
privateNetworks?: string[];
|
|
10331
|
+
/** List Instances associated with the given private NIC MAC address. */
|
|
10332
|
+
privateNicMacAddress?: string;
|
|
10304
10333
|
};
|
|
10305
10334
|
type DeleteServerRequest = {
|
|
10306
10335
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
@@ -10411,12 +10440,23 @@ type DeleteImageRequest$1 = {
|
|
|
10411
10440
|
type ListSnapshotsRequest$1 = {
|
|
10412
10441
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
10413
10442
|
zone?: Zone;
|
|
10443
|
+
/** List snapshots only for this Organization ID. */
|
|
10414
10444
|
organization?: string;
|
|
10445
|
+
/** List snapshots only for this Project ID. */
|
|
10446
|
+
project?: string;
|
|
10447
|
+
/**
|
|
10448
|
+
* Number of snapshots returned per page (positive integer lower or equal to
|
|
10449
|
+
* 100).
|
|
10450
|
+
*/
|
|
10415
10451
|
perPage?: number;
|
|
10452
|
+
/** Page to be returned. */
|
|
10416
10453
|
page?: number;
|
|
10454
|
+
/** List snapshots of the requested name. */
|
|
10417
10455
|
name?: string;
|
|
10418
|
-
|
|
10456
|
+
/** List snapshots that have the requested tag. */
|
|
10419
10457
|
tags?: string;
|
|
10458
|
+
/** List snapshots originating only from this volume. */
|
|
10459
|
+
baseVolumeId?: string;
|
|
10420
10460
|
};
|
|
10421
10461
|
type CreateSnapshotRequest$1 = {
|
|
10422
10462
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
@@ -10844,6 +10884,11 @@ type ListIpsRequest = {
|
|
|
10844
10884
|
perPage?: number;
|
|
10845
10885
|
/** A positive integer to choose the page to return. */
|
|
10846
10886
|
page?: number;
|
|
10887
|
+
/**
|
|
10888
|
+
* Filter on the IP Mobility IP type (whose value should be either 'nat',
|
|
10889
|
+
* 'routed_ipv4' or 'routed_ipv6').
|
|
10890
|
+
*/
|
|
10891
|
+
type?: string;
|
|
10847
10892
|
};
|
|
10848
10893
|
type CreateIpRequest$1 = {
|
|
10849
10894
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
@@ -13535,24 +13580,10 @@ declare namespace index$g {
|
|
|
13535
13580
|
export { index_gen$e as v1 };
|
|
13536
13581
|
}
|
|
13537
13582
|
|
|
13538
|
-
type ListNamesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
13539
13583
|
type ListPinsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
13540
13584
|
type ListVolumesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
13541
|
-
type NameStatus = 'unknown_status' | 'queued' | 'publishing' | 'failed' | 'published';
|
|
13542
13585
|
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';
|
|
13543
13586
|
type PinStatus = 'unknown_status' | 'queued' | 'pinning' | 'failed' | 'pinned';
|
|
13544
|
-
interface ExportKeyNameResponse {
|
|
13545
|
-
nameId: string;
|
|
13546
|
-
projectId: string;
|
|
13547
|
-
createdAt?: Date;
|
|
13548
|
-
updatedAt?: Date;
|
|
13549
|
-
publicKey: string;
|
|
13550
|
-
privateKey: string;
|
|
13551
|
-
}
|
|
13552
|
-
interface ListNamesResponse {
|
|
13553
|
-
names: Name[];
|
|
13554
|
-
totalCount: number;
|
|
13555
|
-
}
|
|
13556
13587
|
interface ListPinsResponse {
|
|
13557
13588
|
totalCount: number;
|
|
13558
13589
|
pins: Pin[];
|
|
@@ -13561,17 +13592,6 @@ interface ListVolumesResponse {
|
|
|
13561
13592
|
volumes: Volume$1[];
|
|
13562
13593
|
totalCount: number;
|
|
13563
13594
|
}
|
|
13564
|
-
interface Name {
|
|
13565
|
-
nameId: string;
|
|
13566
|
-
projectId: string;
|
|
13567
|
-
createdAt?: Date;
|
|
13568
|
-
updatedAt?: Date;
|
|
13569
|
-
tags: string[];
|
|
13570
|
-
name: string;
|
|
13571
|
-
key: string;
|
|
13572
|
-
status: NameStatus;
|
|
13573
|
-
value: string;
|
|
13574
|
-
}
|
|
13575
13595
|
interface Pin {
|
|
13576
13596
|
pinId: string;
|
|
13577
13597
|
status: PinStatus;
|
|
@@ -13728,74 +13748,6 @@ type DeletePinRequest = {
|
|
|
13728
13748
|
pinId: string;
|
|
13729
13749
|
volumeId: string;
|
|
13730
13750
|
};
|
|
13731
|
-
type CreateNameRequest = {
|
|
13732
|
-
/**
|
|
13733
|
-
* Region to target. If none is passed will use default region from the
|
|
13734
|
-
* config.
|
|
13735
|
-
*/
|
|
13736
|
-
region?: Region;
|
|
13737
|
-
projectId?: string;
|
|
13738
|
-
name: string;
|
|
13739
|
-
value: string;
|
|
13740
|
-
};
|
|
13741
|
-
type GetNameRequest = {
|
|
13742
|
-
/**
|
|
13743
|
-
* Region to target. If none is passed will use default region from the
|
|
13744
|
-
* config.
|
|
13745
|
-
*/
|
|
13746
|
-
region?: Region;
|
|
13747
|
-
nameId: string;
|
|
13748
|
-
};
|
|
13749
|
-
type DeleteNameRequest = {
|
|
13750
|
-
/**
|
|
13751
|
-
* Region to target. If none is passed will use default region from the
|
|
13752
|
-
* config.
|
|
13753
|
-
*/
|
|
13754
|
-
region?: Region;
|
|
13755
|
-
nameId: string;
|
|
13756
|
-
};
|
|
13757
|
-
type ListNamesRequest = {
|
|
13758
|
-
/**
|
|
13759
|
-
* Region to target. If none is passed will use default region from the
|
|
13760
|
-
* config.
|
|
13761
|
-
*/
|
|
13762
|
-
region?: Region;
|
|
13763
|
-
page?: number;
|
|
13764
|
-
pageSize?: number;
|
|
13765
|
-
orderBy?: ListNamesRequestOrderBy;
|
|
13766
|
-
projectId?: string;
|
|
13767
|
-
organizationId?: string;
|
|
13768
|
-
};
|
|
13769
|
-
type UpdateNameRequest = {
|
|
13770
|
-
/**
|
|
13771
|
-
* Region to target. If none is passed will use default region from the
|
|
13772
|
-
* config.
|
|
13773
|
-
*/
|
|
13774
|
-
region?: Region;
|
|
13775
|
-
nameId: string;
|
|
13776
|
-
name?: string;
|
|
13777
|
-
tags?: string[];
|
|
13778
|
-
value?: string;
|
|
13779
|
-
};
|
|
13780
|
-
type ExportKeyNameRequest = {
|
|
13781
|
-
/**
|
|
13782
|
-
* Region to target. If none is passed will use default region from the
|
|
13783
|
-
* config.
|
|
13784
|
-
*/
|
|
13785
|
-
region?: Region;
|
|
13786
|
-
nameId: string;
|
|
13787
|
-
};
|
|
13788
|
-
type ImportKeyNameRequest = {
|
|
13789
|
-
/**
|
|
13790
|
-
* Region to target. If none is passed will use default region from the
|
|
13791
|
-
* config.
|
|
13792
|
-
*/
|
|
13793
|
-
region?: Region;
|
|
13794
|
-
projectId?: string;
|
|
13795
|
-
name: string;
|
|
13796
|
-
privateKey: string;
|
|
13797
|
-
value: string;
|
|
13798
|
-
};
|
|
13799
13751
|
|
|
13800
13752
|
/** IPFS Pinning service API. */
|
|
13801
13753
|
declare class API$f extends API$s {
|
|
@@ -13910,100 +13862,24 @@ declare class API$f extends API$s {
|
|
|
13910
13862
|
* @param request - The request {@link DeletePinRequest}
|
|
13911
13863
|
*/
|
|
13912
13864
|
deletePin: (request: Readonly<DeletePinRequest>) => Promise<void>;
|
|
13913
|
-
/**
|
|
13914
|
-
* Create a new name. You can use the `ipfs key` command to list and generate
|
|
13915
|
-
* more names and their respective keys.
|
|
13916
|
-
*
|
|
13917
|
-
* @param request - The request {@link CreateNameRequest}
|
|
13918
|
-
* @returns A Promise of Name
|
|
13919
|
-
*/
|
|
13920
|
-
createName: (request: Readonly<CreateNameRequest>) => Promise<Name>;
|
|
13921
|
-
/**
|
|
13922
|
-
* Get information about a name. Retrieve information about a specific name.
|
|
13923
|
-
*
|
|
13924
|
-
* @param request - The request {@link GetNameRequest}
|
|
13925
|
-
* @returns A Promise of Name
|
|
13926
|
-
*/
|
|
13927
|
-
getName: (request: Readonly<GetNameRequest>) => Promise<Name>;
|
|
13928
|
-
/**
|
|
13929
|
-
* Waits for {@link Name} to be in a final state.
|
|
13930
|
-
*
|
|
13931
|
-
* @param request - The request {@link GetNameRequest}
|
|
13932
|
-
* @param options - The waiting options
|
|
13933
|
-
* @returns A Promise of Name
|
|
13934
|
-
*/
|
|
13935
|
-
waitForName: (request: Readonly<GetNameRequest>, options?: Readonly<WaitForOptions<Name>>) => Promise<Name>;
|
|
13936
|
-
/**
|
|
13937
|
-
* Delete an existing name. Delete a name by its ID.
|
|
13938
|
-
*
|
|
13939
|
-
* @param request - The request {@link DeleteNameRequest}
|
|
13940
|
-
*/
|
|
13941
|
-
deleteName: (request: Readonly<DeleteNameRequest>) => Promise<void>;
|
|
13942
|
-
protected pageOfListNames: (request?: Readonly<ListNamesRequest>) => Promise<ListNamesResponse>;
|
|
13943
|
-
/**
|
|
13944
|
-
* List all names by a Project ID. Retrieve information about all names from a
|
|
13945
|
-
* Project ID.
|
|
13946
|
-
*
|
|
13947
|
-
* @param request - The request {@link ListNamesRequest}
|
|
13948
|
-
* @returns A Promise of ListNamesResponse
|
|
13949
|
-
*/
|
|
13950
|
-
listNames: (request?: Readonly<ListNamesRequest>) => Promise<ListNamesResponse> & {
|
|
13951
|
-
all: () => Promise<Name[]>;
|
|
13952
|
-
[Symbol.asyncIterator]: () => AsyncGenerator<Name[], void, void>;
|
|
13953
|
-
};
|
|
13954
|
-
/**
|
|
13955
|
-
* Update name information. Update name information (CID, tag, name...).
|
|
13956
|
-
*
|
|
13957
|
-
* @param request - The request {@link UpdateNameRequest}
|
|
13958
|
-
* @returns A Promise of Name
|
|
13959
|
-
*/
|
|
13960
|
-
updateName: (request: Readonly<UpdateNameRequest>) => Promise<Name>;
|
|
13961
|
-
/**
|
|
13962
|
-
* Export your private key. Export a private key by its ID.
|
|
13963
|
-
*
|
|
13964
|
-
* @param request - The request {@link ExportKeyNameRequest}
|
|
13965
|
-
* @returns A Promise of ExportKeyNameResponse
|
|
13966
|
-
*/
|
|
13967
|
-
exportKeyName: (request: Readonly<ExportKeyNameRequest>) => Promise<ExportKeyNameResponse>;
|
|
13968
|
-
/**
|
|
13969
|
-
* Import your private key. Import a private key.
|
|
13970
|
-
*
|
|
13971
|
-
* @param request - The request {@link ImportKeyNameRequest}
|
|
13972
|
-
* @returns A Promise of Name
|
|
13973
|
-
*/
|
|
13974
|
-
importKeyName: (request: Readonly<ImportKeyNameRequest>) => Promise<Name>;
|
|
13975
13865
|
}
|
|
13976
13866
|
|
|
13977
|
-
/** Lists transient statutes of the enum {@link NameStatus}. */
|
|
13978
|
-
declare const NAME_TRANSIENT_STATUSES: NameStatus[];
|
|
13979
13867
|
/** Lists transient statutes of the enum {@link PinStatus}. */
|
|
13980
13868
|
declare const PIN_TRANSIENT_STATUSES: PinStatus[];
|
|
13981
13869
|
|
|
13982
|
-
type index_gen$d_CreateNameRequest = CreateNameRequest;
|
|
13983
13870
|
type index_gen$d_CreatePinByCIDRequest = CreatePinByCIDRequest;
|
|
13984
13871
|
type index_gen$d_CreatePinByURLRequest = CreatePinByURLRequest;
|
|
13985
13872
|
type index_gen$d_CreateVolumeRequest = CreateVolumeRequest;
|
|
13986
|
-
type index_gen$d_DeleteNameRequest = DeleteNameRequest;
|
|
13987
13873
|
type index_gen$d_DeletePinRequest = DeletePinRequest;
|
|
13988
13874
|
type index_gen$d_DeleteVolumeRequest = DeleteVolumeRequest;
|
|
13989
|
-
type index_gen$d_ExportKeyNameRequest = ExportKeyNameRequest;
|
|
13990
|
-
type index_gen$d_ExportKeyNameResponse = ExportKeyNameResponse;
|
|
13991
|
-
type index_gen$d_GetNameRequest = GetNameRequest;
|
|
13992
13875
|
type index_gen$d_GetPinRequest = GetPinRequest;
|
|
13993
13876
|
type index_gen$d_GetVolumeRequest = GetVolumeRequest;
|
|
13994
|
-
type index_gen$d_ImportKeyNameRequest = ImportKeyNameRequest;
|
|
13995
|
-
type index_gen$d_ListNamesRequest = ListNamesRequest;
|
|
13996
|
-
type index_gen$d_ListNamesRequestOrderBy = ListNamesRequestOrderBy;
|
|
13997
|
-
type index_gen$d_ListNamesResponse = ListNamesResponse;
|
|
13998
13877
|
type index_gen$d_ListPinsRequest = ListPinsRequest;
|
|
13999
13878
|
type index_gen$d_ListPinsRequestOrderBy = ListPinsRequestOrderBy;
|
|
14000
13879
|
type index_gen$d_ListPinsResponse = ListPinsResponse;
|
|
14001
13880
|
type index_gen$d_ListVolumesRequest = ListVolumesRequest;
|
|
14002
13881
|
type index_gen$d_ListVolumesRequestOrderBy = ListVolumesRequestOrderBy;
|
|
14003
13882
|
type index_gen$d_ListVolumesResponse = ListVolumesResponse;
|
|
14004
|
-
declare const index_gen$d_NAME_TRANSIENT_STATUSES: typeof NAME_TRANSIENT_STATUSES;
|
|
14005
|
-
type index_gen$d_Name = Name;
|
|
14006
|
-
type index_gen$d_NameStatus = NameStatus;
|
|
14007
13883
|
declare const index_gen$d_PIN_TRANSIENT_STATUSES: typeof PIN_TRANSIENT_STATUSES;
|
|
14008
13884
|
type index_gen$d_Pin = Pin;
|
|
14009
13885
|
type index_gen$d_PinCID = PinCID;
|
|
@@ -14014,10 +13890,9 @@ type index_gen$d_PinOptions = PinOptions;
|
|
|
14014
13890
|
type index_gen$d_PinStatus = PinStatus;
|
|
14015
13891
|
type index_gen$d_ReplacePinRequest = ReplacePinRequest;
|
|
14016
13892
|
type index_gen$d_ReplacePinResponse = ReplacePinResponse;
|
|
14017
|
-
type index_gen$d_UpdateNameRequest = UpdateNameRequest;
|
|
14018
13893
|
type index_gen$d_UpdateVolumeRequest = UpdateVolumeRequest;
|
|
14019
13894
|
declare namespace index_gen$d {
|
|
14020
|
-
export { API$f as API, type index_gen$
|
|
13895
|
+
export { API$f as API, type index_gen$d_CreatePinByCIDRequest as CreatePinByCIDRequest, type index_gen$d_CreatePinByURLRequest as CreatePinByURLRequest, type index_gen$d_CreateVolumeRequest as CreateVolumeRequest, type index_gen$d_DeletePinRequest as DeletePinRequest, type index_gen$d_DeleteVolumeRequest as DeleteVolumeRequest, type index_gen$d_GetPinRequest as GetPinRequest, type index_gen$d_GetVolumeRequest as GetVolumeRequest, type index_gen$d_ListPinsRequest as ListPinsRequest, type index_gen$d_ListPinsRequestOrderBy as ListPinsRequestOrderBy, type index_gen$d_ListPinsResponse as ListPinsResponse, type index_gen$d_ListVolumesRequest as ListVolumesRequest, type index_gen$d_ListVolumesRequestOrderBy as ListVolumesRequestOrderBy, type index_gen$d_ListVolumesResponse as ListVolumesResponse, index_gen$d_PIN_TRANSIENT_STATUSES as PIN_TRANSIENT_STATUSES, type index_gen$d_Pin as Pin, type index_gen$d_PinCID as PinCID, type index_gen$d_PinCIDMeta as PinCIDMeta, type index_gen$d_PinDetails as PinDetails, type index_gen$d_PinInfo as PinInfo, type index_gen$d_PinOptions as PinOptions, type index_gen$d_PinStatus as PinStatus, type index_gen$d_ReplacePinRequest as ReplacePinRequest, type index_gen$d_ReplacePinResponse as ReplacePinResponse, type index_gen$d_UpdateVolumeRequest as UpdateVolumeRequest, type Volume$1 as Volume };
|
|
14021
13896
|
}
|
|
14022
13897
|
|
|
14023
13898
|
declare namespace index$f {
|
|
@@ -14674,6 +14549,11 @@ type ListClustersRequest$2 = {
|
|
|
14674
14549
|
status?: ClusterStatus$1;
|
|
14675
14550
|
/** Type to filter on, only clusters with this type will be returned. */
|
|
14676
14551
|
type?: string;
|
|
14552
|
+
/**
|
|
14553
|
+
* Private Network ID to filter on, only clusters within this Private Network
|
|
14554
|
+
* will be returned.
|
|
14555
|
+
*/
|
|
14556
|
+
privateNetworkId?: string;
|
|
14677
14557
|
};
|
|
14678
14558
|
type CreateClusterRequest$2 = {
|
|
14679
14559
|
/**
|
|
@@ -16229,6 +16109,8 @@ interface ListSubscriberResponse {
|
|
|
16229
16109
|
interface PrivateNetwork$3 {
|
|
16230
16110
|
/** Load Balancer object which is attached to the Private Network. */
|
|
16231
16111
|
lb?: Lb;
|
|
16112
|
+
/** IPAM IDs of the booked IP addresses. */
|
|
16113
|
+
ipamIds: string[];
|
|
16232
16114
|
/**
|
|
16233
16115
|
* @deprecated Object containing an array of a local IP address for the Load
|
|
16234
16116
|
* Balancer on this Private Network.
|
|
@@ -16238,10 +16120,10 @@ interface PrivateNetwork$3 {
|
|
|
16238
16120
|
*/
|
|
16239
16121
|
staticConfig?: PrivateNetworkStaticConfig;
|
|
16240
16122
|
/**
|
|
16241
|
-
* Object containing DHCP-assigned IP addresses.
|
|
16123
|
+
* @deprecated Object containing DHCP-assigned IP addresses.
|
|
16242
16124
|
*
|
|
16243
|
-
*
|
|
16244
|
-
*
|
|
16125
|
+
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig',
|
|
16126
|
+
* 'ipamConfig' could be set.
|
|
16245
16127
|
*/
|
|
16246
16128
|
dhcpConfig?: PrivateNetworkDHCPConfig;
|
|
16247
16129
|
/**
|
|
@@ -16261,6 +16143,7 @@ interface PrivateNetwork$3 {
|
|
|
16261
16143
|
updatedAt?: Date;
|
|
16262
16144
|
}
|
|
16263
16145
|
interface PrivateNetworkDHCPConfig {
|
|
16146
|
+
/** @deprecated */
|
|
16264
16147
|
ipId?: string;
|
|
16265
16148
|
}
|
|
16266
16149
|
interface PrivateNetworkIpamConfig {
|
|
@@ -17384,10 +17267,10 @@ type AttachPrivateNetworkRequest = {
|
|
|
17384
17267
|
*/
|
|
17385
17268
|
staticConfig?: PrivateNetworkStaticConfig;
|
|
17386
17269
|
/**
|
|
17387
|
-
* Defines whether to let DHCP assign IP addresses.
|
|
17270
|
+
* @deprecated Defines whether to let DHCP assign IP addresses.
|
|
17388
17271
|
*
|
|
17389
|
-
*
|
|
17390
|
-
*
|
|
17272
|
+
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig',
|
|
17273
|
+
* 'ipamConfig' could be set.
|
|
17391
17274
|
*/
|
|
17392
17275
|
dhcpConfig?: PrivateNetworkDHCPConfig;
|
|
17393
17276
|
/**
|
|
@@ -18297,10 +18180,10 @@ type ZonedApiAttachPrivateNetworkRequest = {
|
|
|
18297
18180
|
*/
|
|
18298
18181
|
staticConfig?: PrivateNetworkStaticConfig;
|
|
18299
18182
|
/**
|
|
18300
|
-
* Defines whether to let DHCP assign IP addresses.
|
|
18183
|
+
* @deprecated Defines whether to let DHCP assign IP addresses.
|
|
18301
18184
|
*
|
|
18302
|
-
*
|
|
18303
|
-
*
|
|
18185
|
+
* One-of ('config'): at most one of 'staticConfig', 'dhcpConfig',
|
|
18186
|
+
* 'ipamConfig' could be set.
|
|
18304
18187
|
*/
|
|
18305
18188
|
dhcpConfig?: PrivateNetworkDHCPConfig;
|
|
18306
18189
|
/**
|
|
@@ -20330,7 +20213,7 @@ type Permission = 'readonly' | 'readwrite' | 'all' | 'custom' | 'none';
|
|
|
20330
20213
|
/** Read replica. status. */
|
|
20331
20214
|
type ReadReplicaStatus = 'unknown' | 'provisioning' | 'initializing' | 'ready' | 'deleting' | 'error' | 'locked' | 'configuring' | 'promoting';
|
|
20332
20215
|
type SnapshotStatus = 'unknown' | 'creating' | 'ready' | 'restoring' | 'deleting' | 'error' | 'locked';
|
|
20333
|
-
type VolumeType = 'lssd' | 'bssd';
|
|
20216
|
+
type VolumeType = 'lssd' | 'bssd' | 'sbs';
|
|
20334
20217
|
interface ACLRule$1 {
|
|
20335
20218
|
ip: string;
|
|
20336
20219
|
/** @deprecated */
|
|
@@ -24031,7 +23914,7 @@ type ListFoldersRequest = {
|
|
|
24031
23914
|
* config.
|
|
24032
23915
|
*/
|
|
24033
23916
|
region?: Region;
|
|
24034
|
-
/**
|
|
23917
|
+
/** Filter by Project ID (optional). */
|
|
24035
23918
|
projectId?: string;
|
|
24036
23919
|
/** Filter by path (optional). */
|
|
24037
23920
|
path?: string;
|
|
@@ -24171,7 +24054,11 @@ type GetSecretVersionRequest = {
|
|
|
24171
24054
|
secretId: string;
|
|
24172
24055
|
/**
|
|
24173
24056
|
* Version number. The first version of the secret is numbered 1, and all
|
|
24174
|
-
* subsequent revisions augment by 1. Value can be
|
|
24057
|
+
* subsequent revisions augment by 1. Value can be either:
|
|
24058
|
+
*
|
|
24059
|
+
* - A number (the revision number)
|
|
24060
|
+
* - "latest" (the latest revision)
|
|
24061
|
+
* - "latest_enabled" (the latest enabled revision).
|
|
24175
24062
|
*/
|
|
24176
24063
|
revision: string;
|
|
24177
24064
|
};
|
|
@@ -24185,7 +24072,11 @@ type GetSecretVersionByNameRequest = {
|
|
|
24185
24072
|
secretName: string;
|
|
24186
24073
|
/**
|
|
24187
24074
|
* Version number. The first version of the secret is numbered 1, and all
|
|
24188
|
-
* subsequent revisions augment by 1. Value can be
|
|
24075
|
+
* subsequent revisions augment by 1. Value can be either:
|
|
24076
|
+
*
|
|
24077
|
+
* - A number (the revision number)
|
|
24078
|
+
* - "latest" (the latest revision)
|
|
24079
|
+
* - "latest_enabled" (the latest enabled revision).
|
|
24189
24080
|
*/
|
|
24190
24081
|
revision: string;
|
|
24191
24082
|
/**
|
|
@@ -24204,7 +24095,11 @@ type UpdateSecretVersionRequest = {
|
|
|
24204
24095
|
secretId: string;
|
|
24205
24096
|
/**
|
|
24206
24097
|
* Version number. The first version of the secret is numbered 1, and all
|
|
24207
|
-
* subsequent revisions augment by 1. Value can be
|
|
24098
|
+
* subsequent revisions augment by 1. Value can be either:
|
|
24099
|
+
*
|
|
24100
|
+
* - A number (the revision number)
|
|
24101
|
+
* - "latest" (the latest revision)
|
|
24102
|
+
* - "latest_enabled" (the latest enabled revision).
|
|
24208
24103
|
*/
|
|
24209
24104
|
revision: string;
|
|
24210
24105
|
/** Description of the version. */
|
|
@@ -24251,7 +24146,11 @@ type EnableSecretVersionRequest = {
|
|
|
24251
24146
|
secretId: string;
|
|
24252
24147
|
/**
|
|
24253
24148
|
* Version number. The first version of the secret is numbered 1, and all
|
|
24254
|
-
* subsequent revisions augment by 1. Value can be
|
|
24149
|
+
* subsequent revisions augment by 1. Value can be either:
|
|
24150
|
+
*
|
|
24151
|
+
* - A number (the revision number)
|
|
24152
|
+
* - "latest" (the latest revision)
|
|
24153
|
+
* - "latest_enabled" (the latest enabled revision).
|
|
24255
24154
|
*/
|
|
24256
24155
|
revision: string;
|
|
24257
24156
|
};
|
|
@@ -24265,7 +24164,11 @@ type DisableSecretVersionRequest = {
|
|
|
24265
24164
|
secretId: string;
|
|
24266
24165
|
/**
|
|
24267
24166
|
* Version number. The first version of the secret is numbered 1, and all
|
|
24268
|
-
* subsequent revisions augment by 1. Value can be
|
|
24167
|
+
* subsequent revisions augment by 1. Value can be either:
|
|
24168
|
+
*
|
|
24169
|
+
* - A number (the revision number)
|
|
24170
|
+
* - "latest" (the latest revision)
|
|
24171
|
+
* - "latest_enabled" (the latest enabled revision).
|
|
24269
24172
|
*/
|
|
24270
24173
|
revision: string;
|
|
24271
24174
|
};
|
|
@@ -24279,7 +24182,11 @@ type AccessSecretVersionRequest = {
|
|
|
24279
24182
|
secretId: string;
|
|
24280
24183
|
/**
|
|
24281
24184
|
* Version number. The first version of the secret is numbered 1, and all
|
|
24282
|
-
* subsequent revisions augment by 1. Value can be
|
|
24185
|
+
* subsequent revisions augment by 1. Value can be either:
|
|
24186
|
+
*
|
|
24187
|
+
* - A number (the revision number)
|
|
24188
|
+
* - "latest" (the latest revision)
|
|
24189
|
+
* - "latest_enabled" (the latest enabled revision).
|
|
24283
24190
|
*/
|
|
24284
24191
|
revision: string;
|
|
24285
24192
|
};
|
|
@@ -24293,7 +24200,11 @@ type AccessSecretVersionByNameRequest = {
|
|
|
24293
24200
|
secretName: string;
|
|
24294
24201
|
/**
|
|
24295
24202
|
* Version number. The first version of the secret is numbered 1, and all
|
|
24296
|
-
* subsequent revisions augment by 1. Value can be
|
|
24203
|
+
* subsequent revisions augment by 1. Value can be either:
|
|
24204
|
+
*
|
|
24205
|
+
* - A number (the revision number)
|
|
24206
|
+
* - "latest" (the latest revision)
|
|
24207
|
+
* - "latest_enabled" (the latest enabled revision).
|
|
24297
24208
|
*/
|
|
24298
24209
|
revision: string;
|
|
24299
24210
|
/**
|
|
@@ -24312,7 +24223,11 @@ type DestroySecretVersionRequest = {
|
|
|
24312
24223
|
secretId: string;
|
|
24313
24224
|
/**
|
|
24314
24225
|
* Version number. The first version of the secret is numbered 1, and all
|
|
24315
|
-
* subsequent revisions augment by 1. Value can be
|
|
24226
|
+
* subsequent revisions augment by 1. Value can be either:
|
|
24227
|
+
*
|
|
24228
|
+
* - A number (the revision number)
|
|
24229
|
+
* - "latest" (the latest revision)
|
|
24230
|
+
* - "latest_enabled" (the latest enabled revision).
|
|
24316
24231
|
*/
|
|
24317
24232
|
revision: string;
|
|
24318
24233
|
};
|
|
@@ -24400,7 +24315,7 @@ declare class API$6 extends API$s {
|
|
|
24400
24315
|
};
|
|
24401
24316
|
protected pageOfListFolders: (request?: Readonly<ListFoldersRequest>) => Promise<ListFoldersResponse>;
|
|
24402
24317
|
/**
|
|
24403
|
-
* List
|
|
24318
|
+
* List folders. Retrieve the list of folders created within a Project.
|
|
24404
24319
|
*
|
|
24405
24320
|
* @param request - The request {@link ListFoldersRequest}
|
|
24406
24321
|
* @returns A Promise of ListFoldersResponse
|
|
@@ -26447,12 +26362,16 @@ type CreateGatewayNetworkRequest = {
|
|
|
26447
26362
|
gatewayId: string;
|
|
26448
26363
|
/** Private Network to connect. */
|
|
26449
26364
|
privateNetworkId: string;
|
|
26450
|
-
/**
|
|
26365
|
+
/**
|
|
26366
|
+
* Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
|
|
26367
|
+
* Note: this setting is ignored when passing `ipam_config`.
|
|
26368
|
+
*/
|
|
26451
26369
|
enableMasquerade: boolean;
|
|
26452
26370
|
/**
|
|
26453
26371
|
* Defines whether to enable DHCP on this Private Network. Defaults to `true`
|
|
26454
26372
|
* if either `dhcp_id` or `dhcp` are present. If set to `true`, either
|
|
26455
|
-
* `dhcp_id` or `dhcp` must be present.
|
|
26373
|
+
* `dhcp_id` or `dhcp` must be present. Note: this setting is ignored when
|
|
26374
|
+
* passing `ipam_config`.
|
|
26456
26375
|
*/
|
|
26457
26376
|
enableDhcp?: boolean;
|
|
26458
26377
|
/**
|
|
@@ -26493,9 +26412,16 @@ type UpdateGatewayNetworkRequest = {
|
|
|
26493
26412
|
zone?: Zone;
|
|
26494
26413
|
/** ID of the GatewayNetwork to update. */
|
|
26495
26414
|
gatewayNetworkId: string;
|
|
26496
|
-
/**
|
|
26415
|
+
/**
|
|
26416
|
+
* Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
|
|
26417
|
+
* Note: this setting is ignored when passing `ipam_config`.
|
|
26418
|
+
*/
|
|
26497
26419
|
enableMasquerade?: boolean;
|
|
26498
|
-
/**
|
|
26420
|
+
/**
|
|
26421
|
+
* Defines whether to enable DHCP on this Private Network. Defaults to `true`
|
|
26422
|
+
* if `dhcp_id` is present. If set to `true`, `dhcp_id` must be present. Note:
|
|
26423
|
+
* this setting is ignored when passing `ipam_config`.
|
|
26424
|
+
*/
|
|
26499
26425
|
enableDhcp?: boolean;
|
|
26500
26426
|
/**
|
|
26501
26427
|
* ID of the new DHCP configuration object to use with this GatewayNetwork.
|
|
@@ -26512,7 +26438,11 @@ type UpdateGatewayNetworkRequest = {
|
|
|
26512
26438
|
*/
|
|
26513
26439
|
address?: string;
|
|
26514
26440
|
/**
|
|
26515
|
-
*
|
|
26441
|
+
* Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address
|
|
26442
|
+
* management service). Note: all or none of the GatewayNetworks for a single
|
|
26443
|
+
* gateway can use the IPAM. DHCP and IPAM configurations cannot be mixed.
|
|
26444
|
+
* Some products may require that the Public Gateway uses the IPAM, to ensure
|
|
26445
|
+
* correct functionality.
|
|
26516
26446
|
*
|
|
26517
26447
|
* One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could
|
|
26518
26448
|
* be set.
|
|
@@ -27465,13 +27395,22 @@ interface OfferProduct {
|
|
|
27465
27395
|
name: string;
|
|
27466
27396
|
/** Product option. */
|
|
27467
27397
|
option: boolean;
|
|
27398
|
+
/** Limit number of email accounts. */
|
|
27468
27399
|
emailAccountsQuota: number;
|
|
27400
|
+
/** Limit quantity of email storage in gigabytes. */
|
|
27469
27401
|
emailStorageQuota: number;
|
|
27402
|
+
/** Limit number of databases. */
|
|
27470
27403
|
databasesQuota: number;
|
|
27404
|
+
/** Limit quantity of hosting storage in gigabytes. */
|
|
27471
27405
|
hostingStorageQuota: number;
|
|
27406
|
+
/** Whether or not support is included. */
|
|
27472
27407
|
supportIncluded: boolean;
|
|
27408
|
+
/** Limit number of virtual CPU. */
|
|
27473
27409
|
vCpu: number;
|
|
27410
|
+
/** Limit quantity of memory in gigabytes. */
|
|
27474
27411
|
ram: number;
|
|
27412
|
+
/** Limit number of add-on domains. */
|
|
27413
|
+
maxAddonDomains: number;
|
|
27475
27414
|
}
|
|
27476
27415
|
type CreateHostingRequest = {
|
|
27477
27416
|
/**
|