@scaleway/sdk 2.24.0 → 2.26.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/index.d.ts CHANGED
@@ -1210,13 +1210,13 @@ declare class API$y extends API$z {
1210
1210
  updateProject: (request?: Readonly<UpdateProjectRequest>) => Promise<Project$1>;
1211
1211
  }
1212
1212
 
1213
- type index_gen$x_CreateProjectRequest = CreateProjectRequest;
1214
- type index_gen$x_DeleteProjectRequest = DeleteProjectRequest;
1215
- type index_gen$x_GetProjectRequest = GetProjectRequest;
1216
- type index_gen$x_ListProjectsRequest = ListProjectsRequest;
1217
- type index_gen$x_UpdateProjectRequest = UpdateProjectRequest;
1218
- declare namespace index_gen$x {
1219
- export { API$y as API, type index_gen$x_CreateProjectRequest as CreateProjectRequest, type index_gen$x_DeleteProjectRequest as DeleteProjectRequest, type index_gen$x_GetProjectRequest as GetProjectRequest, type index_gen$x_ListProjectsRequest as ListProjectsRequest, type ListProjectsRequestOrderBy$1 as ListProjectsRequestOrderBy, type ListProjectsResponse$1 as ListProjectsResponse, type Project$1 as Project, type index_gen$x_UpdateProjectRequest as UpdateProjectRequest };
1213
+ type index_gen$y_CreateProjectRequest = CreateProjectRequest;
1214
+ type index_gen$y_DeleteProjectRequest = DeleteProjectRequest;
1215
+ type index_gen$y_GetProjectRequest = GetProjectRequest;
1216
+ type index_gen$y_ListProjectsRequest = ListProjectsRequest;
1217
+ type index_gen$y_UpdateProjectRequest = UpdateProjectRequest;
1218
+ declare namespace index_gen$y {
1219
+ export { API$y as API, type index_gen$y_CreateProjectRequest as CreateProjectRequest, type index_gen$y_DeleteProjectRequest as DeleteProjectRequest, type index_gen$y_GetProjectRequest as GetProjectRequest, type index_gen$y_ListProjectsRequest as ListProjectsRequest, type ListProjectsRequestOrderBy$1 as ListProjectsRequestOrderBy, type ListProjectsResponse$1 as ListProjectsResponse, type Project$1 as Project, type index_gen$y_UpdateProjectRequest as UpdateProjectRequest };
1220
1220
  }
1221
1221
 
1222
1222
  type ListProjectsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
@@ -1373,43 +1373,31 @@ declare const ProjectApiUpdateProjectRequest: {
1373
1373
  };
1374
1374
  };
1375
1375
 
1376
- declare const validationRules_gen$h_ProjectApiCreateProjectRequest: typeof ProjectApiCreateProjectRequest;
1377
- declare const validationRules_gen$h_ProjectApiListProjectsRequest: typeof ProjectApiListProjectsRequest;
1378
- declare const validationRules_gen$h_ProjectApiUpdateProjectRequest: typeof ProjectApiUpdateProjectRequest;
1379
- declare namespace validationRules_gen$h {
1380
- export { validationRules_gen$h_ProjectApiCreateProjectRequest as ProjectApiCreateProjectRequest, validationRules_gen$h_ProjectApiListProjectsRequest as ProjectApiListProjectsRequest, validationRules_gen$h_ProjectApiUpdateProjectRequest as ProjectApiUpdateProjectRequest };
1376
+ declare const validationRules_gen$i_ProjectApiCreateProjectRequest: typeof ProjectApiCreateProjectRequest;
1377
+ declare const validationRules_gen$i_ProjectApiListProjectsRequest: typeof ProjectApiListProjectsRequest;
1378
+ declare const validationRules_gen$i_ProjectApiUpdateProjectRequest: typeof ProjectApiUpdateProjectRequest;
1379
+ declare namespace validationRules_gen$i {
1380
+ export { validationRules_gen$i_ProjectApiCreateProjectRequest as ProjectApiCreateProjectRequest, validationRules_gen$i_ProjectApiListProjectsRequest as ProjectApiListProjectsRequest, validationRules_gen$i_ProjectApiUpdateProjectRequest as ProjectApiUpdateProjectRequest };
1381
1381
  }
1382
1382
 
1383
- type index_gen$w_ListProjectsRequestOrderBy = ListProjectsRequestOrderBy;
1384
- type index_gen$w_ListProjectsResponse = ListProjectsResponse;
1385
- type index_gen$w_Project = Project;
1386
- type index_gen$w_ProjectAPI = ProjectAPI;
1387
- declare const index_gen$w_ProjectAPI: typeof ProjectAPI;
1388
- type index_gen$w_ProjectApiDeleteProjectRequest = ProjectApiDeleteProjectRequest;
1389
- type index_gen$w_ProjectApiGetProjectRequest = ProjectApiGetProjectRequest;
1390
- declare namespace index_gen$w {
1391
- export { type index_gen$w_ListProjectsRequestOrderBy as ListProjectsRequestOrderBy, type index_gen$w_ListProjectsResponse as ListProjectsResponse, type index_gen$w_Project as Project, index_gen$w_ProjectAPI as ProjectAPI, type ProjectApiCreateProjectRequest$1 as ProjectApiCreateProjectRequest, type index_gen$w_ProjectApiDeleteProjectRequest as ProjectApiDeleteProjectRequest, type index_gen$w_ProjectApiGetProjectRequest as ProjectApiGetProjectRequest, type ProjectApiListProjectsRequest$1 as ProjectApiListProjectsRequest, type ProjectApiUpdateProjectRequest$1 as ProjectApiUpdateProjectRequest, validationRules_gen$h as ValidationRules };
1383
+ type index_gen$x_ListProjectsRequestOrderBy = ListProjectsRequestOrderBy;
1384
+ type index_gen$x_ListProjectsResponse = ListProjectsResponse;
1385
+ type index_gen$x_Project = Project;
1386
+ type index_gen$x_ProjectAPI = ProjectAPI;
1387
+ declare const index_gen$x_ProjectAPI: typeof ProjectAPI;
1388
+ type index_gen$x_ProjectApiDeleteProjectRequest = ProjectApiDeleteProjectRequest;
1389
+ type index_gen$x_ProjectApiGetProjectRequest = ProjectApiGetProjectRequest;
1390
+ declare namespace index_gen$x {
1391
+ export { type index_gen$x_ListProjectsRequestOrderBy as ListProjectsRequestOrderBy, type index_gen$x_ListProjectsResponse as ListProjectsResponse, type index_gen$x_Project as Project, index_gen$x_ProjectAPI as ProjectAPI, type ProjectApiCreateProjectRequest$1 as ProjectApiCreateProjectRequest, type index_gen$x_ProjectApiDeleteProjectRequest as ProjectApiDeleteProjectRequest, type index_gen$x_ProjectApiGetProjectRequest as ProjectApiGetProjectRequest, type ProjectApiListProjectsRequest$1 as ProjectApiListProjectsRequest, type ProjectApiUpdateProjectRequest$1 as ProjectApiUpdateProjectRequest, validationRules_gen$i as ValidationRules };
1392
1392
  }
1393
1393
 
1394
1394
  declare namespace index$A {
1395
- export { index_gen$x as v2, index_gen$w as v3 };
1395
+ export { index_gen$y as v2, index_gen$x as v3 };
1396
1396
  }
1397
1397
 
1398
1398
  type ListServersRequestOrderBy$2 = 'created_at_asc' | 'created_at_desc';
1399
1399
  type ServerStatus$2 = 'unknown_status' | 'starting' | 'ready' | 'error' | 'rebooting' | 'updating' | 'locking' | 'locked' | 'unlocking' | 'reinstalling';
1400
1400
  type ServerTypeStock = 'unknown_stock' | 'no_stock' | 'low_stock' | 'high_stock';
1401
- interface ServerTypeCPU {
1402
- name: string;
1403
- coreCount: number;
1404
- }
1405
- interface ServerTypeDisk {
1406
- capacity: number;
1407
- type: string;
1408
- }
1409
- interface ServerTypeMemory {
1410
- capacity: number;
1411
- type: string;
1412
- }
1413
1401
  interface OS$2 {
1414
1402
  /** Unique ID of the OS. */
1415
1403
  id: string;
@@ -1419,9 +1407,29 @@ interface OS$2 {
1419
1407
  label: string;
1420
1408
  /** URL of the image. */
1421
1409
  imageUrl: string;
1410
+ /** The OS family to which this OS belongs, eg. 13 or 14. */
1411
+ family: string;
1412
+ /** Describes if the OS is in beta. */
1413
+ isBeta: boolean;
1414
+ /** The OS version number, eg. Sonoma has version number 14.3. */
1415
+ version: string;
1416
+ /** The current xcode version for this OS. */
1417
+ xcodeVersion: string;
1422
1418
  /** List of compatible server types. */
1423
1419
  compatibleServerTypes: string[];
1424
1420
  }
1421
+ interface ServerTypeCPU {
1422
+ name: string;
1423
+ coreCount: number;
1424
+ }
1425
+ interface ServerTypeDisk {
1426
+ capacity: number;
1427
+ type: string;
1428
+ }
1429
+ interface ServerTypeMemory {
1430
+ capacity: number;
1431
+ type: string;
1432
+ }
1425
1433
  interface ServerType$1 {
1426
1434
  /** CPU description. */
1427
1435
  cpu?: ServerTypeCPU;
@@ -1435,6 +1443,8 @@ interface ServerType$1 {
1435
1443
  stock: ServerTypeStock;
1436
1444
  /** Minimum duration of the lease in seconds (example. 3.4s). */
1437
1445
  minimumLeaseDuration?: string;
1446
+ /** The default OS for this server type. */
1447
+ defaultOs?: OS$2;
1438
1448
  }
1439
1449
  interface Server$3 {
1440
1450
  /** UUID of the server. */
@@ -1451,6 +1461,11 @@ interface Server$3 {
1451
1461
  ip: string;
1452
1462
  /** URL of the VNC. */
1453
1463
  vncUrl: string;
1464
+ /**
1465
+ * Initially installed OS, this does not necessarily reflect the current OS
1466
+ * version.
1467
+ */
1468
+ os?: OS$2;
1454
1469
  /** Current status of the server. */
1455
1470
  status: ServerStatus$2;
1456
1471
  /** Date on which the server was created. */
@@ -1471,6 +1486,12 @@ type CreateServerRequest$4 = {
1471
1486
  projectId?: string;
1472
1487
  /** Create a server of the given type. */
1473
1488
  type: string;
1489
+ /**
1490
+ * Create a server & install the given os_id, when no os_id provided the
1491
+ * default OS for this server type is chosen. Requesting a non-default OS will
1492
+ * induce an extended delivery time.
1493
+ */
1494
+ osId?: string;
1474
1495
  };
1475
1496
  type DeleteServerRequest$4 = {
1476
1497
  /** Zone to target. If none is passed will use default zone from the config. */
@@ -1562,6 +1583,11 @@ type ReinstallServerRequest = {
1562
1583
  zone?: Zone;
1563
1584
  /** UUID of the server you want to reinstall. */
1564
1585
  serverId: string;
1586
+ /**
1587
+ * Reinstall the server with the target OS, when no os_id provided the default
1588
+ * OS for the server type is used.
1589
+ */
1590
+ osId?: string;
1565
1591
  };
1566
1592
  type UpdateServerRequest$5 = {
1567
1593
  /** Zone to target. If none is passed will use default zone from the config. */
@@ -1692,20 +1718,20 @@ declare class API$x extends API$z {
1692
1718
  /** Lists transient statutes of the enum {@link ServerStatus}. */
1693
1719
  declare const SERVER_TRANSIENT_STATUSES$3: ServerStatus$2[];
1694
1720
 
1695
- type index_gen$v_GetServerTypeRequest = GetServerTypeRequest;
1696
- type index_gen$v_ListServerTypesRequest = ListServerTypesRequest;
1697
- type index_gen$v_ListServerTypesResponse = ListServerTypesResponse;
1698
- type index_gen$v_ReinstallServerRequest = ReinstallServerRequest;
1699
- type index_gen$v_ServerTypeCPU = ServerTypeCPU;
1700
- type index_gen$v_ServerTypeDisk = ServerTypeDisk;
1701
- type index_gen$v_ServerTypeMemory = ServerTypeMemory;
1702
- type index_gen$v_ServerTypeStock = ServerTypeStock;
1703
- declare namespace index_gen$v {
1704
- export { API$x as API, type CreateServerRequest$4 as CreateServerRequest, type DeleteServerRequest$4 as DeleteServerRequest, type GetOSRequest$3 as GetOSRequest, type GetServerRequest$4 as GetServerRequest, type index_gen$v_GetServerTypeRequest as GetServerTypeRequest, type ListOSRequest$4 as ListOSRequest, type ListOSResponse$2 as ListOSResponse, type index_gen$v_ListServerTypesRequest as ListServerTypesRequest, type index_gen$v_ListServerTypesResponse as ListServerTypesResponse, type ListServersRequest$5 as ListServersRequest, type ListServersRequestOrderBy$2 as ListServersRequestOrderBy, type ListServersResponse$3 as ListServersResponse, type OS$2 as OS, type RebootServerRequest$3 as RebootServerRequest, type index_gen$v_ReinstallServerRequest as ReinstallServerRequest, SERVER_TRANSIENT_STATUSES$3 as SERVER_TRANSIENT_STATUSES, type Server$3 as Server, type ServerStatus$2 as ServerStatus, type ServerType$1 as ServerType, type index_gen$v_ServerTypeCPU as ServerTypeCPU, type index_gen$v_ServerTypeDisk as ServerTypeDisk, type index_gen$v_ServerTypeMemory as ServerTypeMemory, type index_gen$v_ServerTypeStock as ServerTypeStock, type UpdateServerRequest$5 as UpdateServerRequest };
1721
+ type index_gen$w_GetServerTypeRequest = GetServerTypeRequest;
1722
+ type index_gen$w_ListServerTypesRequest = ListServerTypesRequest;
1723
+ type index_gen$w_ListServerTypesResponse = ListServerTypesResponse;
1724
+ type index_gen$w_ReinstallServerRequest = ReinstallServerRequest;
1725
+ type index_gen$w_ServerTypeCPU = ServerTypeCPU;
1726
+ type index_gen$w_ServerTypeDisk = ServerTypeDisk;
1727
+ type index_gen$w_ServerTypeMemory = ServerTypeMemory;
1728
+ type index_gen$w_ServerTypeStock = ServerTypeStock;
1729
+ declare namespace index_gen$w {
1730
+ export { API$x as API, type CreateServerRequest$4 as CreateServerRequest, type DeleteServerRequest$4 as DeleteServerRequest, type GetOSRequest$3 as GetOSRequest, type GetServerRequest$4 as GetServerRequest, type index_gen$w_GetServerTypeRequest as GetServerTypeRequest, type ListOSRequest$4 as ListOSRequest, type ListOSResponse$2 as ListOSResponse, type index_gen$w_ListServerTypesRequest as ListServerTypesRequest, type index_gen$w_ListServerTypesResponse as ListServerTypesResponse, type ListServersRequest$5 as ListServersRequest, type ListServersRequestOrderBy$2 as ListServersRequestOrderBy, type ListServersResponse$3 as ListServersResponse, type OS$2 as OS, type RebootServerRequest$3 as RebootServerRequest, type index_gen$w_ReinstallServerRequest as ReinstallServerRequest, SERVER_TRANSIENT_STATUSES$3 as SERVER_TRANSIENT_STATUSES, type Server$3 as Server, type ServerStatus$2 as ServerStatus, type ServerType$1 as ServerType, type index_gen$w_ServerTypeCPU as ServerTypeCPU, type index_gen$w_ServerTypeDisk as ServerTypeDisk, type index_gen$w_ServerTypeMemory as ServerTypeMemory, type index_gen$w_ServerTypeStock as ServerTypeStock, type UpdateServerRequest$5 as UpdateServerRequest };
1705
1731
  }
1706
1732
 
1707
1733
  declare namespace index$z {
1708
- export { index_gen$v as v1alpha1 };
1734
+ export { index_gen$w as v1alpha1 };
1709
1735
  }
1710
1736
 
1711
1737
  type IPReverseStatus = 'unknown' | 'pending' | 'active' | 'error';
@@ -2798,11 +2824,11 @@ declare const UpdateServerRequest$3: {
2798
2824
  };
2799
2825
  };
2800
2826
 
2801
- declare const validationRules_gen$g_CreateServerRequestInstall: typeof CreateServerRequestInstall;
2802
- declare const validationRules_gen$g_ListOptionsRequest: typeof ListOptionsRequest;
2803
- declare const validationRules_gen$g_ListSettingsRequest: typeof ListSettingsRequest;
2804
- declare namespace validationRules_gen$g {
2805
- export { CreateServerRequest$2 as CreateServerRequest, validationRules_gen$g_CreateServerRequestInstall as CreateServerRequestInstall, InstallServerRequest$2 as InstallServerRequest, ListOSRequest$2 as ListOSRequest, ListOffersRequest$3 as ListOffersRequest, validationRules_gen$g_ListOptionsRequest as ListOptionsRequest, ListServerEventsRequest$2 as ListServerEventsRequest, ListServersRequest$3 as ListServersRequest, validationRules_gen$g_ListSettingsRequest as ListSettingsRequest, UpdateServerRequest$3 as UpdateServerRequest };
2827
+ declare const validationRules_gen$h_CreateServerRequestInstall: typeof CreateServerRequestInstall;
2828
+ declare const validationRules_gen$h_ListOptionsRequest: typeof ListOptionsRequest;
2829
+ declare const validationRules_gen$h_ListSettingsRequest: typeof ListSettingsRequest;
2830
+ declare namespace validationRules_gen$h {
2831
+ export { CreateServerRequest$2 as CreateServerRequest, validationRules_gen$h_CreateServerRequestInstall as CreateServerRequestInstall, InstallServerRequest$2 as InstallServerRequest, ListOSRequest$2 as ListOSRequest, ListOffersRequest$3 as ListOffersRequest, validationRules_gen$h_ListOptionsRequest as ListOptionsRequest, ListServerEventsRequest$2 as ListServerEventsRequest, ListServersRequest$3 as ListServersRequest, validationRules_gen$h_ListSettingsRequest as ListSettingsRequest, UpdateServerRequest$3 as UpdateServerRequest };
2806
2832
  }
2807
2833
 
2808
2834
  type index$y_AddOptionServerRequest = AddOptionServerRequest;
@@ -2839,7 +2865,7 @@ type index$y_Setting = Setting;
2839
2865
  type index$y_SettingType = SettingType;
2840
2866
  type index$y_UpdateSettingRequest = UpdateSettingRequest;
2841
2867
  declare namespace index$y {
2842
- export { BaremetalV1UtilsAPI as API, type index$y_AddOptionServerRequest as AddOptionServerRequest, type BMCAccess$1 as BMCAccess, type CPU$1 as CPU, type CreateServerRequest$3 as CreateServerRequest, type CreateServerRequestInstall$1 as CreateServerRequestInstall, type index$y_DeleteOptionServerRequest as DeleteOptionServerRequest, type DeleteServerRequest$3 as DeleteServerRequest, type Disk$1 as Disk, type GetBMCAccessRequest$2 as GetBMCAccessRequest, type GetOSRequest$2 as GetOSRequest, type GetOfferRequest$2 as GetOfferRequest, type index$y_GetOptionRequest as GetOptionRequest, type index$y_GetServerMetricsRequest as GetServerMetricsRequest, type index$y_GetServerMetricsResponse as GetServerMetricsResponse, type GetServerRequest$3 as GetServerRequest, type IP$3 as IP, type index$y_IPReverseStatus as IPReverseStatus, type IPVersion$1 as IPVersion, type InstallServerRequest$3 as InstallServerRequest, type ListOSRequest$3 as ListOSRequest, type ListOSResponse$1 as ListOSResponse, type ListOffersRequest$4 as ListOffersRequest, type ListOffersResponse$2 as ListOffersResponse, type ListOptionsRequest$1 as ListOptionsRequest, type index$y_ListOptionsResponse as ListOptionsResponse, type ListServerEventsRequest$3 as ListServerEventsRequest, type ListServerEventsRequestOrderBy$1 as ListServerEventsRequestOrderBy, type ListServerEventsResponse$1 as ListServerEventsResponse, type index$y_ListServerPrivateNetworksRequestOrderBy as ListServerPrivateNetworksRequestOrderBy, type index$y_ListServerPrivateNetworksResponse as ListServerPrivateNetworksResponse, type ListServersRequest$4 as ListServersRequest, type ListServersRequestOrderBy$1 as ListServersRequestOrderBy, type ListServersResponse$2 as ListServersResponse, type ListSettingsRequest$1 as ListSettingsRequest, type index$y_ListSettingsRequestOrderBy as ListSettingsRequestOrderBy, type index$y_ListSettingsResponse as ListSettingsResponse, type Memory$1 as Memory, type OS$1 as OS, type index$y_OSOSField as OSOSField, type Offer$2 as Offer, type index$y_OfferOptionOffer as OfferOptionOffer, type index$y_OfferStock as OfferStock, type index$y_OfferSubscriptionPeriod as OfferSubscriptionPeriod, type index$y_Option as Option, type PersistentMemory$1 as PersistentMemory, index$y_PrivateNetworkAPI as PrivateNetworkAPI, type index$y_PrivateNetworkApiAddServerPrivateNetworkRequest as PrivateNetworkApiAddServerPrivateNetworkRequest, type index$y_PrivateNetworkApiDeleteServerPrivateNetworkRequest as PrivateNetworkApiDeleteServerPrivateNetworkRequest, type index$y_PrivateNetworkApiListServerPrivateNetworksRequest as PrivateNetworkApiListServerPrivateNetworksRequest, type index$y_PrivateNetworkApiSetServerPrivateNetworksRequest as PrivateNetworkApiSetServerPrivateNetworksRequest, type RaidController$1 as RaidController, type RebootServerRequest$2 as RebootServerRequest, SERVER_INSTALL_TRANSIENT_STATUSES$1 as SERVER_INSTALL_TRANSIENT_STATUSES, index$y_SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES as SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES$2 as SERVER_TRANSIENT_STATUSES, type Server$2 as Server, type index$y_ServerBootType as ServerBootType, type ServerEvent$1 as ServerEvent, type ServerInstall$1 as ServerInstall, type ServerInstallStatus$1 as ServerInstallStatus, type ServerOption$1 as ServerOption, type index$y_ServerOptionOptionStatus as ServerOptionOptionStatus, type index$y_ServerPingStatus as ServerPingStatus, type index$y_ServerPrivateNetwork as ServerPrivateNetwork, type index$y_ServerPrivateNetworkStatus as ServerPrivateNetworkStatus, type index$y_ServerRescueServer as ServerRescueServer, type ServerStatus$1 as ServerStatus, type index$y_SetServerPrivateNetworksResponse as SetServerPrivateNetworksResponse, type index$y_Setting as Setting, type index$y_SettingType as SettingType, type StartBMCAccessRequest$1 as StartBMCAccessRequest, type StartServerRequest$2 as StartServerRequest, type StopBMCAccessRequest$2 as StopBMCAccessRequest, type StopServerRequest$2 as StopServerRequest, type UpdateIPRequest$2 as UpdateIPRequest, type UpdateServerRequest$4 as UpdateServerRequest, type index$y_UpdateSettingRequest as UpdateSettingRequest, validationRules_gen$g as ValidationRules };
2868
+ export { BaremetalV1UtilsAPI as API, type index$y_AddOptionServerRequest as AddOptionServerRequest, type BMCAccess$1 as BMCAccess, type CPU$1 as CPU, type CreateServerRequest$3 as CreateServerRequest, type CreateServerRequestInstall$1 as CreateServerRequestInstall, type index$y_DeleteOptionServerRequest as DeleteOptionServerRequest, type DeleteServerRequest$3 as DeleteServerRequest, type Disk$1 as Disk, type GetBMCAccessRequest$2 as GetBMCAccessRequest, type GetOSRequest$2 as GetOSRequest, type GetOfferRequest$2 as GetOfferRequest, type index$y_GetOptionRequest as GetOptionRequest, type index$y_GetServerMetricsRequest as GetServerMetricsRequest, type index$y_GetServerMetricsResponse as GetServerMetricsResponse, type GetServerRequest$3 as GetServerRequest, type IP$3 as IP, type index$y_IPReverseStatus as IPReverseStatus, type IPVersion$1 as IPVersion, type InstallServerRequest$3 as InstallServerRequest, type ListOSRequest$3 as ListOSRequest, type ListOSResponse$1 as ListOSResponse, type ListOffersRequest$4 as ListOffersRequest, type ListOffersResponse$2 as ListOffersResponse, type ListOptionsRequest$1 as ListOptionsRequest, type index$y_ListOptionsResponse as ListOptionsResponse, type ListServerEventsRequest$3 as ListServerEventsRequest, type ListServerEventsRequestOrderBy$1 as ListServerEventsRequestOrderBy, type ListServerEventsResponse$1 as ListServerEventsResponse, type index$y_ListServerPrivateNetworksRequestOrderBy as ListServerPrivateNetworksRequestOrderBy, type index$y_ListServerPrivateNetworksResponse as ListServerPrivateNetworksResponse, type ListServersRequest$4 as ListServersRequest, type ListServersRequestOrderBy$1 as ListServersRequestOrderBy, type ListServersResponse$2 as ListServersResponse, type ListSettingsRequest$1 as ListSettingsRequest, type index$y_ListSettingsRequestOrderBy as ListSettingsRequestOrderBy, type index$y_ListSettingsResponse as ListSettingsResponse, type Memory$1 as Memory, type OS$1 as OS, type index$y_OSOSField as OSOSField, type Offer$2 as Offer, type index$y_OfferOptionOffer as OfferOptionOffer, type index$y_OfferStock as OfferStock, type index$y_OfferSubscriptionPeriod as OfferSubscriptionPeriod, type index$y_Option as Option, type PersistentMemory$1 as PersistentMemory, index$y_PrivateNetworkAPI as PrivateNetworkAPI, type index$y_PrivateNetworkApiAddServerPrivateNetworkRequest as PrivateNetworkApiAddServerPrivateNetworkRequest, type index$y_PrivateNetworkApiDeleteServerPrivateNetworkRequest as PrivateNetworkApiDeleteServerPrivateNetworkRequest, type index$y_PrivateNetworkApiListServerPrivateNetworksRequest as PrivateNetworkApiListServerPrivateNetworksRequest, type index$y_PrivateNetworkApiSetServerPrivateNetworksRequest as PrivateNetworkApiSetServerPrivateNetworksRequest, type RaidController$1 as RaidController, type RebootServerRequest$2 as RebootServerRequest, SERVER_INSTALL_TRANSIENT_STATUSES$1 as SERVER_INSTALL_TRANSIENT_STATUSES, index$y_SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES as SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES$2 as SERVER_TRANSIENT_STATUSES, type Server$2 as Server, type index$y_ServerBootType as ServerBootType, type ServerEvent$1 as ServerEvent, type ServerInstall$1 as ServerInstall, type ServerInstallStatus$1 as ServerInstallStatus, type ServerOption$1 as ServerOption, type index$y_ServerOptionOptionStatus as ServerOptionOptionStatus, type index$y_ServerPingStatus as ServerPingStatus, type index$y_ServerPrivateNetwork as ServerPrivateNetwork, type index$y_ServerPrivateNetworkStatus as ServerPrivateNetworkStatus, type index$y_ServerRescueServer as ServerRescueServer, type ServerStatus$1 as ServerStatus, type index$y_SetServerPrivateNetworksResponse as SetServerPrivateNetworksResponse, type index$y_Setting as Setting, type index$y_SettingType as SettingType, type StartBMCAccessRequest$1 as StartBMCAccessRequest, type StartServerRequest$2 as StartServerRequest, type StopBMCAccessRequest$2 as StopBMCAccessRequest, type StopServerRequest$2 as StopServerRequest, type UpdateIPRequest$2 as UpdateIPRequest, type UpdateServerRequest$4 as UpdateServerRequest, type index$y_UpdateSettingRequest as UpdateSettingRequest, validationRules_gen$h as ValidationRules };
2843
2869
  }
2844
2870
 
2845
2871
  declare namespace index$x {
@@ -3031,11 +3057,11 @@ declare class API$v extends API$z {
3031
3057
  };
3032
3058
  }
3033
3059
 
3034
- type index_gen$u_GetConsumptionRequest = GetConsumptionRequest;
3035
- type index_gen$u_GetConsumptionResponse = GetConsumptionResponse;
3036
- type index_gen$u_GetConsumptionResponseConsumption = GetConsumptionResponseConsumption;
3037
- declare namespace index_gen$u {
3038
- export { API$v as API, type Discount$1 as Discount, type DiscountCoupon$1 as DiscountCoupon, type DiscountDiscountMode$1 as DiscountDiscountMode, type DiscountFilter$1 as DiscountFilter, type DiscountFilterType$1 as DiscountFilterType, type DownloadInvoiceRequest$1 as DownloadInvoiceRequest, type DownloadInvoiceRequestFileType$1 as DownloadInvoiceRequestFileType, type index_gen$u_GetConsumptionRequest as GetConsumptionRequest, type index_gen$u_GetConsumptionResponse as GetConsumptionResponse, type index_gen$u_GetConsumptionResponseConsumption as GetConsumptionResponseConsumption, type Invoice$2 as Invoice, type InvoiceType$1 as InvoiceType, type ListDiscountsRequest$1 as ListDiscountsRequest, type ListDiscountsRequestOrderBy$1 as ListDiscountsRequestOrderBy, type ListDiscountsResponse$1 as ListDiscountsResponse, type ListInvoicesRequest$1 as ListInvoicesRequest, type ListInvoicesRequestOrderBy$2 as ListInvoicesRequestOrderBy, type ListInvoicesResponse$2 as ListInvoicesResponse };
3060
+ type index_gen$v_GetConsumptionRequest = GetConsumptionRequest;
3061
+ type index_gen$v_GetConsumptionResponse = GetConsumptionResponse;
3062
+ type index_gen$v_GetConsumptionResponseConsumption = GetConsumptionResponseConsumption;
3063
+ declare namespace index_gen$v {
3064
+ export { API$v as API, type Discount$1 as Discount, type DiscountCoupon$1 as DiscountCoupon, type DiscountDiscountMode$1 as DiscountDiscountMode, type DiscountFilter$1 as DiscountFilter, type DiscountFilterType$1 as DiscountFilterType, type DownloadInvoiceRequest$1 as DownloadInvoiceRequest, type DownloadInvoiceRequestFileType$1 as DownloadInvoiceRequestFileType, type index_gen$v_GetConsumptionRequest as GetConsumptionRequest, type index_gen$v_GetConsumptionResponse as GetConsumptionResponse, type index_gen$v_GetConsumptionResponseConsumption as GetConsumptionResponseConsumption, type Invoice$2 as Invoice, type InvoiceType$1 as InvoiceType, type ListDiscountsRequest$1 as ListDiscountsRequest, type ListDiscountsRequestOrderBy$1 as ListDiscountsRequestOrderBy, type ListDiscountsResponse$1 as ListDiscountsResponse, type ListInvoicesRequest$1 as ListInvoicesRequest, type ListInvoicesRequestOrderBy$2 as ListInvoicesRequestOrderBy, type ListInvoicesResponse$2 as ListInvoicesResponse };
3039
3065
  }
3040
3066
 
3041
3067
  type DiscountDiscountMode = 'unknown_discount_mode' | 'discount_mode_rate' | 'discount_mode_value' | 'discount_mode_splittable';
@@ -3385,36 +3411,36 @@ declare class API$u extends API$z {
3385
3411
  };
3386
3412
  }
3387
3413
 
3388
- type index_gen$t_Discount = Discount;
3389
- type index_gen$t_DiscountCoupon = DiscountCoupon;
3390
- type index_gen$t_DiscountDiscountMode = DiscountDiscountMode;
3391
- type index_gen$t_DiscountFilter = DiscountFilter;
3392
- type index_gen$t_DiscountFilterType = DiscountFilterType;
3393
- type index_gen$t_DownloadInvoiceRequest = DownloadInvoiceRequest;
3394
- type index_gen$t_DownloadInvoiceRequestFileType = DownloadInvoiceRequestFileType;
3395
- type index_gen$t_ExportInvoicesRequest = ExportInvoicesRequest;
3396
- type index_gen$t_ExportInvoicesRequestFileType = ExportInvoicesRequestFileType;
3397
- type index_gen$t_ExportInvoicesRequestOrderBy = ExportInvoicesRequestOrderBy;
3398
- type index_gen$t_GetInvoiceRequest = GetInvoiceRequest;
3399
- type index_gen$t_InvoiceType = InvoiceType;
3400
- type index_gen$t_ListConsumptionsRequest = ListConsumptionsRequest;
3401
- type index_gen$t_ListConsumptionsRequestOrderBy = ListConsumptionsRequestOrderBy;
3402
- type index_gen$t_ListConsumptionsResponse = ListConsumptionsResponse;
3403
- type index_gen$t_ListConsumptionsResponseConsumption = ListConsumptionsResponseConsumption;
3404
- type index_gen$t_ListDiscountsRequest = ListDiscountsRequest;
3405
- type index_gen$t_ListDiscountsRequestOrderBy = ListDiscountsRequestOrderBy;
3406
- type index_gen$t_ListDiscountsResponse = ListDiscountsResponse;
3407
- type index_gen$t_ListInvoicesRequest = ListInvoicesRequest;
3408
- type index_gen$t_ListTaxesRequest = ListTaxesRequest;
3409
- type index_gen$t_ListTaxesRequestOrderBy = ListTaxesRequestOrderBy;
3410
- type index_gen$t_ListTaxesResponse = ListTaxesResponse;
3411
- type index_gen$t_ListTaxesResponseTax = ListTaxesResponseTax;
3412
- declare namespace index_gen$t {
3413
- export { API$u as API, type index_gen$t_Discount as Discount, type index_gen$t_DiscountCoupon as DiscountCoupon, type index_gen$t_DiscountDiscountMode as DiscountDiscountMode, type index_gen$t_DiscountFilter as DiscountFilter, type index_gen$t_DiscountFilterType as DiscountFilterType, type index_gen$t_DownloadInvoiceRequest as DownloadInvoiceRequest, type index_gen$t_DownloadInvoiceRequestFileType as DownloadInvoiceRequestFileType, type index_gen$t_ExportInvoicesRequest as ExportInvoicesRequest, type index_gen$t_ExportInvoicesRequestFileType as ExportInvoicesRequestFileType, type index_gen$t_ExportInvoicesRequestOrderBy as ExportInvoicesRequestOrderBy, type index_gen$t_GetInvoiceRequest as GetInvoiceRequest, type Invoice$1 as Invoice, type index_gen$t_InvoiceType as InvoiceType, type index_gen$t_ListConsumptionsRequest as ListConsumptionsRequest, type index_gen$t_ListConsumptionsRequestOrderBy as ListConsumptionsRequestOrderBy, type index_gen$t_ListConsumptionsResponse as ListConsumptionsResponse, type index_gen$t_ListConsumptionsResponseConsumption as ListConsumptionsResponseConsumption, type index_gen$t_ListDiscountsRequest as ListDiscountsRequest, type index_gen$t_ListDiscountsRequestOrderBy as ListDiscountsRequestOrderBy, type index_gen$t_ListDiscountsResponse as ListDiscountsResponse, type index_gen$t_ListInvoicesRequest as ListInvoicesRequest, type ListInvoicesRequestOrderBy$1 as ListInvoicesRequestOrderBy, type ListInvoicesResponse$1 as ListInvoicesResponse, type index_gen$t_ListTaxesRequest as ListTaxesRequest, type index_gen$t_ListTaxesRequestOrderBy as ListTaxesRequestOrderBy, type index_gen$t_ListTaxesResponse as ListTaxesResponse, type index_gen$t_ListTaxesResponseTax as ListTaxesResponseTax };
3414
+ type index_gen$u_Discount = Discount;
3415
+ type index_gen$u_DiscountCoupon = DiscountCoupon;
3416
+ type index_gen$u_DiscountDiscountMode = DiscountDiscountMode;
3417
+ type index_gen$u_DiscountFilter = DiscountFilter;
3418
+ type index_gen$u_DiscountFilterType = DiscountFilterType;
3419
+ type index_gen$u_DownloadInvoiceRequest = DownloadInvoiceRequest;
3420
+ type index_gen$u_DownloadInvoiceRequestFileType = DownloadInvoiceRequestFileType;
3421
+ type index_gen$u_ExportInvoicesRequest = ExportInvoicesRequest;
3422
+ type index_gen$u_ExportInvoicesRequestFileType = ExportInvoicesRequestFileType;
3423
+ type index_gen$u_ExportInvoicesRequestOrderBy = ExportInvoicesRequestOrderBy;
3424
+ type index_gen$u_GetInvoiceRequest = GetInvoiceRequest;
3425
+ type index_gen$u_InvoiceType = InvoiceType;
3426
+ type index_gen$u_ListConsumptionsRequest = ListConsumptionsRequest;
3427
+ type index_gen$u_ListConsumptionsRequestOrderBy = ListConsumptionsRequestOrderBy;
3428
+ type index_gen$u_ListConsumptionsResponse = ListConsumptionsResponse;
3429
+ type index_gen$u_ListConsumptionsResponseConsumption = ListConsumptionsResponseConsumption;
3430
+ type index_gen$u_ListDiscountsRequest = ListDiscountsRequest;
3431
+ type index_gen$u_ListDiscountsRequestOrderBy = ListDiscountsRequestOrderBy;
3432
+ type index_gen$u_ListDiscountsResponse = ListDiscountsResponse;
3433
+ type index_gen$u_ListInvoicesRequest = ListInvoicesRequest;
3434
+ type index_gen$u_ListTaxesRequest = ListTaxesRequest;
3435
+ type index_gen$u_ListTaxesRequestOrderBy = ListTaxesRequestOrderBy;
3436
+ type index_gen$u_ListTaxesResponse = ListTaxesResponse;
3437
+ type index_gen$u_ListTaxesResponseTax = ListTaxesResponseTax;
3438
+ declare namespace index_gen$u {
3439
+ export { API$u as API, type index_gen$u_Discount as Discount, type index_gen$u_DiscountCoupon as DiscountCoupon, type index_gen$u_DiscountDiscountMode as DiscountDiscountMode, type index_gen$u_DiscountFilter as DiscountFilter, type index_gen$u_DiscountFilterType as DiscountFilterType, type index_gen$u_DownloadInvoiceRequest as DownloadInvoiceRequest, type index_gen$u_DownloadInvoiceRequestFileType as DownloadInvoiceRequestFileType, type index_gen$u_ExportInvoicesRequest as ExportInvoicesRequest, type index_gen$u_ExportInvoicesRequestFileType as ExportInvoicesRequestFileType, type index_gen$u_ExportInvoicesRequestOrderBy as ExportInvoicesRequestOrderBy, type index_gen$u_GetInvoiceRequest as GetInvoiceRequest, type Invoice$1 as Invoice, type index_gen$u_InvoiceType as InvoiceType, type index_gen$u_ListConsumptionsRequest as ListConsumptionsRequest, type index_gen$u_ListConsumptionsRequestOrderBy as ListConsumptionsRequestOrderBy, type index_gen$u_ListConsumptionsResponse as ListConsumptionsResponse, type index_gen$u_ListConsumptionsResponseConsumption as ListConsumptionsResponseConsumption, type index_gen$u_ListDiscountsRequest as ListDiscountsRequest, type index_gen$u_ListDiscountsRequestOrderBy as ListDiscountsRequestOrderBy, type index_gen$u_ListDiscountsResponse as ListDiscountsResponse, type index_gen$u_ListInvoicesRequest as ListInvoicesRequest, type ListInvoicesRequestOrderBy$1 as ListInvoicesRequestOrderBy, type ListInvoicesResponse$1 as ListInvoicesResponse, type index_gen$u_ListTaxesRequest as ListTaxesRequest, type index_gen$u_ListTaxesRequestOrderBy as ListTaxesRequestOrderBy, type index_gen$u_ListTaxesResponse as ListTaxesResponse, type index_gen$u_ListTaxesResponseTax as ListTaxesResponseTax };
3414
3440
  }
3415
3441
 
3416
3442
  declare namespace index$w {
3417
- export { index_gen$u as v2alpha1, index_gen$t as v2beta1 };
3443
+ export { index_gen$v as v2alpha1, index_gen$u as v2beta1 };
3418
3444
  }
3419
3445
 
3420
3446
  type ListSnapshotsRequestOrderBy$2 = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
@@ -3438,7 +3464,10 @@ interface Reference$1 {
3438
3464
  createdAt?: Date;
3439
3465
  /** Type of reference (link, exclusive, read_only). */
3440
3466
  type: ReferenceType;
3441
- /** Status of reference (attaching, attached, detaching). */
3467
+ /**
3468
+ * Status of the reference. Statuses include `attaching`, `attached`, and
3469
+ * `detaching`.
3470
+ */
3442
3471
  status: ReferenceStatus;
3443
3472
  }
3444
3473
  interface SnapshotParentVolume {
@@ -3896,27 +3925,954 @@ declare const Reference: {
3896
3925
  };
3897
3926
  };
3898
3927
 
3899
- declare const validationRules_gen$f_ListVolumeTypesRequest: typeof ListVolumeTypesRequest;
3900
- declare const validationRules_gen$f_Reference: typeof Reference;
3901
- declare namespace validationRules_gen$f {
3902
- export { CreateSnapshotRequest$3 as CreateSnapshotRequest, CreateVolumeRequest$2 as CreateVolumeRequest, ListSnapshotsRequest$3 as ListSnapshotsRequest, validationRules_gen$f_ListVolumeTypesRequest as ListVolumeTypesRequest, ListVolumesRequest$2 as ListVolumesRequest, validationRules_gen$f_Reference as Reference };
3903
- }
3904
-
3905
- type index_gen$s_CreateVolumeRequestFromEmpty = CreateVolumeRequestFromEmpty;
3906
- type index_gen$s_CreateVolumeRequestFromSnapshot = CreateVolumeRequestFromSnapshot;
3907
- type index_gen$s_ListVolumeTypesResponse = ListVolumeTypesResponse;
3908
- declare const index_gen$s_REFERENCE_TRANSIENT_STATUSES: typeof REFERENCE_TRANSIENT_STATUSES;
3909
- type index_gen$s_ReferenceStatus = ReferenceStatus;
3910
- type index_gen$s_ReferenceType = ReferenceType;
3911
- type index_gen$s_SnapshotParentVolume = SnapshotParentVolume;
3912
- type index_gen$s_VolumeSpecifications = VolumeSpecifications;
3913
- type index_gen$s_VolumeStatus = VolumeStatus;
3914
- declare namespace index_gen$s {
3915
- export { API$t as API, type CreateSnapshotRequest$4 as CreateSnapshotRequest, type CreateVolumeRequest$3 as CreateVolumeRequest, type index_gen$s_CreateVolumeRequestFromEmpty as CreateVolumeRequestFromEmpty, type index_gen$s_CreateVolumeRequestFromSnapshot as CreateVolumeRequestFromSnapshot, type DeleteSnapshotRequest$3 as DeleteSnapshotRequest, type DeleteVolumeRequest$2 as DeleteVolumeRequest, type GetSnapshotRequest$3 as GetSnapshotRequest, type GetVolumeRequest$2 as GetVolumeRequest, type ListSnapshotsRequest$4 as ListSnapshotsRequest, type ListSnapshotsRequestOrderBy$2 as ListSnapshotsRequestOrderBy, type ListSnapshotsResponse$3 as ListSnapshotsResponse, type ListVolumeTypesRequest$1 as ListVolumeTypesRequest, type index_gen$s_ListVolumeTypesResponse as ListVolumeTypesResponse, type ListVolumesRequest$3 as ListVolumesRequest, type ListVolumesRequestOrderBy$1 as ListVolumesRequestOrderBy, type ListVolumesResponse$2 as ListVolumesResponse, index_gen$s_REFERENCE_TRANSIENT_STATUSES as REFERENCE_TRANSIENT_STATUSES, type Reference$1 as Reference, type index_gen$s_ReferenceStatus as ReferenceStatus, type index_gen$s_ReferenceType as ReferenceType, SNAPSHOT_TRANSIENT_STATUSES$3 as SNAPSHOT_TRANSIENT_STATUSES, type Snapshot$3 as Snapshot, type index_gen$s_SnapshotParentVolume as SnapshotParentVolume, type SnapshotStatus$2 as SnapshotStatus, type StorageClass$2 as StorageClass, type UpdateSnapshotRequest$3 as UpdateSnapshotRequest, type UpdateVolumeRequest$2 as UpdateVolumeRequest, VOLUME_TRANSIENT_STATUSES$1 as VOLUME_TRANSIENT_STATUSES, validationRules_gen$f as ValidationRules, type Volume$4 as Volume, type index_gen$s_VolumeSpecifications as VolumeSpecifications, type index_gen$s_VolumeStatus as VolumeStatus, type VolumeType$3 as VolumeType };
3928
+ declare const validationRules_gen$g_ListVolumeTypesRequest: typeof ListVolumeTypesRequest;
3929
+ declare const validationRules_gen$g_Reference: typeof Reference;
3930
+ declare namespace validationRules_gen$g {
3931
+ export { CreateSnapshotRequest$3 as CreateSnapshotRequest, CreateVolumeRequest$2 as CreateVolumeRequest, ListSnapshotsRequest$3 as ListSnapshotsRequest, validationRules_gen$g_ListVolumeTypesRequest as ListVolumeTypesRequest, ListVolumesRequest$2 as ListVolumesRequest, validationRules_gen$g_Reference as Reference };
3932
+ }
3933
+
3934
+ type index_gen$t_CreateVolumeRequestFromEmpty = CreateVolumeRequestFromEmpty;
3935
+ type index_gen$t_CreateVolumeRequestFromSnapshot = CreateVolumeRequestFromSnapshot;
3936
+ type index_gen$t_ListVolumeTypesResponse = ListVolumeTypesResponse;
3937
+ declare const index_gen$t_REFERENCE_TRANSIENT_STATUSES: typeof REFERENCE_TRANSIENT_STATUSES;
3938
+ type index_gen$t_ReferenceStatus = ReferenceStatus;
3939
+ type index_gen$t_ReferenceType = ReferenceType;
3940
+ type index_gen$t_SnapshotParentVolume = SnapshotParentVolume;
3941
+ type index_gen$t_VolumeSpecifications = VolumeSpecifications;
3942
+ type index_gen$t_VolumeStatus = VolumeStatus;
3943
+ declare namespace index_gen$t {
3944
+ export { API$t as API, type CreateSnapshotRequest$4 as CreateSnapshotRequest, type CreateVolumeRequest$3 as CreateVolumeRequest, type index_gen$t_CreateVolumeRequestFromEmpty as CreateVolumeRequestFromEmpty, type index_gen$t_CreateVolumeRequestFromSnapshot as CreateVolumeRequestFromSnapshot, type DeleteSnapshotRequest$3 as DeleteSnapshotRequest, type DeleteVolumeRequest$2 as DeleteVolumeRequest, type GetSnapshotRequest$3 as GetSnapshotRequest, type GetVolumeRequest$2 as GetVolumeRequest, type ListSnapshotsRequest$4 as ListSnapshotsRequest, type ListSnapshotsRequestOrderBy$2 as ListSnapshotsRequestOrderBy, type ListSnapshotsResponse$3 as ListSnapshotsResponse, type ListVolumeTypesRequest$1 as ListVolumeTypesRequest, type index_gen$t_ListVolumeTypesResponse as ListVolumeTypesResponse, type ListVolumesRequest$3 as ListVolumesRequest, type ListVolumesRequestOrderBy$1 as ListVolumesRequestOrderBy, type ListVolumesResponse$2 as ListVolumesResponse, index_gen$t_REFERENCE_TRANSIENT_STATUSES as REFERENCE_TRANSIENT_STATUSES, type Reference$1 as Reference, type index_gen$t_ReferenceStatus as ReferenceStatus, type index_gen$t_ReferenceType as ReferenceType, SNAPSHOT_TRANSIENT_STATUSES$3 as SNAPSHOT_TRANSIENT_STATUSES, type Snapshot$3 as Snapshot, type index_gen$t_SnapshotParentVolume as SnapshotParentVolume, type SnapshotStatus$2 as SnapshotStatus, type StorageClass$2 as StorageClass, type UpdateSnapshotRequest$3 as UpdateSnapshotRequest, type UpdateVolumeRequest$2 as UpdateVolumeRequest, VOLUME_TRANSIENT_STATUSES$1 as VOLUME_TRANSIENT_STATUSES, validationRules_gen$g as ValidationRules, type Volume$4 as Volume, type index_gen$t_VolumeSpecifications as VolumeSpecifications, type index_gen$t_VolumeStatus as VolumeStatus, type VolumeType$3 as VolumeType };
3916
3945
  }
3917
3946
 
3918
3947
  declare namespace index$v {
3919
- export { index_gen$s as v1alpha1 };
3948
+ export { index_gen$t as v1alpha1 };
3949
+ }
3950
+
3951
+ type DataSourceOrigin = 'unknown_origin' | 'scaleway' | 'external';
3952
+ type DataSourceType = 'unknown_type' | 'metrics' | 'logs' | 'traces';
3953
+ type GrafanaUserRole$1 = 'unknown_role' | 'editor' | 'viewer';
3954
+ type ListDataSourcesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc' | 'type_asc' | 'type_desc';
3955
+ type ListGrafanaUsersRequestOrderBy$1 = 'login_asc' | 'login_desc';
3956
+ type ListPlansRequestOrderBy$1 = 'name_asc' | 'name_desc';
3957
+ type ListTokensRequestOrderBy$3 = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
3958
+ type PlanName$1 = 'unknown_name' | 'free' | 'premium' | 'custom';
3959
+ type TokenScope = 'unknown_scope' | 'read_only_metrics' | 'write_only_metrics' | 'full_access_metrics_rules' | 'read_only_logs' | 'write_only_logs' | 'full_access_logs_rules' | 'full_access_alert_manager' | 'read_only_traces' | 'write_only_traces';
3960
+ type UsageUnit = 'unknown_unit' | 'bytes' | 'samples';
3961
+ interface ContactPointEmail$1 {
3962
+ to: string;
3963
+ }
3964
+ /** Contact point. */
3965
+ interface ContactPoint$1 {
3966
+ /**
3967
+ * Email address to send alerts to.
3968
+ *
3969
+ * One-of ('configuration'): at most one of 'email' could be set.
3970
+ */
3971
+ email?: ContactPointEmail$1;
3972
+ /**
3973
+ * Region to target. If none is passed will use default region from the
3974
+ * config.
3975
+ */
3976
+ region: Region;
3977
+ }
3978
+ /** Data source. */
3979
+ interface DataSource {
3980
+ /** ID of the data source. */
3981
+ id: string;
3982
+ /** ID of the Project the data source belongs to. */
3983
+ projectId: string;
3984
+ /** Data source name. */
3985
+ name: string;
3986
+ /** Data source URL. */
3987
+ url: string;
3988
+ /** Data source type. */
3989
+ type: DataSourceType;
3990
+ /** Data source origin. */
3991
+ origin: DataSourceOrigin;
3992
+ /** Date the data source was created. */
3993
+ createdAt?: Date;
3994
+ /** Date the data source was last updated. */
3995
+ updatedAt?: Date;
3996
+ /** Indicates whether the data source is synchronized with Grafana. */
3997
+ synchronizedWithGrafana: boolean;
3998
+ /** Region of the data source. */
3999
+ region: Region;
4000
+ }
4001
+ /** Grafana dashboard. */
4002
+ interface GrafanaProductDashboard$1 {
4003
+ /** Dashboard name. */
4004
+ name: string;
4005
+ /** Dashboard title. */
4006
+ title: string;
4007
+ /** Dashboard URL. */
4008
+ url: string;
4009
+ /** Dashboard tags. */
4010
+ tags: string[];
4011
+ /** Dashboard variables. */
4012
+ variables: string[];
4013
+ }
4014
+ /** Grafana user. */
4015
+ interface GrafanaUser$1 {
4016
+ /** ID of the Grafana user. */
4017
+ id: number;
4018
+ /** Username of the Grafana user. */
4019
+ login: string;
4020
+ /** Role assigned to the Grafana user. */
4021
+ role: GrafanaUserRole$1;
4022
+ /** Grafana user's password. */
4023
+ password?: string;
4024
+ }
4025
+ /** Type of pricing plan. */
4026
+ interface Plan$1 {
4027
+ /** Name of a given pricing plan. */
4028
+ name: PlanName$1;
4029
+ /** Interval of time during which Scaleway's Cockpit keeps your metrics. */
4030
+ retentionMetricsInterval?: string;
4031
+ /** Interval of time during which Scaleway's Cockpit keeps your logs. */
4032
+ retentionLogsInterval?: string;
4033
+ /** Interval of time during which Scaleway's Cockpit keeps your traces. */
4034
+ retentionTracesInterval?: string;
4035
+ /** Ingestion price in cents for 1 million samples. */
4036
+ sampleIngestionPrice: number;
4037
+ /** Ingestion price in cents for 1 GB of logs. */
4038
+ logsIngestionPrice: number;
4039
+ /** Ingestion price in cents for 1 GB of traces. */
4040
+ tracesIngestionPrice: number;
4041
+ /** Retention price in euros per month. */
4042
+ monthlyPrice: number;
4043
+ }
4044
+ /** Token. */
4045
+ interface Token$3 {
4046
+ /** ID of the token. */
4047
+ id: string;
4048
+ /** ID of the Project the token belongs to. */
4049
+ projectId: string;
4050
+ /** Name of the token. */
4051
+ name: string;
4052
+ /** Token creation date. */
4053
+ createdAt?: Date;
4054
+ /** Token last modification date. */
4055
+ updatedAt?: Date;
4056
+ /** Token permission scopes. */
4057
+ scopes: TokenScope[];
4058
+ /** Token secret key. */
4059
+ secretKey?: string;
4060
+ /** Regions where the token is located. */
4061
+ region: Region;
4062
+ }
4063
+ /** Data source usage. */
4064
+ interface Usage {
4065
+ /** ID of the data source. */
4066
+ dataSourceId?: string;
4067
+ /** ID of the Project the data source belongs to. */
4068
+ projectId: string;
4069
+ /** Origin of the data source. */
4070
+ dataSourceOrigin: DataSourceOrigin;
4071
+ /** Type of the data source. */
4072
+ dataSourceType: DataSourceType;
4073
+ /** Unit of the data source usage. */
4074
+ unit: UsageUnit;
4075
+ /** Interval for the data source usage. */
4076
+ interval?: string;
4077
+ /** Data source usage for the given interval. */
4078
+ quantityOverInterval: number;
4079
+ /** Region of the data source usage. */
4080
+ region: Region;
4081
+ }
4082
+ /** Alert manager information. */
4083
+ interface AlertManager {
4084
+ /** Alert manager URL. */
4085
+ alertManagerUrl?: string;
4086
+ /** The Alert manager is enabled. */
4087
+ alertManagerEnabled: boolean;
4088
+ /** Managed alerts are enabled. */
4089
+ managedAlertsEnabled: boolean;
4090
+ /** Regions where the Alert manager is enabled. */
4091
+ region: Region;
4092
+ }
4093
+ /** Create a Grafana user. */
4094
+ type GlobalApiCreateGrafanaUserRequest = {
4095
+ /** ID of the Project in which to create the Grafana user. */
4096
+ projectId?: string;
4097
+ /**
4098
+ * Username of the Grafana user. Note that the `admin` username is not
4099
+ * available for creation.
4100
+ */
4101
+ login: string;
4102
+ /** Role assigned to the Grafana user. */
4103
+ role?: GrafanaUserRole$1;
4104
+ };
4105
+ /** Delete a Grafana user. */
4106
+ type GlobalApiDeleteGrafanaUserRequest = {
4107
+ /** ID of the Grafana user. */
4108
+ grafanaUserId: number;
4109
+ /** ID of the Project to target. */
4110
+ projectId?: string;
4111
+ };
4112
+ /** Retrieve a pricing plan for the given Project. */
4113
+ type GlobalApiGetCurrentPlanRequest = {
4114
+ /** ID of the Project. */
4115
+ projectId?: string;
4116
+ };
4117
+ /** Retrieve a specific dashboard. */
4118
+ type GlobalApiGetGrafanaProductDashboardRequest = {
4119
+ /** Name of the dashboard. */
4120
+ dashboardName: string;
4121
+ /** ID of the Project the dashboard belongs to. */
4122
+ projectId?: string;
4123
+ };
4124
+ /** Request a Grafana. */
4125
+ type GlobalApiGetGrafanaRequest = {
4126
+ /** ID of the Project. */
4127
+ projectId?: string;
4128
+ };
4129
+ /** Retrieve a list of available product dashboards. */
4130
+ type GlobalApiListGrafanaProductDashboardsRequest = {
4131
+ /** ID of the Project to target. */
4132
+ projectId?: string;
4133
+ /** Page number. */
4134
+ page?: number;
4135
+ /** Page size. */
4136
+ pageSize?: number;
4137
+ /** Tags to filter for. */
4138
+ tags?: string[];
4139
+ };
4140
+ /** List all Grafana users. */
4141
+ type GlobalApiListGrafanaUsersRequest = {
4142
+ /** Page number. */
4143
+ page?: number;
4144
+ /** Page size. */
4145
+ pageSize?: number;
4146
+ /** Order of the Grafana users. */
4147
+ orderBy?: ListGrafanaUsersRequestOrderBy$1;
4148
+ /** ID of the Project to target. */
4149
+ projectId?: string;
4150
+ };
4151
+ /** Retrieve a list of available pricing plans. */
4152
+ type GlobalApiListPlansRequest = {
4153
+ /** Page number. */
4154
+ page?: number;
4155
+ /** Page size. */
4156
+ pageSize?: number;
4157
+ orderBy?: ListPlansRequestOrderBy$1;
4158
+ };
4159
+ /** Reset a Grafana user's password. */
4160
+ type GlobalApiResetGrafanaUserPasswordRequest = {
4161
+ /** ID of the Grafana user. */
4162
+ grafanaUserId: number;
4163
+ /** ID of the Project to target. */
4164
+ projectId?: string;
4165
+ };
4166
+ /** Select a specific pricing plan. */
4167
+ type GlobalApiSelectPlanRequest = {
4168
+ /** ID of the Project. */
4169
+ projectId?: string;
4170
+ /** Name of the pricing plan. */
4171
+ planName?: PlanName$1;
4172
+ };
4173
+ /**
4174
+ * Trigger the synchronization of all data sources created in the relevant
4175
+ * regions.
4176
+ */
4177
+ type GlobalApiSyncGrafanaDataSourcesRequest = {
4178
+ /** ID of the Project to target. */
4179
+ projectId?: string;
4180
+ };
4181
+ /** Grafana user. */
4182
+ interface Grafana {
4183
+ /** URL to access your Cockpit's Grafana. */
4184
+ grafanaUrl: string;
4185
+ }
4186
+ /** Response returned when listing contact points. */
4187
+ interface ListContactPointsResponse$1 {
4188
+ /** Total count of contact points associated with the default receiver. */
4189
+ totalCount: number;
4190
+ /** List of contact points associated with the default receiver. */
4191
+ contactPoints: ContactPoint$1[];
4192
+ /**
4193
+ * Indicates whether the Alert manager has other receivers than the default
4194
+ * one.
4195
+ */
4196
+ hasAdditionalReceivers: boolean;
4197
+ /**
4198
+ * Indicates whether there are unmanaged contact points on the default
4199
+ * receiver.
4200
+ */
4201
+ hasAdditionalContactPoints: boolean;
4202
+ }
4203
+ /** Response returned when listing data sources. */
4204
+ interface ListDataSourcesResponse {
4205
+ /** Total count of data sources matching the request. */
4206
+ totalCount: number;
4207
+ /** Data sources matching the request within the pagination. */
4208
+ dataSources: DataSource[];
4209
+ }
4210
+ /** Output returned when listing dashboards. */
4211
+ interface ListGrafanaProductDashboardsResponse$1 {
4212
+ /** Total count of Grafana dashboards. */
4213
+ totalCount: number;
4214
+ /** Grafana dashboards information. */
4215
+ dashboards: GrafanaProductDashboard$1[];
4216
+ }
4217
+ /** Ouptut returned when listing Grafana users. */
4218
+ interface ListGrafanaUsersResponse$1 {
4219
+ /** Total count of Grafana users. */
4220
+ totalCount: number;
4221
+ /** Grafana users information. */
4222
+ grafanaUsers: GrafanaUser$1[];
4223
+ }
4224
+ /** Output returned when listing pricing plans. */
4225
+ interface ListPlansResponse$1 {
4226
+ /** Total count of available pricing plans. */
4227
+ totalCount: number;
4228
+ /** Plan types information. */
4229
+ plans: Plan$1[];
4230
+ }
4231
+ /** Response returned when listing tokens. */
4232
+ interface ListTokensResponse$3 {
4233
+ /** Total count of tokens matching the request. */
4234
+ totalCount: number;
4235
+ /** Tokens matching the request within the pagination. */
4236
+ tokens: Token$3[];
4237
+ }
4238
+ /** Create a contact point. */
4239
+ type RegionalApiCreateContactPointRequest = {
4240
+ /**
4241
+ * Region to target. If none is passed will use default region from the
4242
+ * config.
4243
+ */
4244
+ region?: Region;
4245
+ /** ID of the Project to create the contact point in. */
4246
+ projectId?: string;
4247
+ /**
4248
+ * Email address of the contact point to create.
4249
+ *
4250
+ * One-of ('configuration'): at most one of 'email' could be set.
4251
+ */
4252
+ email?: ContactPointEmail$1;
4253
+ };
4254
+ /** Create a data source. */
4255
+ type RegionalApiCreateDataSourceRequest$1 = {
4256
+ /**
4257
+ * Region to target. If none is passed will use default region from the
4258
+ * config.
4259
+ */
4260
+ region?: Region;
4261
+ /** ID of the Project the data source belongs to. */
4262
+ projectId?: string;
4263
+ /** Data source name. */
4264
+ name: string;
4265
+ /** Data source type. */
4266
+ type?: DataSourceType;
4267
+ };
4268
+ /** Create a token. */
4269
+ type RegionalApiCreateTokenRequest$1 = {
4270
+ /**
4271
+ * Region to target. If none is passed will use default region from the
4272
+ * config.
4273
+ */
4274
+ region?: Region;
4275
+ /** ID of the Project the token belongs to. */
4276
+ projectId?: string;
4277
+ /** Name of the token. */
4278
+ name: string;
4279
+ /** Token permission scopes. */
4280
+ tokenScopes?: TokenScope[];
4281
+ };
4282
+ /** Delete a contact point. */
4283
+ type RegionalApiDeleteContactPointRequest = {
4284
+ /**
4285
+ * Region to target. If none is passed will use default region from the
4286
+ * config.
4287
+ */
4288
+ region?: Region;
4289
+ /** ID of the Project containing the contact point to delete. */
4290
+ projectId?: string;
4291
+ /**
4292
+ * Email address of the contact point to delete.
4293
+ *
4294
+ * One-of ('configuration'): at most one of 'email' could be set.
4295
+ */
4296
+ email?: ContactPointEmail$1;
4297
+ };
4298
+ /** Delete a data source. */
4299
+ type RegionalApiDeleteDataSourceRequest = {
4300
+ /**
4301
+ * Region to target. If none is passed will use default region from the
4302
+ * config.
4303
+ */
4304
+ region?: Region;
4305
+ /** ID of the data source to delete. */
4306
+ dataSourceId: string;
4307
+ };
4308
+ /** Delete a token. */
4309
+ type RegionalApiDeleteTokenRequest = {
4310
+ /**
4311
+ * Region to target. If none is passed will use default region from the
4312
+ * config.
4313
+ */
4314
+ region?: Region;
4315
+ /** ID of the token to delete. */
4316
+ tokenId: string;
4317
+ };
4318
+ /** Disable the Alert manager. */
4319
+ type RegionalApiDisableAlertManagerRequest = {
4320
+ /**
4321
+ * Region to target. If none is passed will use default region from the
4322
+ * config.
4323
+ */
4324
+ region?: Region;
4325
+ /** ID of the Project to disable the Alert manager in. */
4326
+ projectId?: string;
4327
+ };
4328
+ /** Disable the sending of managed alerts. */
4329
+ type RegionalApiDisableManagedAlertsRequest = {
4330
+ /**
4331
+ * Region to target. If none is passed will use default region from the
4332
+ * config.
4333
+ */
4334
+ region?: Region;
4335
+ /** ID of the Project. */
4336
+ projectId?: string;
4337
+ };
4338
+ /** Enable the Alert manager. */
4339
+ type RegionalApiEnableAlertManagerRequest = {
4340
+ /**
4341
+ * Region to target. If none is passed will use default region from the
4342
+ * config.
4343
+ */
4344
+ region?: Region;
4345
+ /** ID of the Project to enable the Alert manager in. */
4346
+ projectId?: string;
4347
+ };
4348
+ /** Enable the sending of managed alerts. */
4349
+ type RegionalApiEnableManagedAlertsRequest = {
4350
+ /**
4351
+ * Region to target. If none is passed will use default region from the
4352
+ * config.
4353
+ */
4354
+ region?: Region;
4355
+ /** ID of the Project. */
4356
+ projectId?: string;
4357
+ };
4358
+ /** Get the Alert manager. */
4359
+ type RegionalApiGetAlertManagerRequest = {
4360
+ /**
4361
+ * Region to target. If none is passed will use default region from the
4362
+ * config.
4363
+ */
4364
+ region?: Region;
4365
+ /** Project ID of the requested Alert manager. */
4366
+ projectId?: string;
4367
+ };
4368
+ /** Retrieve a data source. */
4369
+ type RegionalApiGetDataSourceRequest = {
4370
+ /**
4371
+ * Region to target. If none is passed will use default region from the
4372
+ * config.
4373
+ */
4374
+ region?: Region;
4375
+ /** ID of the relevant data source. */
4376
+ dataSourceId: string;
4377
+ };
4378
+ /** Get a token. */
4379
+ type RegionalApiGetTokenRequest = {
4380
+ /**
4381
+ * Region to target. If none is passed will use default region from the
4382
+ * config.
4383
+ */
4384
+ region?: Region;
4385
+ /** Token ID. */
4386
+ tokenId: string;
4387
+ };
4388
+ type RegionalApiGetUsageOverviewRequest = {
4389
+ /**
4390
+ * Region to target. If none is passed will use default region from the
4391
+ * config.
4392
+ */
4393
+ region?: Region;
4394
+ projectId?: string;
4395
+ interval?: string;
4396
+ };
4397
+ /** List contact points. */
4398
+ type RegionalApiListContactPointsRequest$1 = {
4399
+ /**
4400
+ * Region to target. If none is passed will use default region from the
4401
+ * config.
4402
+ */
4403
+ region?: Region;
4404
+ /** Page number to return, from the paginated results. */
4405
+ page?: number;
4406
+ /** Total count of contact points to return per page. */
4407
+ pageSize?: number;
4408
+ /** ID of the Project containing the contact points to list. */
4409
+ projectId?: string;
4410
+ };
4411
+ /** List data sources. */
4412
+ type RegionalApiListDataSourcesRequest$1 = {
4413
+ /**
4414
+ * Region to target. If none is passed will use default region from the
4415
+ * config.
4416
+ */
4417
+ region?: Region;
4418
+ /** Page number to return, from the paginated results. */
4419
+ page?: number;
4420
+ /** Number of data sources to return per page. */
4421
+ pageSize?: number;
4422
+ /** Sort order for data sources in the response. */
4423
+ orderBy?: ListDataSourcesRequestOrderBy;
4424
+ /**
4425
+ * Project ID to filter for, only data sources from this Project will be
4426
+ * returned.
4427
+ */
4428
+ projectId?: string;
4429
+ /**
4430
+ * Origin to filter for, only data sources with matching origin will be
4431
+ * returned.
4432
+ */
4433
+ origin?: DataSourceOrigin;
4434
+ /**
4435
+ * Types to filter for, only data sources with matching types will be
4436
+ * returned.
4437
+ */
4438
+ types?: DataSourceType[];
4439
+ };
4440
+ /** List tokens. */
4441
+ type RegionalApiListTokensRequest$1 = {
4442
+ /**
4443
+ * Region to target. If none is passed will use default region from the
4444
+ * config.
4445
+ */
4446
+ region?: Region;
4447
+ /** Page number to return, from the paginated results. */
4448
+ page?: number;
4449
+ /** Number of tokens to return per page. */
4450
+ pageSize?: number;
4451
+ /** Order in which to return results. */
4452
+ orderBy?: ListTokensRequestOrderBy$3;
4453
+ /** ID of the Project the tokens belong to. */
4454
+ projectId?: string;
4455
+ /** Token scopes to filter for. */
4456
+ tokenScopes?: TokenScope[];
4457
+ };
4458
+ /** Request to trigger a test alert. */
4459
+ type RegionalApiTriggerTestAlertRequest = {
4460
+ /**
4461
+ * Region to target. If none is passed will use default region from the
4462
+ * config.
4463
+ */
4464
+ region?: Region;
4465
+ /** ID of the Project. */
4466
+ projectId?: string;
4467
+ };
4468
+ interface UsageOverview {
4469
+ scalewayMetricsUsage?: Usage;
4470
+ scalewayLogsUsage?: Usage;
4471
+ externalMetricsUsage?: Usage;
4472
+ externalLogsUsage?: Usage;
4473
+ externalTracesUsage?: Usage;
4474
+ }
4475
+
4476
+ /**
4477
+ * Cockpit Global API.
4478
+ *
4479
+ * The Cockpit Global API allows you to manage your Cockpit's Grafana and plans.
4480
+ */
4481
+ declare class GlobalAPI extends API$z {
4482
+ /**
4483
+ * Get your Cockpit's Grafana. Retrieve information on your Cockpit's Grafana,
4484
+ * specified by the ID of the Project the Cockpit belongs to. The output
4485
+ * returned displays the URL to access your Cockpit's Grafana.
4486
+ *
4487
+ * @param request - The request {@link GlobalApiGetGrafanaRequest}
4488
+ * @returns A Promise of Grafana
4489
+ */
4490
+ getGrafana: (request?: Readonly<GlobalApiGetGrafanaRequest>) => Promise<Grafana>;
4491
+ /**
4492
+ * Synchronize Grafana data sources. Trigger the synchronization of all your
4493
+ * data sources and the alert manager in the relevant regions. The alert
4494
+ * manager will only be synchronized if you have enabled it.
4495
+ *
4496
+ * @param request - The request {@link GlobalApiSyncGrafanaDataSourcesRequest}
4497
+ */
4498
+ syncGrafanaDataSources: (request?: Readonly<GlobalApiSyncGrafanaDataSourcesRequest>) => Promise<void>;
4499
+ /**
4500
+ * Create a Grafana user. Create a Grafana user to connect to your Cockpit's
4501
+ * Grafana. Upon creation, your user password displays only once, so make sure
4502
+ * that you save it. Each Grafana user is associated with a role: viewer or
4503
+ * editor. A viewer can only view dashboards, whereas an editor can create and
4504
+ * edit dashboards. Note that the `admin` username is not available for
4505
+ * creation.
4506
+ *
4507
+ * @param request - The request {@link GlobalApiCreateGrafanaUserRequest}
4508
+ * @returns A Promise of GrafanaUser
4509
+ */
4510
+ createGrafanaUser: (request: Readonly<GlobalApiCreateGrafanaUserRequest>) => Promise<GrafanaUser$1>;
4511
+ protected pageOfListGrafanaUsers: (request?: Readonly<GlobalApiListGrafanaUsersRequest>) => Promise<ListGrafanaUsersResponse$1>;
4512
+ /**
4513
+ * List Grafana users. List all Grafana users created in your Cockpit's
4514
+ * Grafana. By default, the Grafana users returned in the list are ordered in
4515
+ * ascending order.
4516
+ *
4517
+ * @param request - The request {@link GlobalApiListGrafanaUsersRequest}
4518
+ * @returns A Promise of ListGrafanaUsersResponse
4519
+ */
4520
+ listGrafanaUsers: (request?: Readonly<GlobalApiListGrafanaUsersRequest>) => Promise<ListGrafanaUsersResponse$1> & {
4521
+ all: () => Promise<GrafanaUser$1[]>;
4522
+ [Symbol.asyncIterator]: () => AsyncGenerator<GrafanaUser$1[], void, void>;
4523
+ };
4524
+ /**
4525
+ * Delete a Grafana user. Delete a Grafana user from your Cockpit's Grafana,
4526
+ * specified by the ID of the Project the Cockpit belongs to, and the ID of
4527
+ * the Grafana user.
4528
+ *
4529
+ * @param request - The request {@link GlobalApiDeleteGrafanaUserRequest}
4530
+ */
4531
+ deleteGrafanaUser: (request: Readonly<GlobalApiDeleteGrafanaUserRequest>) => Promise<void>;
4532
+ /**
4533
+ * Reset a Grafana user password. Reset the password of a Grafana user,
4534
+ * specified by the ID of the Project the Cockpit belongs to, and the ID of
4535
+ * the Grafana user. A new password regenerates and only displays once. Make
4536
+ * sure that you save it.
4537
+ *
4538
+ * @param request - The request
4539
+ * {@link GlobalApiResetGrafanaUserPasswordRequest}
4540
+ * @returns A Promise of GrafanaUser
4541
+ */
4542
+ resetGrafanaUserPassword: (request: Readonly<GlobalApiResetGrafanaUserPasswordRequest>) => Promise<GrafanaUser$1>;
4543
+ protected pageOfListGrafanaProductDashboards: (request?: Readonly<GlobalApiListGrafanaProductDashboardsRequest>) => Promise<ListGrafanaProductDashboardsResponse$1>;
4544
+ /**
4545
+ * List Scaleway resources dashboards. Retrieve a list of available dashboards
4546
+ * in Grafana, for all Scaleway resources which are integrated with Cockpit.
4547
+ *
4548
+ * @param request - The request
4549
+ * {@link GlobalApiListGrafanaProductDashboardsRequest}
4550
+ * @returns A Promise of ListGrafanaProductDashboardsResponse
4551
+ */
4552
+ listGrafanaProductDashboards: (request?: Readonly<GlobalApiListGrafanaProductDashboardsRequest>) => Promise<ListGrafanaProductDashboardsResponse$1> & {
4553
+ all: () => Promise<GrafanaProductDashboard$1[]>;
4554
+ [Symbol.asyncIterator]: () => AsyncGenerator<GrafanaProductDashboard$1[], void, void>;
4555
+ };
4556
+ /**
4557
+ * Get Scaleway resource dashboard. Retrieve information about the dashboard
4558
+ * of a Scaleway resource in Grafana, specified by the ID of the Project the
4559
+ * Cockpit belongs to, and the name of the dashboard.
4560
+ *
4561
+ * @param request - The request
4562
+ * {@link GlobalApiGetGrafanaProductDashboardRequest}
4563
+ * @returns A Promise of GrafanaProductDashboard
4564
+ */
4565
+ getGrafanaProductDashboard: (request: Readonly<GlobalApiGetGrafanaProductDashboardRequest>) => Promise<GrafanaProductDashboard$1>;
4566
+ protected pageOfListPlans: (request?: Readonly<GlobalApiListPlansRequest>) => Promise<ListPlansResponse$1>;
4567
+ /**
4568
+ * List plan types. Retrieve a list of available pricing plan types.
4569
+ *
4570
+ * @param request - The request {@link GlobalApiListPlansRequest}
4571
+ * @returns A Promise of ListPlansResponse
4572
+ */
4573
+ listPlans: (request?: Readonly<GlobalApiListPlansRequest>) => Promise<ListPlansResponse$1> & {
4574
+ all: () => Promise<Plan$1[]>;
4575
+ [Symbol.asyncIterator]: () => AsyncGenerator<Plan$1[], void, void>;
4576
+ };
4577
+ /**
4578
+ * Apply a pricing plan. Apply a pricing plan on a given Project. You must
4579
+ * specify the ID of the pricing plan type. Note that you will be billed for
4580
+ * the plan you apply.
4581
+ *
4582
+ * @param request - The request {@link GlobalApiSelectPlanRequest}
4583
+ * @returns A Promise of Plan
4584
+ */
4585
+ selectPlan: (request?: Readonly<GlobalApiSelectPlanRequest>) => Promise<Plan$1>;
4586
+ /**
4587
+ * Get current plan. Retrieve a pricing plan for the given Project, specified
4588
+ * by the ID of the Project.
4589
+ *
4590
+ * @param request - The request {@link GlobalApiGetCurrentPlanRequest}
4591
+ * @returns A Promise of Plan
4592
+ */
4593
+ getCurrentPlan: (request?: Readonly<GlobalApiGetCurrentPlanRequest>) => Promise<Plan$1>;
4594
+ }
4595
+ /**
4596
+ * Cockpit Regional API.
4597
+ *
4598
+ * The Cockpit Regional API allows you to create data sources and tokens to
4599
+ * store and query data types such as metrics, logs, and traces. You can also
4600
+ * push your data into Cockpit, and send alerts to your contact points when your
4601
+ * resources may require your attention, using the regional Alert manager.
4602
+ */
4603
+ declare class RegionalAPI extends API$z {
4604
+ /** Lists the available regions of the API. */
4605
+ static readonly LOCALITIES: Region[];
4606
+ /**
4607
+ * Create a data source. You must specify the data source type upon creation.
4608
+ * Available data source types include:
4609
+ *
4610
+ * - Metrics
4611
+ * - Logs
4612
+ * - Traces The name of the data source will then be used as reference to name
4613
+ * the associated Grafana data source.
4614
+ *
4615
+ * @param request - The request {@link RegionalApiCreateDataSourceRequest}
4616
+ * @returns A Promise of DataSource
4617
+ */
4618
+ createDataSource: (request: Readonly<RegionalApiCreateDataSourceRequest$1>) => Promise<DataSource>;
4619
+ /**
4620
+ * Get a data source. Retrieve information about a given data source,
4621
+ * specified by the data source ID. The data source's information such as its
4622
+ * name, type, URL, origin, and retention period, is returned.
4623
+ *
4624
+ * @param request - The request {@link RegionalApiGetDataSourceRequest}
4625
+ * @returns A Promise of DataSource
4626
+ */
4627
+ getDataSource: (request: Readonly<RegionalApiGetDataSourceRequest>) => Promise<DataSource>;
4628
+ /**
4629
+ * Delete a data source. Delete a given data source, specified by the data
4630
+ * source ID. Note that deleting a data source is irreversible, and cannot be
4631
+ * undone.
4632
+ *
4633
+ * @param request - The request {@link RegionalApiDeleteDataSourceRequest}
4634
+ */
4635
+ deleteDataSource: (request: Readonly<RegionalApiDeleteDataSourceRequest>) => Promise<void>;
4636
+ protected pageOfListDataSources: (request?: Readonly<RegionalApiListDataSourcesRequest$1>) => Promise<ListDataSourcesResponse>;
4637
+ /**
4638
+ * List data sources. Retrieve the list of data sources available in the
4639
+ * specified region. By default, the data sources returned in the list are
4640
+ * ordered by creation date, in ascending order. You can list data sources by
4641
+ * Project, type and origin.
4642
+ *
4643
+ * @param request - The request {@link RegionalApiListDataSourcesRequest}
4644
+ * @returns A Promise of ListDataSourcesResponse
4645
+ */
4646
+ listDataSources: (request?: Readonly<RegionalApiListDataSourcesRequest$1>) => Promise<ListDataSourcesResponse> & {
4647
+ all: () => Promise<DataSource[]>;
4648
+ [Symbol.asyncIterator]: () => AsyncGenerator<DataSource[], void, void>;
4649
+ };
4650
+ /**
4651
+ * Get data source usage overview. Retrieve the data source usage overview per
4652
+ * type for the specified Project.
4653
+ *
4654
+ * @param request - The request {@link RegionalApiGetUsageOverviewRequest}
4655
+ * @returns A Promise of UsageOverview
4656
+ */
4657
+ getUsageOverview: (request?: Readonly<RegionalApiGetUsageOverviewRequest>) => Promise<UsageOverview>;
4658
+ /**
4659
+ * Create a token. Give your token the relevant scopes to ensure it has the
4660
+ * right permissions to interact with your data sources and the Alert manager.
4661
+ * Make sure that you create your token in the same regions as the data
4662
+ * sources you want to use it for. Upon creation, your token's secret key
4663
+ * display only once. Make sure that you save it.
4664
+ *
4665
+ * @param request - The request {@link RegionalApiCreateTokenRequest}
4666
+ * @returns A Promise of Token
4667
+ */
4668
+ createToken: (request: Readonly<RegionalApiCreateTokenRequest$1>) => Promise<Token$3>;
4669
+ protected pageOfListTokens: (request?: Readonly<RegionalApiListTokensRequest$1>) => Promise<ListTokensResponse$3>;
4670
+ /**
4671
+ * List tokens. Retrieve a list of all tokens in the specified region. By
4672
+ * default, tokens returned in the list are ordered by creation date, in
4673
+ * ascending order. You can filter tokens by Project ID and token scopes.
4674
+ *
4675
+ * @param request - The request {@link RegionalApiListTokensRequest}
4676
+ * @returns A Promise of ListTokensResponse
4677
+ */
4678
+ listTokens: (request?: Readonly<RegionalApiListTokensRequest$1>) => Promise<ListTokensResponse$3> & {
4679
+ all: () => Promise<Token$3[]>;
4680
+ [Symbol.asyncIterator]: () => AsyncGenerator<Token$3[], void, void>;
4681
+ };
4682
+ /**
4683
+ * Get a token. Retrieve information about a given token, specified by the
4684
+ * token ID. The token's information such as its scopes, is returned.
4685
+ *
4686
+ * @param request - The request {@link RegionalApiGetTokenRequest}
4687
+ * @returns A Promise of Token
4688
+ */
4689
+ getToken: (request: Readonly<RegionalApiGetTokenRequest>) => Promise<Token$3>;
4690
+ /**
4691
+ * Delete a token. Delete a given token, specified by the token ID. Deleting a
4692
+ * token is irreversible and cannot be undone.
4693
+ *
4694
+ * @param request - The request {@link RegionalApiDeleteTokenRequest}
4695
+ */
4696
+ deleteToken: (request: Readonly<RegionalApiDeleteTokenRequest>) => Promise<void>;
4697
+ /**
4698
+ * Get the Alert manager. Retrieve information about the Alert manager which
4699
+ * is unique per Project and region. By default the Alert manager is disabled.
4700
+ * The output returned displays a URL to access the Alert manager, and whether
4701
+ * the Alert manager and managed alerts are enabled.
4702
+ *
4703
+ * @param request - The request {@link RegionalApiGetAlertManagerRequest}
4704
+ * @returns A Promise of AlertManager
4705
+ */
4706
+ getAlertManager: (request?: Readonly<RegionalApiGetAlertManagerRequest>) => Promise<AlertManager>;
4707
+ /**
4708
+ * Enable the Alert manager. Enabling the Alert manager allows you to enable
4709
+ * managed alerts and create contact points in the specified Project and
4710
+ * region, to be notified when your Scaleway resources may require your
4711
+ * attention.
4712
+ *
4713
+ * @param request - The request {@link RegionalApiEnableAlertManagerRequest}
4714
+ * @returns A Promise of AlertManager
4715
+ */
4716
+ enableAlertManager: (request?: Readonly<RegionalApiEnableAlertManagerRequest>) => Promise<AlertManager>;
4717
+ /**
4718
+ * Disable the Alert manager. Disabling the Alert manager deletes the contact
4719
+ * points you have created and disables managed alerts in the specified
4720
+ * Project and region.
4721
+ *
4722
+ * @param request - The request {@link RegionalApiDisableAlertManagerRequest}
4723
+ * @returns A Promise of AlertManager
4724
+ */
4725
+ disableAlertManager: (request?: Readonly<RegionalApiDisableAlertManagerRequest>) => Promise<AlertManager>;
4726
+ /**
4727
+ * Create a contact point. Contact points are email addresses associated with
4728
+ * the default receiver, that the Alert manager sends alerts to. The source of
4729
+ * the alerts are data sources within the same Project and region as the Alert
4730
+ * manager. If you need to receive alerts for other receivers, you can create
4731
+ * additional contact points and receivers in Grafana. Make sure that you
4732
+ * select the Scaleway Alert manager.
4733
+ *
4734
+ * @param request - The request {@link RegionalApiCreateContactPointRequest}
4735
+ * @returns A Promise of ContactPoint
4736
+ */
4737
+ createContactPoint: (request?: Readonly<RegionalApiCreateContactPointRequest>) => Promise<ContactPoint$1>;
4738
+ protected pageOfListContactPoints: (request?: Readonly<RegionalApiListContactPointsRequest$1>) => Promise<ListContactPointsResponse$1>;
4739
+ /**
4740
+ * List contact points. Retrieve a list of contact points for the specified
4741
+ * Project. The response lists all contact points and receivers created in
4742
+ * Grafana or via the API.
4743
+ *
4744
+ * @param request - The request {@link RegionalApiListContactPointsRequest}
4745
+ * @returns A Promise of ListContactPointsResponse
4746
+ */
4747
+ listContactPoints: (request?: Readonly<RegionalApiListContactPointsRequest$1>) => Promise<ListContactPointsResponse$1> & {
4748
+ all: () => Promise<ContactPoint$1[]>;
4749
+ [Symbol.asyncIterator]: () => AsyncGenerator<ContactPoint$1[], void, void>;
4750
+ };
4751
+ /**
4752
+ * Delete a contact point. Delete a contact point associated with the default
4753
+ * receiver.
4754
+ *
4755
+ * @param request - The request {@link RegionalApiDeleteContactPointRequest}
4756
+ */
4757
+ deleteContactPoint: (request?: Readonly<RegionalApiDeleteContactPointRequest>) => Promise<void>;
4758
+ /**
4759
+ * Enable managed alerts. Enable the sending of managed alerts for the
4760
+ * specified Project. Managed alerts are predefined alerts that apply to
4761
+ * Scaleway recources integrated with Cockpit by default.
4762
+ *
4763
+ * @param request - The request {@link RegionalApiEnableManagedAlertsRequest}
4764
+ * @returns A Promise of AlertManager
4765
+ */
4766
+ enableManagedAlerts: (request?: Readonly<RegionalApiEnableManagedAlertsRequest>) => Promise<AlertManager>;
4767
+ /**
4768
+ * Disable managed alerts. Disable the sending of managed alerts for the
4769
+ * specified Project.
4770
+ *
4771
+ * @param request - The request {@link RegionalApiDisableManagedAlertsRequest}
4772
+ * @returns A Promise of AlertManager
4773
+ */
4774
+ disableManagedAlerts: (request?: Readonly<RegionalApiDisableManagedAlertsRequest>) => Promise<AlertManager>;
4775
+ /**
4776
+ * Trigger a test alert. Send a test alert to the Alert manager to make sure
4777
+ * your contact points get notified.
4778
+ *
4779
+ * @param request - The request {@link RegionalApiTriggerTestAlertRequest}
4780
+ */
4781
+ triggerTestAlert: (request?: Readonly<RegionalApiTriggerTestAlertRequest>) => Promise<void>;
4782
+ }
4783
+
4784
+ declare const RegionalApiCreateDataSourceRequest: {
4785
+ name: {
4786
+ maxLength: number;
4787
+ minLength: number;
4788
+ pattern: RegExp;
4789
+ };
4790
+ };
4791
+ declare const RegionalApiCreateTokenRequest: {
4792
+ name: {
4793
+ maxLength: number;
4794
+ minLength: number;
4795
+ pattern: RegExp;
4796
+ };
4797
+ };
4798
+ declare const RegionalApiListContactPointsRequest: {
4799
+ page: {
4800
+ greaterThanOrEqual: number;
4801
+ };
4802
+ pageSize: {
4803
+ greaterThanOrEqual: number;
4804
+ lessThanOrEqual: number;
4805
+ };
4806
+ };
4807
+ declare const RegionalApiListDataSourcesRequest: {
4808
+ page: {
4809
+ greaterThanOrEqual: number;
4810
+ };
4811
+ pageSize: {
4812
+ greaterThanOrEqual: number;
4813
+ lessThanOrEqual: number;
4814
+ };
4815
+ };
4816
+ declare const RegionalApiListTokensRequest: {
4817
+ page: {
4818
+ greaterThanOrEqual: number;
4819
+ };
4820
+ pageSize: {
4821
+ greaterThanOrEqual: number;
4822
+ lessThanOrEqual: number;
4823
+ };
4824
+ };
4825
+
4826
+ declare const validationRules_gen$f_RegionalApiCreateDataSourceRequest: typeof RegionalApiCreateDataSourceRequest;
4827
+ declare const validationRules_gen$f_RegionalApiCreateTokenRequest: typeof RegionalApiCreateTokenRequest;
4828
+ declare const validationRules_gen$f_RegionalApiListContactPointsRequest: typeof RegionalApiListContactPointsRequest;
4829
+ declare const validationRules_gen$f_RegionalApiListDataSourcesRequest: typeof RegionalApiListDataSourcesRequest;
4830
+ declare const validationRules_gen$f_RegionalApiListTokensRequest: typeof RegionalApiListTokensRequest;
4831
+ declare namespace validationRules_gen$f {
4832
+ export { validationRules_gen$f_RegionalApiCreateDataSourceRequest as RegionalApiCreateDataSourceRequest, validationRules_gen$f_RegionalApiCreateTokenRequest as RegionalApiCreateTokenRequest, validationRules_gen$f_RegionalApiListContactPointsRequest as RegionalApiListContactPointsRequest, validationRules_gen$f_RegionalApiListDataSourcesRequest as RegionalApiListDataSourcesRequest, validationRules_gen$f_RegionalApiListTokensRequest as RegionalApiListTokensRequest };
4833
+ }
4834
+
4835
+ type index_gen$s_AlertManager = AlertManager;
4836
+ type index_gen$s_DataSource = DataSource;
4837
+ type index_gen$s_DataSourceOrigin = DataSourceOrigin;
4838
+ type index_gen$s_DataSourceType = DataSourceType;
4839
+ type index_gen$s_GlobalAPI = GlobalAPI;
4840
+ declare const index_gen$s_GlobalAPI: typeof GlobalAPI;
4841
+ type index_gen$s_GlobalApiCreateGrafanaUserRequest = GlobalApiCreateGrafanaUserRequest;
4842
+ type index_gen$s_GlobalApiDeleteGrafanaUserRequest = GlobalApiDeleteGrafanaUserRequest;
4843
+ type index_gen$s_GlobalApiGetCurrentPlanRequest = GlobalApiGetCurrentPlanRequest;
4844
+ type index_gen$s_GlobalApiGetGrafanaProductDashboardRequest = GlobalApiGetGrafanaProductDashboardRequest;
4845
+ type index_gen$s_GlobalApiGetGrafanaRequest = GlobalApiGetGrafanaRequest;
4846
+ type index_gen$s_GlobalApiListGrafanaProductDashboardsRequest = GlobalApiListGrafanaProductDashboardsRequest;
4847
+ type index_gen$s_GlobalApiListGrafanaUsersRequest = GlobalApiListGrafanaUsersRequest;
4848
+ type index_gen$s_GlobalApiListPlansRequest = GlobalApiListPlansRequest;
4849
+ type index_gen$s_GlobalApiResetGrafanaUserPasswordRequest = GlobalApiResetGrafanaUserPasswordRequest;
4850
+ type index_gen$s_GlobalApiSelectPlanRequest = GlobalApiSelectPlanRequest;
4851
+ type index_gen$s_GlobalApiSyncGrafanaDataSourcesRequest = GlobalApiSyncGrafanaDataSourcesRequest;
4852
+ type index_gen$s_Grafana = Grafana;
4853
+ type index_gen$s_ListDataSourcesRequestOrderBy = ListDataSourcesRequestOrderBy;
4854
+ type index_gen$s_ListDataSourcesResponse = ListDataSourcesResponse;
4855
+ type index_gen$s_RegionalAPI = RegionalAPI;
4856
+ declare const index_gen$s_RegionalAPI: typeof RegionalAPI;
4857
+ type index_gen$s_RegionalApiCreateContactPointRequest = RegionalApiCreateContactPointRequest;
4858
+ type index_gen$s_RegionalApiDeleteContactPointRequest = RegionalApiDeleteContactPointRequest;
4859
+ type index_gen$s_RegionalApiDeleteDataSourceRequest = RegionalApiDeleteDataSourceRequest;
4860
+ type index_gen$s_RegionalApiDeleteTokenRequest = RegionalApiDeleteTokenRequest;
4861
+ type index_gen$s_RegionalApiDisableAlertManagerRequest = RegionalApiDisableAlertManagerRequest;
4862
+ type index_gen$s_RegionalApiDisableManagedAlertsRequest = RegionalApiDisableManagedAlertsRequest;
4863
+ type index_gen$s_RegionalApiEnableAlertManagerRequest = RegionalApiEnableAlertManagerRequest;
4864
+ type index_gen$s_RegionalApiEnableManagedAlertsRequest = RegionalApiEnableManagedAlertsRequest;
4865
+ type index_gen$s_RegionalApiGetAlertManagerRequest = RegionalApiGetAlertManagerRequest;
4866
+ type index_gen$s_RegionalApiGetDataSourceRequest = RegionalApiGetDataSourceRequest;
4867
+ type index_gen$s_RegionalApiGetTokenRequest = RegionalApiGetTokenRequest;
4868
+ type index_gen$s_RegionalApiGetUsageOverviewRequest = RegionalApiGetUsageOverviewRequest;
4869
+ type index_gen$s_RegionalApiTriggerTestAlertRequest = RegionalApiTriggerTestAlertRequest;
4870
+ type index_gen$s_TokenScope = TokenScope;
4871
+ type index_gen$s_Usage = Usage;
4872
+ type index_gen$s_UsageOverview = UsageOverview;
4873
+ type index_gen$s_UsageUnit = UsageUnit;
4874
+ declare namespace index_gen$s {
4875
+ export { type index_gen$s_AlertManager as AlertManager, type ContactPoint$1 as ContactPoint, type ContactPointEmail$1 as ContactPointEmail, type index_gen$s_DataSource as DataSource, type index_gen$s_DataSourceOrigin as DataSourceOrigin, type index_gen$s_DataSourceType as DataSourceType, index_gen$s_GlobalAPI as GlobalAPI, type index_gen$s_GlobalApiCreateGrafanaUserRequest as GlobalApiCreateGrafanaUserRequest, type index_gen$s_GlobalApiDeleteGrafanaUserRequest as GlobalApiDeleteGrafanaUserRequest, type index_gen$s_GlobalApiGetCurrentPlanRequest as GlobalApiGetCurrentPlanRequest, type index_gen$s_GlobalApiGetGrafanaProductDashboardRequest as GlobalApiGetGrafanaProductDashboardRequest, type index_gen$s_GlobalApiGetGrafanaRequest as GlobalApiGetGrafanaRequest, type index_gen$s_GlobalApiListGrafanaProductDashboardsRequest as GlobalApiListGrafanaProductDashboardsRequest, type index_gen$s_GlobalApiListGrafanaUsersRequest as GlobalApiListGrafanaUsersRequest, type index_gen$s_GlobalApiListPlansRequest as GlobalApiListPlansRequest, type index_gen$s_GlobalApiResetGrafanaUserPasswordRequest as GlobalApiResetGrafanaUserPasswordRequest, type index_gen$s_GlobalApiSelectPlanRequest as GlobalApiSelectPlanRequest, type index_gen$s_GlobalApiSyncGrafanaDataSourcesRequest as GlobalApiSyncGrafanaDataSourcesRequest, type index_gen$s_Grafana as Grafana, type GrafanaProductDashboard$1 as GrafanaProductDashboard, type GrafanaUser$1 as GrafanaUser, type GrafanaUserRole$1 as GrafanaUserRole, type ListContactPointsResponse$1 as ListContactPointsResponse, type index_gen$s_ListDataSourcesRequestOrderBy as ListDataSourcesRequestOrderBy, type index_gen$s_ListDataSourcesResponse as ListDataSourcesResponse, type ListGrafanaProductDashboardsResponse$1 as ListGrafanaProductDashboardsResponse, type ListGrafanaUsersRequestOrderBy$1 as ListGrafanaUsersRequestOrderBy, type ListGrafanaUsersResponse$1 as ListGrafanaUsersResponse, type ListPlansRequestOrderBy$1 as ListPlansRequestOrderBy, type ListPlansResponse$1 as ListPlansResponse, type ListTokensRequestOrderBy$3 as ListTokensRequestOrderBy, type ListTokensResponse$3 as ListTokensResponse, type Plan$1 as Plan, type PlanName$1 as PlanName, index_gen$s_RegionalAPI as RegionalAPI, type index_gen$s_RegionalApiCreateContactPointRequest as RegionalApiCreateContactPointRequest, type RegionalApiCreateDataSourceRequest$1 as RegionalApiCreateDataSourceRequest, type RegionalApiCreateTokenRequest$1 as RegionalApiCreateTokenRequest, type index_gen$s_RegionalApiDeleteContactPointRequest as RegionalApiDeleteContactPointRequest, type index_gen$s_RegionalApiDeleteDataSourceRequest as RegionalApiDeleteDataSourceRequest, type index_gen$s_RegionalApiDeleteTokenRequest as RegionalApiDeleteTokenRequest, type index_gen$s_RegionalApiDisableAlertManagerRequest as RegionalApiDisableAlertManagerRequest, type index_gen$s_RegionalApiDisableManagedAlertsRequest as RegionalApiDisableManagedAlertsRequest, type index_gen$s_RegionalApiEnableAlertManagerRequest as RegionalApiEnableAlertManagerRequest, type index_gen$s_RegionalApiEnableManagedAlertsRequest as RegionalApiEnableManagedAlertsRequest, type index_gen$s_RegionalApiGetAlertManagerRequest as RegionalApiGetAlertManagerRequest, type index_gen$s_RegionalApiGetDataSourceRequest as RegionalApiGetDataSourceRequest, type index_gen$s_RegionalApiGetTokenRequest as RegionalApiGetTokenRequest, type index_gen$s_RegionalApiGetUsageOverviewRequest as RegionalApiGetUsageOverviewRequest, type RegionalApiListContactPointsRequest$1 as RegionalApiListContactPointsRequest, type RegionalApiListDataSourcesRequest$1 as RegionalApiListDataSourcesRequest, type RegionalApiListTokensRequest$1 as RegionalApiListTokensRequest, type index_gen$s_RegionalApiTriggerTestAlertRequest as RegionalApiTriggerTestAlertRequest, type Token$3 as Token, type index_gen$s_TokenScope as TokenScope, type index_gen$s_Usage as Usage, type index_gen$s_UsageOverview as UsageOverview, type index_gen$s_UsageUnit as UsageUnit, validationRules_gen$f as ValidationRules };
3920
4876
  }
3921
4877
 
3922
4878
  type CockpitStatus = 'unknown_status' | 'creating' | 'ready' | 'deleting' | 'updating' | 'error';
@@ -4579,7 +5535,7 @@ declare namespace index_gen$r {
4579
5535
  }
4580
5536
 
4581
5537
  declare namespace index$u {
4582
- export { index_gen$r as v1beta1 };
5538
+ export { index_gen$s as v1, index_gen$r as v1beta1 };
4583
5539
  }
4584
5540
 
4585
5541
  type ContainerHttpOption = 'unknown_http_option' | 'enabled' | 'redirected';
@@ -16204,17 +17160,26 @@ interface Server {
16204
17160
  dynamicIpRequired: boolean;
16205
17161
  /** True to configure the instance so it uses the new routed IP mode. */
16206
17162
  routedIpEnabled: boolean;
16207
- /** True if IPv6 is enabled. */
16208
- enableIpv6: boolean;
17163
+ /**
17164
+ * @deprecated True if IPv6 is enabled (deprecated and always `False` when
17165
+ * `routed_ip_enabled` is `True`).
17166
+ */
17167
+ enableIpv6?: boolean;
16209
17168
  /** Instance host name. */
16210
17169
  hostname: string;
16211
17170
  /** Information about the Instance image. */
16212
17171
  image?: Image$2;
16213
17172
  /** Defines whether the Instance protection option is activated. */
16214
17173
  protected: boolean;
16215
- /** Private IP address of the Instance. */
17174
+ /**
17175
+ * Private IP address of the Instance (deprecated and always `null` when
17176
+ * `routed_ip_enabled` is `True`).
17177
+ */
16216
17178
  privateIp?: string;
16217
- /** Information about the public IP. */
17179
+ /**
17180
+ * @deprecated Information about the public IP (deprecated in favor of
17181
+ * `public_ips`).
17182
+ */
16218
17183
  publicIp?: ServerIp;
16219
17184
  /** Information about all the public IPs attached to the server. */
16220
17185
  publicIps: ServerIp[];
@@ -16226,7 +17191,10 @@ interface Server {
16226
17191
  state: ServerState;
16227
17192
  /** Instance location. */
16228
17193
  location?: ServerLocation;
16229
- /** Instance IPv6 address. */
17194
+ /**
17195
+ * @deprecated Instance IPv6 address (deprecated when `routed_ip_enabled` is
17196
+ * `True`).
17197
+ */
16230
17198
  ipv6?: ServerIpv6;
16231
17199
  /** @deprecated Instance bootscript. */
16232
17200
  bootscript?: Bootscript;
@@ -16526,21 +17494,24 @@ type ApplyBlockMigrationRequest = {
16526
17494
  zone?: Zone;
16527
17495
  /**
16528
17496
  * The volume to migrate, along with potentially other resources, according to
16529
- * the migration plan generated with a call to PlanBlockMigration.
17497
+ * the migration plan generated with a call to the "Plan a migration"
17498
+ * endpoint.
16530
17499
  *
16531
17500
  * One-of ('resource'): at most one of 'volumeId', 'snapshotId' could be set.
16532
17501
  */
16533
17502
  volumeId?: string;
16534
17503
  /**
16535
17504
  * The snapshot to migrate, along with potentially other resources, according
16536
- * to the migration plan generated with a call to PlanBlockMigration.
17505
+ * to the migration plan generated with a call to the "Plan a migration"
17506
+ * endpoint.
16537
17507
  *
16538
17508
  * One-of ('resource'): at most one of 'volumeId', 'snapshotId' could be set.
16539
17509
  */
16540
17510
  snapshotId?: string;
16541
17511
  /**
16542
- * A value to be retrieved from a call to PlanBlockMigration, to confirm that
16543
- * the volume and/or snapshots specified in said plan should be migrated.
17512
+ * A value to be retrieved from a call to the "Plan a migration" endpoint, to
17513
+ * confirm that the volume and/or snapshots specified in said plan should be
17514
+ * migrated.
16544
17515
  */
16545
17516
  validationKey: string;
16546
17517
  };
@@ -16751,9 +17722,12 @@ type CreateServerRequest = {
16751
17722
  image: string;
16752
17723
  /** Volumes attached to the server. */
16753
17724
  volumes?: Record<string, VolumeServerTemplate>;
16754
- /** True if IPv6 is enabled on the server. */
16755
- enableIpv6: boolean;
16756
- /** ID of the reserved IP to attach to the Instance. */
17725
+ /**
17726
+ * @deprecated True if IPv6 is enabled on the server (deprecated and always
17727
+ * `False` when `routed_ip_enabled` is `True`).
17728
+ */
17729
+ enableIpv6?: boolean;
17730
+ /** @deprecated ID of the reserved IP to attach to the Instance. */
16757
17731
  publicIp?: string;
16758
17732
  /** A list of reserved IP IDs to attach to the Instance. */
16759
17733
  publicIps?: string[];
@@ -17280,10 +18254,12 @@ type ListServersRequest = {
17280
18254
  * "server1" but not "foo").
17281
18255
  */
17282
18256
  name?: string;
17283
- /** List Instances by private_ip. */
18257
+ /** @deprecated List Instances by private_ip. */
17284
18258
  privateIp?: string;
17285
18259
  /** List Instances that are not attached to a public IP. */
17286
18260
  withoutIp?: boolean;
18261
+ /** List Instances by IP (both private_ip and public_ip are supported). */
18262
+ withIp?: string;
17287
18263
  /** List Instances of this commercial type. */
17288
18264
  commercialType?: string;
17289
18265
  /** List Instances in this state. */
@@ -17409,8 +18385,8 @@ interface MigrationPlan {
17409
18385
  */
17410
18386
  snapshots: Snapshot$1[];
17411
18387
  /**
17412
- * A value to be passed to ApplyBlockMigrationRequest, to confirm that the
17413
- * execution of the plan is being requested.
18388
+ * A value to be passed to the call to the "Apply a migration plan" endpoint,
18389
+ * to confirm that the execution of the plan is being requested.
17414
18390
  */
17415
18391
  validationKey: string;
17416
18392
  }
@@ -17666,6 +18642,7 @@ type UpdateServerRequest = {
17666
18642
  routedIpEnabled?: boolean;
17667
18643
  /** A list of reserved IP IDs to attach to the Instance. */
17668
18644
  publicIps?: string[];
18645
+ /** @deprecated */
17669
18646
  enableIpv6?: boolean;
17670
18647
  protected?: boolean;
17671
18648
  securityGroup?: SecurityGroupTemplate;
@@ -17804,17 +18781,26 @@ type SetServerRequest = {
17804
18781
  * is set to True you cannot set it back to False).
17805
18782
  */
17806
18783
  routedIpEnabled?: boolean;
17807
- /** True if IPv6 is enabled. */
17808
- enableIpv6: boolean;
18784
+ /**
18785
+ * @deprecated True if IPv6 is enabled (deprecated and always `False` when
18786
+ * `routed_ip_enabled` is `True`).
18787
+ */
18788
+ enableIpv6?: boolean;
17809
18789
  /** Instance host name. */
17810
18790
  hostname: string;
17811
18791
  /** Provide information on the Instance image. */
17812
18792
  image?: Image$2;
17813
18793
  /** Instance protection option is activated. */
17814
18794
  protected: boolean;
17815
- /** Instance private IP address. */
18795
+ /**
18796
+ * @deprecated Instance private IP address (deprecated and always `null` when
18797
+ * `routed_ip_enabled` is `True`).
18798
+ */
17816
18799
  privateIp?: string;
17817
- /** Information about the public IP. */
18800
+ /**
18801
+ * @deprecated Information about the public IP (deprecated in favor of
18802
+ * `public_ips`).
18803
+ */
17818
18804
  publicIp?: ServerIp;
17819
18805
  /** Information about all the public IPs attached to the server. */
17820
18806
  publicIps?: ServerIp[];
@@ -17824,7 +18810,10 @@ type SetServerRequest = {
17824
18810
  state?: ServerState;
17825
18811
  /** Instance location. */
17826
18812
  location?: ServerLocation;
17827
- /** Instance IPv6 address. */
18813
+ /**
18814
+ * @deprecated Instance IPv6 address (deprecated when `routed_ip_enabled` is
18815
+ * `True`).
18816
+ */
17828
18817
  ipv6?: ServerIpv6;
17829
18818
  /** @deprecated Instance bootscript. */
17830
18819
  bootscript?: Bootscript;
@@ -18373,12 +19362,13 @@ declare class API$k extends API$z {
18373
19362
  getDashboard: (request?: Readonly<GetDashboardRequest>) => Promise<GetDashboardResponse>;
18374
19363
  /**
18375
19364
  * Get a volume or snapshot's migration plan. Given a volume or snapshot,
18376
- * returns the migration plan for a call to the RPC ApplyBlockMigration. This
18377
- * plan will include zero or one volume, and zero or more snapshots, which
18378
- * will need to be migrated together. This RPC does not perform the actual
18379
- * migration itself, ApplyBlockMigration must be used. The validation_key
18380
- * value returned by this call must be provided to the ApplyBlockMigration
18381
- * call to confirm that all resources listed in the plan should be migrated.
19365
+ * returns the migration plan for a call to the "Apply a migration plan"
19366
+ * endpoint. This plan will include zero or one volume, and zero or more
19367
+ * snapshots, which will need to be migrated together. This endpoint does not
19368
+ * perform the actual migration itself, the "Apply a migration plan" endpoint
19369
+ * must be used. The validation_key value returned by this endpoint must be
19370
+ * provided to the call to the "Apply a migration plan" endpoint to confirm
19371
+ * that all resources listed in the plan should be migrated.
18382
19372
  *
18383
19373
  * @param request - The request {@link PlanBlockMigrationRequest}
18384
19374
  * @returns A Promise of MigrationPlan
@@ -18386,9 +19376,9 @@ declare class API$k extends API$z {
18386
19376
  planBlockMigration: (request?: Readonly<PlanBlockMigrationRequest>) => Promise<MigrationPlan>;
18387
19377
  /**
18388
19378
  * Migrate a volume and/or snapshots to SBS (Scaleway Block Storage). To be
18389
- * used, this RPC must be preceded by a call to PlanBlockMigration. To migrate
18390
- * all resources mentioned in the MigrationPlan, the validation_key returned
18391
- * in the MigrationPlan must be provided.
19379
+ * used, the call to this endpoint must be preceded by a call to the "Plan a
19380
+ * migration" endpoint. To migrate all resources mentioned in the migration
19381
+ * plan, the validation_key returned in the plan must be provided.
18392
19382
  *
18393
19383
  * @param request - The request {@link ApplyBlockMigrationRequest}
18394
19384
  */
@@ -21739,6 +22729,11 @@ interface Cluster$1 {
21739
22729
  privateNetworkId?: string;
21740
22730
  /** Date on which it will be possible to switch to a smaller offer. */
21741
22731
  commitmentEndsAt?: Date;
22732
+ /**
22733
+ * @deprecated Defines whether routed IPs are enabled for nodes of this
22734
+ * cluster.
22735
+ */
22736
+ routedIpEnabled?: boolean;
21742
22737
  }
21743
22738
  interface Node {
21744
22739
  /** Node ID. */
@@ -22262,6 +23257,14 @@ interface ListVersionsResponse$1 {
22262
23257
  /** Available Kubernetes versions. */
22263
23258
  versions: Version$1[];
22264
23259
  }
23260
+ type MigrateClusterToRoutedIPsRequest = {
23261
+ /**
23262
+ * Region to target. If none is passed will use default region from the
23263
+ * config.
23264
+ */
23265
+ region?: Region;
23266
+ clusterId: string;
23267
+ };
22265
23268
  type MigrateToPrivateNetworkClusterRequest = {
22266
23269
  /**
22267
23270
  * Region to target. If none is passed will use default region from the
@@ -22521,6 +23524,14 @@ declare class API$f extends API$z {
22521
23524
  * @returns A Promise of Cluster
22522
23525
  */
22523
23526
  migrateToPrivateNetworkCluster: (request: Readonly<MigrateToPrivateNetworkClusterRequest>) => Promise<Cluster$1>;
23527
+ /**
23528
+ * Migrate a cluster to Routed IPs. Migrate the nodes of an existing cluster
23529
+ * to Routed IPs and enable Routed IPs for all future nodes.
23530
+ *
23531
+ * @param request - The request {@link MigrateClusterToRoutedIPsRequest}
23532
+ * @returns A Promise of Cluster
23533
+ */
23534
+ migrateClusterToRoutedIPs: (request: Readonly<MigrateClusterToRoutedIPsRequest>) => Promise<Cluster$1>;
22524
23535
  protected pageOfListPools: (request: Readonly<ListPoolsRequest$1>) => Promise<ListPoolsResponse>;
22525
23536
  /**
22526
23537
  * List Pools in a Cluster. List all the existing pools for a specific
@@ -22837,6 +23848,7 @@ type index$g_ListNodesResponse = ListNodesResponse;
22837
23848
  type index$g_ListPoolsRequestOrderBy = ListPoolsRequestOrderBy;
22838
23849
  type index$g_ListPoolsResponse = ListPoolsResponse;
22839
23850
  type index$g_MaintenanceWindowDayOfTheWeek = MaintenanceWindowDayOfTheWeek;
23851
+ type index$g_MigrateClusterToRoutedIPsRequest = MigrateClusterToRoutedIPsRequest;
22840
23852
  type index$g_MigrateToPrivateNetworkClusterRequest = MigrateToPrivateNetworkClusterRequest;
22841
23853
  declare const index$g_NODE_TRANSIENT_STATUSES: typeof NODE_TRANSIENT_STATUSES;
22842
23854
  type index$g_Node = Node;
@@ -22858,7 +23870,7 @@ type index$g_UpdatePoolRequestUpgradePolicy = UpdatePoolRequestUpgradePolicy;
22858
23870
  type index$g_UpgradeClusterRequest = UpgradeClusterRequest;
22859
23871
  type index$g_UpgradePoolRequest = UpgradePoolRequest;
22860
23872
  declare namespace index$g {
22861
- export { K8SUtilsAPI as API, type index$g_AutoscalerEstimator as AutoscalerEstimator, type index$g_AutoscalerExpander as AutoscalerExpander, CLUSTER_TRANSIENT_STATUSES$1 as CLUSTER_TRANSIENT_STATUSES, type index$g_CNI as CNI, type Cluster$1 as Cluster, type index$g_ClusterAutoUpgrade as ClusterAutoUpgrade, type index$g_ClusterAutoscalerConfig as ClusterAutoscalerConfig, type index$g_ClusterOpenIDConnectConfig as ClusterOpenIDConnectConfig, type ClusterStatus$1 as ClusterStatus, type index$g_ClusterType as ClusterType, type index$g_ClusterTypeAvailability as ClusterTypeAvailability, type index$g_ClusterTypeResiliency as ClusterTypeResiliency, type CreateClusterRequest$2 as CreateClusterRequest, type index$g_CreateClusterRequestAutoUpgrade as CreateClusterRequestAutoUpgrade, type CreateClusterRequestAutoscalerConfig$1 as CreateClusterRequestAutoscalerConfig, type CreateClusterRequestOpenIDConnectConfig$1 as CreateClusterRequestOpenIDConnectConfig, type CreateClusterRequestPoolConfig$1 as CreateClusterRequestPoolConfig, type index$g_CreateClusterRequestPoolConfigUpgradePolicy as CreateClusterRequestPoolConfigUpgradePolicy, type index$g_CreateExternalNodeRequest as CreateExternalNodeRequest, type CreatePoolRequest$1 as CreatePoolRequest, type index$g_CreatePoolRequestUpgradePolicy as CreatePoolRequestUpgradePolicy, type DeleteClusterRequest$1 as DeleteClusterRequest, type index$g_DeleteNodeRequest as DeleteNodeRequest, type index$g_DeletePoolRequest as DeletePoolRequest, type index$g_ExternalNode as ExternalNode, type index$g_ExternalNodeCoreV1Taint as ExternalNodeCoreV1Taint, type index$g_GetClusterKubeConfigRequest as GetClusterKubeConfigRequest, type GetClusterRequest$1 as GetClusterRequest, type index$g_GetNodeRequest as GetNodeRequest, type index$g_GetPoolRequest as GetPoolRequest, type GetVersionRequest$1 as GetVersionRequest, type index$g_ListClusterAvailableTypesRequest as ListClusterAvailableTypesRequest, type index$g_ListClusterAvailableTypesResponse as ListClusterAvailableTypesResponse, type index$g_ListClusterAvailableVersionsRequest as ListClusterAvailableVersionsRequest, type index$g_ListClusterAvailableVersionsResponse as ListClusterAvailableVersionsResponse, type ListClusterTypesRequest$1 as ListClusterTypesRequest, type index$g_ListClusterTypesResponse as ListClusterTypesResponse, type ListClustersRequest$2 as ListClustersRequest, type ListClustersRequestOrderBy$1 as ListClustersRequestOrderBy, type ListClustersResponse$1 as ListClustersResponse, type ListNodesRequest$1 as ListNodesRequest, type index$g_ListNodesRequestOrderBy as ListNodesRequestOrderBy, type index$g_ListNodesResponse as ListNodesResponse, type ListPoolsRequest$1 as ListPoolsRequest, type index$g_ListPoolsRequestOrderBy as ListPoolsRequestOrderBy, type index$g_ListPoolsResponse as ListPoolsResponse, type ListVersionsRequest$1 as ListVersionsRequest, type ListVersionsResponse$1 as ListVersionsResponse, type MaintenanceWindow$1 as MaintenanceWindow, type index$g_MaintenanceWindowDayOfTheWeek as MaintenanceWindowDayOfTheWeek, type index$g_MigrateToPrivateNetworkClusterRequest as MigrateToPrivateNetworkClusterRequest, index$g_NODE_TRANSIENT_STATUSES as NODE_TRANSIENT_STATUSES, type index$g_Node as Node, type index$g_NodeStatus as NodeStatus, index$g_POOL_TRANSIENT_STATUSES as POOL_TRANSIENT_STATUSES, type index$g_Pool as Pool, type index$g_PoolStatus as PoolStatus, type index$g_PoolUpgradePolicy as PoolUpgradePolicy, type index$g_PoolVolumeType as PoolVolumeType, type index$g_RebootNodeRequest as RebootNodeRequest, type index$g_ReplaceNodeRequest as ReplaceNodeRequest, type index$g_ResetClusterAdminTokenRequest as ResetClusterAdminTokenRequest, type index$g_Runtime as Runtime, type index$g_SetClusterTypeRequest as SetClusterTypeRequest, type UpdateClusterRequest$2 as UpdateClusterRequest, type index$g_UpdateClusterRequestAutoUpgrade as UpdateClusterRequestAutoUpgrade, type UpdateClusterRequestAutoscalerConfig$1 as UpdateClusterRequestAutoscalerConfig, type index$g_UpdateClusterRequestOpenIDConnectConfig as UpdateClusterRequestOpenIDConnectConfig, type index$g_UpdatePoolRequest as UpdatePoolRequest, type index$g_UpdatePoolRequestUpgradePolicy as UpdatePoolRequestUpgradePolicy, type index$g_UpgradeClusterRequest as UpgradeClusterRequest, type index$g_UpgradePoolRequest as UpgradePoolRequest, validationRules_gen$6 as ValidationRules, type Version$1 as Version };
23873
+ export { K8SUtilsAPI as API, type index$g_AutoscalerEstimator as AutoscalerEstimator, type index$g_AutoscalerExpander as AutoscalerExpander, CLUSTER_TRANSIENT_STATUSES$1 as CLUSTER_TRANSIENT_STATUSES, type index$g_CNI as CNI, type Cluster$1 as Cluster, type index$g_ClusterAutoUpgrade as ClusterAutoUpgrade, type index$g_ClusterAutoscalerConfig as ClusterAutoscalerConfig, type index$g_ClusterOpenIDConnectConfig as ClusterOpenIDConnectConfig, type ClusterStatus$1 as ClusterStatus, type index$g_ClusterType as ClusterType, type index$g_ClusterTypeAvailability as ClusterTypeAvailability, type index$g_ClusterTypeResiliency as ClusterTypeResiliency, type CreateClusterRequest$2 as CreateClusterRequest, type index$g_CreateClusterRequestAutoUpgrade as CreateClusterRequestAutoUpgrade, type CreateClusterRequestAutoscalerConfig$1 as CreateClusterRequestAutoscalerConfig, type CreateClusterRequestOpenIDConnectConfig$1 as CreateClusterRequestOpenIDConnectConfig, type CreateClusterRequestPoolConfig$1 as CreateClusterRequestPoolConfig, type index$g_CreateClusterRequestPoolConfigUpgradePolicy as CreateClusterRequestPoolConfigUpgradePolicy, type index$g_CreateExternalNodeRequest as CreateExternalNodeRequest, type CreatePoolRequest$1 as CreatePoolRequest, type index$g_CreatePoolRequestUpgradePolicy as CreatePoolRequestUpgradePolicy, type DeleteClusterRequest$1 as DeleteClusterRequest, type index$g_DeleteNodeRequest as DeleteNodeRequest, type index$g_DeletePoolRequest as DeletePoolRequest, type index$g_ExternalNode as ExternalNode, type index$g_ExternalNodeCoreV1Taint as ExternalNodeCoreV1Taint, type index$g_GetClusterKubeConfigRequest as GetClusterKubeConfigRequest, type GetClusterRequest$1 as GetClusterRequest, type index$g_GetNodeRequest as GetNodeRequest, type index$g_GetPoolRequest as GetPoolRequest, type GetVersionRequest$1 as GetVersionRequest, type index$g_ListClusterAvailableTypesRequest as ListClusterAvailableTypesRequest, type index$g_ListClusterAvailableTypesResponse as ListClusterAvailableTypesResponse, type index$g_ListClusterAvailableVersionsRequest as ListClusterAvailableVersionsRequest, type index$g_ListClusterAvailableVersionsResponse as ListClusterAvailableVersionsResponse, type ListClusterTypesRequest$1 as ListClusterTypesRequest, type index$g_ListClusterTypesResponse as ListClusterTypesResponse, type ListClustersRequest$2 as ListClustersRequest, type ListClustersRequestOrderBy$1 as ListClustersRequestOrderBy, type ListClustersResponse$1 as ListClustersResponse, type ListNodesRequest$1 as ListNodesRequest, type index$g_ListNodesRequestOrderBy as ListNodesRequestOrderBy, type index$g_ListNodesResponse as ListNodesResponse, type ListPoolsRequest$1 as ListPoolsRequest, type index$g_ListPoolsRequestOrderBy as ListPoolsRequestOrderBy, type index$g_ListPoolsResponse as ListPoolsResponse, type ListVersionsRequest$1 as ListVersionsRequest, type ListVersionsResponse$1 as ListVersionsResponse, type MaintenanceWindow$1 as MaintenanceWindow, type index$g_MaintenanceWindowDayOfTheWeek as MaintenanceWindowDayOfTheWeek, type index$g_MigrateClusterToRoutedIPsRequest as MigrateClusterToRoutedIPsRequest, type index$g_MigrateToPrivateNetworkClusterRequest as MigrateToPrivateNetworkClusterRequest, index$g_NODE_TRANSIENT_STATUSES as NODE_TRANSIENT_STATUSES, type index$g_Node as Node, type index$g_NodeStatus as NodeStatus, index$g_POOL_TRANSIENT_STATUSES as POOL_TRANSIENT_STATUSES, type index$g_Pool as Pool, type index$g_PoolStatus as PoolStatus, type index$g_PoolUpgradePolicy as PoolUpgradePolicy, type index$g_PoolVolumeType as PoolVolumeType, type index$g_RebootNodeRequest as RebootNodeRequest, type index$g_ReplaceNodeRequest as ReplaceNodeRequest, type index$g_ResetClusterAdminTokenRequest as ResetClusterAdminTokenRequest, type index$g_Runtime as Runtime, type index$g_SetClusterTypeRequest as SetClusterTypeRequest, type UpdateClusterRequest$2 as UpdateClusterRequest, type index$g_UpdateClusterRequestAutoUpgrade as UpdateClusterRequestAutoUpgrade, type UpdateClusterRequestAutoscalerConfig$1 as UpdateClusterRequestAutoscalerConfig, type index$g_UpdateClusterRequestOpenIDConnectConfig as UpdateClusterRequestOpenIDConnectConfig, type index$g_UpdatePoolRequest as UpdatePoolRequest, type index$g_UpdatePoolRequestUpgradePolicy as UpdatePoolRequestUpgradePolicy, type index$g_UpgradeClusterRequest as UpgradeClusterRequest, type index$g_UpgradePoolRequest as UpgradePoolRequest, validationRules_gen$6 as ValidationRules, type Version$1 as Version };
22862
23874
  }
22863
23875
 
22864
23876
  declare namespace index$f {
@@ -28578,6 +29590,7 @@ type ACLRuleAction = 'allow' | 'deny';
28578
29590
  type ACLRuleDirection = 'inbound' | 'outbound';
28579
29591
  type ACLRuleProtocol = 'tcp' | 'udp' | 'icmp';
28580
29592
  type DatabaseBackupStatus$1 = 'unknown' | 'creating' | 'ready' | 'restoring' | 'deleting' | 'error' | 'exporting' | 'locked';
29593
+ type EndpointPrivateNetworkDetailsProvisioningMode = 'static' | 'ipam';
28581
29594
  type EngineSettingPropertyType = 'BOOLEAN' | 'INT' | 'STRING' | 'FLOAT';
28582
29595
  type InstanceLogStatus = 'unknown' | 'ready' | 'creating' | 'error';
28583
29596
  type InstanceStatus = 'unknown' | 'ready' | 'provisioning' | 'configuring' | 'deleting' | 'error' | 'autohealing' | 'locked' | 'initializing' | 'disk_full' | 'backuping' | 'snapshotting' | 'restarting';
@@ -28607,6 +29620,8 @@ interface EndpointPrivateNetworkDetails {
28607
29620
  serviceIp: string;
28608
29621
  /** Private network zone. */
28609
29622
  zone: Zone;
29623
+ /** How endpoint ips are provisioned. */
29624
+ provisioningMode: EndpointPrivateNetworkDetailsProvisioningMode;
28610
29625
  }
28611
29626
  interface EndpointSpecPrivateNetworkIpamConfig {
28612
29627
  }
@@ -30656,6 +31671,7 @@ type index_gen$c_DeleteUserRequest = DeleteUserRequest;
30656
31671
  type index_gen$c_EndpointDirectAccessDetails = EndpointDirectAccessDetails;
30657
31672
  type index_gen$c_EndpointLoadBalancerDetails = EndpointLoadBalancerDetails;
30658
31673
  type index_gen$c_EndpointPrivateNetworkDetails = EndpointPrivateNetworkDetails;
31674
+ type index_gen$c_EndpointPrivateNetworkDetailsProvisioningMode = EndpointPrivateNetworkDetailsProvisioningMode;
30659
31675
  type index_gen$c_EndpointSpecLoadBalancer = EndpointSpecLoadBalancer;
30660
31676
  type index_gen$c_EndpointSpecPrivateNetwork = EndpointSpecPrivateNetwork;
30661
31677
  type index_gen$c_EndpointSpecPrivateNetworkIpamConfig = EndpointSpecPrivateNetworkIpamConfig;
@@ -30743,7 +31759,7 @@ type index_gen$c_User = User;
30743
31759
  type index_gen$c_Volume = Volume;
30744
31760
  type index_gen$c_VolumeType = VolumeType;
30745
31761
  declare namespace index_gen$c {
30746
- export { type ACLRule$1 as ACLRule, type index_gen$c_ACLRuleAction as ACLRuleAction, type index_gen$c_ACLRuleDirection as ACLRuleDirection, type index_gen$c_ACLRuleProtocol as ACLRuleProtocol, type index_gen$c_ACLRuleRequest as ACLRuleRequest, API$b as API, type index_gen$c_AddInstanceACLRulesRequest as AddInstanceACLRulesRequest, type index_gen$c_AddInstanceACLRulesResponse as AddInstanceACLRulesResponse, type index_gen$c_AddInstanceSettingsRequest as AddInstanceSettingsRequest, type index_gen$c_AddInstanceSettingsResponse as AddInstanceSettingsResponse, type index_gen$c_ApplyInstanceMaintenanceRequest as ApplyInstanceMaintenanceRequest, type index_gen$c_BackupSchedule as BackupSchedule, type index_gen$c_CloneInstanceRequest as CloneInstanceRequest, type index_gen$c_CreateDatabaseBackupRequest as CreateDatabaseBackupRequest, type CreateDatabaseRequest$2 as CreateDatabaseRequest, type index_gen$c_CreateEndpointRequest as CreateEndpointRequest, type index_gen$c_CreateInstanceFromSnapshotRequest as CreateInstanceFromSnapshotRequest, type index_gen$c_CreateInstanceRequest as CreateInstanceRequest, type index_gen$c_CreateReadReplicaEndpointRequest as CreateReadReplicaEndpointRequest, type index_gen$c_CreateReadReplicaRequest as CreateReadReplicaRequest, type index_gen$c_CreateSnapshotRequest as CreateSnapshotRequest, type index_gen$c_CreateUserRequest as CreateUserRequest, index_gen$c_DATABASE_BACKUP_TRANSIENT_STATUSES as DATABASE_BACKUP_TRANSIENT_STATUSES, type Database$2 as Database, type DatabaseBackup$1 as DatabaseBackup, type DatabaseBackupStatus$1 as DatabaseBackupStatus, type index_gen$c_DatabaseEngine as DatabaseEngine, type index_gen$c_DeleteDatabaseBackupRequest as DeleteDatabaseBackupRequest, type DeleteDatabaseRequest$1 as DeleteDatabaseRequest, type DeleteEndpointRequest$1 as DeleteEndpointRequest, type index_gen$c_DeleteInstanceACLRulesRequest as DeleteInstanceACLRulesRequest, type index_gen$c_DeleteInstanceACLRulesResponse as DeleteInstanceACLRulesResponse, type index_gen$c_DeleteInstanceRequest as DeleteInstanceRequest, type index_gen$c_DeleteInstanceSettingsRequest as DeleteInstanceSettingsRequest, type index_gen$c_DeleteInstanceSettingsResponse as DeleteInstanceSettingsResponse, type index_gen$c_DeleteReadReplicaRequest as DeleteReadReplicaRequest, type index_gen$c_DeleteSnapshotRequest as DeleteSnapshotRequest, type index_gen$c_DeleteUserRequest as DeleteUserRequest, type Endpoint$1 as Endpoint, type index_gen$c_EndpointDirectAccessDetails as EndpointDirectAccessDetails, type index_gen$c_EndpointLoadBalancerDetails as EndpointLoadBalancerDetails, type index_gen$c_EndpointPrivateNetworkDetails as EndpointPrivateNetworkDetails, type EndpointSpec$1 as EndpointSpec, type index_gen$c_EndpointSpecLoadBalancer as EndpointSpecLoadBalancer, type index_gen$c_EndpointSpecPrivateNetwork as EndpointSpecPrivateNetwork, type index_gen$c_EndpointSpecPrivateNetworkIpamConfig as EndpointSpecPrivateNetworkIpamConfig, type index_gen$c_EngineSetting as EngineSetting, type index_gen$c_EngineSettingPropertyType as EngineSettingPropertyType, type index_gen$c_EngineVersion as EngineVersion, type ExportDatabaseBackupRequest$1 as ExportDatabaseBackupRequest, type GetDatabaseBackupRequest$1 as GetDatabaseBackupRequest, type GetEndpointRequest$1 as GetEndpointRequest, type index_gen$c_GetInstanceCertificateRequest as GetInstanceCertificateRequest, type index_gen$c_GetInstanceLogRequest as GetInstanceLogRequest, type index_gen$c_GetInstanceMetricsRequest as GetInstanceMetricsRequest, type index_gen$c_GetInstanceRequest as GetInstanceRequest, type index_gen$c_GetReadReplicaRequest as GetReadReplicaRequest, type index_gen$c_GetSnapshotRequest as GetSnapshotRequest, index_gen$c_INSTANCE_LOG_TRANSIENT_STATUSES as INSTANCE_LOG_TRANSIENT_STATUSES, index_gen$c_INSTANCE_TRANSIENT_STATUSES as INSTANCE_TRANSIENT_STATUSES, type index_gen$c_Instance as Instance, type index_gen$c_InstanceLog as InstanceLog, type index_gen$c_InstanceLogStatus as InstanceLogStatus, type index_gen$c_InstanceMetrics as InstanceMetrics, type index_gen$c_InstanceSetting as InstanceSetting, type index_gen$c_InstanceStatus as InstanceStatus, type ListDatabaseBackupsRequest$2 as ListDatabaseBackupsRequest, type ListDatabaseBackupsRequestOrderBy$1 as ListDatabaseBackupsRequestOrderBy, type ListDatabaseBackupsResponse$1 as ListDatabaseBackupsResponse, type index_gen$c_ListDatabaseEnginesRequest as ListDatabaseEnginesRequest, type index_gen$c_ListDatabaseEnginesResponse as ListDatabaseEnginesResponse, type ListDatabasesRequest$2 as ListDatabasesRequest, type ListDatabasesRequestOrderBy$1 as ListDatabasesRequestOrderBy, type ListDatabasesResponse$1 as ListDatabasesResponse, type index_gen$c_ListInstanceACLRulesRequest as ListInstanceACLRulesRequest, type index_gen$c_ListInstanceACLRulesResponse as ListInstanceACLRulesResponse, type index_gen$c_ListInstanceLogsDetailsRequest as ListInstanceLogsDetailsRequest, type index_gen$c_ListInstanceLogsDetailsResponse as ListInstanceLogsDetailsResponse, type index_gen$c_ListInstanceLogsDetailsResponseInstanceLogDetail as ListInstanceLogsDetailsResponseInstanceLogDetail, type index_gen$c_ListInstanceLogsRequest as ListInstanceLogsRequest, type index_gen$c_ListInstanceLogsRequestOrderBy as ListInstanceLogsRequestOrderBy, type index_gen$c_ListInstanceLogsResponse as ListInstanceLogsResponse, type index_gen$c_ListInstancesRequest as ListInstancesRequest, type index_gen$c_ListInstancesRequestOrderBy as ListInstancesRequestOrderBy, type index_gen$c_ListInstancesResponse as ListInstancesResponse, type ListNodeTypesRequest$1 as ListNodeTypesRequest, type ListNodeTypesResponse$1 as ListNodeTypesResponse, type index_gen$c_ListPrivilegesRequest as ListPrivilegesRequest, type index_gen$c_ListPrivilegesRequestOrderBy as ListPrivilegesRequestOrderBy, type index_gen$c_ListPrivilegesResponse as ListPrivilegesResponse, type index_gen$c_ListSnapshotsRequest as ListSnapshotsRequest, type index_gen$c_ListSnapshotsRequestOrderBy as ListSnapshotsRequestOrderBy, type index_gen$c_ListSnapshotsResponse as ListSnapshotsResponse, type index_gen$c_ListUsersRequest as ListUsersRequest, type index_gen$c_ListUsersRequestOrderBy as ListUsersRequestOrderBy, type index_gen$c_ListUsersResponse as ListUsersResponse, type index_gen$c_LogsPolicy as LogsPolicy, index_gen$c_MAINTENANCE_TRANSIENT_STATUSES as MAINTENANCE_TRANSIENT_STATUSES, type index_gen$c_Maintenance as Maintenance, type index_gen$c_MaintenanceStatus as MaintenanceStatus, type index_gen$c_MigrateEndpointRequest as MigrateEndpointRequest, type NodeType$1 as NodeType, type index_gen$c_NodeTypeGeneration as NodeTypeGeneration, type NodeTypeStock$1 as NodeTypeStock, type index_gen$c_NodeTypeVolumeConstraintSizes as NodeTypeVolumeConstraintSizes, type index_gen$c_NodeTypeVolumeType as NodeTypeVolumeType, type index_gen$c_Permission as Permission, type index_gen$c_PrepareInstanceLogsRequest as PrepareInstanceLogsRequest, type index_gen$c_PrepareInstanceLogsResponse as PrepareInstanceLogsResponse, type index_gen$c_Privilege as Privilege, type index_gen$c_PromoteReadReplicaRequest as PromoteReadReplicaRequest, type index_gen$c_PurgeInstanceLogsRequest as PurgeInstanceLogsRequest, index_gen$c_READ_REPLICA_TRANSIENT_STATUSES as READ_REPLICA_TRANSIENT_STATUSES, type index_gen$c_ReadReplica as ReadReplica, type index_gen$c_ReadReplicaEndpointSpec as ReadReplicaEndpointSpec, type index_gen$c_ReadReplicaEndpointSpecDirectAccess as ReadReplicaEndpointSpecDirectAccess, type index_gen$c_ReadReplicaEndpointSpecPrivateNetwork as ReadReplicaEndpointSpecPrivateNetwork, type index_gen$c_ReadReplicaEndpointSpecPrivateNetworkIpamConfig as ReadReplicaEndpointSpecPrivateNetworkIpamConfig, type index_gen$c_ReadReplicaStatus as ReadReplicaStatus, type index_gen$c_RenewInstanceCertificateRequest as RenewInstanceCertificateRequest, type index_gen$c_ResetReadReplicaRequest as ResetReadReplicaRequest, type index_gen$c_RestartInstanceRequest as RestartInstanceRequest, type index_gen$c_RestoreDatabaseBackupRequest as RestoreDatabaseBackupRequest, index_gen$c_SNAPSHOT_TRANSIENT_STATUSES as SNAPSHOT_TRANSIENT_STATUSES, type index_gen$c_SetInstanceACLRulesRequest as SetInstanceACLRulesRequest, type index_gen$c_SetInstanceACLRulesResponse as SetInstanceACLRulesResponse, type index_gen$c_SetInstanceSettingsRequest as SetInstanceSettingsRequest, type index_gen$c_SetInstanceSettingsResponse as SetInstanceSettingsResponse, type index_gen$c_SetPrivilegeRequest as SetPrivilegeRequest, type index_gen$c_Snapshot as Snapshot, type index_gen$c_SnapshotStatus as SnapshotStatus, type index_gen$c_SnapshotVolumeType as SnapshotVolumeType, type index_gen$c_StorageClass as StorageClass, type index_gen$c_UpdateDatabaseBackupRequest as UpdateDatabaseBackupRequest, type UpdateInstanceRequest$1 as UpdateInstanceRequest, type index_gen$c_UpdateSnapshotRequest as UpdateSnapshotRequest, type index_gen$c_UpdateUserRequest as UpdateUserRequest, type index_gen$c_UpgradableVersion as UpgradableVersion, type index_gen$c_UpgradeInstanceRequest as UpgradeInstanceRequest, type index_gen$c_UpgradeInstanceRequestMajorUpgradeWorkflow as UpgradeInstanceRequestMajorUpgradeWorkflow, type index_gen$c_User as User, validationRules_gen$3 as ValidationRules, type index_gen$c_Volume as Volume, type index_gen$c_VolumeType as VolumeType };
31762
+ export { type ACLRule$1 as ACLRule, type index_gen$c_ACLRuleAction as ACLRuleAction, type index_gen$c_ACLRuleDirection as ACLRuleDirection, type index_gen$c_ACLRuleProtocol as ACLRuleProtocol, type index_gen$c_ACLRuleRequest as ACLRuleRequest, API$b as API, type index_gen$c_AddInstanceACLRulesRequest as AddInstanceACLRulesRequest, type index_gen$c_AddInstanceACLRulesResponse as AddInstanceACLRulesResponse, type index_gen$c_AddInstanceSettingsRequest as AddInstanceSettingsRequest, type index_gen$c_AddInstanceSettingsResponse as AddInstanceSettingsResponse, type index_gen$c_ApplyInstanceMaintenanceRequest as ApplyInstanceMaintenanceRequest, type index_gen$c_BackupSchedule as BackupSchedule, type index_gen$c_CloneInstanceRequest as CloneInstanceRequest, type index_gen$c_CreateDatabaseBackupRequest as CreateDatabaseBackupRequest, type CreateDatabaseRequest$2 as CreateDatabaseRequest, type index_gen$c_CreateEndpointRequest as CreateEndpointRequest, type index_gen$c_CreateInstanceFromSnapshotRequest as CreateInstanceFromSnapshotRequest, type index_gen$c_CreateInstanceRequest as CreateInstanceRequest, type index_gen$c_CreateReadReplicaEndpointRequest as CreateReadReplicaEndpointRequest, type index_gen$c_CreateReadReplicaRequest as CreateReadReplicaRequest, type index_gen$c_CreateSnapshotRequest as CreateSnapshotRequest, type index_gen$c_CreateUserRequest as CreateUserRequest, index_gen$c_DATABASE_BACKUP_TRANSIENT_STATUSES as DATABASE_BACKUP_TRANSIENT_STATUSES, type Database$2 as Database, type DatabaseBackup$1 as DatabaseBackup, type DatabaseBackupStatus$1 as DatabaseBackupStatus, type index_gen$c_DatabaseEngine as DatabaseEngine, type index_gen$c_DeleteDatabaseBackupRequest as DeleteDatabaseBackupRequest, type DeleteDatabaseRequest$1 as DeleteDatabaseRequest, type DeleteEndpointRequest$1 as DeleteEndpointRequest, type index_gen$c_DeleteInstanceACLRulesRequest as DeleteInstanceACLRulesRequest, type index_gen$c_DeleteInstanceACLRulesResponse as DeleteInstanceACLRulesResponse, type index_gen$c_DeleteInstanceRequest as DeleteInstanceRequest, type index_gen$c_DeleteInstanceSettingsRequest as DeleteInstanceSettingsRequest, type index_gen$c_DeleteInstanceSettingsResponse as DeleteInstanceSettingsResponse, type index_gen$c_DeleteReadReplicaRequest as DeleteReadReplicaRequest, type index_gen$c_DeleteSnapshotRequest as DeleteSnapshotRequest, type index_gen$c_DeleteUserRequest as DeleteUserRequest, type Endpoint$1 as Endpoint, type index_gen$c_EndpointDirectAccessDetails as EndpointDirectAccessDetails, type index_gen$c_EndpointLoadBalancerDetails as EndpointLoadBalancerDetails, type index_gen$c_EndpointPrivateNetworkDetails as EndpointPrivateNetworkDetails, type index_gen$c_EndpointPrivateNetworkDetailsProvisioningMode as EndpointPrivateNetworkDetailsProvisioningMode, type EndpointSpec$1 as EndpointSpec, type index_gen$c_EndpointSpecLoadBalancer as EndpointSpecLoadBalancer, type index_gen$c_EndpointSpecPrivateNetwork as EndpointSpecPrivateNetwork, type index_gen$c_EndpointSpecPrivateNetworkIpamConfig as EndpointSpecPrivateNetworkIpamConfig, type index_gen$c_EngineSetting as EngineSetting, type index_gen$c_EngineSettingPropertyType as EngineSettingPropertyType, type index_gen$c_EngineVersion as EngineVersion, type ExportDatabaseBackupRequest$1 as ExportDatabaseBackupRequest, type GetDatabaseBackupRequest$1 as GetDatabaseBackupRequest, type GetEndpointRequest$1 as GetEndpointRequest, type index_gen$c_GetInstanceCertificateRequest as GetInstanceCertificateRequest, type index_gen$c_GetInstanceLogRequest as GetInstanceLogRequest, type index_gen$c_GetInstanceMetricsRequest as GetInstanceMetricsRequest, type index_gen$c_GetInstanceRequest as GetInstanceRequest, type index_gen$c_GetReadReplicaRequest as GetReadReplicaRequest, type index_gen$c_GetSnapshotRequest as GetSnapshotRequest, index_gen$c_INSTANCE_LOG_TRANSIENT_STATUSES as INSTANCE_LOG_TRANSIENT_STATUSES, index_gen$c_INSTANCE_TRANSIENT_STATUSES as INSTANCE_TRANSIENT_STATUSES, type index_gen$c_Instance as Instance, type index_gen$c_InstanceLog as InstanceLog, type index_gen$c_InstanceLogStatus as InstanceLogStatus, type index_gen$c_InstanceMetrics as InstanceMetrics, type index_gen$c_InstanceSetting as InstanceSetting, type index_gen$c_InstanceStatus as InstanceStatus, type ListDatabaseBackupsRequest$2 as ListDatabaseBackupsRequest, type ListDatabaseBackupsRequestOrderBy$1 as ListDatabaseBackupsRequestOrderBy, type ListDatabaseBackupsResponse$1 as ListDatabaseBackupsResponse, type index_gen$c_ListDatabaseEnginesRequest as ListDatabaseEnginesRequest, type index_gen$c_ListDatabaseEnginesResponse as ListDatabaseEnginesResponse, type ListDatabasesRequest$2 as ListDatabasesRequest, type ListDatabasesRequestOrderBy$1 as ListDatabasesRequestOrderBy, type ListDatabasesResponse$1 as ListDatabasesResponse, type index_gen$c_ListInstanceACLRulesRequest as ListInstanceACLRulesRequest, type index_gen$c_ListInstanceACLRulesResponse as ListInstanceACLRulesResponse, type index_gen$c_ListInstanceLogsDetailsRequest as ListInstanceLogsDetailsRequest, type index_gen$c_ListInstanceLogsDetailsResponse as ListInstanceLogsDetailsResponse, type index_gen$c_ListInstanceLogsDetailsResponseInstanceLogDetail as ListInstanceLogsDetailsResponseInstanceLogDetail, type index_gen$c_ListInstanceLogsRequest as ListInstanceLogsRequest, type index_gen$c_ListInstanceLogsRequestOrderBy as ListInstanceLogsRequestOrderBy, type index_gen$c_ListInstanceLogsResponse as ListInstanceLogsResponse, type index_gen$c_ListInstancesRequest as ListInstancesRequest, type index_gen$c_ListInstancesRequestOrderBy as ListInstancesRequestOrderBy, type index_gen$c_ListInstancesResponse as ListInstancesResponse, type ListNodeTypesRequest$1 as ListNodeTypesRequest, type ListNodeTypesResponse$1 as ListNodeTypesResponse, type index_gen$c_ListPrivilegesRequest as ListPrivilegesRequest, type index_gen$c_ListPrivilegesRequestOrderBy as ListPrivilegesRequestOrderBy, type index_gen$c_ListPrivilegesResponse as ListPrivilegesResponse, type index_gen$c_ListSnapshotsRequest as ListSnapshotsRequest, type index_gen$c_ListSnapshotsRequestOrderBy as ListSnapshotsRequestOrderBy, type index_gen$c_ListSnapshotsResponse as ListSnapshotsResponse, type index_gen$c_ListUsersRequest as ListUsersRequest, type index_gen$c_ListUsersRequestOrderBy as ListUsersRequestOrderBy, type index_gen$c_ListUsersResponse as ListUsersResponse, type index_gen$c_LogsPolicy as LogsPolicy, index_gen$c_MAINTENANCE_TRANSIENT_STATUSES as MAINTENANCE_TRANSIENT_STATUSES, type index_gen$c_Maintenance as Maintenance, type index_gen$c_MaintenanceStatus as MaintenanceStatus, type index_gen$c_MigrateEndpointRequest as MigrateEndpointRequest, type NodeType$1 as NodeType, type index_gen$c_NodeTypeGeneration as NodeTypeGeneration, type NodeTypeStock$1 as NodeTypeStock, type index_gen$c_NodeTypeVolumeConstraintSizes as NodeTypeVolumeConstraintSizes, type index_gen$c_NodeTypeVolumeType as NodeTypeVolumeType, type index_gen$c_Permission as Permission, type index_gen$c_PrepareInstanceLogsRequest as PrepareInstanceLogsRequest, type index_gen$c_PrepareInstanceLogsResponse as PrepareInstanceLogsResponse, type index_gen$c_Privilege as Privilege, type index_gen$c_PromoteReadReplicaRequest as PromoteReadReplicaRequest, type index_gen$c_PurgeInstanceLogsRequest as PurgeInstanceLogsRequest, index_gen$c_READ_REPLICA_TRANSIENT_STATUSES as READ_REPLICA_TRANSIENT_STATUSES, type index_gen$c_ReadReplica as ReadReplica, type index_gen$c_ReadReplicaEndpointSpec as ReadReplicaEndpointSpec, type index_gen$c_ReadReplicaEndpointSpecDirectAccess as ReadReplicaEndpointSpecDirectAccess, type index_gen$c_ReadReplicaEndpointSpecPrivateNetwork as ReadReplicaEndpointSpecPrivateNetwork, type index_gen$c_ReadReplicaEndpointSpecPrivateNetworkIpamConfig as ReadReplicaEndpointSpecPrivateNetworkIpamConfig, type index_gen$c_ReadReplicaStatus as ReadReplicaStatus, type index_gen$c_RenewInstanceCertificateRequest as RenewInstanceCertificateRequest, type index_gen$c_ResetReadReplicaRequest as ResetReadReplicaRequest, type index_gen$c_RestartInstanceRequest as RestartInstanceRequest, type index_gen$c_RestoreDatabaseBackupRequest as RestoreDatabaseBackupRequest, index_gen$c_SNAPSHOT_TRANSIENT_STATUSES as SNAPSHOT_TRANSIENT_STATUSES, type index_gen$c_SetInstanceACLRulesRequest as SetInstanceACLRulesRequest, type index_gen$c_SetInstanceACLRulesResponse as SetInstanceACLRulesResponse, type index_gen$c_SetInstanceSettingsRequest as SetInstanceSettingsRequest, type index_gen$c_SetInstanceSettingsResponse as SetInstanceSettingsResponse, type index_gen$c_SetPrivilegeRequest as SetPrivilegeRequest, type index_gen$c_Snapshot as Snapshot, type index_gen$c_SnapshotStatus as SnapshotStatus, type index_gen$c_SnapshotVolumeType as SnapshotVolumeType, type index_gen$c_StorageClass as StorageClass, type index_gen$c_UpdateDatabaseBackupRequest as UpdateDatabaseBackupRequest, type UpdateInstanceRequest$1 as UpdateInstanceRequest, type index_gen$c_UpdateSnapshotRequest as UpdateSnapshotRequest, type index_gen$c_UpdateUserRequest as UpdateUserRequest, type index_gen$c_UpgradableVersion as UpgradableVersion, type index_gen$c_UpgradeInstanceRequest as UpgradeInstanceRequest, type index_gen$c_UpgradeInstanceRequestMajorUpgradeWorkflow as UpgradeInstanceRequestMajorUpgradeWorkflow, type index_gen$c_User as User, validationRules_gen$3 as ValidationRules, type index_gen$c_Volume as Volume, type index_gen$c_VolumeType as VolumeType };
30747
31763
  }
30748
31764
 
30749
31765
  declare namespace index$9 {
@@ -34572,11 +35588,15 @@ type ListDomainsRequest = {
34572
35588
  region?: Region;
34573
35589
  /** Requested page number. Value must be greater or equal to 1. */
34574
35590
  page?: number;
34575
- /** Page size. */
35591
+ /** Requested page size. Value must be between 1 and 1000. */
34576
35592
  pageSize?: number;
35593
+ /** (Optional) ID of the Project in which to list the domains. */
34577
35594
  projectId?: string;
35595
+ /** (Optional) List domains under specific statuses. */
34578
35596
  status?: DomainStatus[];
35597
+ /** (Optional) ID of the Organization in which to list the domains. */
34579
35598
  organizationId?: string;
35599
+ /** (Optional) Names of the domains to list. */
34580
35600
  name?: string;
34581
35601
  };
34582
35602
  interface ListDomainsResponse {
@@ -37062,6 +38082,15 @@ type CreateHostingRequest = {
37062
38082
  */
37063
38083
  domainConfiguration?: CreateHostingRequestDomainConfiguration;
37064
38084
  };
38085
+ type CreateSessionRequest = {
38086
+ /**
38087
+ * Region to target. If none is passed will use default region from the
38088
+ * config.
38089
+ */
38090
+ region?: Region;
38091
+ /** Hosting ID. */
38092
+ hostingId: string;
38093
+ };
37065
38094
  type DeleteHostingRequest = {
37066
38095
  /**
37067
38096
  * Region to target. If none is passed will use default region from the
@@ -37205,6 +38234,19 @@ interface ListOffersResponse {
37205
38234
  /** List of offers. */
37206
38235
  offers: Offer[];
37207
38236
  }
38237
+ type ResetHostingPasswordRequest = {
38238
+ /**
38239
+ * Region to target. If none is passed will use default region from the
38240
+ * config.
38241
+ */
38242
+ region?: Region;
38243
+ /** UUID of the hosting. */
38244
+ hostingId: string;
38245
+ };
38246
+ interface ResetHostingPasswordResponse {
38247
+ /** New password. */
38248
+ password: string;
38249
+ }
37208
38250
  type RestoreHostingRequest = {
37209
38251
  /**
37210
38252
  * Region to target. If none is passed will use default region from the
@@ -37214,6 +38256,10 @@ type RestoreHostingRequest = {
37214
38256
  /** Hosting ID. */
37215
38257
  hostingId: string;
37216
38258
  };
38259
+ interface Session {
38260
+ /** Logged user's session URL. */
38261
+ url: string;
38262
+ }
37217
38263
  type UpdateHostingRequest = {
37218
38264
  /**
37219
38265
  * Region to target. If none is passed will use default region from the
@@ -37324,8 +38370,7 @@ declare class API extends API$z {
37324
38370
  listOffers: (request: Readonly<ListOffersRequest>) => Promise<ListOffersResponse>;
37325
38371
  protected pageOfListControlPanels: (request?: Readonly<ListControlPanelsRequest$1>) => Promise<ListControlPanelsResponse>;
37326
38372
  /**
37327
- * List all control panels type. List the control panels type: cpanel or
37328
- * plesk.
38373
+ * "List the control panels type: cpanel or plesk.".
37329
38374
  *
37330
38375
  * @param request - The request {@link ListControlPanelsRequest}
37331
38376
  * @returns A Promise of ListControlPanelsResponse
@@ -37334,6 +38379,14 @@ declare class API extends API$z {
37334
38379
  all: () => Promise<ControlPanel[]>;
37335
38380
  [Symbol.asyncIterator]: () => AsyncGenerator<ControlPanel[], void, void>;
37336
38381
  };
38382
+ /**
38383
+ * Create a user session.
38384
+ *
38385
+ * @param request - The request {@link CreateSessionRequest}
38386
+ * @returns A Promise of Session
38387
+ */
38388
+ createSession: (request: Readonly<CreateSessionRequest>) => Promise<Session>;
38389
+ resetHostingPassword: (request: Readonly<ResetHostingPasswordRequest>) => Promise<ResetHostingPasswordResponse>;
37337
38390
  }
37338
38391
 
37339
38392
  /** Lists transient statutes of the enum {@link HostingStatus}. */
@@ -37369,6 +38422,7 @@ declare const index_gen_API: typeof API;
37369
38422
  type index_gen_ControlPanel = ControlPanel;
37370
38423
  type index_gen_CreateHostingRequest = CreateHostingRequest;
37371
38424
  type index_gen_CreateHostingRequestDomainConfiguration = CreateHostingRequestDomainConfiguration;
38425
+ type index_gen_CreateSessionRequest = CreateSessionRequest;
37372
38426
  type index_gen_DeleteHostingRequest = DeleteHostingRequest;
37373
38427
  type index_gen_DnsRecord = DnsRecord;
37374
38428
  type index_gen_DnsRecordStatus = DnsRecordStatus;
@@ -37394,10 +38448,13 @@ type index_gen_NameserverStatus = NameserverStatus;
37394
38448
  type index_gen_Offer = Offer;
37395
38449
  type index_gen_OfferProduct = OfferProduct;
37396
38450
  type index_gen_OfferQuotaWarning = OfferQuotaWarning;
38451
+ type index_gen_ResetHostingPasswordRequest = ResetHostingPasswordRequest;
38452
+ type index_gen_ResetHostingPasswordResponse = ResetHostingPasswordResponse;
37397
38453
  type index_gen_RestoreHostingRequest = RestoreHostingRequest;
38454
+ type index_gen_Session = Session;
37398
38455
  type index_gen_UpdateHostingRequest = UpdateHostingRequest;
37399
38456
  declare namespace index_gen {
37400
- export { index_gen_API as API, type index_gen_ControlPanel as ControlPanel, type index_gen_CreateHostingRequest as CreateHostingRequest, type index_gen_CreateHostingRequestDomainConfiguration as CreateHostingRequestDomainConfiguration, type index_gen_DeleteHostingRequest as DeleteHostingRequest, type index_gen_DnsRecord as DnsRecord, type index_gen_DnsRecordStatus as DnsRecordStatus, type index_gen_DnsRecordType as DnsRecordType, type index_gen_DnsRecords as DnsRecords, type index_gen_DnsRecordsStatus as DnsRecordsStatus, type index_gen_GetDomainDnsRecordsRequest as GetDomainDnsRecordsRequest, type index_gen_GetHostingRequest as GetHostingRequest, index_gen_HOSTING_TRANSIENT_STATUSES as HOSTING_TRANSIENT_STATUSES, type index_gen_Hosting as Hosting, type index_gen_HostingCpanelUrls as HostingCpanelUrls, type index_gen_HostingDnsStatus as HostingDnsStatus, type index_gen_HostingOption as HostingOption, type index_gen_HostingStatus as HostingStatus, type ListControlPanelsRequest$1 as ListControlPanelsRequest, type index_gen_ListControlPanelsResponse as ListControlPanelsResponse, type ListHostingsRequest$1 as ListHostingsRequest, type index_gen_ListHostingsRequestOrderBy as ListHostingsRequestOrderBy, type index_gen_ListHostingsResponse as ListHostingsResponse, type index_gen_ListOffersRequest as ListOffersRequest, type index_gen_ListOffersRequestOrderBy as ListOffersRequestOrderBy, type index_gen_ListOffersResponse as ListOffersResponse, type index_gen_Nameserver as Nameserver, type index_gen_NameserverStatus as NameserverStatus, type index_gen_Offer as Offer, type index_gen_OfferProduct as OfferProduct, type index_gen_OfferQuotaWarning as OfferQuotaWarning, type index_gen_RestoreHostingRequest as RestoreHostingRequest, type index_gen_UpdateHostingRequest as UpdateHostingRequest, validationRules_gen as ValidationRules };
38457
+ export { index_gen_API as API, type index_gen_ControlPanel as ControlPanel, type index_gen_CreateHostingRequest as CreateHostingRequest, type index_gen_CreateHostingRequestDomainConfiguration as CreateHostingRequestDomainConfiguration, type index_gen_CreateSessionRequest as CreateSessionRequest, type index_gen_DeleteHostingRequest as DeleteHostingRequest, type index_gen_DnsRecord as DnsRecord, type index_gen_DnsRecordStatus as DnsRecordStatus, type index_gen_DnsRecordType as DnsRecordType, type index_gen_DnsRecords as DnsRecords, type index_gen_DnsRecordsStatus as DnsRecordsStatus, type index_gen_GetDomainDnsRecordsRequest as GetDomainDnsRecordsRequest, type index_gen_GetHostingRequest as GetHostingRequest, index_gen_HOSTING_TRANSIENT_STATUSES as HOSTING_TRANSIENT_STATUSES, type index_gen_Hosting as Hosting, type index_gen_HostingCpanelUrls as HostingCpanelUrls, type index_gen_HostingDnsStatus as HostingDnsStatus, type index_gen_HostingOption as HostingOption, type index_gen_HostingStatus as HostingStatus, type ListControlPanelsRequest$1 as ListControlPanelsRequest, type index_gen_ListControlPanelsResponse as ListControlPanelsResponse, type ListHostingsRequest$1 as ListHostingsRequest, type index_gen_ListHostingsRequestOrderBy as ListHostingsRequestOrderBy, type index_gen_ListHostingsResponse as ListHostingsResponse, type index_gen_ListOffersRequest as ListOffersRequest, type index_gen_ListOffersRequestOrderBy as ListOffersRequestOrderBy, type index_gen_ListOffersResponse as ListOffersResponse, type index_gen_Nameserver as Nameserver, type index_gen_NameserverStatus as NameserverStatus, type index_gen_Offer as Offer, type index_gen_OfferProduct as OfferProduct, type index_gen_OfferQuotaWarning as OfferQuotaWarning, type index_gen_ResetHostingPasswordRequest as ResetHostingPasswordRequest, type index_gen_ResetHostingPasswordResponse as ResetHostingPasswordResponse, type index_gen_RestoreHostingRequest as RestoreHostingRequest, type index_gen_Session as Session, type index_gen_UpdateHostingRequest as UpdateHostingRequest, validationRules_gen as ValidationRules };
37401
38458
  }
37402
38459
 
37403
38460
  declare namespace index {