hyperstack 1.43.0a0__py3-none-any.whl → 1.46.1a0__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 +7 -2
- hyperstack/api/__init__.py +2 -1
- hyperstack/api/alive_api.py +10 -10
- hyperstack/api/api_key_api.py +7 -7
- hyperstack/api/auth_api.py +69 -69
- hyperstack/api/beta_access_api.py +50 -50
- hyperstack/api/billing_api.py +1659 -1659
- hyperstack/api/calculate_api.py +7 -7
- hyperstack/api/callbacks_api.py +21 -21
- hyperstack/api/cluster_events_api.py +7 -7
- hyperstack/api/clusters_api.py +669 -370
- hyperstack/api/compliance_api.py +21 -21
- hyperstack/api/credit_api.py +7 -7
- hyperstack/api/customer_contract_api.py +139 -139
- hyperstack/api/dashboard_api.py +7 -7
- hyperstack/api/deployment_api.py +7 -7
- hyperstack/api/environment_api.py +107 -107
- hyperstack/api/{admin_api.py → fip_exclusions_api.py} +44 -28
- hyperstack/api/firewall_attachment_api.py +7 -7
- hyperstack/api/firewalls_api.py +145 -145
- hyperstack/api/floating_ip_api.py +14 -14
- hyperstack/api/image_api.py +14 -14
- hyperstack/api/payment_api.py +102 -102
- hyperstack/api/profile_api.py +56 -56
- hyperstack/api/snapshot_events_api.py +7 -7
- hyperstack/api/snapshots_api.py +167 -167
- hyperstack/api/stock_api.py +7 -7
- hyperstack/api/template_api.py +76 -76
- hyperstack/api/user_api.py +76 -76
- hyperstack/api/user_detail_choice_api.py +10 -10
- hyperstack/api/virtual_machine_api.py +799 -782
- hyperstack/api/virtual_machine_events_api.py +7 -7
- hyperstack/api/vnc_url_api.py +53 -53
- hyperstack/api/volume_api.py +77 -77
- hyperstack/api/volume_attachment_api.py +21 -21
- hyperstack/api/vouchers_api.py +326 -0
- hyperstack/api_client.py +1 -1
- hyperstack/configuration.py +1 -1
- hyperstack/models/__init__.py +4 -0
- hyperstack/models/delete_cluster_nodes_fields.py +87 -0
- hyperstack/models/redeem_voucher_payload.py +87 -0
- hyperstack/models/voucher.py +91 -0
- hyperstack/models/voucher_redeem_response_schema.py +95 -0
- {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/METADATA +1 -1
- {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/RECORD +47 -42
- {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/WHEEL +0 -0
- {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/top_level.txt +0 -0
hyperstack/api/calculate_api.py
CHANGED
|
@@ -38,7 +38,7 @@ class CalculateApi:
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
@validate_call
|
|
41
|
-
def
|
|
41
|
+
def calculate_resource_billing_rate(
|
|
42
42
|
self,
|
|
43
43
|
resource_type: StrictStr,
|
|
44
44
|
id: StrictInt,
|
|
@@ -85,7 +85,7 @@ class CalculateApi:
|
|
|
85
85
|
:return: Returns the result object.
|
|
86
86
|
""" # noqa: E501
|
|
87
87
|
|
|
88
|
-
_param = self.
|
|
88
|
+
_param = self._calculate_resource_billing_rate_serialize(
|
|
89
89
|
resource_type=resource_type,
|
|
90
90
|
id=id,
|
|
91
91
|
_request_auth=_request_auth,
|
|
@@ -113,7 +113,7 @@ class CalculateApi:
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
@validate_call
|
|
116
|
-
def
|
|
116
|
+
def calculate_resource_billing_rate_with_http_info(
|
|
117
117
|
self,
|
|
118
118
|
resource_type: StrictStr,
|
|
119
119
|
id: StrictInt,
|
|
@@ -160,7 +160,7 @@ class CalculateApi:
|
|
|
160
160
|
:return: Returns the result object.
|
|
161
161
|
""" # noqa: E501
|
|
162
162
|
|
|
163
|
-
_param = self.
|
|
163
|
+
_param = self._calculate_resource_billing_rate_serialize(
|
|
164
164
|
resource_type=resource_type,
|
|
165
165
|
id=id,
|
|
166
166
|
_request_auth=_request_auth,
|
|
@@ -188,7 +188,7 @@ class CalculateApi:
|
|
|
188
188
|
|
|
189
189
|
|
|
190
190
|
@validate_call
|
|
191
|
-
def
|
|
191
|
+
def calculate_resource_billing_rate_without_preload_content(
|
|
192
192
|
self,
|
|
193
193
|
resource_type: StrictStr,
|
|
194
194
|
id: StrictInt,
|
|
@@ -235,7 +235,7 @@ class CalculateApi:
|
|
|
235
235
|
:return: Returns the result object.
|
|
236
236
|
""" # noqa: E501
|
|
237
237
|
|
|
238
|
-
_param = self.
|
|
238
|
+
_param = self._calculate_resource_billing_rate_serialize(
|
|
239
239
|
resource_type=resource_type,
|
|
240
240
|
id=id,
|
|
241
241
|
_request_auth=_request_auth,
|
|
@@ -258,7 +258,7 @@ class CalculateApi:
|
|
|
258
258
|
return response_data.response
|
|
259
259
|
|
|
260
260
|
|
|
261
|
-
def
|
|
261
|
+
def _calculate_resource_billing_rate_serialize(
|
|
262
262
|
self,
|
|
263
263
|
resource_type,
|
|
264
264
|
id,
|
hyperstack/api/callbacks_api.py
CHANGED
|
@@ -40,7 +40,7 @@ class CallbacksApi:
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
@validate_call
|
|
43
|
-
def
|
|
43
|
+
def attach_callback_to_vm(
|
|
44
44
|
self,
|
|
45
45
|
vm_id: StrictInt,
|
|
46
46
|
payload: AttachCallbackPayload,
|
|
@@ -87,7 +87,7 @@ class CallbacksApi:
|
|
|
87
87
|
:return: Returns the result object.
|
|
88
88
|
""" # noqa: E501
|
|
89
89
|
|
|
90
|
-
_param = self.
|
|
90
|
+
_param = self._attach_callback_to_vm_serialize(
|
|
91
91
|
vm_id=vm_id,
|
|
92
92
|
payload=payload,
|
|
93
93
|
_request_auth=_request_auth,
|
|
@@ -115,7 +115,7 @@ class CallbacksApi:
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
@validate_call
|
|
118
|
-
def
|
|
118
|
+
def attach_callback_to_vm_with_http_info(
|
|
119
119
|
self,
|
|
120
120
|
vm_id: StrictInt,
|
|
121
121
|
payload: AttachCallbackPayload,
|
|
@@ -162,7 +162,7 @@ class CallbacksApi:
|
|
|
162
162
|
:return: Returns the result object.
|
|
163
163
|
""" # noqa: E501
|
|
164
164
|
|
|
165
|
-
_param = self.
|
|
165
|
+
_param = self._attach_callback_to_vm_serialize(
|
|
166
166
|
vm_id=vm_id,
|
|
167
167
|
payload=payload,
|
|
168
168
|
_request_auth=_request_auth,
|
|
@@ -190,7 +190,7 @@ class CallbacksApi:
|
|
|
190
190
|
|
|
191
191
|
|
|
192
192
|
@validate_call
|
|
193
|
-
def
|
|
193
|
+
def attach_callback_to_vm_without_preload_content(
|
|
194
194
|
self,
|
|
195
195
|
vm_id: StrictInt,
|
|
196
196
|
payload: AttachCallbackPayload,
|
|
@@ -237,7 +237,7 @@ class CallbacksApi:
|
|
|
237
237
|
:return: Returns the result object.
|
|
238
238
|
""" # noqa: E501
|
|
239
239
|
|
|
240
|
-
_param = self.
|
|
240
|
+
_param = self._attach_callback_to_vm_serialize(
|
|
241
241
|
vm_id=vm_id,
|
|
242
242
|
payload=payload,
|
|
243
243
|
_request_auth=_request_auth,
|
|
@@ -260,7 +260,7 @@ class CallbacksApi:
|
|
|
260
260
|
return response_data.response
|
|
261
261
|
|
|
262
262
|
|
|
263
|
-
def
|
|
263
|
+
def _attach_callback_to_vm_serialize(
|
|
264
264
|
self,
|
|
265
265
|
vm_id,
|
|
266
266
|
payload,
|
|
@@ -642,7 +642,7 @@ class CallbacksApi:
|
|
|
642
642
|
|
|
643
643
|
|
|
644
644
|
@validate_call
|
|
645
|
-
def
|
|
645
|
+
def delete_vm_callback(
|
|
646
646
|
self,
|
|
647
647
|
vm_id: StrictInt,
|
|
648
648
|
_request_timeout: Union[
|
|
@@ -686,7 +686,7 @@ class CallbacksApi:
|
|
|
686
686
|
:return: Returns the result object.
|
|
687
687
|
""" # noqa: E501
|
|
688
688
|
|
|
689
|
-
_param = self.
|
|
689
|
+
_param = self._delete_vm_callback_serialize(
|
|
690
690
|
vm_id=vm_id,
|
|
691
691
|
_request_auth=_request_auth,
|
|
692
692
|
_content_type=_content_type,
|
|
@@ -713,7 +713,7 @@ class CallbacksApi:
|
|
|
713
713
|
|
|
714
714
|
|
|
715
715
|
@validate_call
|
|
716
|
-
def
|
|
716
|
+
def delete_vm_callback_with_http_info(
|
|
717
717
|
self,
|
|
718
718
|
vm_id: StrictInt,
|
|
719
719
|
_request_timeout: Union[
|
|
@@ -757,7 +757,7 @@ class CallbacksApi:
|
|
|
757
757
|
:return: Returns the result object.
|
|
758
758
|
""" # noqa: E501
|
|
759
759
|
|
|
760
|
-
_param = self.
|
|
760
|
+
_param = self._delete_vm_callback_serialize(
|
|
761
761
|
vm_id=vm_id,
|
|
762
762
|
_request_auth=_request_auth,
|
|
763
763
|
_content_type=_content_type,
|
|
@@ -784,7 +784,7 @@ class CallbacksApi:
|
|
|
784
784
|
|
|
785
785
|
|
|
786
786
|
@validate_call
|
|
787
|
-
def
|
|
787
|
+
def delete_vm_callback_without_preload_content(
|
|
788
788
|
self,
|
|
789
789
|
vm_id: StrictInt,
|
|
790
790
|
_request_timeout: Union[
|
|
@@ -828,7 +828,7 @@ class CallbacksApi:
|
|
|
828
828
|
:return: Returns the result object.
|
|
829
829
|
""" # noqa: E501
|
|
830
830
|
|
|
831
|
-
_param = self.
|
|
831
|
+
_param = self._delete_vm_callback_serialize(
|
|
832
832
|
vm_id=vm_id,
|
|
833
833
|
_request_auth=_request_auth,
|
|
834
834
|
_content_type=_content_type,
|
|
@@ -850,7 +850,7 @@ class CallbacksApi:
|
|
|
850
850
|
return response_data.response
|
|
851
851
|
|
|
852
852
|
|
|
853
|
-
def
|
|
853
|
+
def _delete_vm_callback_serialize(
|
|
854
854
|
self,
|
|
855
855
|
vm_id,
|
|
856
856
|
_request_auth,
|
|
@@ -1188,7 +1188,7 @@ class CallbacksApi:
|
|
|
1188
1188
|
|
|
1189
1189
|
|
|
1190
1190
|
@validate_call
|
|
1191
|
-
def
|
|
1191
|
+
def update_vm_callback(
|
|
1192
1192
|
self,
|
|
1193
1193
|
vm_id: StrictInt,
|
|
1194
1194
|
payload: AttachCallbackPayload,
|
|
@@ -1235,7 +1235,7 @@ class CallbacksApi:
|
|
|
1235
1235
|
:return: Returns the result object.
|
|
1236
1236
|
""" # noqa: E501
|
|
1237
1237
|
|
|
1238
|
-
_param = self.
|
|
1238
|
+
_param = self._update_vm_callback_serialize(
|
|
1239
1239
|
vm_id=vm_id,
|
|
1240
1240
|
payload=payload,
|
|
1241
1241
|
_request_auth=_request_auth,
|
|
@@ -1263,7 +1263,7 @@ class CallbacksApi:
|
|
|
1263
1263
|
|
|
1264
1264
|
|
|
1265
1265
|
@validate_call
|
|
1266
|
-
def
|
|
1266
|
+
def update_vm_callback_with_http_info(
|
|
1267
1267
|
self,
|
|
1268
1268
|
vm_id: StrictInt,
|
|
1269
1269
|
payload: AttachCallbackPayload,
|
|
@@ -1310,7 +1310,7 @@ class CallbacksApi:
|
|
|
1310
1310
|
:return: Returns the result object.
|
|
1311
1311
|
""" # noqa: E501
|
|
1312
1312
|
|
|
1313
|
-
_param = self.
|
|
1313
|
+
_param = self._update_vm_callback_serialize(
|
|
1314
1314
|
vm_id=vm_id,
|
|
1315
1315
|
payload=payload,
|
|
1316
1316
|
_request_auth=_request_auth,
|
|
@@ -1338,7 +1338,7 @@ class CallbacksApi:
|
|
|
1338
1338
|
|
|
1339
1339
|
|
|
1340
1340
|
@validate_call
|
|
1341
|
-
def
|
|
1341
|
+
def update_vm_callback_without_preload_content(
|
|
1342
1342
|
self,
|
|
1343
1343
|
vm_id: StrictInt,
|
|
1344
1344
|
payload: AttachCallbackPayload,
|
|
@@ -1385,7 +1385,7 @@ class CallbacksApi:
|
|
|
1385
1385
|
:return: Returns the result object.
|
|
1386
1386
|
""" # noqa: E501
|
|
1387
1387
|
|
|
1388
|
-
_param = self.
|
|
1388
|
+
_param = self._update_vm_callback_serialize(
|
|
1389
1389
|
vm_id=vm_id,
|
|
1390
1390
|
payload=payload,
|
|
1391
1391
|
_request_auth=_request_auth,
|
|
@@ -1408,7 +1408,7 @@ class CallbacksApi:
|
|
|
1408
1408
|
return response_data.response
|
|
1409
1409
|
|
|
1410
1410
|
|
|
1411
|
-
def
|
|
1411
|
+
def _update_vm_callback_serialize(
|
|
1412
1412
|
self,
|
|
1413
1413
|
vm_id,
|
|
1414
1414
|
payload,
|
|
@@ -38,7 +38,7 @@ class ClusterEventsApi:
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
@validate_call
|
|
41
|
-
def
|
|
41
|
+
def list_cluster_events(
|
|
42
42
|
self,
|
|
43
43
|
cluster_id: StrictStr,
|
|
44
44
|
_request_timeout: Union[
|
|
@@ -81,7 +81,7 @@ class ClusterEventsApi:
|
|
|
81
81
|
:return: Returns the result object.
|
|
82
82
|
""" # noqa: E501
|
|
83
83
|
|
|
84
|
-
_param = self.
|
|
84
|
+
_param = self._list_cluster_events_serialize(
|
|
85
85
|
cluster_id=cluster_id,
|
|
86
86
|
_request_auth=_request_auth,
|
|
87
87
|
_content_type=_content_type,
|
|
@@ -108,7 +108,7 @@ class ClusterEventsApi:
|
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
@validate_call
|
|
111
|
-
def
|
|
111
|
+
def list_cluster_events_with_http_info(
|
|
112
112
|
self,
|
|
113
113
|
cluster_id: StrictStr,
|
|
114
114
|
_request_timeout: Union[
|
|
@@ -151,7 +151,7 @@ class ClusterEventsApi:
|
|
|
151
151
|
:return: Returns the result object.
|
|
152
152
|
""" # noqa: E501
|
|
153
153
|
|
|
154
|
-
_param = self.
|
|
154
|
+
_param = self._list_cluster_events_serialize(
|
|
155
155
|
cluster_id=cluster_id,
|
|
156
156
|
_request_auth=_request_auth,
|
|
157
157
|
_content_type=_content_type,
|
|
@@ -178,7 +178,7 @@ class ClusterEventsApi:
|
|
|
178
178
|
|
|
179
179
|
|
|
180
180
|
@validate_call
|
|
181
|
-
def
|
|
181
|
+
def list_cluster_events_without_preload_content(
|
|
182
182
|
self,
|
|
183
183
|
cluster_id: StrictStr,
|
|
184
184
|
_request_timeout: Union[
|
|
@@ -221,7 +221,7 @@ class ClusterEventsApi:
|
|
|
221
221
|
:return: Returns the result object.
|
|
222
222
|
""" # noqa: E501
|
|
223
223
|
|
|
224
|
-
_param = self.
|
|
224
|
+
_param = self._list_cluster_events_serialize(
|
|
225
225
|
cluster_id=cluster_id,
|
|
226
226
|
_request_auth=_request_auth,
|
|
227
227
|
_content_type=_content_type,
|
|
@@ -243,7 +243,7 @@ class ClusterEventsApi:
|
|
|
243
243
|
return response_data.response
|
|
244
244
|
|
|
245
245
|
|
|
246
|
-
def
|
|
246
|
+
def _list_cluster_events_serialize(
|
|
247
247
|
self,
|
|
248
248
|
cluster_id,
|
|
249
249
|
_request_auth,
|