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.
Files changed (47) hide show
  1. hyperstack/__init__.py +7 -2
  2. hyperstack/api/__init__.py +2 -1
  3. hyperstack/api/alive_api.py +10 -10
  4. hyperstack/api/api_key_api.py +7 -7
  5. hyperstack/api/auth_api.py +69 -69
  6. hyperstack/api/beta_access_api.py +50 -50
  7. hyperstack/api/billing_api.py +1659 -1659
  8. hyperstack/api/calculate_api.py +7 -7
  9. hyperstack/api/callbacks_api.py +21 -21
  10. hyperstack/api/cluster_events_api.py +7 -7
  11. hyperstack/api/clusters_api.py +669 -370
  12. hyperstack/api/compliance_api.py +21 -21
  13. hyperstack/api/credit_api.py +7 -7
  14. hyperstack/api/customer_contract_api.py +139 -139
  15. hyperstack/api/dashboard_api.py +7 -7
  16. hyperstack/api/deployment_api.py +7 -7
  17. hyperstack/api/environment_api.py +107 -107
  18. hyperstack/api/{admin_api.py → fip_exclusions_api.py} +44 -28
  19. hyperstack/api/firewall_attachment_api.py +7 -7
  20. hyperstack/api/firewalls_api.py +145 -145
  21. hyperstack/api/floating_ip_api.py +14 -14
  22. hyperstack/api/image_api.py +14 -14
  23. hyperstack/api/payment_api.py +102 -102
  24. hyperstack/api/profile_api.py +56 -56
  25. hyperstack/api/snapshot_events_api.py +7 -7
  26. hyperstack/api/snapshots_api.py +167 -167
  27. hyperstack/api/stock_api.py +7 -7
  28. hyperstack/api/template_api.py +76 -76
  29. hyperstack/api/user_api.py +76 -76
  30. hyperstack/api/user_detail_choice_api.py +10 -10
  31. hyperstack/api/virtual_machine_api.py +799 -782
  32. hyperstack/api/virtual_machine_events_api.py +7 -7
  33. hyperstack/api/vnc_url_api.py +53 -53
  34. hyperstack/api/volume_api.py +77 -77
  35. hyperstack/api/volume_attachment_api.py +21 -21
  36. hyperstack/api/vouchers_api.py +326 -0
  37. hyperstack/api_client.py +1 -1
  38. hyperstack/configuration.py +1 -1
  39. hyperstack/models/__init__.py +4 -0
  40. hyperstack/models/delete_cluster_nodes_fields.py +87 -0
  41. hyperstack/models/redeem_voucher_payload.py +87 -0
  42. hyperstack/models/voucher.py +91 -0
  43. hyperstack/models/voucher_redeem_response_schema.py +95 -0
  44. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/METADATA +1 -1
  45. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/RECORD +47 -42
  46. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/WHEEL +0 -0
  47. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/top_level.txt +0 -0
@@ -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,