11// This file was automatically generated. DO NOT EDIT.
22// If you have any remark or suggestion do not hesitate to open an issue.
3- import type { Region } from '../../../bridge'
3+ import type { Region as ScwRegion } from '../../../bridge'
44
55export type InstanceStatus =
66 | 'unknown_status'
@@ -184,7 +184,7 @@ export interface Instance {
184184 /** Creation date (must follow the ISO 8601 format). */
185185 createdAt ?: Date
186186 /** Region the Database Instance is in. */
187- region : Region
187+ region : ScwRegion
188188}
189189
190190export interface NodeType {
@@ -232,7 +232,7 @@ export interface Snapshot {
232232 /** Type of volume where data is stored - sbs_5k or sbs_15k. */
233233 volumeType ?: SnapshotVolumeType
234234 /** Region of the snapshot. */
235- region : Region
235+ region : ScwRegion
236236}
237237
238238export interface User {
@@ -263,7 +263,7 @@ export type CreateEndpointRequest = {
263263 * Region to target. If none is passed will use default region from the
264264 * config.
265265 */
266- region ?: Region
266+ region ?: ScwRegion
267267 /** UUID of the Database Instance. */
268268 instanceId : string
269269 /** EndpointSpec used to expose your Database Instance. */
@@ -275,7 +275,7 @@ export type CreateInstanceRequest = {
275275 * Region to target. If none is passed will use default region from the
276276 * config.
277277 */
278- region ?: Region
278+ region ?: ScwRegion
279279 /** The Project ID on which the Database Instance will be created. */
280280 projectId ?: string
281281 /** Name of the Database Instance. */
@@ -303,7 +303,7 @@ export type CreateSnapshotRequest = {
303303 * Region to target. If none is passed will use default region from the
304304 * config.
305305 */
306- region ?: Region
306+ region ?: ScwRegion
307307 /** UUID of the Database Instance to snapshot. */
308308 instanceId : string
309309 /** Name of the snapshot. */
@@ -317,7 +317,7 @@ export type CreateUserRequest = {
317317 * Region to target. If none is passed will use default region from the
318318 * config.
319319 */
320- region ?: Region
320+ region ?: ScwRegion
321321 /** UUID of the Database Instance the user belongs to. */
322322 instanceId : string
323323 /** Name of the database user. */
@@ -331,7 +331,7 @@ export type DeleteEndpointRequest = {
331331 * Region to target. If none is passed will use default region from the
332332 * config.
333333 */
334- region ?: Region
334+ region ?: ScwRegion
335335 /** UUID of the Endpoint to delete. */
336336 endpointId : string
337337}
@@ -341,7 +341,7 @@ export type DeleteInstanceRequest = {
341341 * Region to target. If none is passed will use default region from the
342342 * config.
343343 */
344- region ?: Region
344+ region ?: ScwRegion
345345 /** UUID of the Database Instance to delete. */
346346 instanceId : string
347347}
@@ -351,7 +351,7 @@ export type DeleteSnapshotRequest = {
351351 * Region to target. If none is passed will use default region from the
352352 * config.
353353 */
354- region ?: Region
354+ region ?: ScwRegion
355355 /** UUID of the snapshot. */
356356 snapshotId : string
357357}
@@ -361,7 +361,7 @@ export type DeleteUserRequest = {
361361 * Region to target. If none is passed will use default region from the
362362 * config.
363363 */
364- region ?: Region
364+ region ?: ScwRegion
365365 /** UUID of the Database Instance the user belongs to. */
366366 instanceId : string
367367 /** Name of the database user. */
@@ -373,7 +373,7 @@ export type GetInstanceCertificateRequest = {
373373 * Region to target. If none is passed will use default region from the
374374 * config.
375375 */
376- region ?: Region
376+ region ?: ScwRegion
377377 /** UUID of the Database Instance. */
378378 instanceId : string
379379}
@@ -383,7 +383,7 @@ export type GetInstanceRequest = {
383383 * Region to target. If none is passed will use default region from the
384384 * config.
385385 */
386- region ?: Region
386+ region ?: ScwRegion
387387 /** UUID of the Database Instance. */
388388 instanceId : string
389389}
@@ -393,7 +393,7 @@ export type GetSnapshotRequest = {
393393 * Region to target. If none is passed will use default region from the
394394 * config.
395395 */
396- region ?: Region
396+ region ?: ScwRegion
397397 /** UUID of the snapshot. */
398398 snapshotId : string
399399}
@@ -403,7 +403,7 @@ export type ListInstancesRequest = {
403403 * Region to target. If none is passed will use default region from the
404404 * config.
405405 */
406- region ?: Region
406+ region ?: ScwRegion
407407 /** List Database Instances that have a given tag. */
408408 tags ?: string [ ]
409409 /** Lists Database Instances that match a name pattern. */
@@ -430,7 +430,7 @@ export type ListNodeTypesRequest = {
430430 * Region to target. If none is passed will use default region from the
431431 * config.
432432 */
433- region ?: Region
433+ region ?: ScwRegion
434434 /** Defines whether or not to include disabled types. */
435435 includeDisabledTypes ?: boolean
436436 page ?: number
@@ -449,7 +449,7 @@ export type ListSnapshotsRequest = {
449449 * Region to target. If none is passed will use default region from the
450450 * config.
451451 */
452- region ?: Region
452+ region ?: ScwRegion
453453 /** Instance ID the snapshots belongs to. */
454454 instanceId ?: string
455455 /** Lists database snapshots that match a name pattern. */
@@ -476,7 +476,7 @@ export type ListUsersRequest = {
476476 * Region to target. If none is passed will use default region from the
477477 * config.
478478 */
479- region ?: Region
479+ region ?: ScwRegion
480480 /** UUID of the Database Instance. */
481481 instanceId : string
482482 /** Name of the user. */
@@ -499,7 +499,7 @@ export type ListVersionsRequest = {
499499 * Region to target. If none is passed will use default region from the
500500 * config.
501501 */
502- region ?: Region
502+ region ?: ScwRegion
503503 version ?: string
504504 page ?: number
505505 pageSize ?: number
@@ -517,7 +517,7 @@ export type RestoreSnapshotRequest = {
517517 * Region to target. If none is passed will use default region from the
518518 * config.
519519 */
520- region ?: Region
520+ region ?: ScwRegion
521521 /** UUID of the snapshot. */
522522 snapshotId : string
523523 /** Name of the new Database Instance. */
@@ -535,7 +535,7 @@ export type UpdateInstanceRequest = {
535535 * Region to target. If none is passed will use default region from the
536536 * config.
537537 */
538- region ?: Region
538+ region ?: ScwRegion
539539 /** UUID of the Database Instance to update. */
540540 instanceId : string
541541 /** Name of the Database Instance. */
@@ -549,7 +549,7 @@ export type UpdateSnapshotRequest = {
549549 * Region to target. If none is passed will use default region from the
550550 * config.
551551 */
552- region ?: Region
552+ region ?: ScwRegion
553553 /** UUID of the Snapshot. */
554554 snapshotId : string
555555 /** Name of the snapshot. */
@@ -563,7 +563,7 @@ export type UpdateUserRequest = {
563563 * Region to target. If none is passed will use default region from the
564564 * config.
565565 */
566- region ?: Region
566+ region ?: ScwRegion
567567 /** UUID of the Database Instance the user belongs to. */
568568 instanceId : string
569569 /** Name of the database user. */
@@ -577,7 +577,7 @@ export type UpgradeInstanceRequest = {
577577 * Region to target. If none is passed will use default region from the
578578 * config.
579579 */
580- region ?: Region
580+ region ?: ScwRegion
581581 /** UUID of the Database Instance you want to upgrade. */
582582 instanceId : string
583583 /**
0 commit comments