hyperstack 1.45.2a0__py3-none-any.whl → 1.46.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 (41) hide show
  1. hyperstack/__init__.py +2 -1
  2. hyperstack/api/__init__.py +1 -0
  3. hyperstack/api/alive_api.py +10 -10
  4. hyperstack/api/api_key_api.py +7 -7
  5. hyperstack/api/beta_access_api.py +50 -50
  6. hyperstack/api/billing_api.py +1659 -1659
  7. hyperstack/api/calculate_api.py +7 -7
  8. hyperstack/api/callbacks_api.py +21 -21
  9. hyperstack/api/cluster_events_api.py +7 -7
  10. hyperstack/api/clusters_api.py +445 -445
  11. hyperstack/api/compliance_api.py +21 -21
  12. hyperstack/api/credit_api.py +7 -7
  13. hyperstack/api/customer_contract_api.py +139 -139
  14. hyperstack/api/dashboard_api.py +7 -7
  15. hyperstack/api/deployment_api.py +7 -7
  16. hyperstack/api/environment_api.py +107 -107
  17. hyperstack/api/fip_exclusions_api.py +313 -0
  18. hyperstack/api/firewall_attachment_api.py +7 -7
  19. hyperstack/api/firewalls_api.py +145 -145
  20. hyperstack/api/floating_ip_api.py +14 -14
  21. hyperstack/api/image_api.py +14 -14
  22. hyperstack/api/payment_api.py +102 -102
  23. hyperstack/api/profile_api.py +56 -56
  24. hyperstack/api/snapshot_events_api.py +7 -7
  25. hyperstack/api/snapshots_api.py +167 -167
  26. hyperstack/api/stock_api.py +7 -7
  27. hyperstack/api/template_api.py +76 -76
  28. hyperstack/api/user_api.py +76 -76
  29. hyperstack/api/user_detail_choice_api.py +10 -10
  30. hyperstack/api/virtual_machine_api.py +799 -782
  31. hyperstack/api/virtual_machine_events_api.py +7 -7
  32. hyperstack/api/vnc_url_api.py +53 -53
  33. hyperstack/api/volume_api.py +77 -77
  34. hyperstack/api/volume_attachment_api.py +21 -21
  35. hyperstack/api_client.py +1 -1
  36. hyperstack/configuration.py +1 -1
  37. hyperstack/models/generate_update_api_key_payload.py +3 -2
  38. {hyperstack-1.45.2a0.dist-info → hyperstack-1.46.2a0.dist-info}/METADATA +1 -1
  39. {hyperstack-1.45.2a0.dist-info → hyperstack-1.46.2a0.dist-info}/RECORD +41 -40
  40. {hyperstack-1.45.2a0.dist-info → hyperstack-1.46.2a0.dist-info}/WHEEL +0 -0
  41. {hyperstack-1.45.2a0.dist-info → hyperstack-1.46.2a0.dist-info}/top_level.txt +0 -0
hyperstack/__init__.py CHANGED
@@ -14,11 +14,12 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "v1.45.2-alpha"
17
+ __version__ = "v1.46.2-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
+ from .api.fip_exclusions_api import FIPExclusionsApi
22
23
  from .api.pricebook_api import PricebookApi
23
24
  from .api.snapshots_api import SnapshotsApi
24
25
  from .api.alive_api import AliveApi
@@ -3,6 +3,7 @@
3
3
  # import apis into api package
4
4
  from .calculate_api import CalculateApi
5
5
  from .customer_contract_api import CustomerContractApi
6
+ from .fip_exclusions_api import FIPExclusionsApi
6
7
  from .pricebook_api import PricebookApi
7
8
  from .snapshots_api import SnapshotsApi
8
9
  from .alive_api import AliveApi
@@ -275,7 +275,7 @@ class AliveApi:
275
275
 
276
276
 
277
277
  @validate_call
278
- def get_doc(
278
+ def get_alive_doc(
279
279
  self,
280
280
  _request_timeout: Union[
281
281
  None,
@@ -290,7 +290,7 @@ class AliveApi:
290
290
  _headers: Optional[Dict[StrictStr, Any]] = None,
291
291
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
292
292
  ) -> None:
293
- """get_doc
293
+ """get_alive_doc
294
294
 
295
295
 
296
296
  :param _request_timeout: timeout setting for this request. If one
@@ -315,7 +315,7 @@ class AliveApi:
315
315
  :return: Returns the result object.
316
316
  """ # noqa: E501
317
317
 
318
- _param = self._get_doc_serialize(
318
+ _param = self._get_alive_doc_serialize(
319
319
  _request_auth=_request_auth,
320
320
  _content_type=_content_type,
321
321
  _headers=_headers,
@@ -337,7 +337,7 @@ class AliveApi:
337
337
 
338
338
 
339
339
  @validate_call
340
- def get_doc_with_http_info(
340
+ def get_alive_doc_with_http_info(
341
341
  self,
342
342
  _request_timeout: Union[
343
343
  None,
@@ -352,7 +352,7 @@ class AliveApi:
352
352
  _headers: Optional[Dict[StrictStr, Any]] = None,
353
353
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
354
354
  ) -> ApiResponse[None]:
355
- """get_doc
355
+ """get_alive_doc
356
356
 
357
357
 
358
358
  :param _request_timeout: timeout setting for this request. If one
@@ -377,7 +377,7 @@ class AliveApi:
377
377
  :return: Returns the result object.
378
378
  """ # noqa: E501
379
379
 
380
- _param = self._get_doc_serialize(
380
+ _param = self._get_alive_doc_serialize(
381
381
  _request_auth=_request_auth,
382
382
  _content_type=_content_type,
383
383
  _headers=_headers,
@@ -399,7 +399,7 @@ class AliveApi:
399
399
 
400
400
 
401
401
  @validate_call
402
- def get_doc_without_preload_content(
402
+ def get_alive_doc_without_preload_content(
403
403
  self,
404
404
  _request_timeout: Union[
405
405
  None,
@@ -414,7 +414,7 @@ class AliveApi:
414
414
  _headers: Optional[Dict[StrictStr, Any]] = None,
415
415
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
416
416
  ) -> RESTResponseType:
417
- """get_doc
417
+ """get_alive_doc
418
418
 
419
419
 
420
420
  :param _request_timeout: timeout setting for this request. If one
@@ -439,7 +439,7 @@ class AliveApi:
439
439
  :return: Returns the result object.
440
440
  """ # noqa: E501
441
441
 
442
- _param = self._get_doc_serialize(
442
+ _param = self._get_alive_doc_serialize(
443
443
  _request_auth=_request_auth,
444
444
  _content_type=_content_type,
445
445
  _headers=_headers,
@@ -456,7 +456,7 @@ class AliveApi:
456
456
  return response_data.response
457
457
 
458
458
 
459
- def _get_doc_serialize(
459
+ def _get_alive_doc_serialize(
460
460
  self,
461
461
  _request_auth,
462
462
  _content_type,
@@ -602,7 +602,7 @@ class ApiKeyApi:
602
602
 
603
603
 
604
604
  @validate_call
605
- def retrieve_api_key(
605
+ def get_api_key(
606
606
  self,
607
607
  _request_timeout: Union[
608
608
  None,
@@ -643,7 +643,7 @@ class ApiKeyApi:
643
643
  :return: Returns the result object.
644
644
  """ # noqa: E501
645
645
 
646
- _param = self._retrieve_api_key_serialize(
646
+ _param = self._get_api_key_serialize(
647
647
  _request_auth=_request_auth,
648
648
  _content_type=_content_type,
649
649
  _headers=_headers,
@@ -668,7 +668,7 @@ class ApiKeyApi:
668
668
 
669
669
 
670
670
  @validate_call
671
- def retrieve_api_key_with_http_info(
671
+ def get_api_key_with_http_info(
672
672
  self,
673
673
  _request_timeout: Union[
674
674
  None,
@@ -709,7 +709,7 @@ class ApiKeyApi:
709
709
  :return: Returns the result object.
710
710
  """ # noqa: E501
711
711
 
712
- _param = self._retrieve_api_key_serialize(
712
+ _param = self._get_api_key_serialize(
713
713
  _request_auth=_request_auth,
714
714
  _content_type=_content_type,
715
715
  _headers=_headers,
@@ -734,7 +734,7 @@ class ApiKeyApi:
734
734
 
735
735
 
736
736
  @validate_call
737
- def retrieve_api_key_without_preload_content(
737
+ def get_api_key_without_preload_content(
738
738
  self,
739
739
  _request_timeout: Union[
740
740
  None,
@@ -775,7 +775,7 @@ class ApiKeyApi:
775
775
  :return: Returns the result object.
776
776
  """ # noqa: E501
777
777
 
778
- _param = self._retrieve_api_key_serialize(
778
+ _param = self._get_api_key_serialize(
779
779
  _request_auth=_request_auth,
780
780
  _content_type=_content_type,
781
781
  _headers=_headers,
@@ -795,7 +795,7 @@ class ApiKeyApi:
795
795
  return response_data.response
796
796
 
797
797
 
798
- def _retrieve_api_key_serialize(
798
+ def _get_api_key_serialize(
799
799
  self,
800
800
  _request_auth,
801
801
  _content_type,
@@ -40,7 +40,7 @@ class BetaAccessApi:
40
40
 
41
41
 
42
42
  @validate_call
43
- def create_a_beta_access_request(
43
+ def create_beta_access_request(
44
44
  self,
45
45
  payload: BetaAccessRequestPayload,
46
46
  _request_timeout: Union[
@@ -84,7 +84,7 @@ class BetaAccessApi:
84
84
  :return: Returns the result object.
85
85
  """ # noqa: E501
86
86
 
87
- _param = self._create_a_beta_access_request_serialize(
87
+ _param = self._create_beta_access_request_serialize(
88
88
  payload=payload,
89
89
  _request_auth=_request_auth,
90
90
  _content_type=_content_type,
@@ -111,7 +111,7 @@ class BetaAccessApi:
111
111
 
112
112
 
113
113
  @validate_call
114
- def create_a_beta_access_request_with_http_info(
114
+ def create_beta_access_request_with_http_info(
115
115
  self,
116
116
  payload: BetaAccessRequestPayload,
117
117
  _request_timeout: Union[
@@ -155,7 +155,7 @@ class BetaAccessApi:
155
155
  :return: Returns the result object.
156
156
  """ # noqa: E501
157
157
 
158
- _param = self._create_a_beta_access_request_serialize(
158
+ _param = self._create_beta_access_request_serialize(
159
159
  payload=payload,
160
160
  _request_auth=_request_auth,
161
161
  _content_type=_content_type,
@@ -182,7 +182,7 @@ class BetaAccessApi:
182
182
 
183
183
 
184
184
  @validate_call
185
- def create_a_beta_access_request_without_preload_content(
185
+ def create_beta_access_request_without_preload_content(
186
186
  self,
187
187
  payload: BetaAccessRequestPayload,
188
188
  _request_timeout: Union[
@@ -226,7 +226,7 @@ class BetaAccessApi:
226
226
  :return: Returns the result object.
227
227
  """ # noqa: E501
228
228
 
229
- _param = self._create_a_beta_access_request_serialize(
229
+ _param = self._create_beta_access_request_serialize(
230
230
  payload=payload,
231
231
  _request_auth=_request_auth,
232
232
  _content_type=_content_type,
@@ -248,7 +248,7 @@ class BetaAccessApi:
248
248
  return response_data.response
249
249
 
250
250
 
251
- def _create_a_beta_access_request_serialize(
251
+ def _create_beta_access_request_serialize(
252
252
  self,
253
253
  payload,
254
254
  _request_auth,
@@ -326,8 +326,9 @@ class BetaAccessApi:
326
326
 
327
327
 
328
328
  @validate_call
329
- def get_beta_access_status(
329
+ def get_beta_access_requests(
330
330
  self,
331
+ program: StrictStr,
331
332
  _request_timeout: Union[
332
333
  None,
333
334
  Annotated[StrictFloat, Field(gt=0)],
@@ -341,10 +342,12 @@ class BetaAccessApi:
341
342
  _headers: Optional[Dict[StrictStr, Any]] = None,
342
343
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
343
344
  ) -> BetaAccessStatusResponseModel:
344
- """Check the status of all beta access requests
345
+ """Check the status of beta access requests
345
346
 
346
- Check the status of all beta access requests.
347
+ Check the status of a particular beta access requests.
347
348
 
349
+ :param program: (required)
350
+ :type program: str
348
351
  :param _request_timeout: timeout setting for this request. If one
349
352
  number provided, it will be total request
350
353
  timeout. It can also be a pair (tuple) of
@@ -367,7 +370,8 @@ class BetaAccessApi:
367
370
  :return: Returns the result object.
368
371
  """ # noqa: E501
369
372
 
370
- _param = self._get_beta_access_status_serialize(
373
+ _param = self._get_beta_access_requests_serialize(
374
+ program=program,
371
375
  _request_auth=_request_auth,
372
376
  _content_type=_content_type,
373
377
  _headers=_headers,
@@ -393,8 +397,9 @@ class BetaAccessApi:
393
397
 
394
398
 
395
399
  @validate_call
396
- def get_beta_access_status_with_http_info(
400
+ def get_beta_access_requests_with_http_info(
397
401
  self,
402
+ program: StrictStr,
398
403
  _request_timeout: Union[
399
404
  None,
400
405
  Annotated[StrictFloat, Field(gt=0)],
@@ -408,10 +413,12 @@ class BetaAccessApi:
408
413
  _headers: Optional[Dict[StrictStr, Any]] = None,
409
414
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
410
415
  ) -> ApiResponse[BetaAccessStatusResponseModel]:
411
- """Check the status of all beta access requests
416
+ """Check the status of beta access requests
412
417
 
413
- Check the status of all beta access requests.
418
+ Check the status of a particular beta access requests.
414
419
 
420
+ :param program: (required)
421
+ :type program: str
415
422
  :param _request_timeout: timeout setting for this request. If one
416
423
  number provided, it will be total request
417
424
  timeout. It can also be a pair (tuple) of
@@ -434,7 +441,8 @@ class BetaAccessApi:
434
441
  :return: Returns the result object.
435
442
  """ # noqa: E501
436
443
 
437
- _param = self._get_beta_access_status_serialize(
444
+ _param = self._get_beta_access_requests_serialize(
445
+ program=program,
438
446
  _request_auth=_request_auth,
439
447
  _content_type=_content_type,
440
448
  _headers=_headers,
@@ -460,8 +468,9 @@ class BetaAccessApi:
460
468
 
461
469
 
462
470
  @validate_call
463
- def get_beta_access_status_without_preload_content(
471
+ def get_beta_access_requests_without_preload_content(
464
472
  self,
473
+ program: StrictStr,
465
474
  _request_timeout: Union[
466
475
  None,
467
476
  Annotated[StrictFloat, Field(gt=0)],
@@ -475,10 +484,12 @@ class BetaAccessApi:
475
484
  _headers: Optional[Dict[StrictStr, Any]] = None,
476
485
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
477
486
  ) -> RESTResponseType:
478
- """Check the status of all beta access requests
487
+ """Check the status of beta access requests
479
488
 
480
- Check the status of all beta access requests.
489
+ Check the status of a particular beta access requests.
481
490
 
491
+ :param program: (required)
492
+ :type program: str
482
493
  :param _request_timeout: timeout setting for this request. If one
483
494
  number provided, it will be total request
484
495
  timeout. It can also be a pair (tuple) of
@@ -501,7 +512,8 @@ class BetaAccessApi:
501
512
  :return: Returns the result object.
502
513
  """ # noqa: E501
503
514
 
504
- _param = self._get_beta_access_status_serialize(
515
+ _param = self._get_beta_access_requests_serialize(
516
+ program=program,
505
517
  _request_auth=_request_auth,
506
518
  _content_type=_content_type,
507
519
  _headers=_headers,
@@ -522,8 +534,9 @@ class BetaAccessApi:
522
534
  return response_data.response
523
535
 
524
536
 
525
- def _get_beta_access_status_serialize(
537
+ def _get_beta_access_requests_serialize(
526
538
  self,
539
+ program,
527
540
  _request_auth,
528
541
  _content_type,
529
542
  _headers,
@@ -545,6 +558,8 @@ class BetaAccessApi:
545
558
  _body_params: Optional[bytes] = None
546
559
 
547
560
  # process the path parameters
561
+ if program is not None:
562
+ _path_params['program'] = program
548
563
  # process the query parameters
549
564
  # process the header parameters
550
565
  # process the form parameters
@@ -567,7 +582,7 @@ class BetaAccessApi:
567
582
 
568
583
  return self.api_client.param_serialize(
569
584
  method='GET',
570
- resource_path='/auth/beta-access/requests',
585
+ resource_path='/auth/beta-access/requests/{program}',
571
586
  path_params=_path_params,
572
587
  query_params=_query_params,
573
588
  header_params=_header_params,
@@ -584,9 +599,8 @@ class BetaAccessApi:
584
599
 
585
600
 
586
601
  @validate_call
587
- def get_beta_access_status2(
602
+ def get_beta_access_status(
588
603
  self,
589
- program: StrictStr,
590
604
  _request_timeout: Union[
591
605
  None,
592
606
  Annotated[StrictFloat, Field(gt=0)],
@@ -600,12 +614,10 @@ class BetaAccessApi:
600
614
  _headers: Optional[Dict[StrictStr, Any]] = None,
601
615
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
602
616
  ) -> BetaAccessStatusResponseModel:
603
- """Check the status of beta access requests
617
+ """Check the status of all beta access requests
604
618
 
605
- Check the status of a particular beta access requests.
619
+ Check the status of all beta access requests.
606
620
 
607
- :param program: (required)
608
- :type program: str
609
621
  :param _request_timeout: timeout setting for this request. If one
610
622
  number provided, it will be total request
611
623
  timeout. It can also be a pair (tuple) of
@@ -628,8 +640,7 @@ class BetaAccessApi:
628
640
  :return: Returns the result object.
629
641
  """ # noqa: E501
630
642
 
631
- _param = self._get_beta_access_status2_serialize(
632
- program=program,
643
+ _param = self._get_beta_access_status_serialize(
633
644
  _request_auth=_request_auth,
634
645
  _content_type=_content_type,
635
646
  _headers=_headers,
@@ -655,9 +666,8 @@ class BetaAccessApi:
655
666
 
656
667
 
657
668
  @validate_call
658
- def get_beta_access_status2_with_http_info(
669
+ def get_beta_access_status_with_http_info(
659
670
  self,
660
- program: StrictStr,
661
671
  _request_timeout: Union[
662
672
  None,
663
673
  Annotated[StrictFloat, Field(gt=0)],
@@ -671,12 +681,10 @@ class BetaAccessApi:
671
681
  _headers: Optional[Dict[StrictStr, Any]] = None,
672
682
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
673
683
  ) -> ApiResponse[BetaAccessStatusResponseModel]:
674
- """Check the status of beta access requests
684
+ """Check the status of all beta access requests
675
685
 
676
- Check the status of a particular beta access requests.
686
+ Check the status of all beta access requests.
677
687
 
678
- :param program: (required)
679
- :type program: str
680
688
  :param _request_timeout: timeout setting for this request. If one
681
689
  number provided, it will be total request
682
690
  timeout. It can also be a pair (tuple) of
@@ -699,8 +707,7 @@ class BetaAccessApi:
699
707
  :return: Returns the result object.
700
708
  """ # noqa: E501
701
709
 
702
- _param = self._get_beta_access_status2_serialize(
703
- program=program,
710
+ _param = self._get_beta_access_status_serialize(
704
711
  _request_auth=_request_auth,
705
712
  _content_type=_content_type,
706
713
  _headers=_headers,
@@ -726,9 +733,8 @@ class BetaAccessApi:
726
733
 
727
734
 
728
735
  @validate_call
729
- def get_beta_access_status2_without_preload_content(
736
+ def get_beta_access_status_without_preload_content(
730
737
  self,
731
- program: StrictStr,
732
738
  _request_timeout: Union[
733
739
  None,
734
740
  Annotated[StrictFloat, Field(gt=0)],
@@ -742,12 +748,10 @@ class BetaAccessApi:
742
748
  _headers: Optional[Dict[StrictStr, Any]] = None,
743
749
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
744
750
  ) -> RESTResponseType:
745
- """Check the status of beta access requests
751
+ """Check the status of all beta access requests
746
752
 
747
- Check the status of a particular beta access requests.
753
+ Check the status of all beta access requests.
748
754
 
749
- :param program: (required)
750
- :type program: str
751
755
  :param _request_timeout: timeout setting for this request. If one
752
756
  number provided, it will be total request
753
757
  timeout. It can also be a pair (tuple) of
@@ -770,8 +774,7 @@ class BetaAccessApi:
770
774
  :return: Returns the result object.
771
775
  """ # noqa: E501
772
776
 
773
- _param = self._get_beta_access_status2_serialize(
774
- program=program,
777
+ _param = self._get_beta_access_status_serialize(
775
778
  _request_auth=_request_auth,
776
779
  _content_type=_content_type,
777
780
  _headers=_headers,
@@ -792,9 +795,8 @@ class BetaAccessApi:
792
795
  return response_data.response
793
796
 
794
797
 
795
- def _get_beta_access_status2_serialize(
798
+ def _get_beta_access_status_serialize(
796
799
  self,
797
- program,
798
800
  _request_auth,
799
801
  _content_type,
800
802
  _headers,
@@ -816,8 +818,6 @@ class BetaAccessApi:
816
818
  _body_params: Optional[bytes] = None
817
819
 
818
820
  # process the path parameters
819
- if program is not None:
820
- _path_params['program'] = program
821
821
  # process the query parameters
822
822
  # process the header parameters
823
823
  # process the form parameters
@@ -840,7 +840,7 @@ class BetaAccessApi:
840
840
 
841
841
  return self.api_client.param_serialize(
842
842
  method='GET',
843
- resource_path='/auth/beta-access/requests/{program}',
843
+ resource_path='/auth/beta-access/requests',
844
844
  path_params=_path_params,
845
845
  query_params=_query_params,
846
846
  header_params=_header_params,