Skip to content

Commit ee8f9c4

Browse files
Generator: Update SDK /services/sfs (#3809)
* Generate sfs * chore(sfs) write changelogs, bump version --------- Co-authored-by: Carlo Goetz <carlo.goetz@inovex.de>
1 parent efa5d45 commit ee8f9c4

25 files changed

Lines changed: 3750 additions & 435 deletions

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
## Release (2026-MM-DD)
2+
- `sfs`: [v0.4.0](services/sfs/CHANGELOG.md#v040)
3+
- **Feature:** model `CreateResourcePoolPayload` now has an additional field `snapshotPolicyId`
4+
- **Feature:** model `CreateResourcePoolSnapshotPayload` now has an additional field `snaplockRetentionHours`
5+
- **Feature:** model `ResourcePool` now has an additional field `snapshotPolicy`
6+
- **Feature:** model `ResourcePoolSnapshot` now has an additional field `snaplockExpiryTime`
7+
- **Feature:** model `ResourcePoolSpace` now has an additional field `usedBySnapshotsGigabytes`
8+
- **Feature:** model `UpdateResourcePoolPayload` now has an additional field `snapshotPolicyId`
9+
- **Feature:** new models: `DisableLockResponse`, `EnableLockResponse`, `GetLockResponse`, `GetScheduleResponse`, `GetSnapshotPolicyResponse`, `ListSchedulesResponse`, `ListSnapshotPoliciesResponse`, `ResourcePoolSnapshotPolicy`, `Schedule`, `SnapshotPolicy`, `SnapshotPolicySchedule`, `UpdateResourcePoolSnapshotPayload`, `UpdateResourcePoolSnapshotResponse`
10+
- **Feature:** new operations: `UpdateResourcePoolSnapshot`, `ListSchedules`, `GetSchedule`, `ListSnapshotPolicies`, `GetSnapshotPolicy`, `DisableLock`, `GetLock`, `EnableLock`,
211
- `ske`: [v1.8.0](services/ske/CHANGELOG.md#v180)
312
- **Breaking Change:** Change status codes: remove 200, change response type of 202 and add 400 in some API calls
413
- **Breaking Change:** Aligned CRI name validation with the API side validation (removed docker)

services/sfs/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## v0.4.0
2+
- **Feature:** model `CreateResourcePoolPayload` now has an additional field `snapshotPolicyId`
3+
- **Feature:** model `CreateResourcePoolSnapshotPayload` now has an additional field `snaplockRetentionHours`
4+
- **Feature:** model `ResourcePool` now has an additional field `snapshotPolicy`
5+
- **Feature:** model `ResourcePoolSnapshot` now has an additional field `snaplockExpiryTime`
6+
- **Feature:** model `ResourcePoolSpace` now has an additional field `usedBySnapshotsGigabytes`
7+
- **Feature:** model `UpdateResourcePoolPayload` now has an additional field `snapshotPolicyId`
8+
- **Feature:** new models: `DisableLockResponse`, `EnableLockResponse`, `GetLockResponse`, `GetScheduleResponse`, `GetSnapshotPolicyResponse`, `ListSchedulesResponse`, `ListSnapshotPoliciesResponse`, `ResourcePoolSnapshotPolicy`, `Schedule`, `SnapshotPolicy`, `SnapshotPolicySchedule`, `UpdateResourcePoolSnapshotPayload`, `UpdateResourcePoolSnapshotResponse`
9+
- **Feature:** new operations: `UpdateResourcePoolSnapshot`, `ListSchedules`, `GetSchedule`, `ListSnapshotPolicies`, `GetSnapshotPolicy`, `DisableLock`, `GetLock`, `EnableLock`,
10+
111
## v0.3.1
212
- **Feature:** client now supports UUID and decimal types
313
- **Bugfix:** timeouts now passed to requests library

services/sfs/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0e64886dd0847341800d7191ed193b75413be998
1+
bda6ad3d9e8850526f25eddcb6589fcc7559c625

services/sfs/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stackit-sfs"
3-
version = "v0.3.1"
3+
version = "v0.4.0"
44
description = "STACKIT File Storage (SFS)"
55
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
66
requires-python = ">=3.9,<4"

services/sfs/src/stackit/sfs/__init__.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,40 @@
3737
"CreateShareExportPolicyResponse",
3838
"CreateSharePayload",
3939
"CreateShareResponse",
40+
"EnableLockResponse",
4041
"Error",
42+
"GetLockResponse",
4143
"GetResourcePoolResponse",
4244
"GetResourcePoolSnapshotResponse",
45+
"GetScheduleResponse",
4346
"GetShareExportPolicyResponse",
4447
"GetShareResponse",
48+
"GetSnapshotPolicyResponse",
4549
"GoogleProtobufAny",
4650
"ListPerformanceClassesResponse",
4751
"ListResourcePoolSnapshotsResponse",
4852
"ListResourcePoolsResponse",
53+
"ListSchedulesResponse",
4954
"ListShareExportPoliciesResponse",
5055
"ListSharesResponse",
56+
"ListSnapshotPoliciesResponse",
5157
"PerformanceClass",
5258
"ResourcePool",
5359
"ResourcePoolPerformanceClass",
5460
"ResourcePoolSnapshot",
61+
"ResourcePoolSnapshotPolicy",
5562
"ResourcePoolSpace",
63+
"Schedule",
5664
"Share",
5765
"ShareExportPolicy",
5866
"ShareExportPolicyRule",
67+
"SnapshotPolicy",
68+
"SnapshotPolicySchedule",
5969
"Status",
6070
"UpdateResourcePoolPayload",
6171
"UpdateResourcePoolResponse",
72+
"UpdateResourcePoolSnapshotPayload",
73+
"UpdateResourcePoolSnapshotResponse",
6274
"UpdateShareExportPolicyBodyRule",
6375
"UpdateShareExportPolicyPayload",
6476
"UpdateShareExportPolicyResponse",
@@ -110,17 +122,27 @@
110122
from stackit.sfs.models.create_share_response import (
111123
CreateShareResponse as CreateShareResponse,
112124
)
125+
from stackit.sfs.models.enable_lock_response import (
126+
EnableLockResponse as EnableLockResponse,
127+
)
113128
from stackit.sfs.models.error import Error as Error
129+
from stackit.sfs.models.get_lock_response import GetLockResponse as GetLockResponse
114130
from stackit.sfs.models.get_resource_pool_response import (
115131
GetResourcePoolResponse as GetResourcePoolResponse,
116132
)
117133
from stackit.sfs.models.get_resource_pool_snapshot_response import (
118134
GetResourcePoolSnapshotResponse as GetResourcePoolSnapshotResponse,
119135
)
136+
from stackit.sfs.models.get_schedule_response import (
137+
GetScheduleResponse as GetScheduleResponse,
138+
)
120139
from stackit.sfs.models.get_share_export_policy_response import (
121140
GetShareExportPolicyResponse as GetShareExportPolicyResponse,
122141
)
123142
from stackit.sfs.models.get_share_response import GetShareResponse as GetShareResponse
143+
from stackit.sfs.models.get_snapshot_policy_response import (
144+
GetSnapshotPolicyResponse as GetSnapshotPolicyResponse,
145+
)
124146
from stackit.sfs.models.google_protobuf_any import (
125147
GoogleProtobufAny as GoogleProtobufAny,
126148
)
@@ -133,12 +155,18 @@
133155
from stackit.sfs.models.list_resource_pools_response import (
134156
ListResourcePoolsResponse as ListResourcePoolsResponse,
135157
)
158+
from stackit.sfs.models.list_schedules_response import (
159+
ListSchedulesResponse as ListSchedulesResponse,
160+
)
136161
from stackit.sfs.models.list_share_export_policies_response import (
137162
ListShareExportPoliciesResponse as ListShareExportPoliciesResponse,
138163
)
139164
from stackit.sfs.models.list_shares_response import (
140165
ListSharesResponse as ListSharesResponse,
141166
)
167+
from stackit.sfs.models.list_snapshot_policies_response import (
168+
ListSnapshotPoliciesResponse as ListSnapshotPoliciesResponse,
169+
)
142170
from stackit.sfs.models.performance_class import PerformanceClass as PerformanceClass
143171
from stackit.sfs.models.resource_pool import ResourcePool as ResourcePool
144172
from stackit.sfs.models.resource_pool_performance_class import (
@@ -147,23 +175,37 @@
147175
from stackit.sfs.models.resource_pool_snapshot import (
148176
ResourcePoolSnapshot as ResourcePoolSnapshot,
149177
)
178+
from stackit.sfs.models.resource_pool_snapshot_policy import (
179+
ResourcePoolSnapshotPolicy as ResourcePoolSnapshotPolicy,
180+
)
150181
from stackit.sfs.models.resource_pool_space import (
151182
ResourcePoolSpace as ResourcePoolSpace,
152183
)
184+
from stackit.sfs.models.schedule import Schedule as Schedule
153185
from stackit.sfs.models.share import Share as Share
154186
from stackit.sfs.models.share_export_policy import (
155187
ShareExportPolicy as ShareExportPolicy,
156188
)
157189
from stackit.sfs.models.share_export_policy_rule import (
158190
ShareExportPolicyRule as ShareExportPolicyRule,
159191
)
192+
from stackit.sfs.models.snapshot_policy import SnapshotPolicy as SnapshotPolicy
193+
from stackit.sfs.models.snapshot_policy_schedule import (
194+
SnapshotPolicySchedule as SnapshotPolicySchedule,
195+
)
160196
from stackit.sfs.models.status import Status as Status
161197
from stackit.sfs.models.update_resource_pool_payload import (
162198
UpdateResourcePoolPayload as UpdateResourcePoolPayload,
163199
)
164200
from stackit.sfs.models.update_resource_pool_response import (
165201
UpdateResourcePoolResponse as UpdateResourcePoolResponse,
166202
)
203+
from stackit.sfs.models.update_resource_pool_snapshot_payload import (
204+
UpdateResourcePoolSnapshotPayload as UpdateResourcePoolSnapshotPayload,
205+
)
206+
from stackit.sfs.models.update_resource_pool_snapshot_response import (
207+
UpdateResourcePoolSnapshotResponse as UpdateResourcePoolSnapshotResponse,
208+
)
167209
from stackit.sfs.models.update_share_export_policy_body_rule import (
168210
UpdateShareExportPolicyBodyRule as UpdateShareExportPolicyBodyRule,
169211
)

0 commit comments

Comments
 (0)