Skip to content

Commit 75a56b2

Browse files
committed
feat: update generated APIs
1 parent 27e8daa commit 75a56b2

File tree

7 files changed

+10
-36
lines changed

7 files changed

+10
-36
lines changed

packages_generated/cockpit/src/v1/index.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ export type {
1414
DataSource,
1515
DataSourceOrigin,
1616
DataSourceType,
17+
DisableAlertRulesResponse,
18+
EnableAlertRulesResponse,
1719
GetConfigResponse,
1820
GetConfigResponseRetention,
1921
GlobalApiCreateGrafanaUserRequest,

packages_generated/instance/src/v1/index.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ export * from './marshalling.gen'
66
export type {
77
ApplyBlockMigrationRequest,
88
Arch,
9+
AttachServerFileSystemRequest,
10+
AttachServerFileSystemResponse,
911
AttachServerVolumeRequest,
1012
AttachServerVolumeRequestVolumeType,
1113
AttachServerVolumeResponse,
@@ -41,6 +43,8 @@ export type {
4143
DeleteServerUserDataRequest,
4244
DeleteSnapshotRequest,
4345
DeleteVolumeRequest,
46+
DetachServerFileSystemRequest,
47+
DetachServerFileSystemResponse,
4448
DetachServerVolumeRequest,
4549
DetachServerVolumeResponse,
4650
ExportSnapshotRequest,

packages_generated/k8s/src/v1/api.gen.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ import type {
7777
ListPoolsResponse,
7878
ListVersionsRequest,
7979
ListVersionsResponse,
80-
MigrateClusterToSBSCSIRequest,
8180
Node,
8281
NodeMetadata,
8382
Pool,
@@ -334,24 +333,6 @@ export class API extends ParentAPI {
334333
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`,
335334
})
336335

337-
/**
338-
* Migrate a cluster to SBS CSI. Enable the latest CSI compatible with Scaleway Block Storage (SBS) and migrate all existing PersistentVolumes/VolumeSnapshotContents to SBS.
339-
Make sure to have the necessary Quota before running this command.
340-
*
341-
* @param request - The request {@link MigrateClusterToSBSCSIRequest}
342-
* @returns A Promise of Cluster
343-
*/
344-
migrateClusterToSBSCSI = (request: Readonly<MigrateClusterToSBSCSIRequest>) =>
345-
this.client.fetch<Cluster>(
346-
{
347-
body: '{}',
348-
headers: jsonContentHeaders,
349-
method: 'POST',
350-
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-sbs-csi`,
351-
},
352-
unmarshalCluster,
353-
)
354-
355336
protected pageOfListClusterACLRules = (
356337
request: Readonly<ListClusterACLRulesRequest>,
357338
) =>

packages_generated/k8s/src/v1/index.gen.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ export type {
6363
ListVersionsResponse,
6464
MaintenanceWindow,
6565
MaintenanceWindowDayOfTheWeek,
66-
MigrateClusterToSBSCSIRequest,
6766
Node,
6867
NodeMetadata,
6968
NodeMetadataCoreV1Taint,

packages_generated/k8s/src/v1/types.gen.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,17 +1465,6 @@ export interface ListVersionsResponse {
14651465
versions: Version[]
14661466
}
14671467

1468-
export type MigrateClusterToSBSCSIRequest = {
1469-
/**
1470-
* Region to target. If none is passed will use default region from the config.
1471-
*/
1472-
region?: ScwRegion
1473-
/**
1474-
* Cluster ID for which the latest CSI compatible with Scaleway Block Storage will be enabled.
1475-
*/
1476-
clusterId: string
1477-
}
1478-
14791468
export interface NodeMetadata {
14801469
id: string
14811470
name: string

packages_generated/product_catalog/src/v2alpha1/index.gen.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type {
66
ListPublicCatalogProductsResponse,
77
PublicCatalogApiListPublicCatalogProductsRequest,
88
PublicCatalogProduct,
9-
PublicCatalogProductEnvironmentalImpact,
9+
PublicCatalogProductEnvironmentalImpactEstimation,
1010
PublicCatalogProductLocality,
1111
PublicCatalogProductPrice,
1212
PublicCatalogProductPriceUnitOfMeasure,
@@ -25,5 +25,7 @@ export type {
2525
PublicCatalogProductPropertiesHardwareRAM,
2626
PublicCatalogProductPropertiesHardwareStorage,
2727
PublicCatalogProductPropertiesInstance,
28+
PublicCatalogProductUnitOfMeasure,
29+
PublicCatalogProductUnitOfMeasureCountableUnit,
2830
} from './types.gen'
2931
export * as ValidationRules from './validation-rules.gen'
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
3-
export type {
4-
CountryCode,
5-
LanguageCode,
6-
} from './types.gen'
3+
export type { LanguageCode } from './types.gen'

0 commit comments

Comments
 (0)