waldur-api-client 7.8.2__py3-none-any.whl → 7.8.3__py3-none-any.whl

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.

Potentially problematic release.


This version of waldur-api-client might be problematic. Click here for more details.

Files changed (74) hide show
  1. waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_count.py +18 -18
  2. waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_list.py +18 -18
  3. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_move_resource.py +22 -0
  4. waldur_api_client/api/marketplace_resources/marketplace_resources_move_resource.py +22 -0
  5. waldur_api_client/api/openstack_backups/openstack_backups_restore.py +10 -10
  6. waldur_api_client/api/rancher_services/rancher_services_create.py +22 -22
  7. waldur_api_client/models/__init__.py +26 -6
  8. waldur_api_client/models/azure_sql_server_create_order_attributes.py +5 -10
  9. waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +7 -12
  10. waldur_api_client/models/booking_resource.py +16 -34
  11. waldur_api_client/models/booking_resources_list_field_item.py +1 -3
  12. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -3
  13. waldur_api_client/models/constance_settings.py +9 -0
  14. waldur_api_client/models/constance_settings_request.py +9 -0
  15. waldur_api_client/models/constance_settings_request_form.py +9 -0
  16. waldur_api_client/models/constance_settings_request_multipart.py +14 -0
  17. waldur_api_client/models/event_groups_enum.py +1 -0
  18. waldur_api_client/models/event_types_enum.py +2 -0
  19. waldur_api_client/models/generic_order_attributes.py +1 -2
  20. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -3
  21. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -3
  22. waldur_api_client/models/marketplace_orders_list_field_item.py +1 -3
  23. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +1 -3
  24. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -3
  25. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -3
  26. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -3
  27. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -3
  28. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -3
  29. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -3
  30. waldur_api_client/models/marketplace_robot_accounts_list_field_item.py +2 -1
  31. waldur_api_client/models/marketplace_robot_accounts_retrieve_field_item.py +2 -1
  32. waldur_api_client/models/merged_plugin_options.py +9 -0
  33. waldur_api_client/models/merged_plugin_options_request.py +9 -0
  34. waldur_api_client/models/move_resource_request.py +65 -0
  35. waldur_api_client/models/open_stack_backup_restoration.py +3 -5
  36. waldur_api_client/models/open_stack_backup_restoration_create_request.py +141 -0
  37. waldur_api_client/models/open_stack_backup_restoration_request.py +22 -30
  38. waldur_api_client/models/{open_stack_nested_security_group_request.py → open_stack_create_floating_ip_request.py} +17 -6
  39. waldur_api_client/models/open_stack_create_port_request.py +104 -0
  40. waldur_api_client/models/open_stack_instance.py +13 -29
  41. waldur_api_client/models/open_stack_instance_create_order_attributes.py +67 -54
  42. waldur_api_client/models/open_stack_instance_floating_i_ps_update_request.py +5 -5
  43. waldur_api_client/models/open_stack_instance_ports_update_request.py +5 -5
  44. waldur_api_client/models/open_stack_instance_request.py +1 -67
  45. waldur_api_client/models/open_stack_nested_port_request.py +0 -9
  46. waldur_api_client/models/open_stack_security_group_hyperlink_request.py +59 -0
  47. waldur_api_client/models/open_stack_server_group_hyperlink_request.py +59 -0
  48. waldur_api_client/models/open_stack_tenant_create_order_attributes.py +9 -14
  49. waldur_api_client/models/open_stack_volume_create_order_attributes.py +8 -13
  50. waldur_api_client/models/openstack_instances_list_field_item.py +0 -7
  51. waldur_api_client/models/openstack_instances_retrieve_field_item.py +0 -7
  52. waldur_api_client/models/order_create.py +8 -0
  53. waldur_api_client/models/order_details.py +16 -34
  54. waldur_api_client/models/patched_open_stack_instance_request.py +1 -67
  55. waldur_api_client/models/{rancher_nested_security_group.py → project_hyperlink_request.py} +5 -5
  56. waldur_api_client/models/rancher_clusters_list_field_item.py +0 -1
  57. waldur_api_client/models/rancher_clusters_retrieve_field_item.py +0 -1
  58. waldur_api_client/models/rancher_service_create.py +508 -0
  59. waldur_api_client/models/rancher_service_create_marketplace_offering_plugin_options_type_0.py +44 -0
  60. waldur_api_client/models/rancher_service_create_request.py +185 -0
  61. waldur_api_client/models/rancher_service_request.py +16 -19
  62. waldur_api_client/models/rancher_workload_create.py +59 -0
  63. waldur_api_client/models/rancher_workload_create_request.py +59 -0
  64. waldur_api_client/models/resource.py +16 -34
  65. waldur_api_client/models/robot_account_details.py +22 -13
  66. waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +4 -9
  67. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +11 -16
  68. waldur_api_client/models/vmware_nested_network.py +0 -25
  69. waldur_api_client/models/vmware_nested_network_request.py +6 -14
  70. {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.3.dist-info}/METADATA +1 -1
  71. {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.3.dist-info}/RECORD +73 -64
  72. waldur_api_client/models/open_stack_data_volume.py +0 -81
  73. {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.3.dist-info}/WHEEL +0 -0
  74. {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.3.dist-info}/licenses/LICENSE +0 -0
@@ -15,11 +15,11 @@ from ...types import UNSET, Response, Unset
15
15
  def _get_kwargs(
16
16
  *,
17
17
  customer_uuid: Union[Unset, UUID] = UNSET,
18
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
19
18
  offering_uuid: Union[Unset, UUID] = UNSET,
20
19
  page: Union[Unset, int] = UNSET,
21
20
  page_size: Union[Unset, int] = UNSET,
22
21
  project_uuid: Union[Unset, UUID] = UNSET,
22
+ provider_uuid: Union[Unset, UUID] = UNSET,
23
23
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]] = UNSET,
24
24
  ) -> dict[str, Any]:
25
25
  params: dict[str, Any] = {}
@@ -29,11 +29,6 @@ def _get_kwargs(
29
29
  json_customer_uuid = str(customer_uuid)
30
30
  params["customer_uuid"] = json_customer_uuid
31
31
 
32
- json_offering_customer_uuid: Union[Unset, str] = UNSET
33
- if not isinstance(offering_customer_uuid, Unset):
34
- json_offering_customer_uuid = str(offering_customer_uuid)
35
- params["offering_customer_uuid"] = json_offering_customer_uuid
36
-
37
32
  json_offering_uuid: Union[Unset, str] = UNSET
38
33
  if not isinstance(offering_uuid, Unset):
39
34
  json_offering_uuid = str(offering_uuid)
@@ -48,6 +43,11 @@ def _get_kwargs(
48
43
  json_project_uuid = str(project_uuid)
49
44
  params["project_uuid"] = json_project_uuid
50
45
 
46
+ json_provider_uuid: Union[Unset, str] = UNSET
47
+ if not isinstance(provider_uuid, Unset):
48
+ json_provider_uuid = str(provider_uuid)
49
+ params["provider_uuid"] = json_provider_uuid
50
+
51
51
  json_state: Union[Unset, list[str]] = UNSET
52
52
  if not isinstance(state, Unset):
53
53
  json_state = []
@@ -96,22 +96,22 @@ def sync_detailed(
96
96
  *,
97
97
  client: AuthenticatedClient,
98
98
  customer_uuid: Union[Unset, UUID] = UNSET,
99
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
100
99
  offering_uuid: Union[Unset, UUID] = UNSET,
101
100
  page: Union[Unset, int] = UNSET,
102
101
  page_size: Union[Unset, int] = UNSET,
103
102
  project_uuid: Union[Unset, UUID] = UNSET,
103
+ provider_uuid: Union[Unset, UUID] = UNSET,
104
104
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]] = UNSET,
105
105
  ) -> Response[int]:
106
106
  """Get number of items in the collection matching the request parameters.
107
107
 
108
108
  Args:
109
109
  customer_uuid (Union[Unset, UUID]):
110
- offering_customer_uuid (Union[Unset, UUID]):
111
110
  offering_uuid (Union[Unset, UUID]):
112
111
  page (Union[Unset, int]):
113
112
  page_size (Union[Unset, int]):
114
113
  project_uuid (Union[Unset, UUID]):
114
+ provider_uuid (Union[Unset, UUID]):
115
115
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]]):
116
116
 
117
117
  Raises:
@@ -124,11 +124,11 @@ def sync_detailed(
124
124
 
125
125
  kwargs = _get_kwargs(
126
126
  customer_uuid=customer_uuid,
127
- offering_customer_uuid=offering_customer_uuid,
128
127
  offering_uuid=offering_uuid,
129
128
  page=page,
130
129
  page_size=page_size,
131
130
  project_uuid=project_uuid,
131
+ provider_uuid=provider_uuid,
132
132
  state=state,
133
133
  )
134
134
 
@@ -143,22 +143,22 @@ def sync(
143
143
  *,
144
144
  client: AuthenticatedClient,
145
145
  customer_uuid: Union[Unset, UUID] = UNSET,
146
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
147
146
  offering_uuid: Union[Unset, UUID] = UNSET,
148
147
  page: Union[Unset, int] = UNSET,
149
148
  page_size: Union[Unset, int] = UNSET,
150
149
  project_uuid: Union[Unset, UUID] = UNSET,
150
+ provider_uuid: Union[Unset, UUID] = UNSET,
151
151
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]] = UNSET,
152
152
  ) -> int:
153
153
  """Get number of items in the collection matching the request parameters.
154
154
 
155
155
  Args:
156
156
  customer_uuid (Union[Unset, UUID]):
157
- offering_customer_uuid (Union[Unset, UUID]):
158
157
  offering_uuid (Union[Unset, UUID]):
159
158
  page (Union[Unset, int]):
160
159
  page_size (Union[Unset, int]):
161
160
  project_uuid (Union[Unset, UUID]):
161
+ provider_uuid (Union[Unset, UUID]):
162
162
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]]):
163
163
 
164
164
  Raises:
@@ -172,11 +172,11 @@ def sync(
172
172
  return sync_detailed(
173
173
  client=client,
174
174
  customer_uuid=customer_uuid,
175
- offering_customer_uuid=offering_customer_uuid,
176
175
  offering_uuid=offering_uuid,
177
176
  page=page,
178
177
  page_size=page_size,
179
178
  project_uuid=project_uuid,
179
+ provider_uuid=provider_uuid,
180
180
  state=state,
181
181
  ).parsed
182
182
 
@@ -185,22 +185,22 @@ async def asyncio_detailed(
185
185
  *,
186
186
  client: AuthenticatedClient,
187
187
  customer_uuid: Union[Unset, UUID] = UNSET,
188
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
189
188
  offering_uuid: Union[Unset, UUID] = UNSET,
190
189
  page: Union[Unset, int] = UNSET,
191
190
  page_size: Union[Unset, int] = UNSET,
192
191
  project_uuid: Union[Unset, UUID] = UNSET,
192
+ provider_uuid: Union[Unset, UUID] = UNSET,
193
193
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]] = UNSET,
194
194
  ) -> Response[int]:
195
195
  """Get number of items in the collection matching the request parameters.
196
196
 
197
197
  Args:
198
198
  customer_uuid (Union[Unset, UUID]):
199
- offering_customer_uuid (Union[Unset, UUID]):
200
199
  offering_uuid (Union[Unset, UUID]):
201
200
  page (Union[Unset, int]):
202
201
  page_size (Union[Unset, int]):
203
202
  project_uuid (Union[Unset, UUID]):
203
+ provider_uuid (Union[Unset, UUID]):
204
204
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]]):
205
205
 
206
206
  Raises:
@@ -213,11 +213,11 @@ async def asyncio_detailed(
213
213
 
214
214
  kwargs = _get_kwargs(
215
215
  customer_uuid=customer_uuid,
216
- offering_customer_uuid=offering_customer_uuid,
217
216
  offering_uuid=offering_uuid,
218
217
  page=page,
219
218
  page_size=page_size,
220
219
  project_uuid=project_uuid,
220
+ provider_uuid=provider_uuid,
221
221
  state=state,
222
222
  )
223
223
 
@@ -230,22 +230,22 @@ async def asyncio(
230
230
  *,
231
231
  client: AuthenticatedClient,
232
232
  customer_uuid: Union[Unset, UUID] = UNSET,
233
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
234
233
  offering_uuid: Union[Unset, UUID] = UNSET,
235
234
  page: Union[Unset, int] = UNSET,
236
235
  page_size: Union[Unset, int] = UNSET,
237
236
  project_uuid: Union[Unset, UUID] = UNSET,
237
+ provider_uuid: Union[Unset, UUID] = UNSET,
238
238
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]] = UNSET,
239
239
  ) -> int:
240
240
  """Get number of items in the collection matching the request parameters.
241
241
 
242
242
  Args:
243
243
  customer_uuid (Union[Unset, UUID]):
244
- offering_customer_uuid (Union[Unset, UUID]):
245
244
  offering_uuid (Union[Unset, UUID]):
246
245
  page (Union[Unset, int]):
247
246
  page_size (Union[Unset, int]):
248
247
  project_uuid (Union[Unset, UUID]):
248
+ provider_uuid (Union[Unset, UUID]):
249
249
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]]):
250
250
 
251
251
  Raises:
@@ -260,11 +260,11 @@ async def asyncio(
260
260
  await asyncio_detailed(
261
261
  client=client,
262
262
  customer_uuid=customer_uuid,
263
- offering_customer_uuid=offering_customer_uuid,
264
263
  offering_uuid=offering_uuid,
265
264
  page=page,
266
265
  page_size=page_size,
267
266
  project_uuid=project_uuid,
267
+ provider_uuid=provider_uuid,
268
268
  state=state,
269
269
  )
270
270
  ).parsed
@@ -14,11 +14,11 @@ from ...types import UNSET, Response, Unset
14
14
  def _get_kwargs(
15
15
  *,
16
16
  customer_uuid: Union[Unset, UUID] = UNSET,
17
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
18
17
  offering_uuid: Union[Unset, UUID] = UNSET,
19
18
  page: Union[Unset, int] = UNSET,
20
19
  page_size: Union[Unset, int] = UNSET,
21
20
  project_uuid: Union[Unset, UUID] = UNSET,
21
+ provider_uuid: Union[Unset, UUID] = UNSET,
22
22
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsListStateItem]] = UNSET,
23
23
  ) -> dict[str, Any]:
24
24
  params: dict[str, Any] = {}
@@ -28,11 +28,6 @@ def _get_kwargs(
28
28
  json_customer_uuid = str(customer_uuid)
29
29
  params["customer_uuid"] = json_customer_uuid
30
30
 
31
- json_offering_customer_uuid: Union[Unset, str] = UNSET
32
- if not isinstance(offering_customer_uuid, Unset):
33
- json_offering_customer_uuid = str(offering_customer_uuid)
34
- params["offering_customer_uuid"] = json_offering_customer_uuid
35
-
36
31
  json_offering_uuid: Union[Unset, str] = UNSET
37
32
  if not isinstance(offering_uuid, Unset):
38
33
  json_offering_uuid = str(offering_uuid)
@@ -47,6 +42,11 @@ def _get_kwargs(
47
42
  json_project_uuid = str(project_uuid)
48
43
  params["project_uuid"] = json_project_uuid
49
44
 
45
+ json_provider_uuid: Union[Unset, str] = UNSET
46
+ if not isinstance(provider_uuid, Unset):
47
+ json_provider_uuid = str(provider_uuid)
48
+ params["provider_uuid"] = json_provider_uuid
49
+
50
50
  json_state: Union[Unset, list[str]] = UNSET
51
51
  if not isinstance(state, Unset):
52
52
  json_state = []
@@ -97,22 +97,22 @@ def sync_detailed(
97
97
  *,
98
98
  client: AuthenticatedClient,
99
99
  customer_uuid: Union[Unset, UUID] = UNSET,
100
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
101
100
  offering_uuid: Union[Unset, UUID] = UNSET,
102
101
  page: Union[Unset, int] = UNSET,
103
102
  page_size: Union[Unset, int] = UNSET,
104
103
  project_uuid: Union[Unset, UUID] = UNSET,
104
+ provider_uuid: Union[Unset, UUID] = UNSET,
105
105
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsListStateItem]] = UNSET,
106
106
  ) -> Response[list["RemoteProjectUpdateRequest"]]:
107
107
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
108
108
 
109
109
  Args:
110
110
  customer_uuid (Union[Unset, UUID]):
111
- offering_customer_uuid (Union[Unset, UUID]):
112
111
  offering_uuid (Union[Unset, UUID]):
113
112
  page (Union[Unset, int]):
114
113
  page_size (Union[Unset, int]):
115
114
  project_uuid (Union[Unset, UUID]):
115
+ provider_uuid (Union[Unset, UUID]):
116
116
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsListStateItem]]):
117
117
 
118
118
  Raises:
@@ -125,11 +125,11 @@ def sync_detailed(
125
125
 
126
126
  kwargs = _get_kwargs(
127
127
  customer_uuid=customer_uuid,
128
- offering_customer_uuid=offering_customer_uuid,
129
128
  offering_uuid=offering_uuid,
130
129
  page=page,
131
130
  page_size=page_size,
132
131
  project_uuid=project_uuid,
132
+ provider_uuid=provider_uuid,
133
133
  state=state,
134
134
  )
135
135
 
@@ -144,22 +144,22 @@ def sync(
144
144
  *,
145
145
  client: AuthenticatedClient,
146
146
  customer_uuid: Union[Unset, UUID] = UNSET,
147
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
148
147
  offering_uuid: Union[Unset, UUID] = UNSET,
149
148
  page: Union[Unset, int] = UNSET,
150
149
  page_size: Union[Unset, int] = UNSET,
151
150
  project_uuid: Union[Unset, UUID] = UNSET,
151
+ provider_uuid: Union[Unset, UUID] = UNSET,
152
152
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsListStateItem]] = UNSET,
153
153
  ) -> list["RemoteProjectUpdateRequest"]:
154
154
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
155
155
 
156
156
  Args:
157
157
  customer_uuid (Union[Unset, UUID]):
158
- offering_customer_uuid (Union[Unset, UUID]):
159
158
  offering_uuid (Union[Unset, UUID]):
160
159
  page (Union[Unset, int]):
161
160
  page_size (Union[Unset, int]):
162
161
  project_uuid (Union[Unset, UUID]):
162
+ provider_uuid (Union[Unset, UUID]):
163
163
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsListStateItem]]):
164
164
 
165
165
  Raises:
@@ -173,11 +173,11 @@ def sync(
173
173
  return sync_detailed(
174
174
  client=client,
175
175
  customer_uuid=customer_uuid,
176
- offering_customer_uuid=offering_customer_uuid,
177
176
  offering_uuid=offering_uuid,
178
177
  page=page,
179
178
  page_size=page_size,
180
179
  project_uuid=project_uuid,
180
+ provider_uuid=provider_uuid,
181
181
  state=state,
182
182
  ).parsed
183
183
 
@@ -186,22 +186,22 @@ async def asyncio_detailed(
186
186
  *,
187
187
  client: AuthenticatedClient,
188
188
  customer_uuid: Union[Unset, UUID] = UNSET,
189
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
190
189
  offering_uuid: Union[Unset, UUID] = UNSET,
191
190
  page: Union[Unset, int] = UNSET,
192
191
  page_size: Union[Unset, int] = UNSET,
193
192
  project_uuid: Union[Unset, UUID] = UNSET,
193
+ provider_uuid: Union[Unset, UUID] = UNSET,
194
194
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsListStateItem]] = UNSET,
195
195
  ) -> Response[list["RemoteProjectUpdateRequest"]]:
196
196
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
197
197
 
198
198
  Args:
199
199
  customer_uuid (Union[Unset, UUID]):
200
- offering_customer_uuid (Union[Unset, UUID]):
201
200
  offering_uuid (Union[Unset, UUID]):
202
201
  page (Union[Unset, int]):
203
202
  page_size (Union[Unset, int]):
204
203
  project_uuid (Union[Unset, UUID]):
204
+ provider_uuid (Union[Unset, UUID]):
205
205
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsListStateItem]]):
206
206
 
207
207
  Raises:
@@ -214,11 +214,11 @@ async def asyncio_detailed(
214
214
 
215
215
  kwargs = _get_kwargs(
216
216
  customer_uuid=customer_uuid,
217
- offering_customer_uuid=offering_customer_uuid,
218
217
  offering_uuid=offering_uuid,
219
218
  page=page,
220
219
  page_size=page_size,
221
220
  project_uuid=project_uuid,
221
+ provider_uuid=provider_uuid,
222
222
  state=state,
223
223
  )
224
224
 
@@ -231,22 +231,22 @@ async def asyncio(
231
231
  *,
232
232
  client: AuthenticatedClient,
233
233
  customer_uuid: Union[Unset, UUID] = UNSET,
234
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
235
234
  offering_uuid: Union[Unset, UUID] = UNSET,
236
235
  page: Union[Unset, int] = UNSET,
237
236
  page_size: Union[Unset, int] = UNSET,
238
237
  project_uuid: Union[Unset, UUID] = UNSET,
238
+ provider_uuid: Union[Unset, UUID] = UNSET,
239
239
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsListStateItem]] = UNSET,
240
240
  ) -> list["RemoteProjectUpdateRequest"]:
241
241
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
242
242
 
243
243
  Args:
244
244
  customer_uuid (Union[Unset, UUID]):
245
- offering_customer_uuid (Union[Unset, UUID]):
246
245
  offering_uuid (Union[Unset, UUID]):
247
246
  page (Union[Unset, int]):
248
247
  page_size (Union[Unset, int]):
249
248
  project_uuid (Union[Unset, UUID]):
249
+ provider_uuid (Union[Unset, UUID]):
250
250
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsListStateItem]]):
251
251
 
252
252
  Raises:
@@ -261,11 +261,11 @@ async def asyncio(
261
261
  await asyncio_detailed(
262
262
  client=client,
263
263
  customer_uuid=customer_uuid,
264
- offering_customer_uuid=offering_customer_uuid,
265
264
  offering_uuid=offering_uuid,
266
265
  page=page,
267
266
  page_size=page_size,
268
267
  project_uuid=project_uuid,
268
+ provider_uuid=provider_uuid,
269
269
  state=state,
270
270
  )
271
271
  ).parsed
@@ -6,18 +6,28 @@ import httpx
6
6
 
7
7
  from ... import errors
8
8
  from ...client import AuthenticatedClient, Client
9
+ from ...models.move_resource_request import MoveResourceRequest
9
10
  from ...models.resource import Resource
10
11
  from ...types import Response
11
12
 
12
13
 
13
14
  def _get_kwargs(
14
15
  uuid: UUID,
16
+ *,
17
+ body: MoveResourceRequest,
15
18
  ) -> dict[str, Any]:
19
+ headers: dict[str, Any] = {}
20
+
16
21
  _kwargs: dict[str, Any] = {
17
22
  "method": "post",
18
23
  "url": f"/api/marketplace-provider-resources/{uuid}/move_resource/",
19
24
  }
20
25
 
26
+ _kwargs["json"] = body.to_dict()
27
+
28
+ headers["Content-Type"] = "application/json"
29
+
30
+ _kwargs["headers"] = headers
21
31
  return _kwargs
22
32
 
23
33
 
@@ -42,11 +52,13 @@ def sync_detailed(
42
52
  uuid: UUID,
43
53
  *,
44
54
  client: AuthenticatedClient,
55
+ body: MoveResourceRequest,
45
56
  ) -> Response[Resource]:
46
57
  """Move resource to another project.
47
58
 
48
59
  Args:
49
60
  uuid (UUID):
61
+ body (MoveResourceRequest):
50
62
 
51
63
  Raises:
52
64
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -58,6 +70,7 @@ def sync_detailed(
58
70
 
59
71
  kwargs = _get_kwargs(
60
72
  uuid=uuid,
73
+ body=body,
61
74
  )
62
75
 
63
76
  response = client.get_httpx_client().request(
@@ -71,11 +84,13 @@ def sync(
71
84
  uuid: UUID,
72
85
  *,
73
86
  client: AuthenticatedClient,
87
+ body: MoveResourceRequest,
74
88
  ) -> Resource:
75
89
  """Move resource to another project.
76
90
 
77
91
  Args:
78
92
  uuid (UUID):
93
+ body (MoveResourceRequest):
79
94
 
80
95
  Raises:
81
96
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -88,6 +103,7 @@ def sync(
88
103
  return sync_detailed(
89
104
  uuid=uuid,
90
105
  client=client,
106
+ body=body,
91
107
  ).parsed
92
108
 
93
109
 
@@ -95,11 +111,13 @@ async def asyncio_detailed(
95
111
  uuid: UUID,
96
112
  *,
97
113
  client: AuthenticatedClient,
114
+ body: MoveResourceRequest,
98
115
  ) -> Response[Resource]:
99
116
  """Move resource to another project.
100
117
 
101
118
  Args:
102
119
  uuid (UUID):
120
+ body (MoveResourceRequest):
103
121
 
104
122
  Raises:
105
123
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -111,6 +129,7 @@ async def asyncio_detailed(
111
129
 
112
130
  kwargs = _get_kwargs(
113
131
  uuid=uuid,
132
+ body=body,
114
133
  )
115
134
 
116
135
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -122,11 +141,13 @@ async def asyncio(
122
141
  uuid: UUID,
123
142
  *,
124
143
  client: AuthenticatedClient,
144
+ body: MoveResourceRequest,
125
145
  ) -> Resource:
126
146
  """Move resource to another project.
127
147
 
128
148
  Args:
129
149
  uuid (UUID):
150
+ body (MoveResourceRequest):
130
151
 
131
152
  Raises:
132
153
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -140,5 +161,6 @@ async def asyncio(
140
161
  await asyncio_detailed(
141
162
  uuid=uuid,
142
163
  client=client,
164
+ body=body,
143
165
  )
144
166
  ).parsed
@@ -6,18 +6,28 @@ import httpx
6
6
 
7
7
  from ... import errors
8
8
  from ...client import AuthenticatedClient, Client
9
+ from ...models.move_resource_request import MoveResourceRequest
9
10
  from ...models.resource import Resource
10
11
  from ...types import Response
11
12
 
12
13
 
13
14
  def _get_kwargs(
14
15
  uuid: UUID,
16
+ *,
17
+ body: MoveResourceRequest,
15
18
  ) -> dict[str, Any]:
19
+ headers: dict[str, Any] = {}
20
+
16
21
  _kwargs: dict[str, Any] = {
17
22
  "method": "post",
18
23
  "url": f"/api/marketplace-resources/{uuid}/move_resource/",
19
24
  }
20
25
 
26
+ _kwargs["json"] = body.to_dict()
27
+
28
+ headers["Content-Type"] = "application/json"
29
+
30
+ _kwargs["headers"] = headers
21
31
  return _kwargs
22
32
 
23
33
 
@@ -42,11 +52,13 @@ def sync_detailed(
42
52
  uuid: UUID,
43
53
  *,
44
54
  client: AuthenticatedClient,
55
+ body: MoveResourceRequest,
45
56
  ) -> Response[Resource]:
46
57
  """Move resource to another project.
47
58
 
48
59
  Args:
49
60
  uuid (UUID):
61
+ body (MoveResourceRequest):
50
62
 
51
63
  Raises:
52
64
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -58,6 +70,7 @@ def sync_detailed(
58
70
 
59
71
  kwargs = _get_kwargs(
60
72
  uuid=uuid,
73
+ body=body,
61
74
  )
62
75
 
63
76
  response = client.get_httpx_client().request(
@@ -71,11 +84,13 @@ def sync(
71
84
  uuid: UUID,
72
85
  *,
73
86
  client: AuthenticatedClient,
87
+ body: MoveResourceRequest,
74
88
  ) -> Resource:
75
89
  """Move resource to another project.
76
90
 
77
91
  Args:
78
92
  uuid (UUID):
93
+ body (MoveResourceRequest):
79
94
 
80
95
  Raises:
81
96
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -88,6 +103,7 @@ def sync(
88
103
  return sync_detailed(
89
104
  uuid=uuid,
90
105
  client=client,
106
+ body=body,
91
107
  ).parsed
92
108
 
93
109
 
@@ -95,11 +111,13 @@ async def asyncio_detailed(
95
111
  uuid: UUID,
96
112
  *,
97
113
  client: AuthenticatedClient,
114
+ body: MoveResourceRequest,
98
115
  ) -> Response[Resource]:
99
116
  """Move resource to another project.
100
117
 
101
118
  Args:
102
119
  uuid (UUID):
120
+ body (MoveResourceRequest):
103
121
 
104
122
  Raises:
105
123
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -111,6 +129,7 @@ async def asyncio_detailed(
111
129
 
112
130
  kwargs = _get_kwargs(
113
131
  uuid=uuid,
132
+ body=body,
114
133
  )
115
134
 
116
135
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -122,11 +141,13 @@ async def asyncio(
122
141
  uuid: UUID,
123
142
  *,
124
143
  client: AuthenticatedClient,
144
+ body: MoveResourceRequest,
125
145
  ) -> Resource:
126
146
  """Move resource to another project.
127
147
 
128
148
  Args:
129
149
  uuid (UUID):
150
+ body (MoveResourceRequest):
130
151
 
131
152
  Raises:
132
153
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -140,5 +161,6 @@ async def asyncio(
140
161
  await asyncio_detailed(
141
162
  uuid=uuid,
142
163
  client=client,
164
+ body=body,
143
165
  )
144
166
  ).parsed
@@ -6,7 +6,7 @@ import httpx
6
6
 
7
7
  from ... import errors
8
8
  from ...client import AuthenticatedClient, Client
9
- from ...models.open_stack_backup_restoration_request import OpenStackBackupRestorationRequest
9
+ from ...models.open_stack_backup_restoration_create_request import OpenStackBackupRestorationCreateRequest
10
10
  from ...models.open_stack_instance import OpenStackInstance
11
11
  from ...types import Response
12
12
 
@@ -14,7 +14,7 @@ from ...types import Response
14
14
  def _get_kwargs(
15
15
  uuid: UUID,
16
16
  *,
17
- body: OpenStackBackupRestorationRequest,
17
+ body: OpenStackBackupRestorationCreateRequest,
18
18
  ) -> dict[str, Any]:
19
19
  headers: dict[str, Any] = {}
20
20
 
@@ -54,13 +54,13 @@ def sync_detailed(
54
54
  uuid: UUID,
55
55
  *,
56
56
  client: AuthenticatedClient,
57
- body: OpenStackBackupRestorationRequest,
57
+ body: OpenStackBackupRestorationCreateRequest,
58
58
  ) -> Response[OpenStackInstance]:
59
59
  """Restore instance from backup
60
60
 
61
61
  Args:
62
62
  uuid (UUID):
63
- body (OpenStackBackupRestorationRequest):
63
+ body (OpenStackBackupRestorationCreateRequest):
64
64
 
65
65
  Raises:
66
66
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -86,13 +86,13 @@ def sync(
86
86
  uuid: UUID,
87
87
  *,
88
88
  client: AuthenticatedClient,
89
- body: OpenStackBackupRestorationRequest,
89
+ body: OpenStackBackupRestorationCreateRequest,
90
90
  ) -> OpenStackInstance:
91
91
  """Restore instance from backup
92
92
 
93
93
  Args:
94
94
  uuid (UUID):
95
- body (OpenStackBackupRestorationRequest):
95
+ body (OpenStackBackupRestorationCreateRequest):
96
96
 
97
97
  Raises:
98
98
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -113,13 +113,13 @@ async def asyncio_detailed(
113
113
  uuid: UUID,
114
114
  *,
115
115
  client: AuthenticatedClient,
116
- body: OpenStackBackupRestorationRequest,
116
+ body: OpenStackBackupRestorationCreateRequest,
117
117
  ) -> Response[OpenStackInstance]:
118
118
  """Restore instance from backup
119
119
 
120
120
  Args:
121
121
  uuid (UUID):
122
- body (OpenStackBackupRestorationRequest):
122
+ body (OpenStackBackupRestorationCreateRequest):
123
123
 
124
124
  Raises:
125
125
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -143,13 +143,13 @@ async def asyncio(
143
143
  uuid: UUID,
144
144
  *,
145
145
  client: AuthenticatedClient,
146
- body: OpenStackBackupRestorationRequest,
146
+ body: OpenStackBackupRestorationCreateRequest,
147
147
  ) -> OpenStackInstance:
148
148
  """Restore instance from backup
149
149
 
150
150
  Args:
151
151
  uuid (UUID):
152
- body (OpenStackBackupRestorationRequest):
152
+ body (OpenStackBackupRestorationCreateRequest):
153
153
 
154
154
  Raises:
155
155
  errors.UnexpectedStatus: If the server returns an undocumented status code.