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.
- hyperstack/__init__.py +80 -131
- hyperstack/api/__init__.py +2 -0
- hyperstack/api/alive_api.py +240 -0
- hyperstack/api/api_key_api.py +16 -20
- hyperstack/api/assigning_member_role_api.py +15 -17
- hyperstack/api/auth_api.py +1050 -5
- hyperstack/api/beta_access_api.py +856 -0
- hyperstack/api/billing_api.py +6461 -673
- hyperstack/api/calculate_api.py +8 -9
- hyperstack/api/callbacks_api.py +120 -126
- hyperstack/api/cluster_events_api.py +1 -2
- hyperstack/api/clusters_api.py +2816 -199
- hyperstack/api/compliance_api.py +14 -18
- hyperstack/api/credit_api.py +17 -15
- hyperstack/api/customer_contract_api.py +30 -33
- hyperstack/api/dashboard_api.py +4 -5
- hyperstack/api/deployment_api.py +4 -8
- hyperstack/api/environment_api.py +285 -16
- hyperstack/api/firewall_attachment_api.py +11 -9
- hyperstack/api/firewalls_api.py +341 -347
- hyperstack/api/flavor_api.py +4 -5
- hyperstack/api/floating_ip_api.py +50 -49
- hyperstack/api/gpu_api.py +1 -2
- hyperstack/api/image_api.py +35 -39
- hyperstack/api/invite_api.py +288 -18
- hyperstack/api/keypair_api.py +22 -26
- hyperstack/api/organization_api.py +12 -15
- hyperstack/api/partner_config_api.py +564 -0
- hyperstack/api/payment_api.py +299 -18
- hyperstack/api/permission_api.py +4 -5
- hyperstack/api/policy_api.py +4 -5
- hyperstack/api/pricebook_api.py +14 -12
- hyperstack/api/profile_api.py +13 -17
- hyperstack/api/rbac_role_api.py +20 -25
- hyperstack/api/region_api.py +7 -8
- hyperstack/api/security_rules_api.py +1 -2
- hyperstack/api/snapshot_events_api.py +1 -2
- hyperstack/api/snapshots_api.py +166 -172
- hyperstack/api/stock_api.py +4 -5
- hyperstack/api/template_api.py +14 -19
- hyperstack/api/user_api.py +55 -49
- hyperstack/api/user_detail_choice_api.py +1 -2
- hyperstack/api/user_permission_api.py +8 -10
- hyperstack/api/virtual_machine_api.py +1529 -929
- hyperstack/api/virtual_machine_events_api.py +21 -22
- hyperstack/api/vnc_url_api.py +54 -50
- hyperstack/api/volume_api.py +340 -40
- hyperstack/api/volume_attachment_api.py +342 -42
- hyperstack/api_client.py +1 -1
- hyperstack/configuration.py +1 -11
- hyperstack/models/__init__.py +77 -130
- hyperstack/models/{environment_fieldsfor_volume.py → access_token_field.py} +7 -7
- hyperstack/models/attach_volume_fields.py +6 -2
- hyperstack/models/attach_volumes_payload.py +4 -2
- hyperstack/models/{virtual_machine_usage.py → attachments_fields_for_volume.py} +13 -11
- hyperstack/models/{flavor_vm_fields.py → attributes.py} +15 -18
- hyperstack/models/auth_get_token_response_model.py +4 -6
- hyperstack/models/{future_node_model.py → beta_access_request_fields.py} +27 -25
- hyperstack/models/{create_gpu.py → beta_access_request_payload.py} +9 -11
- hyperstack/models/{create_discount_response.py → beta_access_request_response_model.py} +11 -11
- hyperstack/models/{export_billing_data_request.py → beta_access_status_item.py} +20 -23
- hyperstack/models/{get_all_discount_for_all_organization_response.py → beta_access_status_response_model.py} +15 -15
- hyperstack/models/{exclude_billing_post_response.py → billing_history.py} +13 -11
- hyperstack/models/billing_history_data_synthesis_details.py +105 -0
- hyperstack/models/{vm_usage_response.py → billing_history_fine_tuning.py} +23 -19
- hyperstack/models/billing_history_model_evalutation_details.py +105 -0
- hyperstack/models/{get_all_discounts_fields.py → billing_history_serverless_inference.py} +23 -24
- hyperstack/models/billing_history_serverless_inference_details.py +105 -0
- hyperstack/models/{billingmetricesfields.py → billing_metrices_fields.py} +4 -4
- hyperstack/models/{billingmetricesresponse.py → billing_metrices_response.py} +7 -7
- hyperstack/models/cluster_fields.py +27 -9
- hyperstack/models/{add_update_flavor_organization_payload.py → cluster_flavor_fields.py} +28 -26
- hyperstack/models/{historical_instances_fields.py → cluster_node_fields.py} +24 -22
- hyperstack/models/{internal_instance_flavor_fields.py → cluster_node_group_fields.py} +17 -17
- hyperstack/models/{create_update_policy_response_model.py → cluster_node_groups_create_response.py} +21 -11
- hyperstack/models/{create_update_permission_response_model.py → cluster_node_groups_get_response.py} +11 -11
- hyperstack/models/{auth_request_login_response_model.py → cluster_node_groups_list_response.py} +15 -11
- hyperstack/models/{contract_eligible_instance_fields.py → cluster_node_instance_fields.py} +13 -11
- hyperstack/models/{image_logos.py → cluster_nodes_list_response.py} +14 -14
- hyperstack/models/{internal_environment_fields.py → cluster_version.py} +13 -9
- hyperstack/models/cluster_versions.py +10 -2
- hyperstack/models/{future_nodes_stock_model.py → colors.py} +17 -15
- hyperstack/models/contract_discount_plan_fields.py +3 -1
- hyperstack/models/contract_instance_fields.py +7 -1
- hyperstack/models/{future_node_response_model.py → create_cluster_node_fields.py} +23 -18
- hyperstack/models/{update_gpu.py → create_cluster_node_group_payload.py} +12 -11
- hyperstack/models/create_cluster_payload.py +31 -8
- hyperstack/models/create_environment.py +1 -1
- hyperstack/models/create_instances_payload.py +7 -7
- hyperstack/models/create_profile_payload.py +1 -1
- hyperstack/models/create_snapshot_payload.py +2 -4
- hyperstack/models/create_volume_payload.py +1 -1
- hyperstack/models/data_synthesis_billing_history_details_response_schema.py +95 -0
- hyperstack/models/{deployment_fieldsforstartdeployments.py → deployment_fields_for_start_deployments.py} +4 -4
- hyperstack/models/{editlabelofanexisting_vm_payload.py → edit_label_of_an_existing_vm_payload.py} +4 -4
- hyperstack/models/environment_features.py +14 -2
- hyperstack/models/{node_stocks_payload.py → environment_fields_for_volume.py} +10 -12
- hyperstack/models/flavor_fields.py +3 -1
- hyperstack/models/{customer_fields.py → flavor_label_fields.py} +7 -7
- hyperstack/models/{getcreditandthresholdinfo.py → get_credit_and_threshold_info.py} +4 -4
- hyperstack/models/{getcreditandthresholdinfoinresponse.py → get_credit_and_threshold_info_in_response.py} +7 -7
- hyperstack/models/{region_payload.py → get_instance_logs_response.py} +7 -9
- hyperstack/models/instance_fields.py +8 -4
- hyperstack/models/instance_flavor_fields.py +13 -1
- hyperstack/models/{flavor_response.py → keypair_environment_features.py} +20 -16
- hyperstack/models/{internal_instance_keypair_fields.py → keypair_environment_fields.py} +13 -11
- hyperstack/models/keypair_fields.py +6 -2
- hyperstack/models/{lastdaycostfields.py → last_day_cost_fields.py} +4 -4
- hyperstack/models/{lastdaycostresponse.py → last_day_cost_response.py} +7 -7
- hyperstack/models/{export_billing_data_response.py → logos.py} +13 -9
- hyperstack/models/{verify_api_key_response_model.py → manual_reconciliation_model.py} +13 -13
- hyperstack/models/{creditrequestresponse.py → master_flavors_response.py} +14 -14
- hyperstack/models/{customer_payload.py → mfa_status_fields.py} +8 -10
- hyperstack/models/{gpu.py → mfa_status_response.py} +11 -11
- hyperstack/models/model_evaluation_billing_history_details_response_schema.py +95 -0
- hyperstack/models/{organization_thresholdfields.py → organization_threshold_fields.py} +4 -4
- hyperstack/models/{organizationthresholdupdateresponse.py → organization_threshold_update_response.py} +7 -7
- hyperstack/models/{organizationthresholdsresponse.py → organization_thresholds_response.py} +7 -7
- hyperstack/models/{logo_get_response.py → pagination.py} +12 -12
- hyperstack/models/{billing_response.py → partner_config.py} +31 -20
- hyperstack/models/payment_details_fields.py +5 -1
- hyperstack/models/{logout_payload.py → primary_color.py} +10 -8
- hyperstack/models/region_fields.py +16 -2
- hyperstack/models/{vm_usage_request_payload.py → request_instance_logs_payload.py} +8 -8
- hyperstack/models/{stock_visibility_user_payload.py → request_instance_logs_response.py} +8 -8
- hyperstack/models/{contract_billing_history.py → resource_level_billing_bucket_details_resources.py} +10 -10
- hyperstack/models/{node_response_model.py → resource_level_billing_history_resources_cluster.py} +21 -11
- hyperstack/models/resource_level_billing_history_response_attributes.py +3 -1
- hyperstack/models/{get_all_contracts_response_model.py → resource_level_bucket_billing_details_response_model.py} +11 -15
- hyperstack/models/{contract_billing_history_response_model.py → resource_level_bucket_billing_history_response_model.py} +11 -11
- hyperstack/models/resource_level_cluster_billing_details_response_model.py +95 -0
- hyperstack/models/resource_level_cluster_billing_history_response_model.py +95 -0
- hyperstack/models/{get_discount_detail_response.py → resource_level_cluster_graph_billing_details_response_model.py} +11 -11
- hyperstack/models/{organization_object_response.py → resource_level_graph_billing_details_bucket.py} +18 -14
- hyperstack/models/{update_discounts_status_payload.py → secondary_color.py} +10 -8
- hyperstack/models/{security_rules_fieldsfor_instance.py → security_rules_fields_for_instance.py} +4 -4
- hyperstack/models/serverless_inferenced_billing_history_details_response_schema.py +95 -0
- hyperstack/models/snapshot_fields.py +6 -1
- hyperstack/models/snapshot_retrieve_fields.py +29 -2
- hyperstack/models/start_deployment.py +3 -3
- hyperstack/models/{subscribeorunsubscribeupdatepayload.py → subscribe_or_unsubscribe_update_payload.py} +4 -4
- hyperstack/models/token_based_billing_history_response.py +95 -0
- hyperstack/models/{update_keypairnameresponse.py → update_keypair_name_response.py} +4 -4
- hyperstack/models/update_volume_attachment_payload.py +87 -0
- hyperstack/models/{verify_api_key_payload.py → update_volume_payload.py} +7 -7
- hyperstack/models/{stock_visibility_user_list_response.py → update_volume_response.py} +14 -16
- hyperstack/models/{auth_request_login_fields.py → uris.py} +19 -9
- hyperstack/models/{userinfopostpayload.py → user_info_post_payload.py} +4 -4
- hyperstack/models/{node_stock_response_model.py → user_organizations_response.py} +14 -14
- hyperstack/models/users_info_fields.py +3 -1
- hyperstack/models/volume_attachment_fields.py +9 -5
- hyperstack/models/volume_fields.py +14 -4
- hyperstack/models/{volume_fieldsfor_instance.py → volume_fields_for_instance.py} +4 -4
- hyperstack/models/volumes.py +17 -11
- hyperstack/models/{instances_summary_fields.py → volumes_fields.py} +33 -29
- hyperstack/models/workload_billing_history_response.py +95 -0
- {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.2a0.dist-info}/METADATA +2 -2
- hyperstack-1.41.2a0.dist-info/RECORD +350 -0
- {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.2a0.dist-info}/WHEEL +1 -1
- hyperstack/models/api_key_verify_fields.py +0 -93
- hyperstack/models/billing_immune_resources_response.py +0 -95
- hyperstack/models/contract_billing_history_response_attributes.py +0 -99
- hyperstack/models/contract_change_payload.py +0 -101
- hyperstack/models/contract_eligible_instances_response.py +0 -101
- hyperstack/models/contract_event_create_model.py +0 -91
- hyperstack/models/contract_resource_payload.py +0 -95
- hyperstack/models/contractl_billing_history_response_metrics.py +0 -87
- hyperstack/models/create_contract_fields.py +0 -110
- hyperstack/models/create_contract_payload.py +0 -106
- hyperstack/models/create_discounts_payload.py +0 -112
- hyperstack/models/create_update_permission_payload.py +0 -93
- hyperstack/models/create_update_policy_payload.py +0 -93
- hyperstack/models/creditrechargelimitfield.py +0 -93
- hyperstack/models/creditrechargelimitresponse.py +0 -99
- hyperstack/models/creditrequests.py +0 -96
- hyperstack/models/data.py +0 -91
- hyperstack/models/discount_entity_model.py +0 -97
- hyperstack/models/discount_fields.py +0 -100
- hyperstack/models/discount_plan_fields.py +0 -108
- hyperstack/models/discount_resource_fields.py +0 -93
- hyperstack/models/discount_resource_payload.py +0 -93
- hyperstack/models/exclude_billing_post_payload.py +0 -91
- hyperstack/models/field_change.py +0 -91
- hyperstack/models/flavor_payload.py +0 -101
- hyperstack/models/flavor_vms_response.py +0 -99
- hyperstack/models/future_node_stock_model.py +0 -93
- hyperstack/models/future_node_update_model.py +0 -98
- hyperstack/models/get_all_contract_fields.py +0 -100
- hyperstack/models/get_discount_response.py +0 -99
- hyperstack/models/get_entity_discount_detail_response.py +0 -108
- hyperstack/models/get_token_payload.py +0 -89
- hyperstack/models/get_version_response.py +0 -91
- hyperstack/models/historical_instance.py +0 -101
- hyperstack/models/infrahub_resource_object_response.py +0 -119
- hyperstack/models/insert_discount_plan_fields.py +0 -112
- hyperstack/models/internal_instance_fields.py +0 -156
- hyperstack/models/internal_instance_image_fields.py +0 -95
- hyperstack/models/internal_instances_response.py +0 -99
- hyperstack/models/internal_security_rules_fields_for_instance.py +0 -104
- hyperstack/models/internal_volume_attachment_fields.py +0 -98
- hyperstack/models/internal_volume_fields.py +0 -95
- hyperstack/models/internal_volumes_response.py +0 -99
- hyperstack/models/new_stock_update_response_model.py +0 -89
- hyperstack/models/node_model.py +0 -114
- hyperstack/models/node_payload_model.py +0 -97
- hyperstack/models/node_power_usage_model.py +0 -120
- hyperstack/models/node_stock_payload_model.py +0 -95
- hyperstack/models/organizationcreditrechargelimitresponse.py +0 -95
- hyperstack/models/power_usage_model.py +0 -89
- hyperstack/models/pricebook_resource_object_response.py +0 -107
- hyperstack/models/refresh_token_payload.py +0 -89
- hyperstack/models/region_response.py +0 -95
- hyperstack/models/set_defaults_payload.py +0 -89
- hyperstack/models/single_visibility_user_response.py +0 -91
- hyperstack/models/success_response_model.py +0 -89
- hyperstack/models/token_fields.py +0 -91
- hyperstack/models/update_contract_payload.py +0 -104
- hyperstack/models/update_discounts_payload.py +0 -102
- hyperstack/models/user_transfer_payload.py +0 -89
- hyperstack/models/volume_status_change_fields.py +0 -96
- hyperstack/models/volumes_last_status_change_response.py +0 -99
- hyperstack/models/warning_mail_log_fields.py +0 -99
- hyperstack/models/warning_mail_log_response.py +0 -101
- hyperstack-1.25.0a0.dist-info/RECORD +0 -401
- {hyperstack-1.25.0a0.dist-info → hyperstack-1.41.2a0.dist-info}/top_level.txt +0 -0
hyperstack/api/profile_api.py
CHANGED
|
@@ -59,7 +59,7 @@ class ProfileApi:
|
|
|
59
59
|
) -> CreateProfileResponse:
|
|
60
60
|
"""Create profile
|
|
61
61
|
|
|
62
|
-
Creates a provisioning profile to save the configuration of a virtual
|
|
62
|
+
Creates a provisioning profile to save the configuration of a virtual machinefor future use. Include the profile name, description, and virtual machine configuration details in the request body. For more information about virtual machine profiles,[**click here**](https://docs...cloud/docs/virtual-machines/provisioning-profiles).
|
|
63
63
|
|
|
64
64
|
:param payload: (required)
|
|
65
65
|
:type payload: CreateProfilePayload
|
|
@@ -130,7 +130,7 @@ class ProfileApi:
|
|
|
130
130
|
) -> ApiResponse[CreateProfileResponse]:
|
|
131
131
|
"""Create profile
|
|
132
132
|
|
|
133
|
-
Creates a provisioning profile to save the configuration of a virtual
|
|
133
|
+
Creates a provisioning profile to save the configuration of a virtual machinefor future use. Include the profile name, description, and virtual machine configuration details in the request body. For more information about virtual machine profiles,[**click here**](https://docs...cloud/docs/virtual-machines/provisioning-profiles).
|
|
134
134
|
|
|
135
135
|
:param payload: (required)
|
|
136
136
|
:type payload: CreateProfilePayload
|
|
@@ -201,7 +201,7 @@ class ProfileApi:
|
|
|
201
201
|
) -> RESTResponseType:
|
|
202
202
|
"""Create profile
|
|
203
203
|
|
|
204
|
-
Creates a provisioning profile to save the configuration of a virtual
|
|
204
|
+
Creates a provisioning profile to save the configuration of a virtual machinefor future use. Include the profile name, description, and virtual machine configuration details in the request body. For more information about virtual machine profiles,[**click here**](https://docs...cloud/docs/virtual-machines/provisioning-profiles).
|
|
205
205
|
|
|
206
206
|
:param payload: (required)
|
|
207
207
|
:type payload: CreateProfilePayload
|
|
@@ -305,8 +305,7 @@ class ProfileApi:
|
|
|
305
305
|
|
|
306
306
|
# authentication setting
|
|
307
307
|
_auth_settings: List[str] = [
|
|
308
|
-
'apiKey'
|
|
309
|
-
'accessToken'
|
|
308
|
+
'apiKey'
|
|
310
309
|
]
|
|
311
310
|
|
|
312
311
|
return self.api_client.param_serialize(
|
|
@@ -579,8 +578,7 @@ class ProfileApi:
|
|
|
579
578
|
|
|
580
579
|
# authentication setting
|
|
581
580
|
_auth_settings: List[str] = [
|
|
582
|
-
'apiKey'
|
|
583
|
-
'accessToken'
|
|
581
|
+
'apiKey'
|
|
584
582
|
]
|
|
585
583
|
|
|
586
584
|
return self.api_client.param_serialize(
|
|
@@ -619,7 +617,7 @@ class ProfileApi:
|
|
|
619
617
|
) -> ProfileListResponse:
|
|
620
618
|
"""List profiles
|
|
621
619
|
|
|
622
|
-
Returns a list of your existing provisioning profiles, providing virtual machine configuration details for each. For additional information about profiles,
|
|
620
|
+
Returns a list of your existing provisioning profiles, providing virtual machine configuration details for each. For additional information about profiles,[**click here**](https://docs...cloud/docs/virtual-machines/provisioning-profiles#load-a-provisioning-profile).
|
|
623
621
|
|
|
624
622
|
:param _request_timeout: timeout setting for this request. If one
|
|
625
623
|
number provided, it will be total request
|
|
@@ -685,7 +683,7 @@ class ProfileApi:
|
|
|
685
683
|
) -> ApiResponse[ProfileListResponse]:
|
|
686
684
|
"""List profiles
|
|
687
685
|
|
|
688
|
-
Returns a list of your existing provisioning profiles, providing virtual machine configuration details for each. For additional information about profiles,
|
|
686
|
+
Returns a list of your existing provisioning profiles, providing virtual machine configuration details for each. For additional information about profiles,[**click here**](https://docs...cloud/docs/virtual-machines/provisioning-profiles#load-a-provisioning-profile).
|
|
689
687
|
|
|
690
688
|
:param _request_timeout: timeout setting for this request. If one
|
|
691
689
|
number provided, it will be total request
|
|
@@ -751,7 +749,7 @@ class ProfileApi:
|
|
|
751
749
|
) -> RESTResponseType:
|
|
752
750
|
"""List profiles
|
|
753
751
|
|
|
754
|
-
Returns a list of your existing provisioning profiles, providing virtual machine configuration details for each. For additional information about profiles,
|
|
752
|
+
Returns a list of your existing provisioning profiles, providing virtual machine configuration details for each. For additional information about profiles,[**click here**](https://docs...cloud/docs/virtual-machines/provisioning-profiles#load-a-provisioning-profile).
|
|
755
753
|
|
|
756
754
|
:param _request_timeout: timeout setting for this request. If one
|
|
757
755
|
number provided, it will be total request
|
|
@@ -835,8 +833,7 @@ class ProfileApi:
|
|
|
835
833
|
|
|
836
834
|
# authentication setting
|
|
837
835
|
_auth_settings: List[str] = [
|
|
838
|
-
'apiKey'
|
|
839
|
-
'accessToken'
|
|
836
|
+
'apiKey'
|
|
840
837
|
]
|
|
841
838
|
|
|
842
839
|
return self.api_client.param_serialize(
|
|
@@ -876,7 +873,7 @@ class ProfileApi:
|
|
|
876
873
|
) -> CreateProfileResponse:
|
|
877
874
|
"""Retrieve profile details
|
|
878
875
|
|
|
879
|
-
Retrieves details for an existing provisioning profile by supplying the profile ID in the request path. For more information about profiles, [**click here**](https://
|
|
876
|
+
Retrieves details for an existing provisioning profile by supplying the profile ID in the request path. For more information about profiles, [**click here**](https://docs...cloud/docs/virtual-machines/provisioning-profiles).
|
|
880
877
|
|
|
881
878
|
:param id: (required)
|
|
882
879
|
:type id: int
|
|
@@ -947,7 +944,7 @@ class ProfileApi:
|
|
|
947
944
|
) -> ApiResponse[CreateProfileResponse]:
|
|
948
945
|
"""Retrieve profile details
|
|
949
946
|
|
|
950
|
-
Retrieves details for an existing provisioning profile by supplying the profile ID in the request path. For more information about profiles, [**click here**](https://
|
|
947
|
+
Retrieves details for an existing provisioning profile by supplying the profile ID in the request path. For more information about profiles, [**click here**](https://docs...cloud/docs/virtual-machines/provisioning-profiles).
|
|
951
948
|
|
|
952
949
|
:param id: (required)
|
|
953
950
|
:type id: int
|
|
@@ -1018,7 +1015,7 @@ class ProfileApi:
|
|
|
1018
1015
|
) -> RESTResponseType:
|
|
1019
1016
|
"""Retrieve profile details
|
|
1020
1017
|
|
|
1021
|
-
Retrieves details for an existing provisioning profile by supplying the profile ID in the request path. For more information about profiles, [**click here**](https://
|
|
1018
|
+
Retrieves details for an existing provisioning profile by supplying the profile ID in the request path. For more information about profiles, [**click here**](https://docs...cloud/docs/virtual-machines/provisioning-profiles).
|
|
1022
1019
|
|
|
1023
1020
|
:param id: (required)
|
|
1024
1021
|
:type id: int
|
|
@@ -1109,8 +1106,7 @@ class ProfileApi:
|
|
|
1109
1106
|
|
|
1110
1107
|
# authentication setting
|
|
1111
1108
|
_auth_settings: List[str] = [
|
|
1112
|
-
'apiKey'
|
|
1113
|
-
'accessToken'
|
|
1109
|
+
'apiKey'
|
|
1114
1110
|
]
|
|
1115
1111
|
|
|
1116
1112
|
return self.api_client.param_serialize(
|
hyperstack/api/rbac_role_api.py
CHANGED
|
@@ -60,7 +60,7 @@ class RbacRoleApi:
|
|
|
60
60
|
) -> RbacRoleDetailResponseModel:
|
|
61
61
|
"""Create RBAC Role
|
|
62
62
|
|
|
63
|
-
Creates an RBAC role that can be assigned to users, granting them access to specific resource actions. Provide the configuration of the RBAC role, including its name, description, and list of permissions and policy IDs in the request body. For additional information on creating RBAC roles, [click here](https://
|
|
63
|
+
Creates an RBAC role that can be assigned to users, granting them access to specific resource actions. Provide the configuration of the RBAC role, including its name, description, and list of permissions and policy IDs in the request body. For additional information on creating RBAC roles, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/create-rbac-role).
|
|
64
64
|
|
|
65
65
|
:param payload: (required)
|
|
66
66
|
:type payload: CreateUpdateRbacRolePayload
|
|
@@ -131,7 +131,7 @@ class RbacRoleApi:
|
|
|
131
131
|
) -> ApiResponse[RbacRoleDetailResponseModel]:
|
|
132
132
|
"""Create RBAC Role
|
|
133
133
|
|
|
134
|
-
Creates an RBAC role that can be assigned to users, granting them access to specific resource actions. Provide the configuration of the RBAC role, including its name, description, and list of permissions and policy IDs in the request body. For additional information on creating RBAC roles, [click here](https://
|
|
134
|
+
Creates an RBAC role that can be assigned to users, granting them access to specific resource actions. Provide the configuration of the RBAC role, including its name, description, and list of permissions and policy IDs in the request body. For additional information on creating RBAC roles, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/create-rbac-role).
|
|
135
135
|
|
|
136
136
|
:param payload: (required)
|
|
137
137
|
:type payload: CreateUpdateRbacRolePayload
|
|
@@ -202,7 +202,7 @@ class RbacRoleApi:
|
|
|
202
202
|
) -> RESTResponseType:
|
|
203
203
|
"""Create RBAC Role
|
|
204
204
|
|
|
205
|
-
Creates an RBAC role that can be assigned to users, granting them access to specific resource actions. Provide the configuration of the RBAC role, including its name, description, and list of permissions and policy IDs in the request body. For additional information on creating RBAC roles, [click here](https://
|
|
205
|
+
Creates an RBAC role that can be assigned to users, granting them access to specific resource actions. Provide the configuration of the RBAC role, including its name, description, and list of permissions and policy IDs in the request body. For additional information on creating RBAC roles, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/create-rbac-role).
|
|
206
206
|
|
|
207
207
|
:param payload: (required)
|
|
208
208
|
:type payload: CreateUpdateRbacRolePayload
|
|
@@ -306,8 +306,7 @@ class RbacRoleApi:
|
|
|
306
306
|
|
|
307
307
|
# authentication setting
|
|
308
308
|
_auth_settings: List[str] = [
|
|
309
|
-
'apiKey'
|
|
310
|
-
'accessToken'
|
|
309
|
+
'apiKey'
|
|
311
310
|
]
|
|
312
311
|
|
|
313
312
|
return self.api_client.param_serialize(
|
|
@@ -347,7 +346,7 @@ class RbacRoleApi:
|
|
|
347
346
|
) -> CommonResponseModel:
|
|
348
347
|
"""Delete RBAC Role
|
|
349
348
|
|
|
350
|
-
Deletes an RBAC role by providing its ID in the path. For additional information, [click here](https://
|
|
349
|
+
Deletes an RBAC role by providing its ID in the path. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/delete-rbac-role).
|
|
351
350
|
|
|
352
351
|
:param id: (required)
|
|
353
352
|
:type id: int
|
|
@@ -418,7 +417,7 @@ class RbacRoleApi:
|
|
|
418
417
|
) -> ApiResponse[CommonResponseModel]:
|
|
419
418
|
"""Delete RBAC Role
|
|
420
419
|
|
|
421
|
-
Deletes an RBAC role by providing its ID in the path. For additional information, [click here](https://
|
|
420
|
+
Deletes an RBAC role by providing its ID in the path. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/delete-rbac-role).
|
|
422
421
|
|
|
423
422
|
:param id: (required)
|
|
424
423
|
:type id: int
|
|
@@ -489,7 +488,7 @@ class RbacRoleApi:
|
|
|
489
488
|
) -> RESTResponseType:
|
|
490
489
|
"""Delete RBAC Role
|
|
491
490
|
|
|
492
|
-
Deletes an RBAC role by providing its ID in the path. For additional information, [click here](https://
|
|
491
|
+
Deletes an RBAC role by providing its ID in the path. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/delete-rbac-role).
|
|
493
492
|
|
|
494
493
|
:param id: (required)
|
|
495
494
|
:type id: int
|
|
@@ -580,8 +579,7 @@ class RbacRoleApi:
|
|
|
580
579
|
|
|
581
580
|
# authentication setting
|
|
582
581
|
_auth_settings: List[str] = [
|
|
583
|
-
'apiKey'
|
|
584
|
-
'accessToken'
|
|
582
|
+
'apiKey'
|
|
585
583
|
]
|
|
586
584
|
|
|
587
585
|
return self.api_client.param_serialize(
|
|
@@ -620,7 +618,7 @@ class RbacRoleApi:
|
|
|
620
618
|
) -> GetRbacRolesResponseModel:
|
|
621
619
|
"""List RBAC Roles
|
|
622
620
|
|
|
623
|
-
Retrieves a list of RBAC roles that can be assigned to the users within an organization. For additional information on RBAC roles, [click here](https://
|
|
621
|
+
Retrieves a list of RBAC roles that can be assigned to the users within an organization. For additional information on RBAC roles, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/list-rbac-roles).
|
|
624
622
|
|
|
625
623
|
:param _request_timeout: timeout setting for this request. If one
|
|
626
624
|
number provided, it will be total request
|
|
@@ -686,7 +684,7 @@ class RbacRoleApi:
|
|
|
686
684
|
) -> ApiResponse[GetRbacRolesResponseModel]:
|
|
687
685
|
"""List RBAC Roles
|
|
688
686
|
|
|
689
|
-
Retrieves a list of RBAC roles that can be assigned to the users within an organization. For additional information on RBAC roles, [click here](https://
|
|
687
|
+
Retrieves a list of RBAC roles that can be assigned to the users within an organization. For additional information on RBAC roles, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/list-rbac-roles).
|
|
690
688
|
|
|
691
689
|
:param _request_timeout: timeout setting for this request. If one
|
|
692
690
|
number provided, it will be total request
|
|
@@ -752,7 +750,7 @@ class RbacRoleApi:
|
|
|
752
750
|
) -> RESTResponseType:
|
|
753
751
|
"""List RBAC Roles
|
|
754
752
|
|
|
755
|
-
Retrieves a list of RBAC roles that can be assigned to the users within an organization. For additional information on RBAC roles, [click here](https://
|
|
753
|
+
Retrieves a list of RBAC roles that can be assigned to the users within an organization. For additional information on RBAC roles, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/list-rbac-roles).
|
|
756
754
|
|
|
757
755
|
:param _request_timeout: timeout setting for this request. If one
|
|
758
756
|
number provided, it will be total request
|
|
@@ -836,8 +834,7 @@ class RbacRoleApi:
|
|
|
836
834
|
|
|
837
835
|
# authentication setting
|
|
838
836
|
_auth_settings: List[str] = [
|
|
839
|
-
'apiKey'
|
|
840
|
-
'accessToken'
|
|
837
|
+
'apiKey'
|
|
841
838
|
]
|
|
842
839
|
|
|
843
840
|
return self.api_client.param_serialize(
|
|
@@ -877,7 +874,7 @@ class RbacRoleApi:
|
|
|
877
874
|
) -> RbacRoleDetailResponseModelFixed:
|
|
878
875
|
"""Retrieve RBAC Role Details
|
|
879
876
|
|
|
880
|
-
Retrieves the details of a specified RBAC role by providing the RBAC role ID in the path. For additional information, [click here](https://
|
|
877
|
+
Retrieves the details of a specified RBAC role by providing the RBAC role ID in the path. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/retrieve-rbac-details).
|
|
881
878
|
|
|
882
879
|
:param id: (required)
|
|
883
880
|
:type id: int
|
|
@@ -948,7 +945,7 @@ class RbacRoleApi:
|
|
|
948
945
|
) -> ApiResponse[RbacRoleDetailResponseModelFixed]:
|
|
949
946
|
"""Retrieve RBAC Role Details
|
|
950
947
|
|
|
951
|
-
Retrieves the details of a specified RBAC role by providing the RBAC role ID in the path. For additional information, [click here](https://
|
|
948
|
+
Retrieves the details of a specified RBAC role by providing the RBAC role ID in the path. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/retrieve-rbac-details).
|
|
952
949
|
|
|
953
950
|
:param id: (required)
|
|
954
951
|
:type id: int
|
|
@@ -1019,7 +1016,7 @@ class RbacRoleApi:
|
|
|
1019
1016
|
) -> RESTResponseType:
|
|
1020
1017
|
"""Retrieve RBAC Role Details
|
|
1021
1018
|
|
|
1022
|
-
Retrieves the details of a specified RBAC role by providing the RBAC role ID in the path. For additional information, [click here](https://
|
|
1019
|
+
Retrieves the details of a specified RBAC role by providing the RBAC role ID in the path. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/retrieve-rbac-details).
|
|
1023
1020
|
|
|
1024
1021
|
:param id: (required)
|
|
1025
1022
|
:type id: int
|
|
@@ -1110,8 +1107,7 @@ class RbacRoleApi:
|
|
|
1110
1107
|
|
|
1111
1108
|
# authentication setting
|
|
1112
1109
|
_auth_settings: List[str] = [
|
|
1113
|
-
'apiKey'
|
|
1114
|
-
'accessToken'
|
|
1110
|
+
'apiKey'
|
|
1115
1111
|
]
|
|
1116
1112
|
|
|
1117
1113
|
return self.api_client.param_serialize(
|
|
@@ -1152,7 +1148,7 @@ class RbacRoleApi:
|
|
|
1152
1148
|
) -> RbacRoleDetailResponseModel:
|
|
1153
1149
|
"""Update RBAC Role
|
|
1154
1150
|
|
|
1155
|
-
Updates an RBAC role by providing the role ID in the path and the modified role configuration in the request body, including its name, description, and list of permissions and policy IDs. For additional information, [click here](https://
|
|
1151
|
+
Updates an RBAC role by providing the role ID in the path and the modified role configuration in the request body, including its name, description, and list of permissions and policy IDs. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/update-rbac-role).
|
|
1156
1152
|
|
|
1157
1153
|
:param id: (required)
|
|
1158
1154
|
:type id: int
|
|
@@ -1227,7 +1223,7 @@ class RbacRoleApi:
|
|
|
1227
1223
|
) -> ApiResponse[RbacRoleDetailResponseModel]:
|
|
1228
1224
|
"""Update RBAC Role
|
|
1229
1225
|
|
|
1230
|
-
Updates an RBAC role by providing the role ID in the path and the modified role configuration in the request body, including its name, description, and list of permissions and policy IDs. For additional information, [click here](https://
|
|
1226
|
+
Updates an RBAC role by providing the role ID in the path and the modified role configuration in the request body, including its name, description, and list of permissions and policy IDs. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/update-rbac-role).
|
|
1231
1227
|
|
|
1232
1228
|
:param id: (required)
|
|
1233
1229
|
:type id: int
|
|
@@ -1302,7 +1298,7 @@ class RbacRoleApi:
|
|
|
1302
1298
|
) -> RESTResponseType:
|
|
1303
1299
|
"""Update RBAC Role
|
|
1304
1300
|
|
|
1305
|
-
Updates an RBAC role by providing the role ID in the path and the modified role configuration in the request body, including its name, description, and list of permissions and policy IDs. For additional information, [click here](https://
|
|
1301
|
+
Updates an RBAC role by providing the role ID in the path and the modified role configuration in the request body, including its name, description, and list of permissions and policy IDs. For additional information, [click here](https://docs...cloud/docs/api-reference/auth-resources/rbac/update-rbac-role).
|
|
1306
1302
|
|
|
1307
1303
|
:param id: (required)
|
|
1308
1304
|
:type id: int
|
|
@@ -1412,8 +1408,7 @@ class RbacRoleApi:
|
|
|
1412
1408
|
|
|
1413
1409
|
# authentication setting
|
|
1414
1410
|
_auth_settings: List[str] = [
|
|
1415
|
-
'apiKey'
|
|
1416
|
-
'accessToken'
|
|
1411
|
+
'apiKey'
|
|
1417
1412
|
]
|
|
1418
1413
|
|
|
1419
1414
|
return self.api_client.param_serialize(
|
hyperstack/api/region_api.py
CHANGED
|
@@ -52,9 +52,9 @@ class RegionApi:
|
|
|
52
52
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
53
53
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
54
54
|
) -> Regions:
|
|
55
|
-
"""List
|
|
55
|
+
"""List Regions
|
|
56
56
|
|
|
57
|
-
Lists the currently available regions, each representing a distinct geographic
|
|
57
|
+
Lists the currently available regions, each representing a distinct geographic location housing a data center. For additional information on regions, [**click here**](https://docs...cloud/docs/resource-management/regions).
|
|
58
58
|
|
|
59
59
|
:param _request_timeout: timeout setting for this request. If one
|
|
60
60
|
number provided, it will be total request
|
|
@@ -118,9 +118,9 @@ class RegionApi:
|
|
|
118
118
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
119
119
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
120
120
|
) -> ApiResponse[Regions]:
|
|
121
|
-
"""List
|
|
121
|
+
"""List Regions
|
|
122
122
|
|
|
123
|
-
Lists the currently available regions, each representing a distinct geographic
|
|
123
|
+
Lists the currently available regions, each representing a distinct geographic location housing a data center. For additional information on regions, [**click here**](https://docs...cloud/docs/resource-management/regions).
|
|
124
124
|
|
|
125
125
|
:param _request_timeout: timeout setting for this request. If one
|
|
126
126
|
number provided, it will be total request
|
|
@@ -184,9 +184,9 @@ class RegionApi:
|
|
|
184
184
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
185
185
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
186
186
|
) -> RESTResponseType:
|
|
187
|
-
"""List
|
|
187
|
+
"""List Regions
|
|
188
188
|
|
|
189
|
-
Lists the currently available regions, each representing a distinct geographic
|
|
189
|
+
Lists the currently available regions, each representing a distinct geographic location housing a data center. For additional information on regions, [**click here**](https://docs...cloud/docs/resource-management/regions).
|
|
190
190
|
|
|
191
191
|
:param _request_timeout: timeout setting for this request. If one
|
|
192
192
|
number provided, it will be total request
|
|
@@ -270,8 +270,7 @@ class RegionApi:
|
|
|
270
270
|
|
|
271
271
|
# authentication setting
|
|
272
272
|
_auth_settings: List[str] = [
|
|
273
|
-
'apiKey'
|
|
274
|
-
'accessToken'
|
|
273
|
+
'apiKey'
|
|
275
274
|
]
|
|
276
275
|
|
|
277
276
|
return self.api_client.param_serialize(
|