@@ -120,6 +120,7 @@ async def list_file_systems(
120120 region : Optional [ScwRegion ] = None ,
121121 order_by : Optional [ListFileSystemsRequestOrderBy ] = None ,
122122 project_id : Optional [str ] = None ,
123+ organization_id : Optional [str ] = None ,
123124 page : Optional [int ] = None ,
124125 page_size : Optional [int ] = None ,
125126 name : Optional [str ] = None ,
@@ -131,6 +132,7 @@ async def list_file_systems(
131132 :param region: Region to target. If none is passed will use default region from the config.
132133 :param order_by: Criteria to use when ordering the list.
133134 :param project_id: Filter by project ID.
135+ :param organization_id: Filter by organization ID.
134136 :param page: Page number (starting at 1).
135137 :param page_size: Number of entries per page (default: 20, max: 100).
136138 :param name: Filter the returned filesystems by their names.
@@ -153,6 +155,8 @@ async def list_file_systems(
153155 params = {
154156 "name" : name ,
155157 "order_by" : order_by ,
158+ "organization_id" : organization_id
159+ or self .client .default_organization_id ,
156160 "page" : page ,
157161 "page_size" : page_size or self .client .default_page_size ,
158162 "project_id" : project_id or self .client .default_project_id ,
@@ -169,6 +173,7 @@ async def list_file_systems_all(
169173 region : Optional [ScwRegion ] = None ,
170174 order_by : Optional [ListFileSystemsRequestOrderBy ] = None ,
171175 project_id : Optional [str ] = None ,
176+ organization_id : Optional [str ] = None ,
172177 page : Optional [int ] = None ,
173178 page_size : Optional [int ] = None ,
174179 name : Optional [str ] = None ,
@@ -180,6 +185,7 @@ async def list_file_systems_all(
180185 :param region: Region to target. If none is passed will use default region from the config.
181186 :param order_by: Criteria to use when ordering the list.
182187 :param project_id: Filter by project ID.
188+ :param organization_id: Filter by organization ID.
183189 :param page: Page number (starting at 1).
184190 :param page_size: Number of entries per page (default: 20, max: 100).
185191 :param name: Filter the returned filesystems by their names.
@@ -200,6 +206,7 @@ async def list_file_systems_all(
200206 "region" : region ,
201207 "order_by" : order_by ,
202208 "project_id" : project_id ,
209+ "organization_id" : organization_id ,
203210 "page" : page ,
204211 "page_size" : page_size ,
205212 "name" : name ,
0 commit comments