@scaleway/sdk 2.24.0 → 2.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/cockpit/index.js +4 -2
- package/dist/api/cockpit/v1/api.gen.js +456 -0
- package/dist/api/cockpit/v1/index.gen.js +6 -0
- package/dist/api/cockpit/v1/marshalling.gen.js +253 -0
- package/dist/api/cockpit/v1/validation-rules.gen.js +46 -0
- package/dist/api/instance/v1/api.gen.js +1 -1
- package/dist/api/k8s/v1/marshalling.gen.js +1 -0
- package/dist/api/rdb/v1/marshalling.gen.js +1 -0
- package/dist/index.cjs +961 -195
- package/dist/index.d.ts +1244 -278
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
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$
|
|
1214
|
-
type index_gen$
|
|
1215
|
-
type index_gen$
|
|
1216
|
-
type index_gen$
|
|
1217
|
-
type index_gen$
|
|
1218
|
-
declare namespace index_gen$
|
|
1219
|
-
export { API$y as API, type index_gen$
|
|
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,26 +1373,26 @@ declare const ProjectApiUpdateProjectRequest: {
|
|
|
1373
1373
|
};
|
|
1374
1374
|
};
|
|
1375
1375
|
|
|
1376
|
-
declare const validationRules_gen$
|
|
1377
|
-
declare const validationRules_gen$
|
|
1378
|
-
declare const validationRules_gen$
|
|
1379
|
-
declare namespace validationRules_gen$
|
|
1380
|
-
export { validationRules_gen$
|
|
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$
|
|
1384
|
-
type index_gen$
|
|
1385
|
-
type index_gen$
|
|
1386
|
-
type index_gen$
|
|
1387
|
-
declare const index_gen$
|
|
1388
|
-
type index_gen$
|
|
1389
|
-
type index_gen$
|
|
1390
|
-
declare namespace index_gen$
|
|
1391
|
-
export { type index_gen$
|
|
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$
|
|
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';
|
|
@@ -1692,20 +1692,20 @@ declare class API$x extends API$z {
|
|
|
1692
1692
|
/** Lists transient statutes of the enum {@link ServerStatus}. */
|
|
1693
1693
|
declare const SERVER_TRANSIENT_STATUSES$3: ServerStatus$2[];
|
|
1694
1694
|
|
|
1695
|
-
type index_gen$
|
|
1696
|
-
type index_gen$
|
|
1697
|
-
type index_gen$
|
|
1698
|
-
type index_gen$
|
|
1699
|
-
type index_gen$
|
|
1700
|
-
type index_gen$
|
|
1701
|
-
type index_gen$
|
|
1702
|
-
type index_gen$
|
|
1703
|
-
declare namespace index_gen$
|
|
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$
|
|
1695
|
+
type index_gen$w_GetServerTypeRequest = GetServerTypeRequest;
|
|
1696
|
+
type index_gen$w_ListServerTypesRequest = ListServerTypesRequest;
|
|
1697
|
+
type index_gen$w_ListServerTypesResponse = ListServerTypesResponse;
|
|
1698
|
+
type index_gen$w_ReinstallServerRequest = ReinstallServerRequest;
|
|
1699
|
+
type index_gen$w_ServerTypeCPU = ServerTypeCPU;
|
|
1700
|
+
type index_gen$w_ServerTypeDisk = ServerTypeDisk;
|
|
1701
|
+
type index_gen$w_ServerTypeMemory = ServerTypeMemory;
|
|
1702
|
+
type index_gen$w_ServerTypeStock = ServerTypeStock;
|
|
1703
|
+
declare namespace index_gen$w {
|
|
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$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
1705
|
}
|
|
1706
1706
|
|
|
1707
1707
|
declare namespace index$z {
|
|
1708
|
-
export { index_gen$
|
|
1708
|
+
export { index_gen$w as v1alpha1 };
|
|
1709
1709
|
}
|
|
1710
1710
|
|
|
1711
1711
|
type IPReverseStatus = 'unknown' | 'pending' | 'active' | 'error';
|
|
@@ -2798,11 +2798,11 @@ declare const UpdateServerRequest$3: {
|
|
|
2798
2798
|
};
|
|
2799
2799
|
};
|
|
2800
2800
|
|
|
2801
|
-
declare const validationRules_gen$
|
|
2802
|
-
declare const validationRules_gen$
|
|
2803
|
-
declare const validationRules_gen$
|
|
2804
|
-
declare namespace validationRules_gen$
|
|
2805
|
-
export { CreateServerRequest$2 as CreateServerRequest, validationRules_gen$
|
|
2801
|
+
declare const validationRules_gen$h_CreateServerRequestInstall: typeof CreateServerRequestInstall;
|
|
2802
|
+
declare const validationRules_gen$h_ListOptionsRequest: typeof ListOptionsRequest;
|
|
2803
|
+
declare const validationRules_gen$h_ListSettingsRequest: typeof ListSettingsRequest;
|
|
2804
|
+
declare namespace validationRules_gen$h {
|
|
2805
|
+
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
2806
|
}
|
|
2807
2807
|
|
|
2808
2808
|
type index$y_AddOptionServerRequest = AddOptionServerRequest;
|
|
@@ -2839,7 +2839,7 @@ type index$y_Setting = Setting;
|
|
|
2839
2839
|
type index$y_SettingType = SettingType;
|
|
2840
2840
|
type index$y_UpdateSettingRequest = UpdateSettingRequest;
|
|
2841
2841
|
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$
|
|
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$h as ValidationRules };
|
|
2843
2843
|
}
|
|
2844
2844
|
|
|
2845
2845
|
declare namespace index$x {
|
|
@@ -3031,11 +3031,11 @@ declare class API$v extends API$z {
|
|
|
3031
3031
|
};
|
|
3032
3032
|
}
|
|
3033
3033
|
|
|
3034
|
-
type index_gen$
|
|
3035
|
-
type index_gen$
|
|
3036
|
-
type index_gen$
|
|
3037
|
-
declare namespace index_gen$
|
|
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$
|
|
3034
|
+
type index_gen$v_GetConsumptionRequest = GetConsumptionRequest;
|
|
3035
|
+
type index_gen$v_GetConsumptionResponse = GetConsumptionResponse;
|
|
3036
|
+
type index_gen$v_GetConsumptionResponseConsumption = GetConsumptionResponseConsumption;
|
|
3037
|
+
declare namespace index_gen$v {
|
|
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$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
3039
|
}
|
|
3040
3040
|
|
|
3041
3041
|
type DiscountDiscountMode = 'unknown_discount_mode' | 'discount_mode_rate' | 'discount_mode_value' | 'discount_mode_splittable';
|
|
@@ -3385,36 +3385,36 @@ declare class API$u extends API$z {
|
|
|
3385
3385
|
};
|
|
3386
3386
|
}
|
|
3387
3387
|
|
|
3388
|
-
type index_gen$
|
|
3389
|
-
type index_gen$
|
|
3390
|
-
type index_gen$
|
|
3391
|
-
type index_gen$
|
|
3392
|
-
type index_gen$
|
|
3393
|
-
type index_gen$
|
|
3394
|
-
type index_gen$
|
|
3395
|
-
type index_gen$
|
|
3396
|
-
type index_gen$
|
|
3397
|
-
type index_gen$
|
|
3398
|
-
type index_gen$
|
|
3399
|
-
type index_gen$
|
|
3400
|
-
type index_gen$
|
|
3401
|
-
type index_gen$
|
|
3402
|
-
type index_gen$
|
|
3403
|
-
type index_gen$
|
|
3404
|
-
type index_gen$
|
|
3405
|
-
type index_gen$
|
|
3406
|
-
type index_gen$
|
|
3407
|
-
type index_gen$
|
|
3408
|
-
type index_gen$
|
|
3409
|
-
type index_gen$
|
|
3410
|
-
type index_gen$
|
|
3411
|
-
type index_gen$
|
|
3412
|
-
declare namespace index_gen$
|
|
3413
|
-
export { API$u as API, type index_gen$
|
|
3388
|
+
type index_gen$u_Discount = Discount;
|
|
3389
|
+
type index_gen$u_DiscountCoupon = DiscountCoupon;
|
|
3390
|
+
type index_gen$u_DiscountDiscountMode = DiscountDiscountMode;
|
|
3391
|
+
type index_gen$u_DiscountFilter = DiscountFilter;
|
|
3392
|
+
type index_gen$u_DiscountFilterType = DiscountFilterType;
|
|
3393
|
+
type index_gen$u_DownloadInvoiceRequest = DownloadInvoiceRequest;
|
|
3394
|
+
type index_gen$u_DownloadInvoiceRequestFileType = DownloadInvoiceRequestFileType;
|
|
3395
|
+
type index_gen$u_ExportInvoicesRequest = ExportInvoicesRequest;
|
|
3396
|
+
type index_gen$u_ExportInvoicesRequestFileType = ExportInvoicesRequestFileType;
|
|
3397
|
+
type index_gen$u_ExportInvoicesRequestOrderBy = ExportInvoicesRequestOrderBy;
|
|
3398
|
+
type index_gen$u_GetInvoiceRequest = GetInvoiceRequest;
|
|
3399
|
+
type index_gen$u_InvoiceType = InvoiceType;
|
|
3400
|
+
type index_gen$u_ListConsumptionsRequest = ListConsumptionsRequest;
|
|
3401
|
+
type index_gen$u_ListConsumptionsRequestOrderBy = ListConsumptionsRequestOrderBy;
|
|
3402
|
+
type index_gen$u_ListConsumptionsResponse = ListConsumptionsResponse;
|
|
3403
|
+
type index_gen$u_ListConsumptionsResponseConsumption = ListConsumptionsResponseConsumption;
|
|
3404
|
+
type index_gen$u_ListDiscountsRequest = ListDiscountsRequest;
|
|
3405
|
+
type index_gen$u_ListDiscountsRequestOrderBy = ListDiscountsRequestOrderBy;
|
|
3406
|
+
type index_gen$u_ListDiscountsResponse = ListDiscountsResponse;
|
|
3407
|
+
type index_gen$u_ListInvoicesRequest = ListInvoicesRequest;
|
|
3408
|
+
type index_gen$u_ListTaxesRequest = ListTaxesRequest;
|
|
3409
|
+
type index_gen$u_ListTaxesRequestOrderBy = ListTaxesRequestOrderBy;
|
|
3410
|
+
type index_gen$u_ListTaxesResponse = ListTaxesResponse;
|
|
3411
|
+
type index_gen$u_ListTaxesResponseTax = ListTaxesResponseTax;
|
|
3412
|
+
declare namespace index_gen$u {
|
|
3413
|
+
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
3414
|
}
|
|
3415
3415
|
|
|
3416
3416
|
declare namespace index$w {
|
|
3417
|
-
export { index_gen$
|
|
3417
|
+
export { index_gen$v as v2alpha1, index_gen$u as v2beta1 };
|
|
3418
3418
|
}
|
|
3419
3419
|
|
|
3420
3420
|
type ListSnapshotsRequestOrderBy$2 = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
@@ -3641,282 +3641,1209 @@ type ListVolumeTypesRequest$1 = {
|
|
|
3641
3641
|
/** Page number. */
|
|
3642
3642
|
page?: number;
|
|
3643
3643
|
/**
|
|
3644
|
-
* Page size, defines how many entries are returned in one page, must be lower
|
|
3645
|
-
* or equal to 100.
|
|
3644
|
+
* Page size, defines how many entries are returned in one page, must be lower
|
|
3645
|
+
* or equal to 100.
|
|
3646
|
+
*/
|
|
3647
|
+
pageSize?: number;
|
|
3648
|
+
};
|
|
3649
|
+
interface ListVolumeTypesResponse {
|
|
3650
|
+
/** Returns paginated list of volume-types. */
|
|
3651
|
+
volumeTypes: VolumeType$3[];
|
|
3652
|
+
/** Total number of volume-types currently available in stock. */
|
|
3653
|
+
totalCount: number;
|
|
3654
|
+
}
|
|
3655
|
+
type ListVolumesRequest$3 = {
|
|
3656
|
+
/** Zone to target. If none is passed will use default zone from the config. */
|
|
3657
|
+
zone?: Zone;
|
|
3658
|
+
/** Criteria to use when ordering the list. */
|
|
3659
|
+
orderBy?: ListVolumesRequestOrderBy$1;
|
|
3660
|
+
/** Filter by Project ID. */
|
|
3661
|
+
projectId?: string;
|
|
3662
|
+
/** Filter by Organization ID. */
|
|
3663
|
+
organizationId?: string;
|
|
3664
|
+
/** Page number. */
|
|
3665
|
+
page?: number;
|
|
3666
|
+
/**
|
|
3667
|
+
* Page size, defines how many entries are returned in one page, must be lower
|
|
3668
|
+
* or equal to 100.
|
|
3669
|
+
*/
|
|
3670
|
+
pageSize?: number;
|
|
3671
|
+
/** Filter the return volumes by their names. */
|
|
3672
|
+
name?: string;
|
|
3673
|
+
/**
|
|
3674
|
+
* Filter by a product resource ID linked to this volume (such as an Instance
|
|
3675
|
+
* ID).
|
|
3676
|
+
*/
|
|
3677
|
+
productResourceId?: string;
|
|
3678
|
+
};
|
|
3679
|
+
interface ListVolumesResponse$2 {
|
|
3680
|
+
/** Paginated returned list of volumes. */
|
|
3681
|
+
volumes: Volume$4[];
|
|
3682
|
+
/** Total number of volumes in the project. */
|
|
3683
|
+
totalCount: number;
|
|
3684
|
+
}
|
|
3685
|
+
type UpdateSnapshotRequest$3 = {
|
|
3686
|
+
/** Zone to target. If none is passed will use default zone from the config. */
|
|
3687
|
+
zone?: Zone;
|
|
3688
|
+
/** UUID of the snapshot. */
|
|
3689
|
+
snapshotId: string;
|
|
3690
|
+
/** When defined, is the name of the snapshot. */
|
|
3691
|
+
name?: string;
|
|
3692
|
+
/** List of tags assigned to the snapshot. */
|
|
3693
|
+
tags?: string[];
|
|
3694
|
+
};
|
|
3695
|
+
type UpdateVolumeRequest$2 = {
|
|
3696
|
+
/** Zone to target. If none is passed will use default zone from the config. */
|
|
3697
|
+
zone?: Zone;
|
|
3698
|
+
/** UUID of the volume. */
|
|
3699
|
+
volumeId: string;
|
|
3700
|
+
/** When defined, is the new name of the volume. */
|
|
3701
|
+
name?: string;
|
|
3702
|
+
/**
|
|
3703
|
+
* Size in bytes of the volume, with a granularity of 1 GB (10^9 bytes). Must
|
|
3704
|
+
* be compliant with the minimum (1GB) and maximum (10TB) allowed size.
|
|
3705
|
+
*/
|
|
3706
|
+
size?: number;
|
|
3707
|
+
/** List of tags assigned to the volume. */
|
|
3708
|
+
tags?: string[];
|
|
3709
|
+
/**
|
|
3710
|
+
* The selected value must be available for the volume's current storage
|
|
3711
|
+
* class.
|
|
3712
|
+
*/
|
|
3713
|
+
perfIops?: number;
|
|
3714
|
+
};
|
|
3715
|
+
|
|
3716
|
+
/**
|
|
3717
|
+
* Scaleway Block Storage API.
|
|
3718
|
+
*
|
|
3719
|
+
* This API allows you to use and manage your Block Storage volumes.
|
|
3720
|
+
*/
|
|
3721
|
+
declare class API$t extends API$z {
|
|
3722
|
+
/** Lists the available zones of the API. */
|
|
3723
|
+
static readonly LOCALITIES: Zone[];
|
|
3724
|
+
protected pageOfListVolumeTypes: (request?: Readonly<ListVolumeTypesRequest$1>) => Promise<ListVolumeTypesResponse>;
|
|
3725
|
+
/**
|
|
3726
|
+
* List volume types. List all available volume types in a specified zone. The
|
|
3727
|
+
* volume types listed are ordered by name in ascending order.
|
|
3728
|
+
*
|
|
3729
|
+
* @param request - The request {@link ListVolumeTypesRequest}
|
|
3730
|
+
* @returns A Promise of ListVolumeTypesResponse
|
|
3731
|
+
*/
|
|
3732
|
+
listVolumeTypes: (request?: Readonly<ListVolumeTypesRequest$1>) => Promise<ListVolumeTypesResponse> & {
|
|
3733
|
+
all: () => Promise<VolumeType$3[]>;
|
|
3734
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<VolumeType$3[], void, void>;
|
|
3735
|
+
};
|
|
3736
|
+
protected pageOfListVolumes: (request?: Readonly<ListVolumesRequest$3>) => Promise<ListVolumesResponse$2>;
|
|
3737
|
+
/**
|
|
3738
|
+
* List volumes. List all existing volumes in a specified zone. By default,
|
|
3739
|
+
* the volumes listed are ordered by creation date in ascending order. This
|
|
3740
|
+
* can be modified via the `order_by` field.
|
|
3741
|
+
*
|
|
3742
|
+
* @param request - The request {@link ListVolumesRequest}
|
|
3743
|
+
* @returns A Promise of ListVolumesResponse
|
|
3744
|
+
*/
|
|
3745
|
+
listVolumes: (request?: Readonly<ListVolumesRequest$3>) => Promise<ListVolumesResponse$2> & {
|
|
3746
|
+
all: () => Promise<Volume$4[]>;
|
|
3747
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<Volume$4[], void, void>;
|
|
3748
|
+
};
|
|
3749
|
+
/**
|
|
3750
|
+
* Create a volume. To create a new volume from scratch, you must specify
|
|
3751
|
+
* `from_empty` and the `size`. To create a volume from an existing snapshot,
|
|
3752
|
+
* specify `from_snapshot` and the `snapshot_id` in the request payload
|
|
3753
|
+
* instead, size is optional and can be specified if you need to extend the
|
|
3754
|
+
* original size. The volume will take on the same volume class and underlying
|
|
3755
|
+
* IOPS limitations as the original snapshot.
|
|
3756
|
+
*
|
|
3757
|
+
* @param request - The request {@link CreateVolumeRequest}
|
|
3758
|
+
* @returns A Promise of Volume
|
|
3759
|
+
*/
|
|
3760
|
+
createVolume: (request: Readonly<CreateVolumeRequest$3>) => Promise<Volume$4>;
|
|
3761
|
+
/**
|
|
3762
|
+
* Get a volume. Retrieve technical information about a specific volume.
|
|
3763
|
+
* Details such as size, type, and status are returned in the response.
|
|
3764
|
+
*
|
|
3765
|
+
* @param request - The request {@link GetVolumeRequest}
|
|
3766
|
+
* @returns A Promise of Volume
|
|
3767
|
+
*/
|
|
3768
|
+
getVolume: (request: Readonly<GetVolumeRequest$2>) => Promise<Volume$4>;
|
|
3769
|
+
/**
|
|
3770
|
+
* Waits for {@link Volume} to be in a final state.
|
|
3771
|
+
*
|
|
3772
|
+
* @param request - The request {@link GetVolumeRequest}
|
|
3773
|
+
* @param options - The waiting options
|
|
3774
|
+
* @returns A Promise of Volume
|
|
3775
|
+
*/
|
|
3776
|
+
waitForVolume: (request: Readonly<GetVolumeRequest$2>, options?: Readonly<WaitForOptions<Volume$4>>) => Promise<Volume$4>;
|
|
3777
|
+
/**
|
|
3778
|
+
* Delete a detached volume. You must specify the `volume_id` of the volume
|
|
3779
|
+
* you want to delete. The volume must not be in the `in_use` status.
|
|
3780
|
+
*
|
|
3781
|
+
* @param request - The request {@link DeleteVolumeRequest}
|
|
3782
|
+
*/
|
|
3783
|
+
deleteVolume: (request: Readonly<DeleteVolumeRequest$2>) => Promise<void>;
|
|
3784
|
+
/**
|
|
3785
|
+
* Update a volume. Update the technical details of a volume, such as its
|
|
3786
|
+
* name, tags, or its new size and `volume_type` (within the same Block
|
|
3787
|
+
* Storage class). You can only resize a volume to a larger size. It is
|
|
3788
|
+
* currently not possible to change your Block Storage Class.
|
|
3789
|
+
*
|
|
3790
|
+
* @param request - The request {@link UpdateVolumeRequest}
|
|
3791
|
+
* @returns A Promise of Volume
|
|
3792
|
+
*/
|
|
3793
|
+
updateVolume: (request: Readonly<UpdateVolumeRequest$2>) => Promise<Volume$4>;
|
|
3794
|
+
protected pageOfListSnapshots: (request?: Readonly<ListSnapshotsRequest$4>) => Promise<ListSnapshotsResponse$3>;
|
|
3795
|
+
/**
|
|
3796
|
+
* List all snapshots. List all available snapshots in a specified zone. By
|
|
3797
|
+
* default, the snapshots listed are ordered by creation date in ascending
|
|
3798
|
+
* order. This can be modified via the `order_by` field.
|
|
3799
|
+
*
|
|
3800
|
+
* @param request - The request {@link ListSnapshotsRequest}
|
|
3801
|
+
* @returns A Promise of ListSnapshotsResponse
|
|
3802
|
+
*/
|
|
3803
|
+
listSnapshots: (request?: Readonly<ListSnapshotsRequest$4>) => Promise<ListSnapshotsResponse$3> & {
|
|
3804
|
+
all: () => Promise<Snapshot$3[]>;
|
|
3805
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<Snapshot$3[], void, void>;
|
|
3806
|
+
};
|
|
3807
|
+
/**
|
|
3808
|
+
* Get a snapshot. Retrieve technical information about a specific snapshot.
|
|
3809
|
+
* Details such as size, volume type, and status are returned in the
|
|
3810
|
+
* response.
|
|
3811
|
+
*
|
|
3812
|
+
* @param request - The request {@link GetSnapshotRequest}
|
|
3813
|
+
* @returns A Promise of Snapshot
|
|
3814
|
+
*/
|
|
3815
|
+
getSnapshot: (request: Readonly<GetSnapshotRequest$3>) => Promise<Snapshot$3>;
|
|
3816
|
+
/**
|
|
3817
|
+
* Waits for {@link Snapshot} to be in a final state.
|
|
3818
|
+
*
|
|
3819
|
+
* @param request - The request {@link GetSnapshotRequest}
|
|
3820
|
+
* @param options - The waiting options
|
|
3821
|
+
* @returns A Promise of Snapshot
|
|
3822
|
+
*/
|
|
3823
|
+
waitForSnapshot: (request: Readonly<GetSnapshotRequest$3>, options?: Readonly<WaitForOptions<Snapshot$3>>) => Promise<Snapshot$3>;
|
|
3824
|
+
/**
|
|
3825
|
+
* Create a snapshot of a volume. To create a snapshot, the volume must be in
|
|
3826
|
+
* the `in_use` or the `available` status. If your volume is in a transient
|
|
3827
|
+
* state, you need to wait until the end of the current operation.
|
|
3828
|
+
*
|
|
3829
|
+
* @param request - The request {@link CreateSnapshotRequest}
|
|
3830
|
+
* @returns A Promise of Snapshot
|
|
3831
|
+
*/
|
|
3832
|
+
createSnapshot: (request: Readonly<CreateSnapshotRequest$4>) => Promise<Snapshot$3>;
|
|
3833
|
+
/**
|
|
3834
|
+
* Delete a snapshot. You must specify the `snapshot_id` of the snapshot you
|
|
3835
|
+
* want to delete. The snapshot must not be in use.
|
|
3836
|
+
*
|
|
3837
|
+
* @param request - The request {@link DeleteSnapshotRequest}
|
|
3838
|
+
*/
|
|
3839
|
+
deleteSnapshot: (request: Readonly<DeleteSnapshotRequest$3>) => Promise<void>;
|
|
3840
|
+
/**
|
|
3841
|
+
* Update a snapshot. Update the name or tags of the snapshot.
|
|
3842
|
+
*
|
|
3843
|
+
* @param request - The request {@link UpdateSnapshotRequest}
|
|
3844
|
+
* @returns A Promise of Snapshot
|
|
3845
|
+
*/
|
|
3846
|
+
updateSnapshot: (request: Readonly<UpdateSnapshotRequest$3>) => Promise<Snapshot$3>;
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3849
|
+
/** Lists transient statutes of the enum {@link ReferenceStatus}. */
|
|
3850
|
+
declare const REFERENCE_TRANSIENT_STATUSES: ReferenceStatus[];
|
|
3851
|
+
/** Lists transient statutes of the enum {@link SnapshotStatus}. */
|
|
3852
|
+
declare const SNAPSHOT_TRANSIENT_STATUSES$3: SnapshotStatus$2[];
|
|
3853
|
+
/** Lists transient statutes of the enum {@link VolumeStatus}. */
|
|
3854
|
+
declare const VOLUME_TRANSIENT_STATUSES$1: VolumeStatus[];
|
|
3855
|
+
|
|
3856
|
+
declare const CreateSnapshotRequest$3: {
|
|
3857
|
+
name: {
|
|
3858
|
+
minLength: number;
|
|
3859
|
+
};
|
|
3860
|
+
};
|
|
3861
|
+
declare const CreateVolumeRequest$2: {
|
|
3862
|
+
name: {
|
|
3863
|
+
minLength: number;
|
|
3864
|
+
};
|
|
3865
|
+
};
|
|
3866
|
+
declare const ListSnapshotsRequest$3: {
|
|
3867
|
+
page: {
|
|
3868
|
+
greaterThan: number;
|
|
3869
|
+
};
|
|
3870
|
+
pageSize: {
|
|
3871
|
+
greaterThan: number;
|
|
3872
|
+
lessThanOrEqual: number;
|
|
3873
|
+
};
|
|
3874
|
+
};
|
|
3875
|
+
declare const ListVolumeTypesRequest: {
|
|
3876
|
+
page: {
|
|
3877
|
+
greaterThan: number;
|
|
3878
|
+
};
|
|
3879
|
+
pageSize: {
|
|
3880
|
+
greaterThan: number;
|
|
3881
|
+
lessThanOrEqual: number;
|
|
3882
|
+
};
|
|
3883
|
+
};
|
|
3884
|
+
declare const ListVolumesRequest$2: {
|
|
3885
|
+
page: {
|
|
3886
|
+
greaterThan: number;
|
|
3887
|
+
};
|
|
3888
|
+
pageSize: {
|
|
3889
|
+
greaterThan: number;
|
|
3890
|
+
lessThanOrEqual: number;
|
|
3891
|
+
};
|
|
3892
|
+
};
|
|
3893
|
+
declare const Reference: {
|
|
3894
|
+
productResourceType: {
|
|
3895
|
+
minLength: number;
|
|
3896
|
+
};
|
|
3897
|
+
};
|
|
3898
|
+
|
|
3899
|
+
declare const validationRules_gen$g_ListVolumeTypesRequest: typeof ListVolumeTypesRequest;
|
|
3900
|
+
declare const validationRules_gen$g_Reference: typeof Reference;
|
|
3901
|
+
declare namespace validationRules_gen$g {
|
|
3902
|
+
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 };
|
|
3903
|
+
}
|
|
3904
|
+
|
|
3905
|
+
type index_gen$t_CreateVolumeRequestFromEmpty = CreateVolumeRequestFromEmpty;
|
|
3906
|
+
type index_gen$t_CreateVolumeRequestFromSnapshot = CreateVolumeRequestFromSnapshot;
|
|
3907
|
+
type index_gen$t_ListVolumeTypesResponse = ListVolumeTypesResponse;
|
|
3908
|
+
declare const index_gen$t_REFERENCE_TRANSIENT_STATUSES: typeof REFERENCE_TRANSIENT_STATUSES;
|
|
3909
|
+
type index_gen$t_ReferenceStatus = ReferenceStatus;
|
|
3910
|
+
type index_gen$t_ReferenceType = ReferenceType;
|
|
3911
|
+
type index_gen$t_SnapshotParentVolume = SnapshotParentVolume;
|
|
3912
|
+
type index_gen$t_VolumeSpecifications = VolumeSpecifications;
|
|
3913
|
+
type index_gen$t_VolumeStatus = VolumeStatus;
|
|
3914
|
+
declare namespace index_gen$t {
|
|
3915
|
+
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
|
+
}
|
|
3917
|
+
|
|
3918
|
+
declare namespace index$v {
|
|
3919
|
+
export { index_gen$t as v1alpha1 };
|
|
3920
|
+
}
|
|
3921
|
+
|
|
3922
|
+
type DataSourceOrigin = 'unknown_origin' | 'scaleway' | 'external';
|
|
3923
|
+
type DataSourceType = 'unknown_type' | 'metrics' | 'logs' | 'traces';
|
|
3924
|
+
type GrafanaUserRole$1 = 'unknown_role' | 'editor' | 'viewer';
|
|
3925
|
+
type ListDataSourcesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc' | 'type_asc' | 'type_desc';
|
|
3926
|
+
type ListGrafanaUsersRequestOrderBy$1 = 'login_asc' | 'login_desc';
|
|
3927
|
+
type ListPlansRequestOrderBy$1 = 'name_asc' | 'name_desc';
|
|
3928
|
+
type ListTokensRequestOrderBy$3 = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
3929
|
+
type PlanName$1 = 'unknown_name' | 'free' | 'premium' | 'custom';
|
|
3930
|
+
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';
|
|
3931
|
+
type UsageUnit = 'unknown_unit' | 'bytes' | 'samples';
|
|
3932
|
+
interface ContactPointEmail$1 {
|
|
3933
|
+
to: string;
|
|
3934
|
+
}
|
|
3935
|
+
/** Contact point. */
|
|
3936
|
+
interface ContactPoint$1 {
|
|
3937
|
+
/**
|
|
3938
|
+
* Email address to send alerts to.
|
|
3939
|
+
*
|
|
3940
|
+
* One-of ('configuration'): at most one of 'email' could be set.
|
|
3941
|
+
*/
|
|
3942
|
+
email?: ContactPointEmail$1;
|
|
3943
|
+
/**
|
|
3944
|
+
* Region to target. If none is passed will use default region from the
|
|
3945
|
+
* config.
|
|
3946
|
+
*/
|
|
3947
|
+
region: Region;
|
|
3948
|
+
}
|
|
3949
|
+
/** Data source. */
|
|
3950
|
+
interface DataSource {
|
|
3951
|
+
/** ID of the data source. */
|
|
3952
|
+
id: string;
|
|
3953
|
+
/** ID of the Project the data source belongs to. */
|
|
3954
|
+
projectId: string;
|
|
3955
|
+
/** Data source name. */
|
|
3956
|
+
name: string;
|
|
3957
|
+
/** Data source URL. */
|
|
3958
|
+
url: string;
|
|
3959
|
+
/** Data source type. */
|
|
3960
|
+
type: DataSourceType;
|
|
3961
|
+
/** Data source origin. */
|
|
3962
|
+
origin: DataSourceOrigin;
|
|
3963
|
+
/** Date the data source was created. */
|
|
3964
|
+
createdAt?: Date;
|
|
3965
|
+
/** Date the data source was last updated. */
|
|
3966
|
+
updatedAt?: Date;
|
|
3967
|
+
/** Indicates whether the data source is synchronized with Grafana. */
|
|
3968
|
+
synchronizedWithGrafana: boolean;
|
|
3969
|
+
/** Region of the data source. */
|
|
3970
|
+
region: Region;
|
|
3971
|
+
}
|
|
3972
|
+
/** Grafana dashboard. */
|
|
3973
|
+
interface GrafanaProductDashboard$1 {
|
|
3974
|
+
/** Dashboard name. */
|
|
3975
|
+
name: string;
|
|
3976
|
+
/** Dashboard title. */
|
|
3977
|
+
title: string;
|
|
3978
|
+
/** Dashboard URL. */
|
|
3979
|
+
url: string;
|
|
3980
|
+
/** Dashboard tags. */
|
|
3981
|
+
tags: string[];
|
|
3982
|
+
/** Dashboard variables. */
|
|
3983
|
+
variables: string[];
|
|
3984
|
+
}
|
|
3985
|
+
/** Grafana user. */
|
|
3986
|
+
interface GrafanaUser$1 {
|
|
3987
|
+
/** ID of the Grafana user. */
|
|
3988
|
+
id: number;
|
|
3989
|
+
/** Username of the Grafana user. */
|
|
3990
|
+
login: string;
|
|
3991
|
+
/** Role assigned to the Grafana user. */
|
|
3992
|
+
role: GrafanaUserRole$1;
|
|
3993
|
+
/** Grafana user's password. */
|
|
3994
|
+
password?: string;
|
|
3995
|
+
}
|
|
3996
|
+
/** Type of pricing plan. */
|
|
3997
|
+
interface Plan$1 {
|
|
3998
|
+
/** Name of a given pricing plan. */
|
|
3999
|
+
name: PlanName$1;
|
|
4000
|
+
/** Interval of time during which Scaleway's Cockpit keeps your metrics. */
|
|
4001
|
+
retentionMetricsInterval?: string;
|
|
4002
|
+
/** Interval of time during which Scaleway's Cockpit keeps your logs. */
|
|
4003
|
+
retentionLogsInterval?: string;
|
|
4004
|
+
/** Interval of time during which Scaleway's Cockpit keeps your traces. */
|
|
4005
|
+
retentionTracesInterval?: string;
|
|
4006
|
+
/** Ingestion price in cents for 1 million samples. */
|
|
4007
|
+
sampleIngestionPrice: number;
|
|
4008
|
+
/** Ingestion price in cents for 1 GB of logs. */
|
|
4009
|
+
logsIngestionPrice: number;
|
|
4010
|
+
/** Ingestion price in cents for 1 GB of traces. */
|
|
4011
|
+
tracesIngestionPrice: number;
|
|
4012
|
+
/** Retention price in euros per month. */
|
|
4013
|
+
monthlyPrice: number;
|
|
4014
|
+
}
|
|
4015
|
+
/** Token. */
|
|
4016
|
+
interface Token$3 {
|
|
4017
|
+
/** ID of the token. */
|
|
4018
|
+
id: string;
|
|
4019
|
+
/** ID of the Project the token belongs to. */
|
|
4020
|
+
projectId: string;
|
|
4021
|
+
/** Name of the token. */
|
|
4022
|
+
name: string;
|
|
4023
|
+
/** Token creation date. */
|
|
4024
|
+
createdAt?: Date;
|
|
4025
|
+
/** Token last modification date. */
|
|
4026
|
+
updatedAt?: Date;
|
|
4027
|
+
/** Token permission scopes. */
|
|
4028
|
+
scopes: TokenScope[];
|
|
4029
|
+
/** Token secret key. */
|
|
4030
|
+
secretKey?: string;
|
|
4031
|
+
/** Regions where the token is located. */
|
|
4032
|
+
region: Region;
|
|
4033
|
+
}
|
|
4034
|
+
/** Data source usage. */
|
|
4035
|
+
interface Usage {
|
|
4036
|
+
/** ID of the data source. */
|
|
4037
|
+
dataSourceId?: string;
|
|
4038
|
+
/** ID of the Project the data source belongs to. */
|
|
4039
|
+
projectId: string;
|
|
4040
|
+
/** Origin of the data source. */
|
|
4041
|
+
dataSourceOrigin: DataSourceOrigin;
|
|
4042
|
+
/** Type of the data source. */
|
|
4043
|
+
dataSourceType: DataSourceType;
|
|
4044
|
+
/** Unit of the data source usage. */
|
|
4045
|
+
unit: UsageUnit;
|
|
4046
|
+
/** Interval for the data source usage. */
|
|
4047
|
+
interval?: string;
|
|
4048
|
+
/** Data source usage for the given interval. */
|
|
4049
|
+
quantityOverInterval: number;
|
|
4050
|
+
/** Region of the data source usage. */
|
|
4051
|
+
region: Region;
|
|
4052
|
+
}
|
|
4053
|
+
/** Alert manager information. */
|
|
4054
|
+
interface AlertManager {
|
|
4055
|
+
/** Alert manager URL. */
|
|
4056
|
+
alertManagerUrl?: string;
|
|
4057
|
+
/** The Alert manager is enabled. */
|
|
4058
|
+
alertManagerEnabled: boolean;
|
|
4059
|
+
/** Managed alerts are enabled. */
|
|
4060
|
+
managedAlertsEnabled: boolean;
|
|
4061
|
+
/** Regions where the Alert manager is enabled. */
|
|
4062
|
+
region: Region;
|
|
4063
|
+
}
|
|
4064
|
+
/** Create a Grafana user. */
|
|
4065
|
+
type GlobalApiCreateGrafanaUserRequest = {
|
|
4066
|
+
/** ID of the Project in which to create the Grafana user. */
|
|
4067
|
+
projectId?: string;
|
|
4068
|
+
/**
|
|
4069
|
+
* Username of the Grafana user. Note that the `admin` username is not
|
|
4070
|
+
* available for creation.
|
|
4071
|
+
*/
|
|
4072
|
+
login: string;
|
|
4073
|
+
/** Role assigned to the Grafana user. */
|
|
4074
|
+
role?: GrafanaUserRole$1;
|
|
4075
|
+
};
|
|
4076
|
+
/** Delete a Grafana user. */
|
|
4077
|
+
type GlobalApiDeleteGrafanaUserRequest = {
|
|
4078
|
+
/** ID of the Grafana user. */
|
|
4079
|
+
grafanaUserId: number;
|
|
4080
|
+
/** ID of the Project to target. */
|
|
4081
|
+
projectId?: string;
|
|
4082
|
+
};
|
|
4083
|
+
/** Retrieve a pricing plan for the given Project. */
|
|
4084
|
+
type GlobalApiGetCurrentPlanRequest = {
|
|
4085
|
+
/** ID of the Project. */
|
|
4086
|
+
projectId?: string;
|
|
4087
|
+
};
|
|
4088
|
+
/** Retrieve a specific dashboard. */
|
|
4089
|
+
type GlobalApiGetGrafanaProductDashboardRequest = {
|
|
4090
|
+
/** Name of the dashboard. */
|
|
4091
|
+
dashboardName: string;
|
|
4092
|
+
/** ID of the Project the dashboard belongs to. */
|
|
4093
|
+
projectId?: string;
|
|
4094
|
+
};
|
|
4095
|
+
/** Request a Grafana. */
|
|
4096
|
+
type GlobalApiGetGrafanaRequest = {
|
|
4097
|
+
/** ID of the Project. */
|
|
4098
|
+
projectId?: string;
|
|
4099
|
+
};
|
|
4100
|
+
/** Retrieve a list of available product dashboards. */
|
|
4101
|
+
type GlobalApiListGrafanaProductDashboardsRequest = {
|
|
4102
|
+
/** ID of the Project to target. */
|
|
4103
|
+
projectId?: string;
|
|
4104
|
+
/** Page number. */
|
|
4105
|
+
page?: number;
|
|
4106
|
+
/** Page size. */
|
|
4107
|
+
pageSize?: number;
|
|
4108
|
+
/** Tags to filter for. */
|
|
4109
|
+
tags?: string[];
|
|
4110
|
+
};
|
|
4111
|
+
/** List all Grafana users. */
|
|
4112
|
+
type GlobalApiListGrafanaUsersRequest = {
|
|
4113
|
+
/** Page number. */
|
|
4114
|
+
page?: number;
|
|
4115
|
+
/** Page size. */
|
|
4116
|
+
pageSize?: number;
|
|
4117
|
+
/** Order of the Grafana users. */
|
|
4118
|
+
orderBy?: ListGrafanaUsersRequestOrderBy$1;
|
|
4119
|
+
/** ID of the Project to target. */
|
|
4120
|
+
projectId?: string;
|
|
4121
|
+
};
|
|
4122
|
+
/** Retrieve a list of available pricing plans. */
|
|
4123
|
+
type GlobalApiListPlansRequest = {
|
|
4124
|
+
/** Page number. */
|
|
4125
|
+
page?: number;
|
|
4126
|
+
/** Page size. */
|
|
4127
|
+
pageSize?: number;
|
|
4128
|
+
orderBy?: ListPlansRequestOrderBy$1;
|
|
4129
|
+
};
|
|
4130
|
+
/** Reset a Grafana user's password. */
|
|
4131
|
+
type GlobalApiResetGrafanaUserPasswordRequest = {
|
|
4132
|
+
/** ID of the Grafana user. */
|
|
4133
|
+
grafanaUserId: number;
|
|
4134
|
+
/** ID of the Project to target. */
|
|
4135
|
+
projectId?: string;
|
|
4136
|
+
};
|
|
4137
|
+
/** Select a specific pricing plan. */
|
|
4138
|
+
type GlobalApiSelectPlanRequest = {
|
|
4139
|
+
/** ID of the Project. */
|
|
4140
|
+
projectId?: string;
|
|
4141
|
+
/** Name of the pricing plan. */
|
|
4142
|
+
planName?: PlanName$1;
|
|
4143
|
+
};
|
|
4144
|
+
/**
|
|
4145
|
+
* Trigger the synchronization of all data sources created in the relevant
|
|
4146
|
+
* regions.
|
|
4147
|
+
*/
|
|
4148
|
+
type GlobalApiSyncGrafanaDataSourcesRequest = {
|
|
4149
|
+
/** ID of the Project to target. */
|
|
4150
|
+
projectId?: string;
|
|
4151
|
+
};
|
|
4152
|
+
/** Grafana user. */
|
|
4153
|
+
interface Grafana {
|
|
4154
|
+
/** URL to access your Cockpit's Grafana. */
|
|
4155
|
+
grafanaUrl: string;
|
|
4156
|
+
}
|
|
4157
|
+
/** Response returned when listing contact points. */
|
|
4158
|
+
interface ListContactPointsResponse$1 {
|
|
4159
|
+
/** Total count of contact points associated with the default receiver. */
|
|
4160
|
+
totalCount: number;
|
|
4161
|
+
/** List of contact points associated with the default receiver. */
|
|
4162
|
+
contactPoints: ContactPoint$1[];
|
|
4163
|
+
/**
|
|
4164
|
+
* Indicates whether the Alert manager has other receivers than the default
|
|
4165
|
+
* one.
|
|
4166
|
+
*/
|
|
4167
|
+
hasAdditionalReceivers: boolean;
|
|
4168
|
+
/**
|
|
4169
|
+
* Indicates whether there are unmanaged contact points on the default
|
|
4170
|
+
* receiver.
|
|
4171
|
+
*/
|
|
4172
|
+
hasAdditionalContactPoints: boolean;
|
|
4173
|
+
}
|
|
4174
|
+
/** Response returned when listing data sources. */
|
|
4175
|
+
interface ListDataSourcesResponse {
|
|
4176
|
+
/** Total count of data sources matching the request. */
|
|
4177
|
+
totalCount: number;
|
|
4178
|
+
/** Data sources matching the request within the pagination. */
|
|
4179
|
+
dataSources: DataSource[];
|
|
4180
|
+
}
|
|
4181
|
+
/** Output returned when listing dashboards. */
|
|
4182
|
+
interface ListGrafanaProductDashboardsResponse$1 {
|
|
4183
|
+
/** Total count of Grafana dashboards. */
|
|
4184
|
+
totalCount: number;
|
|
4185
|
+
/** Grafana dashboards information. */
|
|
4186
|
+
dashboards: GrafanaProductDashboard$1[];
|
|
4187
|
+
}
|
|
4188
|
+
/** Ouptut returned when listing Grafana users. */
|
|
4189
|
+
interface ListGrafanaUsersResponse$1 {
|
|
4190
|
+
/** Total count of Grafana users. */
|
|
4191
|
+
totalCount: number;
|
|
4192
|
+
/** Grafana users information. */
|
|
4193
|
+
grafanaUsers: GrafanaUser$1[];
|
|
4194
|
+
}
|
|
4195
|
+
/** Output returned when listing pricing plans. */
|
|
4196
|
+
interface ListPlansResponse$1 {
|
|
4197
|
+
/** Total count of available pricing plans. */
|
|
4198
|
+
totalCount: number;
|
|
4199
|
+
/** Plan types information. */
|
|
4200
|
+
plans: Plan$1[];
|
|
4201
|
+
}
|
|
4202
|
+
/** Response returned when listing tokens. */
|
|
4203
|
+
interface ListTokensResponse$3 {
|
|
4204
|
+
/** Total count of tokens matching the request. */
|
|
4205
|
+
totalCount: number;
|
|
4206
|
+
/** Tokens matching the request within the pagination. */
|
|
4207
|
+
tokens: Token$3[];
|
|
4208
|
+
}
|
|
4209
|
+
/** Create a contact point. */
|
|
4210
|
+
type RegionalApiCreateContactPointRequest = {
|
|
4211
|
+
/**
|
|
4212
|
+
* Region to target. If none is passed will use default region from the
|
|
4213
|
+
* config.
|
|
4214
|
+
*/
|
|
4215
|
+
region?: Region;
|
|
4216
|
+
/** ID of the Project to create the contact point in. */
|
|
4217
|
+
projectId?: string;
|
|
4218
|
+
/**
|
|
4219
|
+
* Email address of the contact point to create.
|
|
4220
|
+
*
|
|
4221
|
+
* One-of ('configuration'): at most one of 'email' could be set.
|
|
4222
|
+
*/
|
|
4223
|
+
email?: ContactPointEmail$1;
|
|
4224
|
+
};
|
|
4225
|
+
/** Create a data source. */
|
|
4226
|
+
type RegionalApiCreateDataSourceRequest$1 = {
|
|
4227
|
+
/**
|
|
4228
|
+
* Region to target. If none is passed will use default region from the
|
|
4229
|
+
* config.
|
|
4230
|
+
*/
|
|
4231
|
+
region?: Region;
|
|
4232
|
+
/** ID of the Project the data source belongs to. */
|
|
4233
|
+
projectId?: string;
|
|
4234
|
+
/** Data source name. */
|
|
4235
|
+
name: string;
|
|
4236
|
+
/** Data source type. */
|
|
4237
|
+
type?: DataSourceType;
|
|
4238
|
+
};
|
|
4239
|
+
/** Create a token. */
|
|
4240
|
+
type RegionalApiCreateTokenRequest$1 = {
|
|
4241
|
+
/**
|
|
4242
|
+
* Region to target. If none is passed will use default region from the
|
|
4243
|
+
* config.
|
|
4244
|
+
*/
|
|
4245
|
+
region?: Region;
|
|
4246
|
+
/** ID of the Project the token belongs to. */
|
|
4247
|
+
projectId?: string;
|
|
4248
|
+
/** Name of the token. */
|
|
4249
|
+
name: string;
|
|
4250
|
+
/** Token permission scopes. */
|
|
4251
|
+
tokenScopes?: TokenScope[];
|
|
4252
|
+
};
|
|
4253
|
+
/** Delete a contact point. */
|
|
4254
|
+
type RegionalApiDeleteContactPointRequest = {
|
|
4255
|
+
/**
|
|
4256
|
+
* Region to target. If none is passed will use default region from the
|
|
4257
|
+
* config.
|
|
4258
|
+
*/
|
|
4259
|
+
region?: Region;
|
|
4260
|
+
/** ID of the Project containing the contact point to delete. */
|
|
4261
|
+
projectId?: string;
|
|
4262
|
+
/**
|
|
4263
|
+
* Email address of the contact point to delete.
|
|
4264
|
+
*
|
|
4265
|
+
* One-of ('configuration'): at most one of 'email' could be set.
|
|
4266
|
+
*/
|
|
4267
|
+
email?: ContactPointEmail$1;
|
|
4268
|
+
};
|
|
4269
|
+
/** Delete a data source. */
|
|
4270
|
+
type RegionalApiDeleteDataSourceRequest = {
|
|
4271
|
+
/**
|
|
4272
|
+
* Region to target. If none is passed will use default region from the
|
|
4273
|
+
* config.
|
|
4274
|
+
*/
|
|
4275
|
+
region?: Region;
|
|
4276
|
+
/** ID of the data source to delete. */
|
|
4277
|
+
dataSourceId: string;
|
|
4278
|
+
};
|
|
4279
|
+
/** Delete a token. */
|
|
4280
|
+
type RegionalApiDeleteTokenRequest = {
|
|
4281
|
+
/**
|
|
4282
|
+
* Region to target. If none is passed will use default region from the
|
|
4283
|
+
* config.
|
|
4284
|
+
*/
|
|
4285
|
+
region?: Region;
|
|
4286
|
+
/** ID of the token to delete. */
|
|
4287
|
+
tokenId: string;
|
|
4288
|
+
};
|
|
4289
|
+
/** Disable the Alert manager. */
|
|
4290
|
+
type RegionalApiDisableAlertManagerRequest = {
|
|
4291
|
+
/**
|
|
4292
|
+
* Region to target. If none is passed will use default region from the
|
|
4293
|
+
* config.
|
|
4294
|
+
*/
|
|
4295
|
+
region?: Region;
|
|
4296
|
+
/** ID of the Project to disable the Alert manager in. */
|
|
4297
|
+
projectId?: string;
|
|
4298
|
+
};
|
|
4299
|
+
/** Disable the sending of managed alerts. */
|
|
4300
|
+
type RegionalApiDisableManagedAlertsRequest = {
|
|
4301
|
+
/**
|
|
4302
|
+
* Region to target. If none is passed will use default region from the
|
|
4303
|
+
* config.
|
|
4304
|
+
*/
|
|
4305
|
+
region?: Region;
|
|
4306
|
+
/** ID of the Project. */
|
|
4307
|
+
projectId?: string;
|
|
4308
|
+
};
|
|
4309
|
+
/** Enable the Alert manager. */
|
|
4310
|
+
type RegionalApiEnableAlertManagerRequest = {
|
|
4311
|
+
/**
|
|
4312
|
+
* Region to target. If none is passed will use default region from the
|
|
4313
|
+
* config.
|
|
4314
|
+
*/
|
|
4315
|
+
region?: Region;
|
|
4316
|
+
/** ID of the Project to enable the Alert manager in. */
|
|
4317
|
+
projectId?: string;
|
|
4318
|
+
};
|
|
4319
|
+
/** Enable the sending of managed alerts. */
|
|
4320
|
+
type RegionalApiEnableManagedAlertsRequest = {
|
|
4321
|
+
/**
|
|
4322
|
+
* Region to target. If none is passed will use default region from the
|
|
4323
|
+
* config.
|
|
4324
|
+
*/
|
|
4325
|
+
region?: Region;
|
|
4326
|
+
/** ID of the Project. */
|
|
4327
|
+
projectId?: string;
|
|
4328
|
+
};
|
|
4329
|
+
/** Get the Alert manager. */
|
|
4330
|
+
type RegionalApiGetAlertManagerRequest = {
|
|
4331
|
+
/**
|
|
4332
|
+
* Region to target. If none is passed will use default region from the
|
|
4333
|
+
* config.
|
|
4334
|
+
*/
|
|
4335
|
+
region?: Region;
|
|
4336
|
+
/** Project ID of the requested Alert manager. */
|
|
4337
|
+
projectId?: string;
|
|
4338
|
+
};
|
|
4339
|
+
/** Retrieve a data source. */
|
|
4340
|
+
type RegionalApiGetDataSourceRequest = {
|
|
4341
|
+
/**
|
|
4342
|
+
* Region to target. If none is passed will use default region from the
|
|
4343
|
+
* config.
|
|
4344
|
+
*/
|
|
4345
|
+
region?: Region;
|
|
4346
|
+
/** ID of the relevant data source. */
|
|
4347
|
+
dataSourceId: string;
|
|
4348
|
+
};
|
|
4349
|
+
/** Get a token. */
|
|
4350
|
+
type RegionalApiGetTokenRequest = {
|
|
4351
|
+
/**
|
|
4352
|
+
* Region to target. If none is passed will use default region from the
|
|
4353
|
+
* config.
|
|
4354
|
+
*/
|
|
4355
|
+
region?: Region;
|
|
4356
|
+
/** Token ID. */
|
|
4357
|
+
tokenId: string;
|
|
4358
|
+
};
|
|
4359
|
+
type RegionalApiGetUsageOverviewRequest = {
|
|
4360
|
+
/**
|
|
4361
|
+
* Region to target. If none is passed will use default region from the
|
|
4362
|
+
* config.
|
|
4363
|
+
*/
|
|
4364
|
+
region?: Region;
|
|
4365
|
+
projectId?: string;
|
|
4366
|
+
interval?: string;
|
|
4367
|
+
};
|
|
4368
|
+
/** List contact points. */
|
|
4369
|
+
type RegionalApiListContactPointsRequest$1 = {
|
|
4370
|
+
/**
|
|
4371
|
+
* Region to target. If none is passed will use default region from the
|
|
4372
|
+
* config.
|
|
4373
|
+
*/
|
|
4374
|
+
region?: Region;
|
|
4375
|
+
/** Page number to return, from the paginated results. */
|
|
4376
|
+
page?: number;
|
|
4377
|
+
/** Total count of contact points to return per page. */
|
|
4378
|
+
pageSize?: number;
|
|
4379
|
+
/** ID of the Project containing the contact points to list. */
|
|
4380
|
+
projectId?: string;
|
|
4381
|
+
};
|
|
4382
|
+
/** List data sources. */
|
|
4383
|
+
type RegionalApiListDataSourcesRequest$1 = {
|
|
4384
|
+
/**
|
|
4385
|
+
* Region to target. If none is passed will use default region from the
|
|
4386
|
+
* config.
|
|
4387
|
+
*/
|
|
4388
|
+
region?: Region;
|
|
4389
|
+
/** Page number to return, from the paginated results. */
|
|
4390
|
+
page?: number;
|
|
4391
|
+
/** Number of data sources to return per page. */
|
|
4392
|
+
pageSize?: number;
|
|
4393
|
+
/** Sort order for data sources in the response. */
|
|
4394
|
+
orderBy?: ListDataSourcesRequestOrderBy;
|
|
4395
|
+
/**
|
|
4396
|
+
* Project ID to filter for, only data sources from this Project will be
|
|
4397
|
+
* returned.
|
|
4398
|
+
*/
|
|
4399
|
+
projectId?: string;
|
|
4400
|
+
/**
|
|
4401
|
+
* Origin to filter for, only data sources with matching origin will be
|
|
4402
|
+
* returned.
|
|
4403
|
+
*/
|
|
4404
|
+
origin?: DataSourceOrigin;
|
|
4405
|
+
/**
|
|
4406
|
+
* Types to filter for, only data sources with matching types will be
|
|
4407
|
+
* returned.
|
|
4408
|
+
*/
|
|
4409
|
+
types?: DataSourceType[];
|
|
4410
|
+
};
|
|
4411
|
+
/** List tokens. */
|
|
4412
|
+
type RegionalApiListTokensRequest$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 tokens to return per page. */
|
|
4421
|
+
pageSize?: number;
|
|
4422
|
+
/** Order in which to return results. */
|
|
4423
|
+
orderBy?: ListTokensRequestOrderBy$3;
|
|
4424
|
+
/** ID of the Project the tokens belong to. */
|
|
4425
|
+
projectId?: string;
|
|
4426
|
+
/** Token scopes to filter for. */
|
|
4427
|
+
tokenScopes?: TokenScope[];
|
|
4428
|
+
};
|
|
4429
|
+
/** Request to trigger a test alert. */
|
|
4430
|
+
type RegionalApiTriggerTestAlertRequest = {
|
|
4431
|
+
/**
|
|
4432
|
+
* Region to target. If none is passed will use default region from the
|
|
4433
|
+
* config.
|
|
4434
|
+
*/
|
|
4435
|
+
region?: Region;
|
|
4436
|
+
/** ID of the Project. */
|
|
4437
|
+
projectId?: string;
|
|
4438
|
+
};
|
|
4439
|
+
interface UsageOverview {
|
|
4440
|
+
scalewayMetricsUsage?: Usage;
|
|
4441
|
+
scalewayLogsUsage?: Usage;
|
|
4442
|
+
externalMetricsUsage?: Usage;
|
|
4443
|
+
externalLogsUsage?: Usage;
|
|
4444
|
+
externalTracesUsage?: Usage;
|
|
4445
|
+
}
|
|
4446
|
+
|
|
4447
|
+
/**
|
|
4448
|
+
* Cockpit Global API.
|
|
4449
|
+
*
|
|
4450
|
+
* The Cockpit Global API allows you to manage your Cockpit's Grafana and plans.
|
|
4451
|
+
*/
|
|
4452
|
+
declare class GlobalAPI extends API$z {
|
|
4453
|
+
/**
|
|
4454
|
+
* Get your Cockpit's Grafana. Retrieve information on your Cockpit's Grafana,
|
|
4455
|
+
* specified by the ID of the Project the Cockpit belongs to. The output
|
|
4456
|
+
* returned displays the URL to access your Cockpit's Grafana.
|
|
4457
|
+
*
|
|
4458
|
+
* @param request - The request {@link GlobalApiGetGrafanaRequest}
|
|
4459
|
+
* @returns A Promise of Grafana
|
|
4460
|
+
*/
|
|
4461
|
+
getGrafana: (request?: Readonly<GlobalApiGetGrafanaRequest>) => Promise<Grafana>;
|
|
4462
|
+
/**
|
|
4463
|
+
* Synchronize Grafana data sources. Trigger the synchronization of all your
|
|
4464
|
+
* data sources and the alert manager in the relevant regions. The alert
|
|
4465
|
+
* manager will only be synchronized if you have enabled it.
|
|
4466
|
+
*
|
|
4467
|
+
* @param request - The request {@link GlobalApiSyncGrafanaDataSourcesRequest}
|
|
4468
|
+
*/
|
|
4469
|
+
syncGrafanaDataSources: (request?: Readonly<GlobalApiSyncGrafanaDataSourcesRequest>) => Promise<void>;
|
|
4470
|
+
/**
|
|
4471
|
+
* Create a Grafana user. Create a Grafana user to connect to your Cockpit's
|
|
4472
|
+
* Grafana. Upon creation, your user password displays only once, so make sure
|
|
4473
|
+
* that you save it. Each Grafana user is associated with a role: viewer or
|
|
4474
|
+
* editor. A viewer can only view dashboards, whereas an editor can create and
|
|
4475
|
+
* edit dashboards. Note that the `admin` username is not available for
|
|
4476
|
+
* creation.
|
|
4477
|
+
*
|
|
4478
|
+
* @param request - The request {@link GlobalApiCreateGrafanaUserRequest}
|
|
4479
|
+
* @returns A Promise of GrafanaUser
|
|
4480
|
+
*/
|
|
4481
|
+
createGrafanaUser: (request: Readonly<GlobalApiCreateGrafanaUserRequest>) => Promise<GrafanaUser$1>;
|
|
4482
|
+
protected pageOfListGrafanaUsers: (request?: Readonly<GlobalApiListGrafanaUsersRequest>) => Promise<ListGrafanaUsersResponse$1>;
|
|
4483
|
+
/**
|
|
4484
|
+
* List Grafana users. List all Grafana users created in your Cockpit's
|
|
4485
|
+
* Grafana. By default, the Grafana users returned in the list are ordered in
|
|
4486
|
+
* ascending order.
|
|
4487
|
+
*
|
|
4488
|
+
* @param request - The request {@link GlobalApiListGrafanaUsersRequest}
|
|
4489
|
+
* @returns A Promise of ListGrafanaUsersResponse
|
|
4490
|
+
*/
|
|
4491
|
+
listGrafanaUsers: (request?: Readonly<GlobalApiListGrafanaUsersRequest>) => Promise<ListGrafanaUsersResponse$1> & {
|
|
4492
|
+
all: () => Promise<GrafanaUser$1[]>;
|
|
4493
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<GrafanaUser$1[], void, void>;
|
|
4494
|
+
};
|
|
4495
|
+
/**
|
|
4496
|
+
* Delete a Grafana user. Delete a Grafana user from your Cockpit's Grafana,
|
|
4497
|
+
* specified by the ID of the Project the Cockpit belongs to, and the ID of
|
|
4498
|
+
* the Grafana user.
|
|
4499
|
+
*
|
|
4500
|
+
* @param request - The request {@link GlobalApiDeleteGrafanaUserRequest}
|
|
4501
|
+
*/
|
|
4502
|
+
deleteGrafanaUser: (request: Readonly<GlobalApiDeleteGrafanaUserRequest>) => Promise<void>;
|
|
4503
|
+
/**
|
|
4504
|
+
* Reset a Grafana user password. Reset the password of a Grafana user,
|
|
4505
|
+
* specified by the ID of the Project the Cockpit belongs to, and the ID of
|
|
4506
|
+
* the Grafana user. A new password regenerates and only displays once. Make
|
|
4507
|
+
* sure that you save it.
|
|
4508
|
+
*
|
|
4509
|
+
* @param request - The request
|
|
4510
|
+
* {@link GlobalApiResetGrafanaUserPasswordRequest}
|
|
4511
|
+
* @returns A Promise of GrafanaUser
|
|
4512
|
+
*/
|
|
4513
|
+
resetGrafanaUserPassword: (request: Readonly<GlobalApiResetGrafanaUserPasswordRequest>) => Promise<GrafanaUser$1>;
|
|
4514
|
+
protected pageOfListGrafanaProductDashboards: (request?: Readonly<GlobalApiListGrafanaProductDashboardsRequest>) => Promise<ListGrafanaProductDashboardsResponse$1>;
|
|
4515
|
+
/**
|
|
4516
|
+
* List Scaleway resources dashboards. Retrieve a list of available dashboards
|
|
4517
|
+
* in Grafana, for all Scaleway resources which are integrated with Cockpit.
|
|
4518
|
+
*
|
|
4519
|
+
* @param request - The request
|
|
4520
|
+
* {@link GlobalApiListGrafanaProductDashboardsRequest}
|
|
4521
|
+
* @returns A Promise of ListGrafanaProductDashboardsResponse
|
|
3646
4522
|
*/
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
volumeTypes: VolumeType$3[];
|
|
3652
|
-
/** Total number of volume-types currently available in stock. */
|
|
3653
|
-
totalCount: number;
|
|
3654
|
-
}
|
|
3655
|
-
type ListVolumesRequest$3 = {
|
|
3656
|
-
/** Zone to target. If none is passed will use default zone from the config. */
|
|
3657
|
-
zone?: Zone;
|
|
3658
|
-
/** Criteria to use when ordering the list. */
|
|
3659
|
-
orderBy?: ListVolumesRequestOrderBy$1;
|
|
3660
|
-
/** Filter by Project ID. */
|
|
3661
|
-
projectId?: string;
|
|
3662
|
-
/** Filter by Organization ID. */
|
|
3663
|
-
organizationId?: string;
|
|
3664
|
-
/** Page number. */
|
|
3665
|
-
page?: number;
|
|
4523
|
+
listGrafanaProductDashboards: (request?: Readonly<GlobalApiListGrafanaProductDashboardsRequest>) => Promise<ListGrafanaProductDashboardsResponse$1> & {
|
|
4524
|
+
all: () => Promise<GrafanaProductDashboard$1[]>;
|
|
4525
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<GrafanaProductDashboard$1[], void, void>;
|
|
4526
|
+
};
|
|
3666
4527
|
/**
|
|
3667
|
-
*
|
|
3668
|
-
*
|
|
4528
|
+
* Get Scaleway resource dashboard. Retrieve information about the dashboard
|
|
4529
|
+
* of a Scaleway resource in Grafana, specified by the ID of the Project the
|
|
4530
|
+
* Cockpit belongs to, and the name of the dashboard.
|
|
4531
|
+
*
|
|
4532
|
+
* @param request - The request
|
|
4533
|
+
* {@link GlobalApiGetGrafanaProductDashboardRequest}
|
|
4534
|
+
* @returns A Promise of GrafanaProductDashboard
|
|
3669
4535
|
*/
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
name?: string;
|
|
4536
|
+
getGrafanaProductDashboard: (request: Readonly<GlobalApiGetGrafanaProductDashboardRequest>) => Promise<GrafanaProductDashboard$1>;
|
|
4537
|
+
protected pageOfListPlans: (request?: Readonly<GlobalApiListPlansRequest>) => Promise<ListPlansResponse$1>;
|
|
3673
4538
|
/**
|
|
3674
|
-
*
|
|
3675
|
-
*
|
|
4539
|
+
* List plan types. Retrieve a list of available pricing plan types.
|
|
4540
|
+
*
|
|
4541
|
+
* @param request - The request {@link GlobalApiListPlansRequest}
|
|
4542
|
+
* @returns A Promise of ListPlansResponse
|
|
3676
4543
|
*/
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
volumes: Volume$4[];
|
|
3682
|
-
/** Total number of volumes in the project. */
|
|
3683
|
-
totalCount: number;
|
|
3684
|
-
}
|
|
3685
|
-
type UpdateSnapshotRequest$3 = {
|
|
3686
|
-
/** Zone to target. If none is passed will use default zone from the config. */
|
|
3687
|
-
zone?: Zone;
|
|
3688
|
-
/** UUID of the snapshot. */
|
|
3689
|
-
snapshotId: string;
|
|
3690
|
-
/** When defined, is the name of the snapshot. */
|
|
3691
|
-
name?: string;
|
|
3692
|
-
/** List of tags assigned to the snapshot. */
|
|
3693
|
-
tags?: string[];
|
|
3694
|
-
};
|
|
3695
|
-
type UpdateVolumeRequest$2 = {
|
|
3696
|
-
/** Zone to target. If none is passed will use default zone from the config. */
|
|
3697
|
-
zone?: Zone;
|
|
3698
|
-
/** UUID of the volume. */
|
|
3699
|
-
volumeId: string;
|
|
3700
|
-
/** When defined, is the new name of the volume. */
|
|
3701
|
-
name?: string;
|
|
4544
|
+
listPlans: (request?: Readonly<GlobalApiListPlansRequest>) => Promise<ListPlansResponse$1> & {
|
|
4545
|
+
all: () => Promise<Plan$1[]>;
|
|
4546
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<Plan$1[], void, void>;
|
|
4547
|
+
};
|
|
3702
4548
|
/**
|
|
3703
|
-
*
|
|
3704
|
-
*
|
|
4549
|
+
* Apply a pricing plan. Apply a pricing plan on a given Project. You must
|
|
4550
|
+
* specify the ID of the pricing plan type. Note that you will be billed for
|
|
4551
|
+
* the plan you apply.
|
|
4552
|
+
*
|
|
4553
|
+
* @param request - The request {@link GlobalApiSelectPlanRequest}
|
|
4554
|
+
* @returns A Promise of Plan
|
|
3705
4555
|
*/
|
|
3706
|
-
|
|
3707
|
-
/** List of tags assigned to the volume. */
|
|
3708
|
-
tags?: string[];
|
|
4556
|
+
selectPlan: (request?: Readonly<GlobalApiSelectPlanRequest>) => Promise<Plan$1>;
|
|
3709
4557
|
/**
|
|
3710
|
-
*
|
|
3711
|
-
*
|
|
4558
|
+
* Get current plan. Retrieve a pricing plan for the given Project, specified
|
|
4559
|
+
* by the ID of the Project.
|
|
4560
|
+
*
|
|
4561
|
+
* @param request - The request {@link GlobalApiGetCurrentPlanRequest}
|
|
4562
|
+
* @returns A Promise of Plan
|
|
3712
4563
|
*/
|
|
3713
|
-
|
|
3714
|
-
}
|
|
3715
|
-
|
|
4564
|
+
getCurrentPlan: (request?: Readonly<GlobalApiGetCurrentPlanRequest>) => Promise<Plan$1>;
|
|
4565
|
+
}
|
|
3716
4566
|
/**
|
|
3717
|
-
*
|
|
4567
|
+
* Cockpit Regional API.
|
|
3718
4568
|
*
|
|
3719
|
-
*
|
|
4569
|
+
* The Cockpit Regional API allows you to create data sources and tokens to
|
|
4570
|
+
* store and query data types such as metrics, logs, and traces. You can also
|
|
4571
|
+
* push your data into Cockpit, and send alerts to your contact points when your
|
|
4572
|
+
* resources may require your attention, using the regional Alert manager.
|
|
3720
4573
|
*/
|
|
3721
|
-
declare class
|
|
3722
|
-
/** Lists the available
|
|
3723
|
-
static readonly LOCALITIES:
|
|
3724
|
-
protected pageOfListVolumeTypes: (request?: Readonly<ListVolumeTypesRequest$1>) => Promise<ListVolumeTypesResponse>;
|
|
4574
|
+
declare class RegionalAPI extends API$z {
|
|
4575
|
+
/** Lists the available regions of the API. */
|
|
4576
|
+
static readonly LOCALITIES: Region[];
|
|
3725
4577
|
/**
|
|
3726
|
-
*
|
|
3727
|
-
*
|
|
4578
|
+
* Create a data source. You must specify the data source type upon creation.
|
|
4579
|
+
* Available data source types include:
|
|
3728
4580
|
*
|
|
3729
|
-
*
|
|
3730
|
-
*
|
|
4581
|
+
* - Metrics
|
|
4582
|
+
* - Logs
|
|
4583
|
+
* - Traces The name of the data source will then be used as reference to name
|
|
4584
|
+
* the associated Grafana data source.
|
|
4585
|
+
*
|
|
4586
|
+
* @param request - The request {@link RegionalApiCreateDataSourceRequest}
|
|
4587
|
+
* @returns A Promise of DataSource
|
|
3731
4588
|
*/
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
4589
|
+
createDataSource: (request: Readonly<RegionalApiCreateDataSourceRequest$1>) => Promise<DataSource>;
|
|
4590
|
+
/**
|
|
4591
|
+
* Get a data source. Retrieve information about a given data source,
|
|
4592
|
+
* specified by the data source ID. The data source's information such as its
|
|
4593
|
+
* name, type, URL, origin, and retention period, is returned.
|
|
4594
|
+
*
|
|
4595
|
+
* @param request - The request {@link RegionalApiGetDataSourceRequest}
|
|
4596
|
+
* @returns A Promise of DataSource
|
|
4597
|
+
*/
|
|
4598
|
+
getDataSource: (request: Readonly<RegionalApiGetDataSourceRequest>) => Promise<DataSource>;
|
|
4599
|
+
/**
|
|
4600
|
+
* Delete a data source. Delete a given data source, specified by the data
|
|
4601
|
+
* source ID. Note that deleting a data source is irreversible, and cannot be
|
|
4602
|
+
* undone.
|
|
4603
|
+
*
|
|
4604
|
+
* @param request - The request {@link RegionalApiDeleteDataSourceRequest}
|
|
4605
|
+
*/
|
|
4606
|
+
deleteDataSource: (request: Readonly<RegionalApiDeleteDataSourceRequest>) => Promise<void>;
|
|
4607
|
+
protected pageOfListDataSources: (request?: Readonly<RegionalApiListDataSourcesRequest$1>) => Promise<ListDataSourcesResponse>;
|
|
4608
|
+
/**
|
|
4609
|
+
* List data sources. Retrieve the list of data sources available in the
|
|
4610
|
+
* specified region. By default, the data sources returned in the list are
|
|
4611
|
+
* ordered by creation date, in ascending order. You can list data sources by
|
|
4612
|
+
* Project, type and origin.
|
|
4613
|
+
*
|
|
4614
|
+
* @param request - The request {@link RegionalApiListDataSourcesRequest}
|
|
4615
|
+
* @returns A Promise of ListDataSourcesResponse
|
|
4616
|
+
*/
|
|
4617
|
+
listDataSources: (request?: Readonly<RegionalApiListDataSourcesRequest$1>) => Promise<ListDataSourcesResponse> & {
|
|
4618
|
+
all: () => Promise<DataSource[]>;
|
|
4619
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<DataSource[], void, void>;
|
|
3735
4620
|
};
|
|
3736
|
-
protected pageOfListVolumes: (request?: Readonly<ListVolumesRequest$3>) => Promise<ListVolumesResponse$2>;
|
|
3737
4621
|
/**
|
|
3738
|
-
*
|
|
3739
|
-
*
|
|
3740
|
-
* can be modified via the `order_by` field.
|
|
4622
|
+
* Get data source usage overview. Retrieve the data source usage overview per
|
|
4623
|
+
* type for the specified Project.
|
|
3741
4624
|
*
|
|
3742
|
-
* @param request - The request {@link
|
|
3743
|
-
* @returns A Promise of
|
|
4625
|
+
* @param request - The request {@link RegionalApiGetUsageOverviewRequest}
|
|
4626
|
+
* @returns A Promise of UsageOverview
|
|
3744
4627
|
*/
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
4628
|
+
getUsageOverview: (request?: Readonly<RegionalApiGetUsageOverviewRequest>) => Promise<UsageOverview>;
|
|
4629
|
+
/**
|
|
4630
|
+
* Create a token. Give your token the relevant scopes to ensure it has the
|
|
4631
|
+
* right permissions to interact with your data sources and the Alert manager.
|
|
4632
|
+
* Make sure that you create your token in the same regions as the data
|
|
4633
|
+
* sources you want to use it for. Upon creation, your token's secret key
|
|
4634
|
+
* display only once. Make sure that you save it.
|
|
4635
|
+
*
|
|
4636
|
+
* @param request - The request {@link RegionalApiCreateTokenRequest}
|
|
4637
|
+
* @returns A Promise of Token
|
|
4638
|
+
*/
|
|
4639
|
+
createToken: (request: Readonly<RegionalApiCreateTokenRequest$1>) => Promise<Token$3>;
|
|
4640
|
+
protected pageOfListTokens: (request?: Readonly<RegionalApiListTokensRequest$1>) => Promise<ListTokensResponse$3>;
|
|
4641
|
+
/**
|
|
4642
|
+
* List tokens. Retrieve a list of all tokens in the specified region. By
|
|
4643
|
+
* default, tokens returned in the list are ordered by creation date, in
|
|
4644
|
+
* ascending order. You can filter tokens by Project ID and token scopes.
|
|
4645
|
+
*
|
|
4646
|
+
* @param request - The request {@link RegionalApiListTokensRequest}
|
|
4647
|
+
* @returns A Promise of ListTokensResponse
|
|
4648
|
+
*/
|
|
4649
|
+
listTokens: (request?: Readonly<RegionalApiListTokensRequest$1>) => Promise<ListTokensResponse$3> & {
|
|
4650
|
+
all: () => Promise<Token$3[]>;
|
|
4651
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<Token$3[], void, void>;
|
|
3748
4652
|
};
|
|
3749
4653
|
/**
|
|
3750
|
-
*
|
|
3751
|
-
*
|
|
3752
|
-
* specify `from_snapshot` and the `snapshot_id` in the request payload
|
|
3753
|
-
* instead, size is optional and can be specified if you need to extend the
|
|
3754
|
-
* original size. The volume will take on the same volume class and underlying
|
|
3755
|
-
* IOPS limitations as the original snapshot.
|
|
4654
|
+
* Get a token. Retrieve information about a given token, specified by the
|
|
4655
|
+
* token ID. The token's information such as its scopes, is returned.
|
|
3756
4656
|
*
|
|
3757
|
-
* @param request - The request {@link
|
|
3758
|
-
* @returns A Promise of
|
|
4657
|
+
* @param request - The request {@link RegionalApiGetTokenRequest}
|
|
4658
|
+
* @returns A Promise of Token
|
|
3759
4659
|
*/
|
|
3760
|
-
|
|
4660
|
+
getToken: (request: Readonly<RegionalApiGetTokenRequest>) => Promise<Token$3>;
|
|
3761
4661
|
/**
|
|
3762
|
-
*
|
|
3763
|
-
*
|
|
4662
|
+
* Delete a token. Delete a given token, specified by the token ID. Deleting a
|
|
4663
|
+
* token is irreversible and cannot be undone.
|
|
3764
4664
|
*
|
|
3765
|
-
* @param request - The request {@link
|
|
3766
|
-
* @returns A Promise of Volume
|
|
4665
|
+
* @param request - The request {@link RegionalApiDeleteTokenRequest}
|
|
3767
4666
|
*/
|
|
3768
|
-
|
|
4667
|
+
deleteToken: (request: Readonly<RegionalApiDeleteTokenRequest>) => Promise<void>;
|
|
3769
4668
|
/**
|
|
3770
|
-
*
|
|
4669
|
+
* Get the Alert manager. Retrieve information about the Alert manager which
|
|
4670
|
+
* is unique per Project and region. By default the Alert manager is disabled.
|
|
4671
|
+
* The output returned displays a URL to access the Alert manager, and whether
|
|
4672
|
+
* the Alert manager and managed alerts are enabled.
|
|
3771
4673
|
*
|
|
3772
|
-
* @param request - The request {@link
|
|
3773
|
-
* @
|
|
3774
|
-
* @returns A Promise of Volume
|
|
4674
|
+
* @param request - The request {@link RegionalApiGetAlertManagerRequest}
|
|
4675
|
+
* @returns A Promise of AlertManager
|
|
3775
4676
|
*/
|
|
3776
|
-
|
|
4677
|
+
getAlertManager: (request?: Readonly<RegionalApiGetAlertManagerRequest>) => Promise<AlertManager>;
|
|
3777
4678
|
/**
|
|
3778
|
-
*
|
|
3779
|
-
*
|
|
4679
|
+
* Enable the Alert manager. Enabling the Alert manager allows you to enable
|
|
4680
|
+
* managed alerts and create contact points in the specified Project and
|
|
4681
|
+
* region, to be notified when your Scaleway resources may require your
|
|
4682
|
+
* attention.
|
|
3780
4683
|
*
|
|
3781
|
-
* @param request - The request {@link
|
|
4684
|
+
* @param request - The request {@link RegionalApiEnableAlertManagerRequest}
|
|
4685
|
+
* @returns A Promise of AlertManager
|
|
3782
4686
|
*/
|
|
3783
|
-
|
|
4687
|
+
enableAlertManager: (request?: Readonly<RegionalApiEnableAlertManagerRequest>) => Promise<AlertManager>;
|
|
3784
4688
|
/**
|
|
3785
|
-
*
|
|
3786
|
-
*
|
|
3787
|
-
*
|
|
3788
|
-
* currently not possible to change your Block Storage Class.
|
|
4689
|
+
* Disable the Alert manager. Disabling the Alert manager deletes the contact
|
|
4690
|
+
* points you have created and disables managed alerts in the specified
|
|
4691
|
+
* Project and region.
|
|
3789
4692
|
*
|
|
3790
|
-
* @param request - The request {@link
|
|
3791
|
-
* @returns A Promise of
|
|
4693
|
+
* @param request - The request {@link RegionalApiDisableAlertManagerRequest}
|
|
4694
|
+
* @returns A Promise of AlertManager
|
|
3792
4695
|
*/
|
|
3793
|
-
|
|
3794
|
-
protected pageOfListSnapshots: (request?: Readonly<ListSnapshotsRequest$4>) => Promise<ListSnapshotsResponse$3>;
|
|
4696
|
+
disableAlertManager: (request?: Readonly<RegionalApiDisableAlertManagerRequest>) => Promise<AlertManager>;
|
|
3795
4697
|
/**
|
|
3796
|
-
*
|
|
3797
|
-
* default, the
|
|
3798
|
-
*
|
|
4698
|
+
* Create a contact point. Contact points are email addresses associated with
|
|
4699
|
+
* the default receiver, that the Alert manager sends alerts to. The source of
|
|
4700
|
+
* the alerts are data sources within the same Project and region as the Alert
|
|
4701
|
+
* manager. If you need to receive alerts for other receivers, you can create
|
|
4702
|
+
* additional contact points and receivers in Grafana. Make sure that you
|
|
4703
|
+
* select the Scaleway Alert manager.
|
|
3799
4704
|
*
|
|
3800
|
-
* @param request - The request {@link
|
|
3801
|
-
* @returns A Promise of
|
|
4705
|
+
* @param request - The request {@link RegionalApiCreateContactPointRequest}
|
|
4706
|
+
* @returns A Promise of ContactPoint
|
|
3802
4707
|
*/
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
[Symbol.asyncIterator]: () => AsyncGenerator<Snapshot$3[], void, void>;
|
|
3806
|
-
};
|
|
4708
|
+
createContactPoint: (request?: Readonly<RegionalApiCreateContactPointRequest>) => Promise<ContactPoint$1>;
|
|
4709
|
+
protected pageOfListContactPoints: (request?: Readonly<RegionalApiListContactPointsRequest$1>) => Promise<ListContactPointsResponse$1>;
|
|
3807
4710
|
/**
|
|
3808
|
-
*
|
|
3809
|
-
*
|
|
3810
|
-
*
|
|
4711
|
+
* List contact points. Retrieve a list of contact points for the specified
|
|
4712
|
+
* Project. The response lists all contact points and receivers created in
|
|
4713
|
+
* Grafana or via the API.
|
|
3811
4714
|
*
|
|
3812
|
-
* @param request - The request {@link
|
|
3813
|
-
* @returns A Promise of
|
|
4715
|
+
* @param request - The request {@link RegionalApiListContactPointsRequest}
|
|
4716
|
+
* @returns A Promise of ListContactPointsResponse
|
|
3814
4717
|
*/
|
|
3815
|
-
|
|
4718
|
+
listContactPoints: (request?: Readonly<RegionalApiListContactPointsRequest$1>) => Promise<ListContactPointsResponse$1> & {
|
|
4719
|
+
all: () => Promise<ContactPoint$1[]>;
|
|
4720
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<ContactPoint$1[], void, void>;
|
|
4721
|
+
};
|
|
3816
4722
|
/**
|
|
3817
|
-
*
|
|
4723
|
+
* Delete a contact point. Delete a contact point associated with the default
|
|
4724
|
+
* receiver.
|
|
3818
4725
|
*
|
|
3819
|
-
* @param request - The request {@link
|
|
3820
|
-
* @param options - The waiting options
|
|
3821
|
-
* @returns A Promise of Snapshot
|
|
4726
|
+
* @param request - The request {@link RegionalApiDeleteContactPointRequest}
|
|
3822
4727
|
*/
|
|
3823
|
-
|
|
4728
|
+
deleteContactPoint: (request?: Readonly<RegionalApiDeleteContactPointRequest>) => Promise<void>;
|
|
3824
4729
|
/**
|
|
3825
|
-
*
|
|
3826
|
-
*
|
|
3827
|
-
*
|
|
4730
|
+
* Enable managed alerts. Enable the sending of managed alerts for the
|
|
4731
|
+
* specified Project. Managed alerts are predefined alerts that apply to
|
|
4732
|
+
* Scaleway recources integrated with Cockpit by default.
|
|
3828
4733
|
*
|
|
3829
|
-
* @param request - The request {@link
|
|
3830
|
-
* @returns A Promise of
|
|
4734
|
+
* @param request - The request {@link RegionalApiEnableManagedAlertsRequest}
|
|
4735
|
+
* @returns A Promise of AlertManager
|
|
3831
4736
|
*/
|
|
3832
|
-
|
|
4737
|
+
enableManagedAlerts: (request?: Readonly<RegionalApiEnableManagedAlertsRequest>) => Promise<AlertManager>;
|
|
3833
4738
|
/**
|
|
3834
|
-
*
|
|
3835
|
-
*
|
|
4739
|
+
* Disable managed alerts. Disable the sending of managed alerts for the
|
|
4740
|
+
* specified Project.
|
|
3836
4741
|
*
|
|
3837
|
-
* @param request - The request {@link
|
|
4742
|
+
* @param request - The request {@link RegionalApiDisableManagedAlertsRequest}
|
|
4743
|
+
* @returns A Promise of AlertManager
|
|
3838
4744
|
*/
|
|
3839
|
-
|
|
4745
|
+
disableManagedAlerts: (request?: Readonly<RegionalApiDisableManagedAlertsRequest>) => Promise<AlertManager>;
|
|
3840
4746
|
/**
|
|
3841
|
-
*
|
|
4747
|
+
* Trigger a test alert. Send a test alert to the Alert manager to make sure
|
|
4748
|
+
* your contact points get notified.
|
|
3842
4749
|
*
|
|
3843
|
-
* @param request - The request {@link
|
|
3844
|
-
* @returns A Promise of Snapshot
|
|
4750
|
+
* @param request - The request {@link RegionalApiTriggerTestAlertRequest}
|
|
3845
4751
|
*/
|
|
3846
|
-
|
|
4752
|
+
triggerTestAlert: (request?: Readonly<RegionalApiTriggerTestAlertRequest>) => Promise<void>;
|
|
3847
4753
|
}
|
|
3848
4754
|
|
|
3849
|
-
|
|
3850
|
-
declare const REFERENCE_TRANSIENT_STATUSES: ReferenceStatus[];
|
|
3851
|
-
/** Lists transient statutes of the enum {@link SnapshotStatus}. */
|
|
3852
|
-
declare const SNAPSHOT_TRANSIENT_STATUSES$3: SnapshotStatus$2[];
|
|
3853
|
-
/** Lists transient statutes of the enum {@link VolumeStatus}. */
|
|
3854
|
-
declare const VOLUME_TRANSIENT_STATUSES$1: VolumeStatus[];
|
|
3855
|
-
|
|
3856
|
-
declare const CreateSnapshotRequest$3: {
|
|
4755
|
+
declare const RegionalApiCreateDataSourceRequest: {
|
|
3857
4756
|
name: {
|
|
4757
|
+
maxLength: number;
|
|
3858
4758
|
minLength: number;
|
|
4759
|
+
pattern: RegExp;
|
|
3859
4760
|
};
|
|
3860
4761
|
};
|
|
3861
|
-
declare const
|
|
4762
|
+
declare const RegionalApiCreateTokenRequest: {
|
|
3862
4763
|
name: {
|
|
4764
|
+
maxLength: number;
|
|
3863
4765
|
minLength: number;
|
|
4766
|
+
pattern: RegExp;
|
|
3864
4767
|
};
|
|
3865
4768
|
};
|
|
3866
|
-
declare const
|
|
4769
|
+
declare const RegionalApiListContactPointsRequest: {
|
|
3867
4770
|
page: {
|
|
3868
|
-
|
|
4771
|
+
greaterThanOrEqual: number;
|
|
3869
4772
|
};
|
|
3870
4773
|
pageSize: {
|
|
3871
|
-
|
|
4774
|
+
greaterThanOrEqual: number;
|
|
3872
4775
|
lessThanOrEqual: number;
|
|
3873
4776
|
};
|
|
3874
4777
|
};
|
|
3875
|
-
declare const
|
|
4778
|
+
declare const RegionalApiListDataSourcesRequest: {
|
|
3876
4779
|
page: {
|
|
3877
|
-
|
|
4780
|
+
greaterThanOrEqual: number;
|
|
3878
4781
|
};
|
|
3879
4782
|
pageSize: {
|
|
3880
|
-
|
|
4783
|
+
greaterThanOrEqual: number;
|
|
3881
4784
|
lessThanOrEqual: number;
|
|
3882
4785
|
};
|
|
3883
4786
|
};
|
|
3884
|
-
declare const
|
|
4787
|
+
declare const RegionalApiListTokensRequest: {
|
|
3885
4788
|
page: {
|
|
3886
|
-
|
|
4789
|
+
greaterThanOrEqual: number;
|
|
3887
4790
|
};
|
|
3888
4791
|
pageSize: {
|
|
3889
|
-
|
|
4792
|
+
greaterThanOrEqual: number;
|
|
3890
4793
|
lessThanOrEqual: number;
|
|
3891
4794
|
};
|
|
3892
4795
|
};
|
|
3893
|
-
declare const Reference: {
|
|
3894
|
-
productResourceType: {
|
|
3895
|
-
minLength: number;
|
|
3896
|
-
};
|
|
3897
|
-
};
|
|
3898
4796
|
|
|
3899
|
-
declare const validationRules_gen$
|
|
3900
|
-
declare const validationRules_gen$
|
|
4797
|
+
declare const validationRules_gen$f_RegionalApiCreateDataSourceRequest: typeof RegionalApiCreateDataSourceRequest;
|
|
4798
|
+
declare const validationRules_gen$f_RegionalApiCreateTokenRequest: typeof RegionalApiCreateTokenRequest;
|
|
4799
|
+
declare const validationRules_gen$f_RegionalApiListContactPointsRequest: typeof RegionalApiListContactPointsRequest;
|
|
4800
|
+
declare const validationRules_gen$f_RegionalApiListDataSourcesRequest: typeof RegionalApiListDataSourcesRequest;
|
|
4801
|
+
declare const validationRules_gen$f_RegionalApiListTokensRequest: typeof RegionalApiListTokensRequest;
|
|
3901
4802
|
declare namespace validationRules_gen$f {
|
|
3902
|
-
export {
|
|
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 };
|
|
4803
|
+
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 };
|
|
3916
4804
|
}
|
|
3917
4805
|
|
|
3918
|
-
|
|
3919
|
-
|
|
4806
|
+
type index_gen$s_AlertManager = AlertManager;
|
|
4807
|
+
type index_gen$s_DataSource = DataSource;
|
|
4808
|
+
type index_gen$s_DataSourceOrigin = DataSourceOrigin;
|
|
4809
|
+
type index_gen$s_DataSourceType = DataSourceType;
|
|
4810
|
+
type index_gen$s_GlobalAPI = GlobalAPI;
|
|
4811
|
+
declare const index_gen$s_GlobalAPI: typeof GlobalAPI;
|
|
4812
|
+
type index_gen$s_GlobalApiCreateGrafanaUserRequest = GlobalApiCreateGrafanaUserRequest;
|
|
4813
|
+
type index_gen$s_GlobalApiDeleteGrafanaUserRequest = GlobalApiDeleteGrafanaUserRequest;
|
|
4814
|
+
type index_gen$s_GlobalApiGetCurrentPlanRequest = GlobalApiGetCurrentPlanRequest;
|
|
4815
|
+
type index_gen$s_GlobalApiGetGrafanaProductDashboardRequest = GlobalApiGetGrafanaProductDashboardRequest;
|
|
4816
|
+
type index_gen$s_GlobalApiGetGrafanaRequest = GlobalApiGetGrafanaRequest;
|
|
4817
|
+
type index_gen$s_GlobalApiListGrafanaProductDashboardsRequest = GlobalApiListGrafanaProductDashboardsRequest;
|
|
4818
|
+
type index_gen$s_GlobalApiListGrafanaUsersRequest = GlobalApiListGrafanaUsersRequest;
|
|
4819
|
+
type index_gen$s_GlobalApiListPlansRequest = GlobalApiListPlansRequest;
|
|
4820
|
+
type index_gen$s_GlobalApiResetGrafanaUserPasswordRequest = GlobalApiResetGrafanaUserPasswordRequest;
|
|
4821
|
+
type index_gen$s_GlobalApiSelectPlanRequest = GlobalApiSelectPlanRequest;
|
|
4822
|
+
type index_gen$s_GlobalApiSyncGrafanaDataSourcesRequest = GlobalApiSyncGrafanaDataSourcesRequest;
|
|
4823
|
+
type index_gen$s_Grafana = Grafana;
|
|
4824
|
+
type index_gen$s_ListDataSourcesRequestOrderBy = ListDataSourcesRequestOrderBy;
|
|
4825
|
+
type index_gen$s_ListDataSourcesResponse = ListDataSourcesResponse;
|
|
4826
|
+
type index_gen$s_RegionalAPI = RegionalAPI;
|
|
4827
|
+
declare const index_gen$s_RegionalAPI: typeof RegionalAPI;
|
|
4828
|
+
type index_gen$s_RegionalApiCreateContactPointRequest = RegionalApiCreateContactPointRequest;
|
|
4829
|
+
type index_gen$s_RegionalApiDeleteContactPointRequest = RegionalApiDeleteContactPointRequest;
|
|
4830
|
+
type index_gen$s_RegionalApiDeleteDataSourceRequest = RegionalApiDeleteDataSourceRequest;
|
|
4831
|
+
type index_gen$s_RegionalApiDeleteTokenRequest = RegionalApiDeleteTokenRequest;
|
|
4832
|
+
type index_gen$s_RegionalApiDisableAlertManagerRequest = RegionalApiDisableAlertManagerRequest;
|
|
4833
|
+
type index_gen$s_RegionalApiDisableManagedAlertsRequest = RegionalApiDisableManagedAlertsRequest;
|
|
4834
|
+
type index_gen$s_RegionalApiEnableAlertManagerRequest = RegionalApiEnableAlertManagerRequest;
|
|
4835
|
+
type index_gen$s_RegionalApiEnableManagedAlertsRequest = RegionalApiEnableManagedAlertsRequest;
|
|
4836
|
+
type index_gen$s_RegionalApiGetAlertManagerRequest = RegionalApiGetAlertManagerRequest;
|
|
4837
|
+
type index_gen$s_RegionalApiGetDataSourceRequest = RegionalApiGetDataSourceRequest;
|
|
4838
|
+
type index_gen$s_RegionalApiGetTokenRequest = RegionalApiGetTokenRequest;
|
|
4839
|
+
type index_gen$s_RegionalApiGetUsageOverviewRequest = RegionalApiGetUsageOverviewRequest;
|
|
4840
|
+
type index_gen$s_RegionalApiTriggerTestAlertRequest = RegionalApiTriggerTestAlertRequest;
|
|
4841
|
+
type index_gen$s_TokenScope = TokenScope;
|
|
4842
|
+
type index_gen$s_Usage = Usage;
|
|
4843
|
+
type index_gen$s_UsageOverview = UsageOverview;
|
|
4844
|
+
type index_gen$s_UsageUnit = UsageUnit;
|
|
4845
|
+
declare namespace index_gen$s {
|
|
4846
|
+
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
4847
|
}
|
|
3921
4848
|
|
|
3922
4849
|
type CockpitStatus = 'unknown_status' | 'creating' | 'ready' | 'deleting' | 'updating' | 'error';
|
|
@@ -4579,7 +5506,7 @@ declare namespace index_gen$r {
|
|
|
4579
5506
|
}
|
|
4580
5507
|
|
|
4581
5508
|
declare namespace index$u {
|
|
4582
|
-
export { index_gen$r as v1beta1 };
|
|
5509
|
+
export { index_gen$s as v1, index_gen$r as v1beta1 };
|
|
4583
5510
|
}
|
|
4584
5511
|
|
|
4585
5512
|
type ContainerHttpOption = 'unknown_http_option' | 'enabled' | 'redirected';
|
|
@@ -16204,17 +17131,26 @@ interface Server {
|
|
|
16204
17131
|
dynamicIpRequired: boolean;
|
|
16205
17132
|
/** True to configure the instance so it uses the new routed IP mode. */
|
|
16206
17133
|
routedIpEnabled: boolean;
|
|
16207
|
-
/**
|
|
16208
|
-
|
|
17134
|
+
/**
|
|
17135
|
+
* @deprecated True if IPv6 is enabled (deprecated and always `False` when
|
|
17136
|
+
* `routed_ip_enabled` is `True`).
|
|
17137
|
+
*/
|
|
17138
|
+
enableIpv6?: boolean;
|
|
16209
17139
|
/** Instance host name. */
|
|
16210
17140
|
hostname: string;
|
|
16211
17141
|
/** Information about the Instance image. */
|
|
16212
17142
|
image?: Image$2;
|
|
16213
17143
|
/** Defines whether the Instance protection option is activated. */
|
|
16214
17144
|
protected: boolean;
|
|
16215
|
-
/**
|
|
17145
|
+
/**
|
|
17146
|
+
* Private IP address of the Instance (deprecated and always `null` when
|
|
17147
|
+
* `routed_ip_enabled` is `True`).
|
|
17148
|
+
*/
|
|
16216
17149
|
privateIp?: string;
|
|
16217
|
-
/**
|
|
17150
|
+
/**
|
|
17151
|
+
* @deprecated Information about the public IP (deprecated in favor of
|
|
17152
|
+
* `public_ips`).
|
|
17153
|
+
*/
|
|
16218
17154
|
publicIp?: ServerIp;
|
|
16219
17155
|
/** Information about all the public IPs attached to the server. */
|
|
16220
17156
|
publicIps: ServerIp[];
|
|
@@ -16226,7 +17162,10 @@ interface Server {
|
|
|
16226
17162
|
state: ServerState;
|
|
16227
17163
|
/** Instance location. */
|
|
16228
17164
|
location?: ServerLocation;
|
|
16229
|
-
/**
|
|
17165
|
+
/**
|
|
17166
|
+
* @deprecated Instance IPv6 address (deprecated when `routed_ip_enabled` is
|
|
17167
|
+
* `True`).
|
|
17168
|
+
*/
|
|
16230
17169
|
ipv6?: ServerIpv6;
|
|
16231
17170
|
/** @deprecated Instance bootscript. */
|
|
16232
17171
|
bootscript?: Bootscript;
|
|
@@ -16751,9 +17690,12 @@ type CreateServerRequest = {
|
|
|
16751
17690
|
image: string;
|
|
16752
17691
|
/** Volumes attached to the server. */
|
|
16753
17692
|
volumes?: Record<string, VolumeServerTemplate>;
|
|
16754
|
-
/**
|
|
16755
|
-
|
|
16756
|
-
|
|
17693
|
+
/**
|
|
17694
|
+
* @deprecated True if IPv6 is enabled on the server (deprecated and always
|
|
17695
|
+
* `False` when `routed_ip_enabled` is `True`).
|
|
17696
|
+
*/
|
|
17697
|
+
enableIpv6?: boolean;
|
|
17698
|
+
/** @deprecated ID of the reserved IP to attach to the Instance. */
|
|
16757
17699
|
publicIp?: string;
|
|
16758
17700
|
/** A list of reserved IP IDs to attach to the Instance. */
|
|
16759
17701
|
publicIps?: string[];
|
|
@@ -17280,10 +18222,12 @@ type ListServersRequest = {
|
|
|
17280
18222
|
* "server1" but not "foo").
|
|
17281
18223
|
*/
|
|
17282
18224
|
name?: string;
|
|
17283
|
-
/** List Instances by private_ip. */
|
|
18225
|
+
/** @deprecated List Instances by private_ip. */
|
|
17284
18226
|
privateIp?: string;
|
|
17285
18227
|
/** List Instances that are not attached to a public IP. */
|
|
17286
18228
|
withoutIp?: boolean;
|
|
18229
|
+
/** List Instances by IP (both private_ip and public_ip are supported). */
|
|
18230
|
+
withIp?: string;
|
|
17287
18231
|
/** List Instances of this commercial type. */
|
|
17288
18232
|
commercialType?: string;
|
|
17289
18233
|
/** List Instances in this state. */
|
|
@@ -17666,6 +18610,7 @@ type UpdateServerRequest = {
|
|
|
17666
18610
|
routedIpEnabled?: boolean;
|
|
17667
18611
|
/** A list of reserved IP IDs to attach to the Instance. */
|
|
17668
18612
|
publicIps?: string[];
|
|
18613
|
+
/** @deprecated */
|
|
17669
18614
|
enableIpv6?: boolean;
|
|
17670
18615
|
protected?: boolean;
|
|
17671
18616
|
securityGroup?: SecurityGroupTemplate;
|
|
@@ -17804,17 +18749,26 @@ type SetServerRequest = {
|
|
|
17804
18749
|
* is set to True you cannot set it back to False).
|
|
17805
18750
|
*/
|
|
17806
18751
|
routedIpEnabled?: boolean;
|
|
17807
|
-
/**
|
|
17808
|
-
|
|
18752
|
+
/**
|
|
18753
|
+
* @deprecated True if IPv6 is enabled (deprecated and always `False` when
|
|
18754
|
+
* `routed_ip_enabled` is `True`).
|
|
18755
|
+
*/
|
|
18756
|
+
enableIpv6?: boolean;
|
|
17809
18757
|
/** Instance host name. */
|
|
17810
18758
|
hostname: string;
|
|
17811
18759
|
/** Provide information on the Instance image. */
|
|
17812
18760
|
image?: Image$2;
|
|
17813
18761
|
/** Instance protection option is activated. */
|
|
17814
18762
|
protected: boolean;
|
|
17815
|
-
/**
|
|
18763
|
+
/**
|
|
18764
|
+
* @deprecated Instance private IP address (deprecated and always `null` when
|
|
18765
|
+
* `routed_ip_enabled` is `True`).
|
|
18766
|
+
*/
|
|
17816
18767
|
privateIp?: string;
|
|
17817
|
-
/**
|
|
18768
|
+
/**
|
|
18769
|
+
* @deprecated Information about the public IP (deprecated in favor of
|
|
18770
|
+
* `public_ips`).
|
|
18771
|
+
*/
|
|
17818
18772
|
publicIp?: ServerIp;
|
|
17819
18773
|
/** Information about all the public IPs attached to the server. */
|
|
17820
18774
|
publicIps?: ServerIp[];
|
|
@@ -17824,7 +18778,10 @@ type SetServerRequest = {
|
|
|
17824
18778
|
state?: ServerState;
|
|
17825
18779
|
/** Instance location. */
|
|
17826
18780
|
location?: ServerLocation;
|
|
17827
|
-
/**
|
|
18781
|
+
/**
|
|
18782
|
+
* @deprecated Instance IPv6 address (deprecated when `routed_ip_enabled` is
|
|
18783
|
+
* `True`).
|
|
18784
|
+
*/
|
|
17828
18785
|
ipv6?: ServerIpv6;
|
|
17829
18786
|
/** @deprecated Instance bootscript. */
|
|
17830
18787
|
bootscript?: Bootscript;
|
|
@@ -21739,6 +22696,11 @@ interface Cluster$1 {
|
|
|
21739
22696
|
privateNetworkId?: string;
|
|
21740
22697
|
/** Date on which it will be possible to switch to a smaller offer. */
|
|
21741
22698
|
commitmentEndsAt?: Date;
|
|
22699
|
+
/**
|
|
22700
|
+
* @deprecated Defines whether routed IPs are enabled for nodes of this
|
|
22701
|
+
* cluster.
|
|
22702
|
+
*/
|
|
22703
|
+
routedIpEnabled?: boolean;
|
|
21742
22704
|
}
|
|
21743
22705
|
interface Node {
|
|
21744
22706
|
/** Node ID. */
|
|
@@ -28578,6 +29540,7 @@ type ACLRuleAction = 'allow' | 'deny';
|
|
|
28578
29540
|
type ACLRuleDirection = 'inbound' | 'outbound';
|
|
28579
29541
|
type ACLRuleProtocol = 'tcp' | 'udp' | 'icmp';
|
|
28580
29542
|
type DatabaseBackupStatus$1 = 'unknown' | 'creating' | 'ready' | 'restoring' | 'deleting' | 'error' | 'exporting' | 'locked';
|
|
29543
|
+
type EndpointPrivateNetworkDetailsProvisioningMode = 'static' | 'ipam';
|
|
28581
29544
|
type EngineSettingPropertyType = 'BOOLEAN' | 'INT' | 'STRING' | 'FLOAT';
|
|
28582
29545
|
type InstanceLogStatus = 'unknown' | 'ready' | 'creating' | 'error';
|
|
28583
29546
|
type InstanceStatus = 'unknown' | 'ready' | 'provisioning' | 'configuring' | 'deleting' | 'error' | 'autohealing' | 'locked' | 'initializing' | 'disk_full' | 'backuping' | 'snapshotting' | 'restarting';
|
|
@@ -28607,6 +29570,8 @@ interface EndpointPrivateNetworkDetails {
|
|
|
28607
29570
|
serviceIp: string;
|
|
28608
29571
|
/** Private network zone. */
|
|
28609
29572
|
zone: Zone;
|
|
29573
|
+
/** How endpoint ips are provisioned. */
|
|
29574
|
+
provisioningMode: EndpointPrivateNetworkDetailsProvisioningMode;
|
|
28610
29575
|
}
|
|
28611
29576
|
interface EndpointSpecPrivateNetworkIpamConfig {
|
|
28612
29577
|
}
|
|
@@ -30656,6 +31621,7 @@ type index_gen$c_DeleteUserRequest = DeleteUserRequest;
|
|
|
30656
31621
|
type index_gen$c_EndpointDirectAccessDetails = EndpointDirectAccessDetails;
|
|
30657
31622
|
type index_gen$c_EndpointLoadBalancerDetails = EndpointLoadBalancerDetails;
|
|
30658
31623
|
type index_gen$c_EndpointPrivateNetworkDetails = EndpointPrivateNetworkDetails;
|
|
31624
|
+
type index_gen$c_EndpointPrivateNetworkDetailsProvisioningMode = EndpointPrivateNetworkDetailsProvisioningMode;
|
|
30659
31625
|
type index_gen$c_EndpointSpecLoadBalancer = EndpointSpecLoadBalancer;
|
|
30660
31626
|
type index_gen$c_EndpointSpecPrivateNetwork = EndpointSpecPrivateNetwork;
|
|
30661
31627
|
type index_gen$c_EndpointSpecPrivateNetworkIpamConfig = EndpointSpecPrivateNetworkIpamConfig;
|
|
@@ -30743,7 +31709,7 @@ type index_gen$c_User = User;
|
|
|
30743
31709
|
type index_gen$c_Volume = Volume;
|
|
30744
31710
|
type index_gen$c_VolumeType = VolumeType;
|
|
30745
31711
|
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 };
|
|
31712
|
+
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
31713
|
}
|
|
30748
31714
|
|
|
30749
31715
|
declare namespace index$9 {
|