hyperstack 1.25.0a0__py3-none-any.whl → 1.41.2a0__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.
Files changed (225) hide show
  1. hyperstack/__init__.py +80 -131
  2. hyperstack/api/__init__.py +2 -0
  3. hyperstack/api/alive_api.py +240 -0
  4. hyperstack/api/api_key_api.py +16 -20
  5. hyperstack/api/assigning_member_role_api.py +15 -17
  6. hyperstack/api/auth_api.py +1050 -5
  7. hyperstack/api/beta_access_api.py +856 -0
  8. hyperstack/api/billing_api.py +6461 -673
  9. hyperstack/api/calculate_api.py +8 -9
  10. hyperstack/api/callbacks_api.py +120 -126
  11. hyperstack/api/cluster_events_api.py +1 -2
  12. hyperstack/api/clusters_api.py +2816 -199
  13. hyperstack/api/compliance_api.py +14 -18
  14. hyperstack/api/credit_api.py +17 -15
  15. hyperstack/api/customer_contract_api.py +30 -33
  16. hyperstack/api/dashboard_api.py +4 -5
  17. hyperstack/api/deployment_api.py +4 -8
  18. hyperstack/api/environment_api.py +285 -16
  19. hyperstack/api/firewall_attachment_api.py +11 -9
  20. hyperstack/api/firewalls_api.py +341 -347
  21. hyperstack/api/flavor_api.py +4 -5
  22. hyperstack/api/floating_ip_api.py +50 -49
  23. hyperstack/api/gpu_api.py +1 -2
  24. hyperstack/api/image_api.py +35 -39
  25. hyperstack/api/invite_api.py +288 -18
  26. hyperstack/api/keypair_api.py +22 -26
  27. hyperstack/api/organization_api.py +12 -15
  28. hyperstack/api/partner_config_api.py +564 -0
  29. hyperstack/api/payment_api.py +299 -18
  30. hyperstack/api/permission_api.py +4 -5
  31. hyperstack/api/policy_api.py +4 -5
  32. hyperstack/api/pricebook_api.py +14 -12
  33. hyperstack/api/profile_api.py +13 -17
  34. hyperstack/api/rbac_role_api.py +20 -25
  35. hyperstack/api/region_api.py +7 -8
  36. hyperstack/api/security_rules_api.py +1 -2
  37. hyperstack/api/snapshot_events_api.py +1 -2
  38. hyperstack/api/snapshots_api.py +166 -172
  39. hyperstack/api/stock_api.py +4 -5
  40. hyperstack/api/template_api.py +14 -19
  41. hyperstack/api/user_api.py +55 -49
  42. hyperstack/api/user_detail_choice_api.py +1 -2
  43. hyperstack/api/user_permission_api.py +8 -10
  44. hyperstack/api/virtual_machine_api.py +1529 -929
  45. hyperstack/api/virtual_machine_events_api.py +21 -22
  46. hyperstack/api/vnc_url_api.py +54 -50
  47. hyperstack/api/volume_api.py +340 -40
  48. hyperstack/api/volume_attachment_api.py +342 -42
  49. hyperstack/api_client.py +1 -1
  50. hyperstack/configuration.py +1 -11
  51. hyperstack/models/__init__.py +77 -130
  52. hyperstack/models/{environment_fieldsfor_volume.py → access_token_field.py} +7 -7
  53. hyperstack/models/attach_volume_fields.py +6 -2
  54. hyperstack/models/attach_volumes_payload.py +4 -2
  55. hyperstack/models/{virtual_machine_usage.py → attachments_fields_for_volume.py} +13 -11
  56. hyperstack/models/{flavor_vm_fields.py → attributes.py} +15 -18
  57. hyperstack/models/auth_get_token_response_model.py +4 -6
  58. hyperstack/models/{future_node_model.py → beta_access_request_fields.py} +27 -25
  59. hyperstack/models/{create_gpu.py → beta_access_request_payload.py} +9 -11
  60. hyperstack/models/{create_discount_response.py → beta_access_request_response_model.py} +11 -11
  61. hyperstack/models/{export_billing_data_request.py → beta_access_status_item.py} +20 -23
  62. hyperstack/models/{get_all_discount_for_all_organization_response.py → beta_access_status_response_model.py} +15 -15
  63. hyperstack/models/{exclude_billing_post_response.py → billing_history.py} +13 -11
  64. hyperstack/models/billing_history_data_synthesis_details.py +105 -0
  65. hyperstack/models/{vm_usage_response.py → billing_history_fine_tuning.py} +23 -19
  66. hyperstack/models/billing_history_model_evalutation_details.py +105 -0
  67. hyperstack/models/{get_all_discounts_fields.py → billing_history_serverless_inference.py} +23 -24
  68. hyperstack/models/billing_history_serverless_inference_details.py +105 -0
  69. hyperstack/models/{billingmetricesfields.py → billing_metrices_fields.py} +4 -4
  70. hyperstack/models/{billingmetricesresponse.py → billing_metrices_response.py} +7 -7
  71. hyperstack/models/cluster_fields.py +27 -9
  72. hyperstack/models/{add_update_flavor_organization_payload.py → cluster_flavor_fields.py} +28 -26
  73. hyperstack/models/{historical_instances_fields.py → cluster_node_fields.py} +24 -22
  74. hyperstack/models/{internal_instance_flavor_fields.py → cluster_node_group_fields.py} +17 -17
  75. hyperstack/models/{create_update_policy_response_model.py → cluster_node_groups_create_response.py} +21 -11
  76. hyperstack/models/{create_update_permission_response_model.py → cluster_node_groups_get_response.py} +11 -11
  77. hyperstack/models/{auth_request_login_response_model.py → cluster_node_groups_list_response.py} +15 -11
  78. hyperstack/models/{contract_eligible_instance_fields.py → cluster_node_instance_fields.py} +13 -11
  79. hyperstack/models/{image_logos.py → cluster_nodes_list_response.py} +14 -14
  80. hyperstack/models/{internal_environment_fields.py → cluster_version.py} +13 -9
  81. hyperstack/models/cluster_versions.py +10 -2
  82. hyperstack/models/{future_nodes_stock_model.py → colors.py} +17 -15
  83. hyperstack/models/contract_discount_plan_fields.py +3 -1
  84. hyperstack/models/contract_instance_fields.py +7 -1
  85. hyperstack/models/{future_node_response_model.py → create_cluster_node_fields.py} +23 -18
  86. hyperstack/models/{update_gpu.py → create_cluster_node_group_payload.py} +12 -11
  87. hyperstack/models/create_cluster_payload.py +31 -8
  88. hyperstack/models/create_environment.py +1 -1
  89. hyperstack/models/create_instances_payload.py +7 -7
  90. hyperstack/models/create_profile_payload.py +1 -1
  91. hyperstack/models/create_snapshot_payload.py +2 -4
  92. hyperstack/models/create_volume_payload.py +1 -1
  93. hyperstack/models/data_synthesis_billing_history_details_response_schema.py +95 -0
  94. hyperstack/models/{deployment_fieldsforstartdeployments.py → deployment_fields_for_start_deployments.py} +4 -4
  95. hyperstack/models/{editlabelofanexisting_vm_payload.py → edit_label_of_an_existing_vm_payload.py} +4 -4
  96. hyperstack/models/environment_features.py +14 -2
  97. hyperstack/models/{node_stocks_payload.py → environment_fields_for_volume.py} +10 -12
  98. hyperstack/models/flavor_fields.py +3 -1
  99. hyperstack/models/{customer_fields.py → flavor_label_fields.py} +7 -7
  100. hyperstack/models/{getcreditandthresholdinfo.py → get_credit_and_threshold_info.py} +4 -4
  101. hyperstack/models/{getcreditandthresholdinfoinresponse.py → get_credit_and_threshold_info_in_response.py} +7 -7
  102. hyperstack/models/{region_payload.py → get_instance_logs_response.py} +7 -9
  103. hyperstack/models/instance_fields.py +8 -4
  104. hyperstack/models/instance_flavor_fields.py +13 -1
  105. hyperstack/models/{flavor_response.py → keypair_environment_features.py} +20 -16
  106. hyperstack/models/{internal_instance_keypair_fields.py → keypair_environment_fields.py} +13 -11
  107. hyperstack/models/keypair_fields.py +6 -2
  108. hyperstack/models/{lastdaycostfields.py → last_day_cost_fields.py} +4 -4
  109. hyperstack/models/{lastdaycostresponse.py → last_day_cost_response.py} +7 -7
  110. hyperstack/models/{export_billing_data_response.py → logos.py} +13 -9
  111. hyperstack/models/{verify_api_key_response_model.py → manual_reconciliation_model.py} +13 -13
  112. hyperstack/models/{creditrequestresponse.py → master_flavors_response.py} +14 -14
  113. hyperstack/models/{customer_payload.py → mfa_status_fields.py} +8 -10
  114. hyperstack/models/{gpu.py → mfa_status_response.py} +11 -11
  115. hyperstack/models/model_evaluation_billing_history_details_response_schema.py +95 -0
  116. hyperstack/models/{organization_thresholdfields.py → organization_threshold_fields.py} +4 -4
  117. hyperstack/models/{organizationthresholdupdateresponse.py → organization_threshold_update_response.py} +7 -7
  118. hyperstack/models/{organizationthresholdsresponse.py → organization_thresholds_response.py} +7 -7
  119. hyperstack/models/{logo_get_response.py → pagination.py} +12 -12
  120. hyperstack/models/{billing_response.py → partner_config.py} +31 -20
  121. hyperstack/models/payment_details_fields.py +5 -1
  122. hyperstack/models/{logout_payload.py → primary_color.py} +10 -8
  123. hyperstack/models/region_fields.py +16 -2
  124. hyperstack/models/{vm_usage_request_payload.py → request_instance_logs_payload.py} +8 -8
  125. hyperstack/models/{stock_visibility_user_payload.py → request_instance_logs_response.py} +8 -8
  126. hyperstack/models/{contract_billing_history.py → resource_level_billing_bucket_details_resources.py} +10 -10
  127. hyperstack/models/{node_response_model.py → resource_level_billing_history_resources_cluster.py} +21 -11
  128. hyperstack/models/resource_level_billing_history_response_attributes.py +3 -1
  129. hyperstack/models/{get_all_contracts_response_model.py → resource_level_bucket_billing_details_response_model.py} +11 -15
  130. hyperstack/models/{contract_billing_history_response_model.py → resource_level_bucket_billing_history_response_model.py} +11 -11
  131. hyperstack/models/resource_level_cluster_billing_details_response_model.py +95 -0
  132. hyperstack/models/resource_level_cluster_billing_history_response_model.py +95 -0
  133. hyperstack/models/{get_discount_detail_response.py → resource_level_cluster_graph_billing_details_response_model.py} +11 -11
  134. hyperstack/models/{organization_object_response.py → resource_level_graph_billing_details_bucket.py} +18 -14
  135. hyperstack/models/{update_discounts_status_payload.py → secondary_color.py} +10 -8
  136. hyperstack/models/{security_rules_fieldsfor_instance.py → security_rules_fields_for_instance.py} +4 -4
  137. hyperstack/models/serverless_inferenced_billing_history_details_response_schema.py +95 -0
  138. hyperstack/models/snapshot_fields.py +6 -1
  139. hyperstack/models/snapshot_retrieve_fields.py +29 -2
  140. hyperstack/models/start_deployment.py +3 -3
  141. hyperstack/models/{subscribeorunsubscribeupdatepayload.py → subscribe_or_unsubscribe_update_payload.py} +4 -4
  142. hyperstack/models/token_based_billing_history_response.py +95 -0
  143. hyperstack/models/{update_keypairnameresponse.py → update_keypair_name_response.py} +4 -4
  144. hyperstack/models/update_volume_attachment_payload.py +87 -0
  145. hyperstack/models/{verify_api_key_payload.py → update_volume_payload.py} +7 -7
  146. hyperstack/models/{stock_visibility_user_list_response.py → update_volume_response.py} +14 -16
  147. hyperstack/models/{auth_request_login_fields.py → uris.py} +19 -9
  148. hyperstack/models/{userinfopostpayload.py → user_info_post_payload.py} +4 -4
  149. hyperstack/models/{node_stock_response_model.py → user_organizations_response.py} +14 -14
  150. hyperstack/models/users_info_fields.py +3 -1
  151. hyperstack/models/volume_attachment_fields.py +9 -5
  152. hyperstack/models/volume_fields.py +14 -4
  153. hyperstack/models/{volume_fieldsfor_instance.py → volume_fields_for_instance.py} +4 -4
  154. hyperstack/models/volumes.py +17 -11
  155. hyperstack/models/{instances_summary_fields.py → volumes_fields.py} +33 -29
  156. hyperstack/models/workload_billing_history_response.py +95 -0
  157. {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.2a0.dist-info}/METADATA +2 -2
  158. hyperstack-1.41.2a0.dist-info/RECORD +350 -0
  159. {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.2a0.dist-info}/WHEEL +1 -1
  160. hyperstack/models/api_key_verify_fields.py +0 -93
  161. hyperstack/models/billing_immune_resources_response.py +0 -95
  162. hyperstack/models/contract_billing_history_response_attributes.py +0 -99
  163. hyperstack/models/contract_change_payload.py +0 -101
  164. hyperstack/models/contract_eligible_instances_response.py +0 -101
  165. hyperstack/models/contract_event_create_model.py +0 -91
  166. hyperstack/models/contract_resource_payload.py +0 -95
  167. hyperstack/models/contractl_billing_history_response_metrics.py +0 -87
  168. hyperstack/models/create_contract_fields.py +0 -110
  169. hyperstack/models/create_contract_payload.py +0 -106
  170. hyperstack/models/create_discounts_payload.py +0 -112
  171. hyperstack/models/create_update_permission_payload.py +0 -93
  172. hyperstack/models/create_update_policy_payload.py +0 -93
  173. hyperstack/models/creditrechargelimitfield.py +0 -93
  174. hyperstack/models/creditrechargelimitresponse.py +0 -99
  175. hyperstack/models/creditrequests.py +0 -96
  176. hyperstack/models/data.py +0 -91
  177. hyperstack/models/discount_entity_model.py +0 -97
  178. hyperstack/models/discount_fields.py +0 -100
  179. hyperstack/models/discount_plan_fields.py +0 -108
  180. hyperstack/models/discount_resource_fields.py +0 -93
  181. hyperstack/models/discount_resource_payload.py +0 -93
  182. hyperstack/models/exclude_billing_post_payload.py +0 -91
  183. hyperstack/models/field_change.py +0 -91
  184. hyperstack/models/flavor_payload.py +0 -101
  185. hyperstack/models/flavor_vms_response.py +0 -99
  186. hyperstack/models/future_node_stock_model.py +0 -93
  187. hyperstack/models/future_node_update_model.py +0 -98
  188. hyperstack/models/get_all_contract_fields.py +0 -100
  189. hyperstack/models/get_discount_response.py +0 -99
  190. hyperstack/models/get_entity_discount_detail_response.py +0 -108
  191. hyperstack/models/get_token_payload.py +0 -89
  192. hyperstack/models/get_version_response.py +0 -91
  193. hyperstack/models/historical_instance.py +0 -101
  194. hyperstack/models/infrahub_resource_object_response.py +0 -119
  195. hyperstack/models/insert_discount_plan_fields.py +0 -112
  196. hyperstack/models/internal_instance_fields.py +0 -156
  197. hyperstack/models/internal_instance_image_fields.py +0 -95
  198. hyperstack/models/internal_instances_response.py +0 -99
  199. hyperstack/models/internal_security_rules_fields_for_instance.py +0 -104
  200. hyperstack/models/internal_volume_attachment_fields.py +0 -98
  201. hyperstack/models/internal_volume_fields.py +0 -95
  202. hyperstack/models/internal_volumes_response.py +0 -99
  203. hyperstack/models/new_stock_update_response_model.py +0 -89
  204. hyperstack/models/node_model.py +0 -114
  205. hyperstack/models/node_payload_model.py +0 -97
  206. hyperstack/models/node_power_usage_model.py +0 -120
  207. hyperstack/models/node_stock_payload_model.py +0 -95
  208. hyperstack/models/organizationcreditrechargelimitresponse.py +0 -95
  209. hyperstack/models/power_usage_model.py +0 -89
  210. hyperstack/models/pricebook_resource_object_response.py +0 -107
  211. hyperstack/models/refresh_token_payload.py +0 -89
  212. hyperstack/models/region_response.py +0 -95
  213. hyperstack/models/set_defaults_payload.py +0 -89
  214. hyperstack/models/single_visibility_user_response.py +0 -91
  215. hyperstack/models/success_response_model.py +0 -89
  216. hyperstack/models/token_fields.py +0 -91
  217. hyperstack/models/update_contract_payload.py +0 -104
  218. hyperstack/models/update_discounts_payload.py +0 -102
  219. hyperstack/models/user_transfer_payload.py +0 -89
  220. hyperstack/models/volume_status_change_fields.py +0 -96
  221. hyperstack/models/volumes_last_status_change_response.py +0 -99
  222. hyperstack/models/warning_mail_log_fields.py +0 -99
  223. hyperstack/models/warning_mail_log_response.py +0 -101
  224. hyperstack-1.25.0a0.dist-info/RECORD +0 -401
  225. {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.2a0.dist-info}/top_level.txt +0 -0
@@ -42,7 +42,7 @@ class CallbacksApi:
42
42
  @validate_call
43
43
  def attach_callback_to_virtual_machine(
44
44
  self,
45
- id: StrictInt,
45
+ vm_id: StrictInt,
46
46
  payload: AttachCallbackPayload,
47
47
  _request_timeout: Union[
48
48
  None,
@@ -59,10 +59,10 @@ class CallbacksApi:
59
59
  ) -> AttachCallbackResponse:
60
60
  """Attach callback to virtual machine
61
61
 
62
- Creates a callback URL for a specified virtual machine, enabling the posting of action events executed on the virtual machine to the specified URL. Provide the callback URL in the request body and the ID of the virtual machine to which it is being attached in the path. For more details on virtual machine callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks#attach-a-callback-url-to-an-existing-virtual-machine).
62
+ Creates a callback URL for a specified virtual machine, enabling the posting of action events executed on the virtual machine to the specified URL. Provide the callback URL in the request body and the ID of the virtual machine to which it is being attached in the path. For more details on virtual machine callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/virtual-machines/callbacks-vms/attach-callback-vm).
63
63
 
64
- :param id: (required)
65
- :type id: int
64
+ :param vm_id: (required)
65
+ :type vm_id: int
66
66
  :param payload: (required)
67
67
  :type payload: AttachCallbackPayload
68
68
  :param _request_timeout: timeout setting for this request. If one
@@ -88,7 +88,7 @@ class CallbacksApi:
88
88
  """ # noqa: E501
89
89
 
90
90
  _param = self._attach_callback_to_virtual_machine_serialize(
91
- id=id,
91
+ vm_id=vm_id,
92
92
  payload=payload,
93
93
  _request_auth=_request_auth,
94
94
  _content_type=_content_type,
@@ -117,7 +117,7 @@ class CallbacksApi:
117
117
  @validate_call
118
118
  def attach_callback_to_virtual_machine_with_http_info(
119
119
  self,
120
- id: StrictInt,
120
+ vm_id: StrictInt,
121
121
  payload: AttachCallbackPayload,
122
122
  _request_timeout: Union[
123
123
  None,
@@ -134,10 +134,10 @@ class CallbacksApi:
134
134
  ) -> ApiResponse[AttachCallbackResponse]:
135
135
  """Attach callback to virtual machine
136
136
 
137
- Creates a callback URL for a specified virtual machine, enabling the posting of action events executed on the virtual machine to the specified URL. Provide the callback URL in the request body and the ID of the virtual machine to which it is being attached in the path. For more details on virtual machine callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks#attach-a-callback-url-to-an-existing-virtual-machine).
137
+ Creates a callback URL for a specified virtual machine, enabling the posting of action events executed on the virtual machine to the specified URL. Provide the callback URL in the request body and the ID of the virtual machine to which it is being attached in the path. For more details on virtual machine callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/virtual-machines/callbacks-vms/attach-callback-vm).
138
138
 
139
- :param id: (required)
140
- :type id: int
139
+ :param vm_id: (required)
140
+ :type vm_id: int
141
141
  :param payload: (required)
142
142
  :type payload: AttachCallbackPayload
143
143
  :param _request_timeout: timeout setting for this request. If one
@@ -163,7 +163,7 @@ class CallbacksApi:
163
163
  """ # noqa: E501
164
164
 
165
165
  _param = self._attach_callback_to_virtual_machine_serialize(
166
- id=id,
166
+ vm_id=vm_id,
167
167
  payload=payload,
168
168
  _request_auth=_request_auth,
169
169
  _content_type=_content_type,
@@ -192,7 +192,7 @@ class CallbacksApi:
192
192
  @validate_call
193
193
  def attach_callback_to_virtual_machine_without_preload_content(
194
194
  self,
195
- id: StrictInt,
195
+ vm_id: StrictInt,
196
196
  payload: AttachCallbackPayload,
197
197
  _request_timeout: Union[
198
198
  None,
@@ -209,10 +209,10 @@ class CallbacksApi:
209
209
  ) -> RESTResponseType:
210
210
  """Attach callback to virtual machine
211
211
 
212
- Creates a callback URL for a specified virtual machine, enabling the posting of action events executed on the virtual machine to the specified URL. Provide the callback URL in the request body and the ID of the virtual machine to which it is being attached in the path. For more details on virtual machine callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks#attach-a-callback-url-to-an-existing-virtual-machine).
212
+ Creates a callback URL for a specified virtual machine, enabling the posting of action events executed on the virtual machine to the specified URL. Provide the callback URL in the request body and the ID of the virtual machine to which it is being attached in the path. For more details on virtual machine callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/virtual-machines/callbacks-vms/attach-callback-vm).
213
213
 
214
- :param id: (required)
215
- :type id: int
214
+ :param vm_id: (required)
215
+ :type vm_id: int
216
216
  :param payload: (required)
217
217
  :type payload: AttachCallbackPayload
218
218
  :param _request_timeout: timeout setting for this request. If one
@@ -238,7 +238,7 @@ class CallbacksApi:
238
238
  """ # noqa: E501
239
239
 
240
240
  _param = self._attach_callback_to_virtual_machine_serialize(
241
- id=id,
241
+ vm_id=vm_id,
242
242
  payload=payload,
243
243
  _request_auth=_request_auth,
244
244
  _content_type=_content_type,
@@ -262,7 +262,7 @@ class CallbacksApi:
262
262
 
263
263
  def _attach_callback_to_virtual_machine_serialize(
264
264
  self,
265
- id,
265
+ vm_id,
266
266
  payload,
267
267
  _request_auth,
268
268
  _content_type,
@@ -285,8 +285,8 @@ class CallbacksApi:
285
285
  _body_params: Optional[bytes] = None
286
286
 
287
287
  # process the path parameters
288
- if id is not None:
289
- _path_params['id'] = id
288
+ if vm_id is not None:
289
+ _path_params['vm_id'] = vm_id
290
290
  # process the query parameters
291
291
  # process the header parameters
292
292
  # process the form parameters
@@ -319,13 +319,12 @@ class CallbacksApi:
319
319
 
320
320
  # authentication setting
321
321
  _auth_settings: List[str] = [
322
- 'apiKey',
323
- 'accessToken'
322
+ 'apiKey'
324
323
  ]
325
324
 
326
325
  return self.api_client.param_serialize(
327
326
  method='POST',
328
- resource_path='/core/virtual-machines/{id}/attach-callback',
327
+ resource_path='/core/virtual-machines/{vm_id}/attach-callback',
329
328
  path_params=_path_params,
330
329
  query_params=_query_params,
331
330
  header_params=_header_params,
@@ -344,7 +343,7 @@ class CallbacksApi:
344
343
  @validate_call
345
344
  def attach_callback_to_volume(
346
345
  self,
347
- id: StrictInt,
346
+ volume_id: StrictInt,
348
347
  payload: AttachCallbackPayload,
349
348
  _request_timeout: Union[
350
349
  None,
@@ -361,10 +360,10 @@ class CallbacksApi:
361
360
  ) -> AttachCallbackResponse:
362
361
  """Attach callback to volume
363
362
 
364
- Creates a callback URL for a specified volume, enabling the posting of action events executed on the volume to the specified URL. Provide the callback URL in the request body and the ID of the volume to which it is being attached in the path. For more details on volume callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
363
+ Creates a callback URL for a specified volume, enabling the posting of action events executed on the volume to the specified URL. Provide the callback URL in the request body and the ID of the volume to which it is being attached in the path. For more details on volume callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/volumes/volume-callbacks/attach-callback-volume).
365
364
 
366
- :param id: (required)
367
- :type id: int
365
+ :param volume_id: (required)
366
+ :type volume_id: int
368
367
  :param payload: (required)
369
368
  :type payload: AttachCallbackPayload
370
369
  :param _request_timeout: timeout setting for this request. If one
@@ -390,7 +389,7 @@ class CallbacksApi:
390
389
  """ # noqa: E501
391
390
 
392
391
  _param = self._attach_callback_to_volume_serialize(
393
- id=id,
392
+ volume_id=volume_id,
394
393
  payload=payload,
395
394
  _request_auth=_request_auth,
396
395
  _content_type=_content_type,
@@ -419,7 +418,7 @@ class CallbacksApi:
419
418
  @validate_call
420
419
  def attach_callback_to_volume_with_http_info(
421
420
  self,
422
- id: StrictInt,
421
+ volume_id: StrictInt,
423
422
  payload: AttachCallbackPayload,
424
423
  _request_timeout: Union[
425
424
  None,
@@ -436,10 +435,10 @@ class CallbacksApi:
436
435
  ) -> ApiResponse[AttachCallbackResponse]:
437
436
  """Attach callback to volume
438
437
 
439
- Creates a callback URL for a specified volume, enabling the posting of action events executed on the volume to the specified URL. Provide the callback URL in the request body and the ID of the volume to which it is being attached in the path. For more details on volume callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
438
+ Creates a callback URL for a specified volume, enabling the posting of action events executed on the volume to the specified URL. Provide the callback URL in the request body and the ID of the volume to which it is being attached in the path. For more details on volume callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/volumes/volume-callbacks/attach-callback-volume).
440
439
 
441
- :param id: (required)
442
- :type id: int
440
+ :param volume_id: (required)
441
+ :type volume_id: int
443
442
  :param payload: (required)
444
443
  :type payload: AttachCallbackPayload
445
444
  :param _request_timeout: timeout setting for this request. If one
@@ -465,7 +464,7 @@ class CallbacksApi:
465
464
  """ # noqa: E501
466
465
 
467
466
  _param = self._attach_callback_to_volume_serialize(
468
- id=id,
467
+ volume_id=volume_id,
469
468
  payload=payload,
470
469
  _request_auth=_request_auth,
471
470
  _content_type=_content_type,
@@ -494,7 +493,7 @@ class CallbacksApi:
494
493
  @validate_call
495
494
  def attach_callback_to_volume_without_preload_content(
496
495
  self,
497
- id: StrictInt,
496
+ volume_id: StrictInt,
498
497
  payload: AttachCallbackPayload,
499
498
  _request_timeout: Union[
500
499
  None,
@@ -511,10 +510,10 @@ class CallbacksApi:
511
510
  ) -> RESTResponseType:
512
511
  """Attach callback to volume
513
512
 
514
- Creates a callback URL for a specified volume, enabling the posting of action events executed on the volume to the specified URL. Provide the callback URL in the request body and the ID of the volume to which it is being attached in the path. For more details on volume callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
513
+ Creates a callback URL for a specified volume, enabling the posting of action events executed on the volume to the specified URL. Provide the callback URL in the request body and the ID of the volume to which it is being attached in the path. For more details on volume callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/volumes/volume-callbacks/attach-callback-volume).
515
514
 
516
- :param id: (required)
517
- :type id: int
515
+ :param volume_id: (required)
516
+ :type volume_id: int
518
517
  :param payload: (required)
519
518
  :type payload: AttachCallbackPayload
520
519
  :param _request_timeout: timeout setting for this request. If one
@@ -540,7 +539,7 @@ class CallbacksApi:
540
539
  """ # noqa: E501
541
540
 
542
541
  _param = self._attach_callback_to_volume_serialize(
543
- id=id,
542
+ volume_id=volume_id,
544
543
  payload=payload,
545
544
  _request_auth=_request_auth,
546
545
  _content_type=_content_type,
@@ -564,7 +563,7 @@ class CallbacksApi:
564
563
 
565
564
  def _attach_callback_to_volume_serialize(
566
565
  self,
567
- id,
566
+ volume_id,
568
567
  payload,
569
568
  _request_auth,
570
569
  _content_type,
@@ -587,8 +586,8 @@ class CallbacksApi:
587
586
  _body_params: Optional[bytes] = None
588
587
 
589
588
  # process the path parameters
590
- if id is not None:
591
- _path_params['id'] = id
589
+ if volume_id is not None:
590
+ _path_params['volume_id'] = volume_id
592
591
  # process the query parameters
593
592
  # process the header parameters
594
593
  # process the form parameters
@@ -621,13 +620,12 @@ class CallbacksApi:
621
620
 
622
621
  # authentication setting
623
622
  _auth_settings: List[str] = [
624
- 'apiKey',
625
- 'accessToken'
623
+ 'apiKey'
626
624
  ]
627
625
 
628
626
  return self.api_client.param_serialize(
629
627
  method='POST',
630
- resource_path='/core/volumes/{id}/attach-callback',
628
+ resource_path='/core/volumes/{volume_id}/attach-callback',
631
629
  path_params=_path_params,
632
630
  query_params=_query_params,
633
631
  header_params=_header_params,
@@ -646,7 +644,7 @@ class CallbacksApi:
646
644
  @validate_call
647
645
  def delete_virtual_machine_callback(
648
646
  self,
649
- id: StrictInt,
647
+ vm_id: StrictInt,
650
648
  _request_timeout: Union[
651
649
  None,
652
650
  Annotated[StrictFloat, Field(gt=0)],
@@ -662,10 +660,10 @@ class CallbacksApi:
662
660
  ) -> ResponseModel:
663
661
  """Delete virtual machine callback
664
662
 
665
- Permanently deletes the callback URL associated with a specified virtual machine by providing the virtual machine ID in the request path. For additional information on virtual machine callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
663
+ Permanently deletes the callback URL associated with a specified virtual machine by providing the virtual machine ID in the request path. For additional information on virtual machine callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/virtual-machines/callbacks-vms/delete-callback-vm).
666
664
 
667
- :param id: (required)
668
- :type id: int
665
+ :param vm_id: (required)
666
+ :type vm_id: int
669
667
  :param _request_timeout: timeout setting for this request. If one
670
668
  number provided, it will be total request
671
669
  timeout. It can also be a pair (tuple) of
@@ -689,7 +687,7 @@ class CallbacksApi:
689
687
  """ # noqa: E501
690
688
 
691
689
  _param = self._delete_virtual_machine_callback_serialize(
692
- id=id,
690
+ vm_id=vm_id,
693
691
  _request_auth=_request_auth,
694
692
  _content_type=_content_type,
695
693
  _headers=_headers,
@@ -717,7 +715,7 @@ class CallbacksApi:
717
715
  @validate_call
718
716
  def delete_virtual_machine_callback_with_http_info(
719
717
  self,
720
- id: StrictInt,
718
+ vm_id: StrictInt,
721
719
  _request_timeout: Union[
722
720
  None,
723
721
  Annotated[StrictFloat, Field(gt=0)],
@@ -733,10 +731,10 @@ class CallbacksApi:
733
731
  ) -> ApiResponse[ResponseModel]:
734
732
  """Delete virtual machine callback
735
733
 
736
- Permanently deletes the callback URL associated with a specified virtual machine by providing the virtual machine ID in the request path. For additional information on virtual machine callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
734
+ Permanently deletes the callback URL associated with a specified virtual machine by providing the virtual machine ID in the request path. For additional information on virtual machine callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/virtual-machines/callbacks-vms/delete-callback-vm).
737
735
 
738
- :param id: (required)
739
- :type id: int
736
+ :param vm_id: (required)
737
+ :type vm_id: int
740
738
  :param _request_timeout: timeout setting for this request. If one
741
739
  number provided, it will be total request
742
740
  timeout. It can also be a pair (tuple) of
@@ -760,7 +758,7 @@ class CallbacksApi:
760
758
  """ # noqa: E501
761
759
 
762
760
  _param = self._delete_virtual_machine_callback_serialize(
763
- id=id,
761
+ vm_id=vm_id,
764
762
  _request_auth=_request_auth,
765
763
  _content_type=_content_type,
766
764
  _headers=_headers,
@@ -788,7 +786,7 @@ class CallbacksApi:
788
786
  @validate_call
789
787
  def delete_virtual_machine_callback_without_preload_content(
790
788
  self,
791
- id: StrictInt,
789
+ vm_id: StrictInt,
792
790
  _request_timeout: Union[
793
791
  None,
794
792
  Annotated[StrictFloat, Field(gt=0)],
@@ -804,10 +802,10 @@ class CallbacksApi:
804
802
  ) -> RESTResponseType:
805
803
  """Delete virtual machine callback
806
804
 
807
- Permanently deletes the callback URL associated with a specified virtual machine by providing the virtual machine ID in the request path. For additional information on virtual machine callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
805
+ Permanently deletes the callback URL associated with a specified virtual machine by providing the virtual machine ID in the request path. For additional information on virtual machine callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/virtual-machines/callbacks-vms/delete-callback-vm).
808
806
 
809
- :param id: (required)
810
- :type id: int
807
+ :param vm_id: (required)
808
+ :type vm_id: int
811
809
  :param _request_timeout: timeout setting for this request. If one
812
810
  number provided, it will be total request
813
811
  timeout. It can also be a pair (tuple) of
@@ -831,7 +829,7 @@ class CallbacksApi:
831
829
  """ # noqa: E501
832
830
 
833
831
  _param = self._delete_virtual_machine_callback_serialize(
834
- id=id,
832
+ vm_id=vm_id,
835
833
  _request_auth=_request_auth,
836
834
  _content_type=_content_type,
837
835
  _headers=_headers,
@@ -854,7 +852,7 @@ class CallbacksApi:
854
852
 
855
853
  def _delete_virtual_machine_callback_serialize(
856
854
  self,
857
- id,
855
+ vm_id,
858
856
  _request_auth,
859
857
  _content_type,
860
858
  _headers,
@@ -876,8 +874,8 @@ class CallbacksApi:
876
874
  _body_params: Optional[bytes] = None
877
875
 
878
876
  # process the path parameters
879
- if id is not None:
880
- _path_params['id'] = id
877
+ if vm_id is not None:
878
+ _path_params['vm_id'] = vm_id
881
879
  # process the query parameters
882
880
  # process the header parameters
883
881
  # process the form parameters
@@ -895,13 +893,12 @@ class CallbacksApi:
895
893
 
896
894
  # authentication setting
897
895
  _auth_settings: List[str] = [
898
- 'apiKey',
899
- 'accessToken'
896
+ 'apiKey'
900
897
  ]
901
898
 
902
899
  return self.api_client.param_serialize(
903
900
  method='DELETE',
904
- resource_path='/core/virtual-machines/{id}/delete-callback',
901
+ resource_path='/core/virtual-machines/{vm_id}/delete-callback',
905
902
  path_params=_path_params,
906
903
  query_params=_query_params,
907
904
  header_params=_header_params,
@@ -920,7 +917,7 @@ class CallbacksApi:
920
917
  @validate_call
921
918
  def delete_volume_callback(
922
919
  self,
923
- id: StrictInt,
920
+ volume_id: StrictInt,
924
921
  _request_timeout: Union[
925
922
  None,
926
923
  Annotated[StrictFloat, Field(gt=0)],
@@ -936,10 +933,10 @@ class CallbacksApi:
936
933
  ) -> ResponseModel:
937
934
  """Delete volume callback
938
935
 
939
- Permanently deletes the callback URL associated with a specified volume by providing the volume ID in the request path. For additional information on volume callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
936
+ Permanently deletes the callback URL associated with a specified volume by providing the volume ID in the request path. For additional information on volume callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/volumes/volume-callbacks/delete-callback-volume).
940
937
 
941
- :param id: (required)
942
- :type id: int
938
+ :param volume_id: (required)
939
+ :type volume_id: int
943
940
  :param _request_timeout: timeout setting for this request. If one
944
941
  number provided, it will be total request
945
942
  timeout. It can also be a pair (tuple) of
@@ -963,7 +960,7 @@ class CallbacksApi:
963
960
  """ # noqa: E501
964
961
 
965
962
  _param = self._delete_volume_callback_serialize(
966
- id=id,
963
+ volume_id=volume_id,
967
964
  _request_auth=_request_auth,
968
965
  _content_type=_content_type,
969
966
  _headers=_headers,
@@ -991,7 +988,7 @@ class CallbacksApi:
991
988
  @validate_call
992
989
  def delete_volume_callback_with_http_info(
993
990
  self,
994
- id: StrictInt,
991
+ volume_id: StrictInt,
995
992
  _request_timeout: Union[
996
993
  None,
997
994
  Annotated[StrictFloat, Field(gt=0)],
@@ -1007,10 +1004,10 @@ class CallbacksApi:
1007
1004
  ) -> ApiResponse[ResponseModel]:
1008
1005
  """Delete volume callback
1009
1006
 
1010
- Permanently deletes the callback URL associated with a specified volume by providing the volume ID in the request path. For additional information on volume callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
1007
+ Permanently deletes the callback URL associated with a specified volume by providing the volume ID in the request path. For additional information on volume callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/volumes/volume-callbacks/delete-callback-volume).
1011
1008
 
1012
- :param id: (required)
1013
- :type id: int
1009
+ :param volume_id: (required)
1010
+ :type volume_id: int
1014
1011
  :param _request_timeout: timeout setting for this request. If one
1015
1012
  number provided, it will be total request
1016
1013
  timeout. It can also be a pair (tuple) of
@@ -1034,7 +1031,7 @@ class CallbacksApi:
1034
1031
  """ # noqa: E501
1035
1032
 
1036
1033
  _param = self._delete_volume_callback_serialize(
1037
- id=id,
1034
+ volume_id=volume_id,
1038
1035
  _request_auth=_request_auth,
1039
1036
  _content_type=_content_type,
1040
1037
  _headers=_headers,
@@ -1062,7 +1059,7 @@ class CallbacksApi:
1062
1059
  @validate_call
1063
1060
  def delete_volume_callback_without_preload_content(
1064
1061
  self,
1065
- id: StrictInt,
1062
+ volume_id: StrictInt,
1066
1063
  _request_timeout: Union[
1067
1064
  None,
1068
1065
  Annotated[StrictFloat, Field(gt=0)],
@@ -1078,10 +1075,10 @@ class CallbacksApi:
1078
1075
  ) -> RESTResponseType:
1079
1076
  """Delete volume callback
1080
1077
 
1081
- Permanently deletes the callback URL associated with a specified volume by providing the volume ID in the request path. For additional information on volume callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
1078
+ Permanently deletes the callback URL associated with a specified volume by providing the volume ID in the request path. For additional information on volume callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/volumes/volume-callbacks/delete-callback-volume).
1082
1079
 
1083
- :param id: (required)
1084
- :type id: int
1080
+ :param volume_id: (required)
1081
+ :type volume_id: int
1085
1082
  :param _request_timeout: timeout setting for this request. If one
1086
1083
  number provided, it will be total request
1087
1084
  timeout. It can also be a pair (tuple) of
@@ -1105,7 +1102,7 @@ class CallbacksApi:
1105
1102
  """ # noqa: E501
1106
1103
 
1107
1104
  _param = self._delete_volume_callback_serialize(
1108
- id=id,
1105
+ volume_id=volume_id,
1109
1106
  _request_auth=_request_auth,
1110
1107
  _content_type=_content_type,
1111
1108
  _headers=_headers,
@@ -1128,7 +1125,7 @@ class CallbacksApi:
1128
1125
 
1129
1126
  def _delete_volume_callback_serialize(
1130
1127
  self,
1131
- id,
1128
+ volume_id,
1132
1129
  _request_auth,
1133
1130
  _content_type,
1134
1131
  _headers,
@@ -1150,8 +1147,8 @@ class CallbacksApi:
1150
1147
  _body_params: Optional[bytes] = None
1151
1148
 
1152
1149
  # process the path parameters
1153
- if id is not None:
1154
- _path_params['id'] = id
1150
+ if volume_id is not None:
1151
+ _path_params['volume_id'] = volume_id
1155
1152
  # process the query parameters
1156
1153
  # process the header parameters
1157
1154
  # process the form parameters
@@ -1169,13 +1166,12 @@ class CallbacksApi:
1169
1166
 
1170
1167
  # authentication setting
1171
1168
  _auth_settings: List[str] = [
1172
- 'apiKey',
1173
- 'accessToken'
1169
+ 'apiKey'
1174
1170
  ]
1175
1171
 
1176
1172
  return self.api_client.param_serialize(
1177
1173
  method='DELETE',
1178
- resource_path='/core/volumes/{id}/delete-callback',
1174
+ resource_path='/core/volumes/{volume_id}/delete-callback',
1179
1175
  path_params=_path_params,
1180
1176
  query_params=_query_params,
1181
1177
  header_params=_header_params,
@@ -1194,7 +1190,7 @@ class CallbacksApi:
1194
1190
  @validate_call
1195
1191
  def update_virtual_machine_callback(
1196
1192
  self,
1197
- id: StrictInt,
1193
+ vm_id: StrictInt,
1198
1194
  payload: AttachCallbackPayload,
1199
1195
  _request_timeout: Union[
1200
1196
  None,
@@ -1211,10 +1207,10 @@ class CallbacksApi:
1211
1207
  ) -> AttachCallbackResponse:
1212
1208
  """Update virtual machine callback
1213
1209
 
1214
- Updates the callback URL for a specified virtual machine. Provide the new callback URL in the request body, along with the ID of the associated virtual machine in the path. For additional information on virtual machine callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
1210
+ Updates the callback URL for a specified virtual machine. Provide the new callback URL in the request body, along with the ID of the associated virtual machine in the path. For additional information on virtual machine callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/virtual-machines/callbacks-vms).
1215
1211
 
1216
- :param id: (required)
1217
- :type id: int
1212
+ :param vm_id: (required)
1213
+ :type vm_id: int
1218
1214
  :param payload: (required)
1219
1215
  :type payload: AttachCallbackPayload
1220
1216
  :param _request_timeout: timeout setting for this request. If one
@@ -1240,7 +1236,7 @@ class CallbacksApi:
1240
1236
  """ # noqa: E501
1241
1237
 
1242
1238
  _param = self._update_virtual_machine_callback_serialize(
1243
- id=id,
1239
+ vm_id=vm_id,
1244
1240
  payload=payload,
1245
1241
  _request_auth=_request_auth,
1246
1242
  _content_type=_content_type,
@@ -1269,7 +1265,7 @@ class CallbacksApi:
1269
1265
  @validate_call
1270
1266
  def update_virtual_machine_callback_with_http_info(
1271
1267
  self,
1272
- id: StrictInt,
1268
+ vm_id: StrictInt,
1273
1269
  payload: AttachCallbackPayload,
1274
1270
  _request_timeout: Union[
1275
1271
  None,
@@ -1286,10 +1282,10 @@ class CallbacksApi:
1286
1282
  ) -> ApiResponse[AttachCallbackResponse]:
1287
1283
  """Update virtual machine callback
1288
1284
 
1289
- Updates the callback URL for a specified virtual machine. Provide the new callback URL in the request body, along with the ID of the associated virtual machine in the path. For additional information on virtual machine callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
1285
+ Updates the callback URL for a specified virtual machine. Provide the new callback URL in the request body, along with the ID of the associated virtual machine in the path. For additional information on virtual machine callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/virtual-machines/callbacks-vms).
1290
1286
 
1291
- :param id: (required)
1292
- :type id: int
1287
+ :param vm_id: (required)
1288
+ :type vm_id: int
1293
1289
  :param payload: (required)
1294
1290
  :type payload: AttachCallbackPayload
1295
1291
  :param _request_timeout: timeout setting for this request. If one
@@ -1315,7 +1311,7 @@ class CallbacksApi:
1315
1311
  """ # noqa: E501
1316
1312
 
1317
1313
  _param = self._update_virtual_machine_callback_serialize(
1318
- id=id,
1314
+ vm_id=vm_id,
1319
1315
  payload=payload,
1320
1316
  _request_auth=_request_auth,
1321
1317
  _content_type=_content_type,
@@ -1344,7 +1340,7 @@ class CallbacksApi:
1344
1340
  @validate_call
1345
1341
  def update_virtual_machine_callback_without_preload_content(
1346
1342
  self,
1347
- id: StrictInt,
1343
+ vm_id: StrictInt,
1348
1344
  payload: AttachCallbackPayload,
1349
1345
  _request_timeout: Union[
1350
1346
  None,
@@ -1361,10 +1357,10 @@ class CallbacksApi:
1361
1357
  ) -> RESTResponseType:
1362
1358
  """Update virtual machine callback
1363
1359
 
1364
- Updates the callback URL for a specified virtual machine. Provide the new callback URL in the request body, along with the ID of the associated virtual machine in the path. For additional information on virtual machine callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
1360
+ Updates the callback URL for a specified virtual machine. Provide the new callback URL in the request body, along with the ID of the associated virtual machine in the path. For additional information on virtual machine callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/virtual-machines/callbacks-vms).
1365
1361
 
1366
- :param id: (required)
1367
- :type id: int
1362
+ :param vm_id: (required)
1363
+ :type vm_id: int
1368
1364
  :param payload: (required)
1369
1365
  :type payload: AttachCallbackPayload
1370
1366
  :param _request_timeout: timeout setting for this request. If one
@@ -1390,7 +1386,7 @@ class CallbacksApi:
1390
1386
  """ # noqa: E501
1391
1387
 
1392
1388
  _param = self._update_virtual_machine_callback_serialize(
1393
- id=id,
1389
+ vm_id=vm_id,
1394
1390
  payload=payload,
1395
1391
  _request_auth=_request_auth,
1396
1392
  _content_type=_content_type,
@@ -1414,7 +1410,7 @@ class CallbacksApi:
1414
1410
 
1415
1411
  def _update_virtual_machine_callback_serialize(
1416
1412
  self,
1417
- id,
1413
+ vm_id,
1418
1414
  payload,
1419
1415
  _request_auth,
1420
1416
  _content_type,
@@ -1437,8 +1433,8 @@ class CallbacksApi:
1437
1433
  _body_params: Optional[bytes] = None
1438
1434
 
1439
1435
  # process the path parameters
1440
- if id is not None:
1441
- _path_params['id'] = id
1436
+ if vm_id is not None:
1437
+ _path_params['vm_id'] = vm_id
1442
1438
  # process the query parameters
1443
1439
  # process the header parameters
1444
1440
  # process the form parameters
@@ -1471,13 +1467,12 @@ class CallbacksApi:
1471
1467
 
1472
1468
  # authentication setting
1473
1469
  _auth_settings: List[str] = [
1474
- 'apiKey',
1475
- 'accessToken'
1470
+ 'apiKey'
1476
1471
  ]
1477
1472
 
1478
1473
  return self.api_client.param_serialize(
1479
1474
  method='PUT',
1480
- resource_path='/core/virtual-machines/{id}/update-callback',
1475
+ resource_path='/core/virtual-machines/{vm_id}/update-callback',
1481
1476
  path_params=_path_params,
1482
1477
  query_params=_query_params,
1483
1478
  header_params=_header_params,
@@ -1496,7 +1491,7 @@ class CallbacksApi:
1496
1491
  @validate_call
1497
1492
  def update_volume_callback(
1498
1493
  self,
1499
- id: StrictInt,
1494
+ volume_id: StrictInt,
1500
1495
  payload: AttachCallbackPayload,
1501
1496
  _request_timeout: Union[
1502
1497
  None,
@@ -1513,10 +1508,10 @@ class CallbacksApi:
1513
1508
  ) -> AttachCallbackResponse:
1514
1509
  """Update volume callback
1515
1510
 
1516
- Updates the callback URL for a specified volume. Provide the new callback URL in the request body, along with the ID of the associated volume in the path. For additional information on volume callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
1511
+ Updates the callback URL for a specified volume. Provide the new callback URL in the request body, along with the ID of the associated volume in the path. For additional information on volume callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/volumes/volume-callbacks/update-callback-volume/).
1517
1512
 
1518
- :param id: (required)
1519
- :type id: int
1513
+ :param volume_id: (required)
1514
+ :type volume_id: int
1520
1515
  :param payload: (required)
1521
1516
  :type payload: AttachCallbackPayload
1522
1517
  :param _request_timeout: timeout setting for this request. If one
@@ -1542,7 +1537,7 @@ class CallbacksApi:
1542
1537
  """ # noqa: E501
1543
1538
 
1544
1539
  _param = self._update_volume_callback_serialize(
1545
- id=id,
1540
+ volume_id=volume_id,
1546
1541
  payload=payload,
1547
1542
  _request_auth=_request_auth,
1548
1543
  _content_type=_content_type,
@@ -1571,7 +1566,7 @@ class CallbacksApi:
1571
1566
  @validate_call
1572
1567
  def update_volume_callback_with_http_info(
1573
1568
  self,
1574
- id: StrictInt,
1569
+ volume_id: StrictInt,
1575
1570
  payload: AttachCallbackPayload,
1576
1571
  _request_timeout: Union[
1577
1572
  None,
@@ -1588,10 +1583,10 @@ class CallbacksApi:
1588
1583
  ) -> ApiResponse[AttachCallbackResponse]:
1589
1584
  """Update volume callback
1590
1585
 
1591
- Updates the callback URL for a specified volume. Provide the new callback URL in the request body, along with the ID of the associated volume in the path. For additional information on volume callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
1586
+ Updates the callback URL for a specified volume. Provide the new callback URL in the request body, along with the ID of the associated volume in the path. For additional information on volume callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/volumes/volume-callbacks/update-callback-volume/).
1592
1587
 
1593
- :param id: (required)
1594
- :type id: int
1588
+ :param volume_id: (required)
1589
+ :type volume_id: int
1595
1590
  :param payload: (required)
1596
1591
  :type payload: AttachCallbackPayload
1597
1592
  :param _request_timeout: timeout setting for this request. If one
@@ -1617,7 +1612,7 @@ class CallbacksApi:
1617
1612
  """ # noqa: E501
1618
1613
 
1619
1614
  _param = self._update_volume_callback_serialize(
1620
- id=id,
1615
+ volume_id=volume_id,
1621
1616
  payload=payload,
1622
1617
  _request_auth=_request_auth,
1623
1618
  _content_type=_content_type,
@@ -1646,7 +1641,7 @@ class CallbacksApi:
1646
1641
  @validate_call
1647
1642
  def update_volume_callback_without_preload_content(
1648
1643
  self,
1649
- id: StrictInt,
1644
+ volume_id: StrictInt,
1650
1645
  payload: AttachCallbackPayload,
1651
1646
  _request_timeout: Union[
1652
1647
  None,
@@ -1663,10 +1658,10 @@ class CallbacksApi:
1663
1658
  ) -> RESTResponseType:
1664
1659
  """Update volume callback
1665
1660
 
1666
- Updates the callback URL for a specified volume. Provide the new callback URL in the request body, along with the ID of the associated volume in the path. For additional information on volume callback URLs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/features/webhooks-callbacks).
1661
+ Updates the callback URL for a specified volume. Provide the new callback URL in the request body, along with the ID of the associated volume in the path. For additional information on volume callback URLs, [**click here**](https://docs...cloud/docs/api-reference/core-resources/volumes/volume-callbacks/update-callback-volume/).
1667
1662
 
1668
- :param id: (required)
1669
- :type id: int
1663
+ :param volume_id: (required)
1664
+ :type volume_id: int
1670
1665
  :param payload: (required)
1671
1666
  :type payload: AttachCallbackPayload
1672
1667
  :param _request_timeout: timeout setting for this request. If one
@@ -1692,7 +1687,7 @@ class CallbacksApi:
1692
1687
  """ # noqa: E501
1693
1688
 
1694
1689
  _param = self._update_volume_callback_serialize(
1695
- id=id,
1690
+ volume_id=volume_id,
1696
1691
  payload=payload,
1697
1692
  _request_auth=_request_auth,
1698
1693
  _content_type=_content_type,
@@ -1716,7 +1711,7 @@ class CallbacksApi:
1716
1711
 
1717
1712
  def _update_volume_callback_serialize(
1718
1713
  self,
1719
- id,
1714
+ volume_id,
1720
1715
  payload,
1721
1716
  _request_auth,
1722
1717
  _content_type,
@@ -1739,8 +1734,8 @@ class CallbacksApi:
1739
1734
  _body_params: Optional[bytes] = None
1740
1735
 
1741
1736
  # process the path parameters
1742
- if id is not None:
1743
- _path_params['id'] = id
1737
+ if volume_id is not None:
1738
+ _path_params['volume_id'] = volume_id
1744
1739
  # process the query parameters
1745
1740
  # process the header parameters
1746
1741
  # process the form parameters
@@ -1773,13 +1768,12 @@ class CallbacksApi:
1773
1768
 
1774
1769
  # authentication setting
1775
1770
  _auth_settings: List[str] = [
1776
- 'apiKey',
1777
- 'accessToken'
1771
+ 'apiKey'
1778
1772
  ]
1779
1773
 
1780
1774
  return self.api_client.param_serialize(
1781
1775
  method='PUT',
1782
- resource_path='/core/volumes/{id}/update-callback',
1776
+ resource_path='/core/volumes/{volume_id}/update-callback',
1783
1777
  path_params=_path_params,
1784
1778
  query_params=_query_params,
1785
1779
  header_params=_header_params,