hyperstack 1.41.0a0__py3-none-any.whl → 1.42.0a0__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.
hyperstack/__init__.py CHANGED
@@ -14,13 +14,14 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "v1.41.0-alpha"
17
+ __version__ = "v1.42.0-alpha"
18
18
 
19
19
  # import apis into sdk package
20
20
  from .api.calculate_api import CalculateApi
21
21
  from .api.customer_contract_api import CustomerContractApi
22
22
  from .api.pricebook_api import PricebookApi
23
23
  from .api.snapshots_api import SnapshotsApi
24
+ from .api.admin_api import AdminApi
24
25
  from .api.alive_api import AliveApi
25
26
  from .api.api_key_api import ApiKeyApi
26
27
  from .api.assigning_member_role_api import AssigningMemberRoleApi
@@ -229,6 +230,7 @@ from .models.last_day_cost_response import LastDayCostResponse
229
230
  from .models.logos import Logos
230
231
  from .models.mfa_status_fields import MFAStatusFields
231
232
  from .models.mfa_status_response import MFAStatusResponse
233
+ from .models.manual_reconciliation_model import ManualReconciliationModel
232
234
  from .models.master_flavors_response import MasterFlavorsResponse
233
235
  from .models.metric_item_fields import MetricItemFields
234
236
  from .models.metrics_fields import MetricsFields
@@ -5,6 +5,7 @@ from .calculate_api import CalculateApi
5
5
  from .customer_contract_api import CustomerContractApi
6
6
  from .pricebook_api import PricebookApi
7
7
  from .snapshots_api import SnapshotsApi
8
+ from .admin_api import AdminApi
8
9
  from .alive_api import AliveApi
9
10
  from .api_key_api import ApiKeyApi
10
11
  from .assigning_member_role_api import AssigningMemberRoleApi
@@ -0,0 +1,297 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Infrahub-API
5
+
6
+ Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ import warnings
15
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
+ from typing import Any, Dict, List, Optional, Tuple, Union
17
+ from typing_extensions import Annotated
18
+
19
+ from ..models.common_response_model import CommonResponseModel
20
+
21
+ from ..api_client import ApiClient, RequestSerialized
22
+ from ..api_response import ApiResponse
23
+ from ..rest import RESTResponseType
24
+
25
+
26
+ class AdminApi:
27
+ """NOTE: This class is auto generated by OpenAPI Generator
28
+ Ref: https://openapi-generator.tech
29
+
30
+ Do not edit the class manually.
31
+ """
32
+
33
+ def __init__(self, api_client=None) -> None:
34
+ if api_client is None:
35
+ api_client = ApiClient.get_default()
36
+ self.api_client = api_client
37
+
38
+
39
+ @validate_call
40
+ def send_password_change_notification_email(
41
+ self,
42
+ _request_timeout: Union[
43
+ None,
44
+ Annotated[StrictFloat, Field(gt=0)],
45
+ Tuple[
46
+ Annotated[StrictFloat, Field(gt=0)],
47
+ Annotated[StrictFloat, Field(gt=0)]
48
+ ]
49
+ ] = None,
50
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
51
+ _content_type: Optional[StrictStr] = None,
52
+ _headers: Optional[Dict[StrictStr, Any]] = None,
53
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
54
+ ) -> CommonResponseModel:
55
+ """Send Password Change Notification Email
56
+
57
+ Send a password change notification email to a user
58
+
59
+ :param _request_timeout: timeout setting for this request. If one
60
+ number provided, it will be total request
61
+ timeout. It can also be a pair (tuple) of
62
+ (connection, read) timeouts.
63
+ :type _request_timeout: int, tuple(int, int), optional
64
+ :param _request_auth: set to override the auth_settings for an a single
65
+ request; this effectively ignores the
66
+ authentication in the spec for a single request.
67
+ :type _request_auth: dict, optional
68
+ :param _content_type: force content-type for the request.
69
+ :type _content_type: str, Optional
70
+ :param _headers: set to override the headers for a single
71
+ request; this effectively ignores the headers
72
+ in the spec for a single request.
73
+ :type _headers: dict, optional
74
+ :param _host_index: set to override the host_index for a single
75
+ request; this effectively ignores the host_index
76
+ in the spec for a single request.
77
+ :type _host_index: int, optional
78
+ :return: Returns the result object.
79
+ """ # noqa: E501
80
+
81
+ _param = self._send_password_change_notification_email_serialize(
82
+ _request_auth=_request_auth,
83
+ _content_type=_content_type,
84
+ _headers=_headers,
85
+ _host_index=_host_index
86
+ )
87
+
88
+ _response_types_map: Dict[str, Optional[str]] = {
89
+ '200': "CommonResponseModel",
90
+ '400': "ErrorResponseModel",
91
+ '401': "ErrorResponseModel",
92
+ '404': "ErrorResponseModel",
93
+ '405': "ErrorResponseModel",
94
+ '500': "ErrorResponseModel",
95
+ }
96
+ response_data = self.api_client.call_api(
97
+ *_param,
98
+ _request_timeout=_request_timeout
99
+ )
100
+ response_data.read()
101
+ return self.api_client.response_deserialize(
102
+ response_data=response_data,
103
+ response_types_map=_response_types_map,
104
+ ).data
105
+
106
+
107
+ @validate_call
108
+ def send_password_change_notification_email_with_http_info(
109
+ self,
110
+ _request_timeout: Union[
111
+ None,
112
+ Annotated[StrictFloat, Field(gt=0)],
113
+ Tuple[
114
+ Annotated[StrictFloat, Field(gt=0)],
115
+ Annotated[StrictFloat, Field(gt=0)]
116
+ ]
117
+ ] = None,
118
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
119
+ _content_type: Optional[StrictStr] = None,
120
+ _headers: Optional[Dict[StrictStr, Any]] = None,
121
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
122
+ ) -> ApiResponse[CommonResponseModel]:
123
+ """Send Password Change Notification Email
124
+
125
+ Send a password change notification email to a user
126
+
127
+ :param _request_timeout: timeout setting for this request. If one
128
+ number provided, it will be total request
129
+ timeout. It can also be a pair (tuple) of
130
+ (connection, read) timeouts.
131
+ :type _request_timeout: int, tuple(int, int), optional
132
+ :param _request_auth: set to override the auth_settings for an a single
133
+ request; this effectively ignores the
134
+ authentication in the spec for a single request.
135
+ :type _request_auth: dict, optional
136
+ :param _content_type: force content-type for the request.
137
+ :type _content_type: str, Optional
138
+ :param _headers: set to override the headers for a single
139
+ request; this effectively ignores the headers
140
+ in the spec for a single request.
141
+ :type _headers: dict, optional
142
+ :param _host_index: set to override the host_index for a single
143
+ request; this effectively ignores the host_index
144
+ in the spec for a single request.
145
+ :type _host_index: int, optional
146
+ :return: Returns the result object.
147
+ """ # noqa: E501
148
+
149
+ _param = self._send_password_change_notification_email_serialize(
150
+ _request_auth=_request_auth,
151
+ _content_type=_content_type,
152
+ _headers=_headers,
153
+ _host_index=_host_index
154
+ )
155
+
156
+ _response_types_map: Dict[str, Optional[str]] = {
157
+ '200': "CommonResponseModel",
158
+ '400': "ErrorResponseModel",
159
+ '401': "ErrorResponseModel",
160
+ '404': "ErrorResponseModel",
161
+ '405': "ErrorResponseModel",
162
+ '500': "ErrorResponseModel",
163
+ }
164
+ response_data = self.api_client.call_api(
165
+ *_param,
166
+ _request_timeout=_request_timeout
167
+ )
168
+ response_data.read()
169
+ return self.api_client.response_deserialize(
170
+ response_data=response_data,
171
+ response_types_map=_response_types_map,
172
+ )
173
+
174
+
175
+ @validate_call
176
+ def send_password_change_notification_email_without_preload_content(
177
+ self,
178
+ _request_timeout: Union[
179
+ None,
180
+ Annotated[StrictFloat, Field(gt=0)],
181
+ Tuple[
182
+ Annotated[StrictFloat, Field(gt=0)],
183
+ Annotated[StrictFloat, Field(gt=0)]
184
+ ]
185
+ ] = None,
186
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
187
+ _content_type: Optional[StrictStr] = None,
188
+ _headers: Optional[Dict[StrictStr, Any]] = None,
189
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
190
+ ) -> RESTResponseType:
191
+ """Send Password Change Notification Email
192
+
193
+ Send a password change notification email to a user
194
+
195
+ :param _request_timeout: timeout setting for this request. If one
196
+ number provided, it will be total request
197
+ timeout. It can also be a pair (tuple) of
198
+ (connection, read) timeouts.
199
+ :type _request_timeout: int, tuple(int, int), optional
200
+ :param _request_auth: set to override the auth_settings for an a single
201
+ request; this effectively ignores the
202
+ authentication in the spec for a single request.
203
+ :type _request_auth: dict, optional
204
+ :param _content_type: force content-type for the request.
205
+ :type _content_type: str, Optional
206
+ :param _headers: set to override the headers for a single
207
+ request; this effectively ignores the headers
208
+ in the spec for a single request.
209
+ :type _headers: dict, optional
210
+ :param _host_index: set to override the host_index for a single
211
+ request; this effectively ignores the host_index
212
+ in the spec for a single request.
213
+ :type _host_index: int, optional
214
+ :return: Returns the result object.
215
+ """ # noqa: E501
216
+
217
+ _param = self._send_password_change_notification_email_serialize(
218
+ _request_auth=_request_auth,
219
+ _content_type=_content_type,
220
+ _headers=_headers,
221
+ _host_index=_host_index
222
+ )
223
+
224
+ _response_types_map: Dict[str, Optional[str]] = {
225
+ '200': "CommonResponseModel",
226
+ '400': "ErrorResponseModel",
227
+ '401': "ErrorResponseModel",
228
+ '404': "ErrorResponseModel",
229
+ '405': "ErrorResponseModel",
230
+ '500': "ErrorResponseModel",
231
+ }
232
+ response_data = self.api_client.call_api(
233
+ *_param,
234
+ _request_timeout=_request_timeout
235
+ )
236
+ return response_data.response
237
+
238
+
239
+ def _send_password_change_notification_email_serialize(
240
+ self,
241
+ _request_auth,
242
+ _content_type,
243
+ _headers,
244
+ _host_index,
245
+ ) -> RequestSerialized:
246
+
247
+ _host = None
248
+
249
+ _collection_formats: Dict[str, str] = {
250
+ }
251
+
252
+ _path_params: Dict[str, str] = {}
253
+ _query_params: List[Tuple[str, str]] = []
254
+ _header_params: Dict[str, Optional[str]] = _headers or {}
255
+ _form_params: List[Tuple[str, str]] = []
256
+ _files: Dict[
257
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
258
+ ] = {}
259
+ _body_params: Optional[bytes] = None
260
+
261
+ # process the path parameters
262
+ # process the query parameters
263
+ # process the header parameters
264
+ # process the form parameters
265
+ # process the body parameter
266
+
267
+
268
+ # set the HTTP header `Accept`
269
+ if 'Accept' not in _header_params:
270
+ _header_params['Accept'] = self.api_client.select_header_accept(
271
+ [
272
+ 'application/json'
273
+ ]
274
+ )
275
+
276
+
277
+ # authentication setting
278
+ _auth_settings: List[str] = [
279
+ 'apiKey'
280
+ ]
281
+
282
+ return self.api_client.param_serialize(
283
+ method='POST',
284
+ resource_path='/auth/admin/password-change-mail',
285
+ path_params=_path_params,
286
+ query_params=_query_params,
287
+ header_params=_header_params,
288
+ body=_body_params,
289
+ post_params=_form_params,
290
+ files=_files,
291
+ auth_settings=_auth_settings,
292
+ collection_formats=_collection_formats,
293
+ _host=_host,
294
+ _request_auth=_request_auth
295
+ )
296
+
297
+
@@ -29,6 +29,7 @@ from ..models.cluster_versions import ClusterVersions
29
29
  from ..models.create_cluster_node_fields import CreateClusterNodeFields
30
30
  from ..models.create_cluster_node_group_payload import CreateClusterNodeGroupPayload
31
31
  from ..models.create_cluster_payload import CreateClusterPayload
32
+ from ..models.manual_reconciliation_model import ManualReconciliationModel
32
33
  from ..models.master_flavors_response import MasterFlavorsResponse
33
34
  from ..models.name_available_model import NameAvailableModel
34
35
  from ..models.response_model import ResponseModel
@@ -51,6 +52,276 @@ class ClustersApi:
51
52
  self.api_client = api_client
52
53
 
53
54
 
55
+ @validate_call
56
+ def attempt_to_manually_reconcile_a_cluster(
57
+ self,
58
+ cluster_id: StrictInt,
59
+ _request_timeout: Union[
60
+ None,
61
+ Annotated[StrictFloat, Field(gt=0)],
62
+ Tuple[
63
+ Annotated[StrictFloat, Field(gt=0)],
64
+ Annotated[StrictFloat, Field(gt=0)]
65
+ ]
66
+ ] = None,
67
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
68
+ _content_type: Optional[StrictStr] = None,
69
+ _headers: Optional[Dict[StrictStr, Any]] = None,
70
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
71
+ ) -> ManualReconciliationModel:
72
+ """Reconcile a cluster
73
+
74
+
75
+ :param cluster_id: (required)
76
+ :type cluster_id: int
77
+ :param _request_timeout: timeout setting for this request. If one
78
+ number provided, it will be total request
79
+ timeout. It can also be a pair (tuple) of
80
+ (connection, read) timeouts.
81
+ :type _request_timeout: int, tuple(int, int), optional
82
+ :param _request_auth: set to override the auth_settings for an a single
83
+ request; this effectively ignores the
84
+ authentication in the spec for a single request.
85
+ :type _request_auth: dict, optional
86
+ :param _content_type: force content-type for the request.
87
+ :type _content_type: str, Optional
88
+ :param _headers: set to override the headers for a single
89
+ request; this effectively ignores the headers
90
+ in the spec for a single request.
91
+ :type _headers: dict, optional
92
+ :param _host_index: set to override the host_index for a single
93
+ request; this effectively ignores the host_index
94
+ in the spec for a single request.
95
+ :type _host_index: int, optional
96
+ :return: Returns the result object.
97
+ """ # noqa: E501
98
+
99
+ _param = self._attempt_to_manually_reconcile_a_cluster_serialize(
100
+ cluster_id=cluster_id,
101
+ _request_auth=_request_auth,
102
+ _content_type=_content_type,
103
+ _headers=_headers,
104
+ _host_index=_host_index
105
+ )
106
+
107
+ _response_types_map: Dict[str, Optional[str]] = {
108
+ '200': "ManualReconciliationModel",
109
+ '400': "ErrorResponseModel",
110
+ '401': "ErrorResponseModel",
111
+ '404': "ErrorResponseModel",
112
+ '500': None,
113
+ }
114
+ response_data = self.api_client.call_api(
115
+ *_param,
116
+ _request_timeout=_request_timeout
117
+ )
118
+ response_data.read()
119
+ return self.api_client.response_deserialize(
120
+ response_data=response_data,
121
+ response_types_map=_response_types_map,
122
+ ).data
123
+
124
+
125
+ @validate_call
126
+ def attempt_to_manually_reconcile_a_cluster_with_http_info(
127
+ self,
128
+ cluster_id: StrictInt,
129
+ _request_timeout: Union[
130
+ None,
131
+ Annotated[StrictFloat, Field(gt=0)],
132
+ Tuple[
133
+ Annotated[StrictFloat, Field(gt=0)],
134
+ Annotated[StrictFloat, Field(gt=0)]
135
+ ]
136
+ ] = None,
137
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
138
+ _content_type: Optional[StrictStr] = None,
139
+ _headers: Optional[Dict[StrictStr, Any]] = None,
140
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
141
+ ) -> ApiResponse[ManualReconciliationModel]:
142
+ """Reconcile a cluster
143
+
144
+
145
+ :param cluster_id: (required)
146
+ :type cluster_id: int
147
+ :param _request_timeout: timeout setting for this request. If one
148
+ number provided, it will be total request
149
+ timeout. It can also be a pair (tuple) of
150
+ (connection, read) timeouts.
151
+ :type _request_timeout: int, tuple(int, int), optional
152
+ :param _request_auth: set to override the auth_settings for an a single
153
+ request; this effectively ignores the
154
+ authentication in the spec for a single request.
155
+ :type _request_auth: dict, optional
156
+ :param _content_type: force content-type for the request.
157
+ :type _content_type: str, Optional
158
+ :param _headers: set to override the headers for a single
159
+ request; this effectively ignores the headers
160
+ in the spec for a single request.
161
+ :type _headers: dict, optional
162
+ :param _host_index: set to override the host_index for a single
163
+ request; this effectively ignores the host_index
164
+ in the spec for a single request.
165
+ :type _host_index: int, optional
166
+ :return: Returns the result object.
167
+ """ # noqa: E501
168
+
169
+ _param = self._attempt_to_manually_reconcile_a_cluster_serialize(
170
+ cluster_id=cluster_id,
171
+ _request_auth=_request_auth,
172
+ _content_type=_content_type,
173
+ _headers=_headers,
174
+ _host_index=_host_index
175
+ )
176
+
177
+ _response_types_map: Dict[str, Optional[str]] = {
178
+ '200': "ManualReconciliationModel",
179
+ '400': "ErrorResponseModel",
180
+ '401': "ErrorResponseModel",
181
+ '404': "ErrorResponseModel",
182
+ '500': None,
183
+ }
184
+ response_data = self.api_client.call_api(
185
+ *_param,
186
+ _request_timeout=_request_timeout
187
+ )
188
+ response_data.read()
189
+ return self.api_client.response_deserialize(
190
+ response_data=response_data,
191
+ response_types_map=_response_types_map,
192
+ )
193
+
194
+
195
+ @validate_call
196
+ def attempt_to_manually_reconcile_a_cluster_without_preload_content(
197
+ self,
198
+ cluster_id: StrictInt,
199
+ _request_timeout: Union[
200
+ None,
201
+ Annotated[StrictFloat, Field(gt=0)],
202
+ Tuple[
203
+ Annotated[StrictFloat, Field(gt=0)],
204
+ Annotated[StrictFloat, Field(gt=0)]
205
+ ]
206
+ ] = None,
207
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
208
+ _content_type: Optional[StrictStr] = None,
209
+ _headers: Optional[Dict[StrictStr, Any]] = None,
210
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
211
+ ) -> RESTResponseType:
212
+ """Reconcile a cluster
213
+
214
+
215
+ :param cluster_id: (required)
216
+ :type cluster_id: int
217
+ :param _request_timeout: timeout setting for this request. If one
218
+ number provided, it will be total request
219
+ timeout. It can also be a pair (tuple) of
220
+ (connection, read) timeouts.
221
+ :type _request_timeout: int, tuple(int, int), optional
222
+ :param _request_auth: set to override the auth_settings for an a single
223
+ request; this effectively ignores the
224
+ authentication in the spec for a single request.
225
+ :type _request_auth: dict, optional
226
+ :param _content_type: force content-type for the request.
227
+ :type _content_type: str, Optional
228
+ :param _headers: set to override the headers for a single
229
+ request; this effectively ignores the headers
230
+ in the spec for a single request.
231
+ :type _headers: dict, optional
232
+ :param _host_index: set to override the host_index for a single
233
+ request; this effectively ignores the host_index
234
+ in the spec for a single request.
235
+ :type _host_index: int, optional
236
+ :return: Returns the result object.
237
+ """ # noqa: E501
238
+
239
+ _param = self._attempt_to_manually_reconcile_a_cluster_serialize(
240
+ cluster_id=cluster_id,
241
+ _request_auth=_request_auth,
242
+ _content_type=_content_type,
243
+ _headers=_headers,
244
+ _host_index=_host_index
245
+ )
246
+
247
+ _response_types_map: Dict[str, Optional[str]] = {
248
+ '200': "ManualReconciliationModel",
249
+ '400': "ErrorResponseModel",
250
+ '401': "ErrorResponseModel",
251
+ '404': "ErrorResponseModel",
252
+ '500': None,
253
+ }
254
+ response_data = self.api_client.call_api(
255
+ *_param,
256
+ _request_timeout=_request_timeout
257
+ )
258
+ return response_data.response
259
+
260
+
261
+ def _attempt_to_manually_reconcile_a_cluster_serialize(
262
+ self,
263
+ cluster_id,
264
+ _request_auth,
265
+ _content_type,
266
+ _headers,
267
+ _host_index,
268
+ ) -> RequestSerialized:
269
+
270
+ _host = None
271
+
272
+ _collection_formats: Dict[str, str] = {
273
+ }
274
+
275
+ _path_params: Dict[str, str] = {}
276
+ _query_params: List[Tuple[str, str]] = []
277
+ _header_params: Dict[str, Optional[str]] = _headers or {}
278
+ _form_params: List[Tuple[str, str]] = []
279
+ _files: Dict[
280
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
281
+ ] = {}
282
+ _body_params: Optional[bytes] = None
283
+
284
+ # process the path parameters
285
+ if cluster_id is not None:
286
+ _path_params['cluster_id'] = cluster_id
287
+ # process the query parameters
288
+ # process the header parameters
289
+ # process the form parameters
290
+ # process the body parameter
291
+
292
+
293
+ # set the HTTP header `Accept`
294
+ if 'Accept' not in _header_params:
295
+ _header_params['Accept'] = self.api_client.select_header_accept(
296
+ [
297
+ 'application/json'
298
+ ]
299
+ )
300
+
301
+
302
+ # authentication setting
303
+ _auth_settings: List[str] = [
304
+ 'apiKey'
305
+ ]
306
+
307
+ return self.api_client.param_serialize(
308
+ method='POST',
309
+ resource_path='/core/clusters/{cluster_id}/reconcile',
310
+ path_params=_path_params,
311
+ query_params=_query_params,
312
+ header_params=_header_params,
313
+ body=_body_params,
314
+ post_params=_form_params,
315
+ files=_files,
316
+ auth_settings=_auth_settings,
317
+ collection_formats=_collection_formats,
318
+ _host=_host,
319
+ _request_auth=_request_auth
320
+ )
321
+
322
+
323
+
324
+
54
325
  @validate_call
55
326
  def create_cluster(
56
327
  self,
@@ -39,7 +39,7 @@ class FirewallAttachmentApi:
39
39
 
40
40
 
41
41
  @validate_call
42
- def post_attach_security_groups(
42
+ def attach_firewall_to_virtual_machines(
43
43
  self,
44
44
  firewall_id: StrictInt,
45
45
  payload: AttachFirewallWithVM,
@@ -86,7 +86,7 @@ class FirewallAttachmentApi:
86
86
  :return: Returns the result object.
87
87
  """ # noqa: E501
88
88
 
89
- _param = self._post_attach_security_groups_serialize(
89
+ _param = self._attach_firewall_to_virtual_machines_serialize(
90
90
  firewall_id=firewall_id,
91
91
  payload=payload,
92
92
  _request_auth=_request_auth,
@@ -116,7 +116,7 @@ class FirewallAttachmentApi:
116
116
 
117
117
 
118
118
  @validate_call
119
- def post_attach_security_groups_with_http_info(
119
+ def attach_firewall_to_virtual_machines_with_http_info(
120
120
  self,
121
121
  firewall_id: StrictInt,
122
122
  payload: AttachFirewallWithVM,
@@ -163,7 +163,7 @@ class FirewallAttachmentApi:
163
163
  :return: Returns the result object.
164
164
  """ # noqa: E501
165
165
 
166
- _param = self._post_attach_security_groups_serialize(
166
+ _param = self._attach_firewall_to_virtual_machines_serialize(
167
167
  firewall_id=firewall_id,
168
168
  payload=payload,
169
169
  _request_auth=_request_auth,
@@ -193,7 +193,7 @@ class FirewallAttachmentApi:
193
193
 
194
194
 
195
195
  @validate_call
196
- def post_attach_security_groups_without_preload_content(
196
+ def attach_firewall_to_virtual_machines_without_preload_content(
197
197
  self,
198
198
  firewall_id: StrictInt,
199
199
  payload: AttachFirewallWithVM,
@@ -240,7 +240,7 @@ class FirewallAttachmentApi:
240
240
  :return: Returns the result object.
241
241
  """ # noqa: E501
242
242
 
243
- _param = self._post_attach_security_groups_serialize(
243
+ _param = self._attach_firewall_to_virtual_machines_serialize(
244
244
  firewall_id=firewall_id,
245
245
  payload=payload,
246
246
  _request_auth=_request_auth,
@@ -265,7 +265,7 @@ class FirewallAttachmentApi:
265
265
  return response_data.response
266
266
 
267
267
 
268
- def _post_attach_security_groups_serialize(
268
+ def _attach_firewall_to_virtual_machines_serialize(
269
269
  self,
270
270
  firewall_id,
271
271
  payload,