hyperstack 0.1.23__py3-none-any.whl → 1.41.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 +79 -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 +2492 -146
- 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 +154 -47
- hyperstack/models/__init__.py +76 -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 +10 -8
- 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 +14 -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/{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-0.1.23.dist-info → hyperstack-1.41.0a0.dist-info}/METADATA +9 -2
- hyperstack-1.41.0a0.dist-info/RECORD +349 -0
- {hyperstack-0.1.23.dist-info → hyperstack-1.41.0a0.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/verify_api_key_response_model.py +0 -95
- 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-0.1.23.dist-info/RECORD +0 -401
- {hyperstack-0.1.23.dist-info → hyperstack-1.41.0a0.dist-info}/top_level.txt +0 -0
hyperstack/models/__init__.py
CHANGED
|
@@ -14,11 +14,10 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
# import models into model package
|
|
17
|
-
from .
|
|
17
|
+
from .access_token_field import AccessTokenField
|
|
18
18
|
from .add_user_info_success_response_model import AddUserInfoSuccessResponseModel
|
|
19
19
|
from .allocated_gpu_count_graph import AllocatedGPUCountGraph
|
|
20
20
|
from .api_key_fields import ApiKeyFields
|
|
21
|
-
from .api_key_verify_fields import ApiKeyVerifyFields
|
|
22
21
|
from .assign_rbac_role_payload import AssignRbacRolePayload
|
|
23
22
|
from .attach_callback_payload import AttachCallbackPayload
|
|
24
23
|
from .attach_callback_response import AttachCallbackResponse
|
|
@@ -27,21 +26,40 @@ from .attach_firewalls_to_vm_payload import AttachFirewallsToVMPayload
|
|
|
27
26
|
from .attach_volume_fields import AttachVolumeFields
|
|
28
27
|
from .attach_volumes import AttachVolumes
|
|
29
28
|
from .attach_volumes_payload import AttachVolumesPayload
|
|
29
|
+
from .attachments_fields_for_volume import AttachmentsFieldsForVolume
|
|
30
|
+
from .attributes import Attributes
|
|
30
31
|
from .auth_get_token_response_model import AuthGetTokenResponseModel
|
|
31
|
-
from .auth_request_login_fields import AuthRequestLoginFields
|
|
32
|
-
from .auth_request_login_response_model import AuthRequestLoginResponseModel
|
|
33
32
|
from .auth_user_fields import AuthUserFields
|
|
34
33
|
from .auth_user_info_response_model import AuthUserInfoResponseModel
|
|
35
|
-
from .
|
|
36
|
-
from .
|
|
37
|
-
from .
|
|
38
|
-
from .
|
|
34
|
+
from .beta_access_request_fields import BetaAccessRequestFields
|
|
35
|
+
from .beta_access_request_payload import BetaAccessRequestPayload
|
|
36
|
+
from .beta_access_request_response_model import BetaAccessRequestResponseModel
|
|
37
|
+
from .beta_access_status_item import BetaAccessStatusItem
|
|
38
|
+
from .beta_access_status_response_model import BetaAccessStatusResponseModel
|
|
39
|
+
from .billing_history import BillingHistory
|
|
40
|
+
from .billing_history_data_synthesis_details import BillingHistoryDataSynthesisDetails
|
|
41
|
+
from .billing_history_fine_tuning import BillingHistoryFineTuning
|
|
42
|
+
from .billing_history_model_evalutation_details import BillingHistoryModelEvalutationDetails
|
|
43
|
+
from .billing_history_serverless_inference import BillingHistoryServerlessInference
|
|
44
|
+
from .billing_history_serverless_inference_details import BillingHistoryServerlessInferenceDetails
|
|
45
|
+
from .billing_metrices_fields import BillingMetricesFields
|
|
46
|
+
from .billing_metrices_response import BillingMetricesResponse
|
|
39
47
|
from .cluster_events import ClusterEvents
|
|
40
48
|
from .cluster_events_fields import ClusterEventsFields
|
|
41
49
|
from .cluster_fields import ClusterFields
|
|
50
|
+
from .cluster_flavor_fields import ClusterFlavorFields
|
|
42
51
|
from .cluster_list_response import ClusterListResponse
|
|
52
|
+
from .cluster_node_fields import ClusterNodeFields
|
|
53
|
+
from .cluster_node_group_fields import ClusterNodeGroupFields
|
|
54
|
+
from .cluster_node_groups_create_response import ClusterNodeGroupsCreateResponse
|
|
55
|
+
from .cluster_node_groups_get_response import ClusterNodeGroupsGetResponse
|
|
56
|
+
from .cluster_node_groups_list_response import ClusterNodeGroupsListResponse
|
|
57
|
+
from .cluster_node_instance_fields import ClusterNodeInstanceFields
|
|
58
|
+
from .cluster_nodes_list_response import ClusterNodesListResponse
|
|
43
59
|
from .cluster_response import ClusterResponse
|
|
60
|
+
from .cluster_version import ClusterVersion
|
|
44
61
|
from .cluster_versions import ClusterVersions
|
|
62
|
+
from .colors import Colors
|
|
45
63
|
from .common_response_model import CommonResponseModel
|
|
46
64
|
from .compliance_fields import ComplianceFields
|
|
47
65
|
from .compliance_model_fields import ComplianceModelFields
|
|
@@ -49,28 +67,16 @@ from .compliance_payload import CompliancePayload
|
|
|
49
67
|
from .compliance_response import ComplianceResponse
|
|
50
68
|
from .container_overview_fields import ContainerOverviewFields
|
|
51
69
|
from .contract import Contract
|
|
52
|
-
from .contract_billing_history import ContractBillingHistory
|
|
53
|
-
from .contract_billing_history_response_attributes import ContractBillingHistoryResponseAttributes
|
|
54
|
-
from .contract_billing_history_response_model import ContractBillingHistoryResponseModel
|
|
55
|
-
from .contract_change_payload import ContractChangePayload
|
|
56
70
|
from .contract_discount_plan_fields import ContractDiscountPlanFields
|
|
57
|
-
from .contract_eligible_instance_fields import ContractEligibleInstanceFields
|
|
58
|
-
from .contract_eligible_instances_response import ContractEligibleInstancesResponse
|
|
59
|
-
from .contract_event_create_model import ContractEventCreateModel
|
|
60
71
|
from .contract_gpu_allocation_graph_response import ContractGPUAllocationGraphResponse
|
|
61
72
|
from .contract_instance_fields import ContractInstanceFields
|
|
62
73
|
from .contract_instances_response import ContractInstancesResponse
|
|
63
|
-
from .
|
|
64
|
-
from .
|
|
74
|
+
from .create_cluster_node_fields import CreateClusterNodeFields
|
|
75
|
+
from .create_cluster_node_group_payload import CreateClusterNodeGroupPayload
|
|
65
76
|
from .create_cluster_payload import CreateClusterPayload
|
|
66
|
-
from .create_contract_fields import CreateContractFields
|
|
67
|
-
from .create_contract_payload import CreateContractPayload
|
|
68
|
-
from .create_discount_response import CreateDiscountResponse
|
|
69
|
-
from .create_discounts_payload import CreateDiscountsPayload
|
|
70
77
|
from .create_environment import CreateEnvironment
|
|
71
78
|
from .create_firewall_payload import CreateFirewallPayload
|
|
72
79
|
from .create_firewall_rule_payload import CreateFirewallRulePayload
|
|
73
|
-
from .create_gpu import CreateGPU
|
|
74
80
|
from .create_image import CreateImage
|
|
75
81
|
from .create_image_payload import CreateImagePayload
|
|
76
82
|
from .create_instances_payload import CreateInstancesPayload
|
|
@@ -81,44 +87,24 @@ from .create_security_rule_payload import CreateSecurityRulePayload
|
|
|
81
87
|
from .create_snapshot_payload import CreateSnapshotPayload
|
|
82
88
|
from .create_snapshot_response import CreateSnapshotResponse
|
|
83
89
|
from .create_update_compliance_response import CreateUpdateComplianceResponse
|
|
84
|
-
from .create_update_permission_payload import CreateUpdatePermissionPayload
|
|
85
|
-
from .create_update_permission_response_model import CreateUpdatePermissionResponseModel
|
|
86
|
-
from .create_update_policy_payload import CreateUpdatePolicyPayload
|
|
87
|
-
from .create_update_policy_response_model import CreateUpdatePolicyResponseModel
|
|
88
90
|
from .create_update_rbac_role_payload import CreateUpdateRbacRolePayload
|
|
89
91
|
from .create_volume_payload import CreateVolumePayload
|
|
90
|
-
from .creditrechargelimitfield import Creditrechargelimitfield
|
|
91
|
-
from .creditrechargelimitresponse import Creditrechargelimitresponse
|
|
92
|
-
from .creditrequestresponse import Creditrequestresponse
|
|
93
|
-
from .creditrequests import Creditrequests
|
|
94
92
|
from .customer_contract_detail_response_model import CustomerContractDetailResponseModel
|
|
95
93
|
from .customer_contract_fields import CustomerContractFields
|
|
96
|
-
from .customer_fields import CustomerFields
|
|
97
|
-
from .customer_payload import CustomerPayload
|
|
98
94
|
from .dashboard_info_response import DashboardInfoResponse
|
|
99
|
-
from .
|
|
95
|
+
from .data_synthesis_billing_history_details_response_schema import DataSynthesisBillingHistoryDetailsResponseSchema
|
|
100
96
|
from .deployment_fields import DeploymentFields
|
|
101
|
-
from .
|
|
97
|
+
from .deployment_fields_for_start_deployments import DeploymentFieldsForStartDeployments
|
|
102
98
|
from .deployments import Deployments
|
|
103
99
|
from .detach_volumes import DetachVolumes
|
|
104
100
|
from .detach_volumes_payload import DetachVolumesPayload
|
|
105
|
-
from .
|
|
106
|
-
from .discount_fields import DiscountFields
|
|
107
|
-
from .discount_plan_fields import DiscountPlanFields
|
|
108
|
-
from .discount_resource_fields import DiscountResourceFields
|
|
109
|
-
from .discount_resource_payload import DiscountResourcePayload
|
|
110
|
-
from .editlabelofanexisting_vm_payload import EditlabelofanexistingVMPayload
|
|
101
|
+
from .edit_label_of_an_existing_vm_payload import EditLabelOfAnExistingVMPayload
|
|
111
102
|
from .environment import Environment
|
|
112
103
|
from .environment_features import EnvironmentFeatures
|
|
113
104
|
from .environment_fields import EnvironmentFields
|
|
114
|
-
from .
|
|
105
|
+
from .environment_fields_for_volume import EnvironmentFieldsForVolume
|
|
115
106
|
from .environments import Environments
|
|
116
107
|
from .error_response_model import ErrorResponseModel
|
|
117
|
-
from .exclude_billing_post_payload import ExcludeBillingPostPayload
|
|
118
|
-
from .exclude_billing_post_response import ExcludeBillingPostResponse
|
|
119
|
-
from .export_billing_data_request import ExportBillingDataRequest
|
|
120
|
-
from .export_billing_data_response import ExportBillingDataResponse
|
|
121
|
-
from .field_change import FieldChange
|
|
122
108
|
from .firewall_attachment_model import FirewallAttachmentModel
|
|
123
109
|
from .firewall_attachment_vm_model import FirewallAttachmentVMModel
|
|
124
110
|
from .firewall_detail_fields import FirewallDetailFields
|
|
@@ -130,55 +116,33 @@ from .firewall_rule import FirewallRule
|
|
|
130
116
|
from .firewalls_list_response import FirewallsListResponse
|
|
131
117
|
from .flavor_fields import FlavorFields
|
|
132
118
|
from .flavor_item_get_response import FlavorItemGetResponse
|
|
119
|
+
from .flavor_label_fields import FlavorLabelFields
|
|
133
120
|
from .flavor_list_response import FlavorListResponse
|
|
134
121
|
from .flavor_object_fields import FlavorObjectFields
|
|
135
|
-
from .flavor_payload import FlavorPayload
|
|
136
|
-
from .flavor_response import FlavorResponse
|
|
137
|
-
from .flavor_vm_fields import FlavorVMFields
|
|
138
|
-
from .flavor_vms_response import FlavorVMsResponse
|
|
139
|
-
from .future_node_model import FutureNodeModel
|
|
140
|
-
from .future_node_response_model import FutureNodeResponseModel
|
|
141
|
-
from .future_node_stock_model import FutureNodeStockModel
|
|
142
|
-
from .future_node_update_model import FutureNodeUpdateModel
|
|
143
|
-
from .future_nodes_stock_model import FutureNodesStockModel
|
|
144
|
-
from .gpu import GPU
|
|
145
122
|
from .gpu_fields import GPUFields
|
|
146
123
|
from .gpu_list import GPUList
|
|
147
124
|
from .gpu_region_fields import GPURegionFields
|
|
148
125
|
from .generate_update_api_key_payload import GenerateUpdateApiKeyPayload
|
|
149
126
|
from .generate_update_api_key_response_model import GenerateUpdateApiKeyResponseModel
|
|
150
|
-
from .get_all_contract_fields import GetAllContractFields
|
|
151
|
-
from .get_all_contracts_response_model import GetAllContractsResponseModel
|
|
152
|
-
from .get_all_discount_for_all_organization_response import GetAllDiscountForAllOrganizationResponse
|
|
153
|
-
from .get_all_discounts_fields import GetAllDiscountsFields
|
|
154
127
|
from .get_api_keys_response_model import GetApiKeysResponseModel
|
|
128
|
+
from .get_credit_and_threshold_info import GetCreditAndThresholdInfo
|
|
129
|
+
from .get_credit_and_threshold_info_in_response import GetCreditAndThresholdInfoInResponse
|
|
155
130
|
from .get_customer_contracts_list_response_model import GetCustomerContractsListResponseModel
|
|
156
|
-
from .
|
|
157
|
-
from .get_discount_response import GetDiscountResponse
|
|
158
|
-
from .get_entity_discount_detail_response import GetEntityDiscountDetailResponse
|
|
131
|
+
from .get_instance_logs_response import GetInstanceLogsResponse
|
|
159
132
|
from .get_invites_response_model import GetInvitesResponseModel
|
|
160
133
|
from .get_organization_response_model import GetOrganizationResponseModel
|
|
161
134
|
from .get_permissions_response_model import GetPermissionsResponseModel
|
|
162
135
|
from .get_policies_response_model import GetPoliciesResponseModel
|
|
163
136
|
from .get_rbac_roles_response_model import GetRbacRolesResponseModel
|
|
164
|
-
from .get_token_payload import GetTokenPayload
|
|
165
137
|
from .get_user_permissions_response_model import GetUserPermissionsResponseModel
|
|
166
|
-
from .get_version_response import GetVersionResponse
|
|
167
|
-
from .getcreditandthresholdinfo import Getcreditandthresholdinfo
|
|
168
|
-
from .getcreditandthresholdinfoinresponse import Getcreditandthresholdinfoinresponse
|
|
169
138
|
from .graph_datetime_value_model import GraphDatetimeValueModel
|
|
170
|
-
from .historical_instance import HistoricalInstance
|
|
171
|
-
from .historical_instances_fields import HistoricalInstancesFields
|
|
172
139
|
from .image import Image
|
|
173
140
|
from .image_fields import ImageFields
|
|
174
141
|
from .image_get_response import ImageGetResponse
|
|
175
|
-
from .image_logos import ImageLogos
|
|
176
142
|
from .images import Images
|
|
177
143
|
from .import_keypair_payload import ImportKeypairPayload
|
|
178
144
|
from .import_keypair_response import ImportKeypairResponse
|
|
179
|
-
from .infrahub_resource_object_response import InfrahubResourceObjectResponse
|
|
180
145
|
from .infrahub_resource_object_response_for_customer import InfrahubResourceObjectResponseForCustomer
|
|
181
|
-
from .insert_discount_plan_fields import InsertDiscountPlanFields
|
|
182
146
|
from .instance import Instance
|
|
183
147
|
from .instance_environment_fields import InstanceEnvironmentFields
|
|
184
148
|
from .instance_events import InstanceEvents
|
|
@@ -190,56 +154,42 @@ from .instance_keypair_fields import InstanceKeypairFields
|
|
|
190
154
|
from .instance_overview_fields import InstanceOverviewFields
|
|
191
155
|
from .instance_resize_payload import InstanceResizePayload
|
|
192
156
|
from .instances import Instances
|
|
193
|
-
from .instances_summary_fields import InstancesSummaryFields
|
|
194
|
-
from .internal_environment_fields import InternalEnvironmentFields
|
|
195
|
-
from .internal_instance_fields import InternalInstanceFields
|
|
196
|
-
from .internal_instance_flavor_fields import InternalInstanceFlavorFields
|
|
197
|
-
from .internal_instance_image_fields import InternalInstanceImageFields
|
|
198
|
-
from .internal_instance_keypair_fields import InternalInstanceKeypairFields
|
|
199
|
-
from .internal_instances_response import InternalInstancesResponse
|
|
200
|
-
from .internal_security_rules_fields_for_instance import InternalSecurityRulesFieldsForInstance
|
|
201
|
-
from .internal_volume_attachment_fields import InternalVolumeAttachmentFields
|
|
202
|
-
from .internal_volume_fields import InternalVolumeFields
|
|
203
|
-
from .internal_volumes_response import InternalVolumesResponse
|
|
204
157
|
from .invite_fields import InviteFields
|
|
205
158
|
from .invite_user_payload import InviteUserPayload
|
|
206
159
|
from .invite_user_response_model import InviteUserResponseModel
|
|
160
|
+
from .keypair_environment_features import KeypairEnvironmentFeatures
|
|
161
|
+
from .keypair_environment_fields import KeypairEnvironmentFields
|
|
207
162
|
from .keypair_fields import KeypairFields
|
|
208
163
|
from .keypairs import Keypairs
|
|
209
164
|
from .lable_resonse import LableResonse
|
|
210
|
-
from .
|
|
211
|
-
from .
|
|
212
|
-
from .
|
|
213
|
-
from .
|
|
165
|
+
from .last_day_cost_fields import LastDayCostFields
|
|
166
|
+
from .last_day_cost_response import LastDayCostResponse
|
|
167
|
+
from .logos import Logos
|
|
168
|
+
from .mfa_status_fields import MFAStatusFields
|
|
169
|
+
from .mfa_status_response import MFAStatusResponse
|
|
170
|
+
from .master_flavors_response import MasterFlavorsResponse
|
|
214
171
|
from .metric_item_fields import MetricItemFields
|
|
215
172
|
from .metrics_fields import MetricsFields
|
|
173
|
+
from .model_evaluation_billing_history_details_response_schema import ModelEvaluationBillingHistoryDetailsResponseSchema
|
|
216
174
|
from .name_available_model import NameAvailableModel
|
|
217
175
|
from .new_configurations_response import NewConfigurationsResponse
|
|
218
176
|
from .new_model_response import NewModelResponse
|
|
219
177
|
from .new_stock_response import NewStockResponse
|
|
220
178
|
from .new_stock_retrive_response import NewStockRetriveResponse
|
|
221
|
-
from .new_stock_update_response_model import NewStockUpdateResponseModel
|
|
222
|
-
from .node_model import NodeModel
|
|
223
|
-
from .node_payload_model import NodePayloadModel
|
|
224
|
-
from .node_power_usage_model import NodePowerUsageModel
|
|
225
|
-
from .node_response_model import NodeResponseModel
|
|
226
|
-
from .node_stock_payload_model import NodeStockPayloadModel
|
|
227
|
-
from .node_stock_response_model import NodeStockResponseModel
|
|
228
|
-
from .node_stocks_payload import NodeStocksPayload
|
|
229
179
|
from .organization_fields import OrganizationFields
|
|
230
180
|
from .organization_level_billing_history import OrganizationLevelBillingHistory
|
|
231
181
|
from .organization_level_billing_history_resources import OrganizationLevelBillingHistoryResources
|
|
232
182
|
from .organization_level_billing_history_response_attributes import OrganizationLevelBillingHistoryResponseAttributes
|
|
233
183
|
from .organization_level_billing_history_response_metrics import OrganizationLevelBillingHistoryResponseMetrics
|
|
234
184
|
from .organization_level_billing_history_response_model import OrganizationLevelBillingHistoryResponseModel
|
|
235
|
-
from .
|
|
236
|
-
from .
|
|
185
|
+
from .organization_threshold_fields import OrganizationThresholdFields
|
|
186
|
+
from .organization_threshold_update_response import OrganizationThresholdUpdateResponse
|
|
187
|
+
from .organization_thresholds_response import OrganizationThresholdsResponse
|
|
237
188
|
from .organization_user_response_model import OrganizationUserResponseModel
|
|
238
|
-
from .organizationcreditrechargelimitresponse import Organizationcreditrechargelimitresponse
|
|
239
|
-
from .organizationthresholdsresponse import Organizationthresholdsresponse
|
|
240
|
-
from .organizationthresholdupdateresponse import Organizationthresholdupdateresponse
|
|
241
189
|
from .overview_info import OverviewInfo
|
|
190
|
+
from .pagination import Pagination
|
|
242
191
|
from .pagination_data import PaginationData
|
|
192
|
+
from .partner_config import PartnerConfig
|
|
243
193
|
from .payment_details_fields import PaymentDetailsFields
|
|
244
194
|
from .payment_details_response import PaymentDetailsResponse
|
|
245
195
|
from .payment_initiate_fields import PaymentInitiateFields
|
|
@@ -248,10 +198,9 @@ from .payment_initiate_response import PaymentInitiateResponse
|
|
|
248
198
|
from .permission_fields import PermissionFields
|
|
249
199
|
from .policy_fields import PolicyFields
|
|
250
200
|
from .policy_permission_fields import PolicyPermissionFields
|
|
251
|
-
from .power_usage_model import PowerUsageModel
|
|
252
201
|
from .pricebook_model import PricebookModel
|
|
253
|
-
from .pricebook_resource_object_response import PricebookResourceObjectResponse
|
|
254
202
|
from .pricebook_resource_object_response_for_customer import PricebookResourceObjectResponseForCustomer
|
|
203
|
+
from .primary_color import PrimaryColor
|
|
255
204
|
from .profile_fields import ProfileFields
|
|
256
205
|
from .profile_list_response import ProfileListResponse
|
|
257
206
|
from .profile_object_fields import ProfileObjectFields
|
|
@@ -259,17 +208,17 @@ from .rbac_role_detail_response_model import RbacRoleDetailResponseModel
|
|
|
259
208
|
from .rbac_role_detail_response_model_fixed import RbacRoleDetailResponseModelFixed
|
|
260
209
|
from .rbac_role_field import RbacRoleField
|
|
261
210
|
from .rbac_role_fields import RbacRoleFields
|
|
262
|
-
from .refresh_token_payload import RefreshTokenPayload
|
|
263
211
|
from .region_fields import RegionFields
|
|
264
|
-
from .region_payload import RegionPayload
|
|
265
|
-
from .region_response import RegionResponse
|
|
266
212
|
from .regions import Regions
|
|
267
213
|
from .remove_member_from_organization_response_model import RemoveMemberFromOrganizationResponseModel
|
|
268
214
|
from .remove_member_payload import RemoveMemberPayload
|
|
269
215
|
from .request_console import RequestConsole
|
|
216
|
+
from .request_instance_logs_payload import RequestInstanceLogsPayload
|
|
217
|
+
from .request_instance_logs_response import RequestInstanceLogsResponse
|
|
270
218
|
from .resource_billing_events_history_metrics import ResourceBillingEventsHistoryMetrics
|
|
271
219
|
from .resource_billing_events_history_response import ResourceBillingEventsHistoryResponse
|
|
272
220
|
from .resource_billing_response_for_customer import ResourceBillingResponseForCustomer
|
|
221
|
+
from .resource_level_billing_bucket_details_resources import ResourceLevelBillingBucketDetailsResources
|
|
273
222
|
from .resource_level_billing_details_attributes import ResourceLevelBillingDetailsAttributes
|
|
274
223
|
from .resource_level_billing_details_metrics import ResourceLevelBillingDetailsMetrics
|
|
275
224
|
from .resource_level_billing_details_vm import ResourceLevelBillingDetailsVM
|
|
@@ -278,12 +227,19 @@ from .resource_level_billing_details_volume_attributes import ResourceLevelBilli
|
|
|
278
227
|
from .resource_level_billing_details_volume_metrics import ResourceLevelBillingDetailsVolumeMetrics
|
|
279
228
|
from .resource_level_billing_history import ResourceLevelBillingHistory
|
|
280
229
|
from .resource_level_billing_history_resources import ResourceLevelBillingHistoryResources
|
|
230
|
+
from .resource_level_billing_history_resources_cluster import ResourceLevelBillingHistoryResourcesCluster
|
|
281
231
|
from .resource_level_billing_history_response_attributes import ResourceLevelBillingHistoryResponseAttributes
|
|
282
232
|
from .resource_level_billing_history_response_metrics import ResourceLevelBillingHistoryResponseMetrics
|
|
283
233
|
from .resource_level_billing_vm_details_resources import ResourceLevelBillingVMDetailsResources
|
|
284
234
|
from .resource_level_billing_volume_details_resources import ResourceLevelBillingVolumeDetailsResources
|
|
235
|
+
from .resource_level_bucket_billing_details_response_model import ResourceLevelBucketBillingDetailsResponseModel
|
|
236
|
+
from .resource_level_bucket_billing_history_response_model import ResourceLevelBucketBillingHistoryResponseModel
|
|
237
|
+
from .resource_level_cluster_billing_details_response_model import ResourceLevelClusterBillingDetailsResponseModel
|
|
238
|
+
from .resource_level_cluster_billing_history_response_model import ResourceLevelClusterBillingHistoryResponseModel
|
|
239
|
+
from .resource_level_cluster_graph_billing_details_response_model import ResourceLevelClusterGraphBillingDetailsResponseModel
|
|
285
240
|
from .resource_level_graph_billing_detail_volume import ResourceLevelGraphBillingDetailVolume
|
|
286
241
|
from .resource_level_graph_billing_details_attributes import ResourceLevelGraphBillingDetailsAttributes
|
|
242
|
+
from .resource_level_graph_billing_details_bucket import ResourceLevelGraphBillingDetailsBucket
|
|
287
243
|
from .resource_level_graph_billing_details_metrics import ResourceLevelGraphBillingDetailsMetrics
|
|
288
244
|
from .resource_level_graph_billing_details_vm import ResourceLevelGraphBillingDetailsVM
|
|
289
245
|
from .resource_level_graph_billing_vm_details_resources import ResourceLevelGraphBillingVMDetailsResources
|
|
@@ -298,12 +254,12 @@ from .resource_object_response_for_customer import ResourceObjectResponseForCust
|
|
|
298
254
|
from .response_model import ResponseModel
|
|
299
255
|
from .role_permission_fields import RolePermissionFields
|
|
300
256
|
from .role_policy_fields import RolePolicyFields
|
|
257
|
+
from .secondary_color import SecondaryColor
|
|
301
258
|
from .security_group_rule import SecurityGroupRule
|
|
302
259
|
from .security_group_rule_fields import SecurityGroupRuleFields
|
|
303
|
-
from .
|
|
260
|
+
from .security_rules_fields_for_instance import SecurityRulesFieldsForInstance
|
|
304
261
|
from .security_rules_protocol_fields import SecurityRulesProtocolFields
|
|
305
|
-
from .
|
|
306
|
-
from .single_visibility_user_response import SingleVisibilityUserResponse
|
|
262
|
+
from .serverless_inferenced_billing_history_details_response_schema import ServerlessInferencedBillingHistoryDetailsResponseSchema
|
|
307
263
|
from .snapshot_fields import SnapshotFields
|
|
308
264
|
from .snapshot_restore_request import SnapshotRestoreRequest
|
|
309
265
|
from .snapshot_retrieve import SnapshotRetrieve
|
|
@@ -311,50 +267,40 @@ from .snapshot_retrieve_fields import SnapshotRetrieveFields
|
|
|
311
267
|
from .snapshots import Snapshots
|
|
312
268
|
from .start_deployment import StartDeployment
|
|
313
269
|
from .start_deployment_payload import StartDeploymentPayload
|
|
314
|
-
from .stock_visibility_user_list_response import StockVisibilityUserListResponse
|
|
315
|
-
from .stock_visibility_user_payload import StockVisibilityUserPayload
|
|
316
270
|
from .sub_resource_graph_billing_details_metrics import SubResourceGraphBillingDetailsMetrics
|
|
317
271
|
from .sub_resources_costs_response_model import SubResourcesCostsResponseModel
|
|
318
272
|
from .sub_resources_graph_billing_history_fields import SubResourcesGraphBillingHistoryFields
|
|
319
273
|
from .sub_resources_graph_response_model import SubResourcesGraphResponseModel
|
|
320
|
-
from .
|
|
321
|
-
from .success_response_model import SuccessResponseModel
|
|
274
|
+
from .subscribe_or_unsubscribe_update_payload import SubscribeOrUnsubscribeUpdatePayload
|
|
322
275
|
from .template import Template
|
|
323
276
|
from .template_fields import TemplateFields
|
|
324
277
|
from .templates import Templates
|
|
325
|
-
from .
|
|
326
|
-
from .
|
|
327
|
-
from .update_discounts_payload import UpdateDiscountsPayload
|
|
328
|
-
from .update_discounts_status_payload import UpdateDiscountsStatusPayload
|
|
278
|
+
from .token_based_billing_history_response import TokenBasedBillingHistoryResponse
|
|
279
|
+
from .uris import URIs
|
|
329
280
|
from .update_environment import UpdateEnvironment
|
|
330
|
-
from .update_gpu import UpdateGPU
|
|
331
281
|
from .update_keypair_name import UpdateKeypairName
|
|
332
|
-
from .
|
|
282
|
+
from .update_keypair_name_response import UpdateKeypairNameResponse
|
|
333
283
|
from .update_organization_payload import UpdateOrganizationPayload
|
|
334
284
|
from .update_organization_response_model import UpdateOrganizationResponseModel
|
|
335
285
|
from .update_template import UpdateTemplate
|
|
286
|
+
from .update_volume_attachment_payload import UpdateVolumeAttachmentPayload
|
|
287
|
+
from .update_volume_payload import UpdateVolumePayload
|
|
288
|
+
from .update_volume_response import UpdateVolumeResponse
|
|
336
289
|
from .user_default_choice_for_user_fields import UserDefaultChoiceForUserFields
|
|
337
290
|
from .user_default_choices_for_user_response import UserDefaultChoicesForUserResponse
|
|
291
|
+
from .user_info_post_payload import UserInfoPostPayload
|
|
292
|
+
from .user_organizations_response import UserOrganizationsResponse
|
|
338
293
|
from .user_permission_fields import UserPermissionFields
|
|
339
|
-
from .user_transfer_payload import UserTransferPayload
|
|
340
|
-
from .userinfopostpayload import Userinfopostpayload
|
|
341
294
|
from .users_info_fields import UsersInfoFields
|
|
342
295
|
from .users_info_list_response import UsersInfoListResponse
|
|
343
|
-
from .vm_usage_request_payload import VMUsageRequestPayload
|
|
344
|
-
from .vm_usage_response import VMUsageResponse
|
|
345
296
|
from .vncurl import VNCURL
|
|
346
297
|
from .vncurl_fields import VNCURLFields
|
|
347
|
-
from .verify_api_key_payload import VerifyApiKeyPayload
|
|
348
|
-
from .verify_api_key_response_model import VerifyApiKeyResponseModel
|
|
349
|
-
from .virtual_machine_usage import VirtualMachineUsage
|
|
350
298
|
from .volume import Volume
|
|
351
299
|
from .volume_attachment_fields import VolumeAttachmentFields
|
|
352
300
|
from .volume_fields import VolumeFields
|
|
353
|
-
from .
|
|
301
|
+
from .volume_fields_for_instance import VolumeFieldsForInstance
|
|
354
302
|
from .volume_overview_fields import VolumeOverviewFields
|
|
355
|
-
from .volume_status_change_fields import VolumeStatusChangeFields
|
|
356
303
|
from .volume_types import VolumeTypes
|
|
357
304
|
from .volumes import Volumes
|
|
358
|
-
from .
|
|
359
|
-
from .
|
|
360
|
-
from .warning_mail_log_response import WarningMailLogResponse
|
|
305
|
+
from .volumes_fields import VolumesFields
|
|
306
|
+
from .workload_billing_history_response import WorkloadBillingHistoryResponse
|
|
@@ -22,12 +22,12 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class AccessTokenField(BaseModel):
|
|
26
26
|
"""
|
|
27
|
-
|
|
27
|
+
AccessTokenField
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
|
|
30
|
-
__properties: ClassVar[List[str]] = ["
|
|
29
|
+
access_token: Optional[StrictStr] = None
|
|
30
|
+
__properties: ClassVar[List[str]] = ["access_token"]
|
|
31
31
|
|
|
32
32
|
model_config = ConfigDict(
|
|
33
33
|
populate_by_name=True,
|
|
@@ -47,7 +47,7 @@ class EnvironmentFieldsforVolume(BaseModel):
|
|
|
47
47
|
|
|
48
48
|
@classmethod
|
|
49
49
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
50
|
-
"""Create an instance of
|
|
50
|
+
"""Create an instance of AccessTokenField from a JSON string"""
|
|
51
51
|
return cls.from_dict(json.loads(json_str))
|
|
52
52
|
|
|
53
53
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -72,7 +72,7 @@ class EnvironmentFieldsforVolume(BaseModel):
|
|
|
72
72
|
|
|
73
73
|
@classmethod
|
|
74
74
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
75
|
-
"""Create an instance of
|
|
75
|
+
"""Create an instance of AccessTokenField from a dict"""
|
|
76
76
|
if obj is None:
|
|
77
77
|
return None
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ class EnvironmentFieldsforVolume(BaseModel):
|
|
|
80
80
|
return cls.model_validate(obj)
|
|
81
81
|
|
|
82
82
|
_obj = cls.model_validate({
|
|
83
|
-
"
|
|
83
|
+
"access_token": obj.get("access_token")
|
|
84
84
|
})
|
|
85
85
|
return _obj
|
|
86
86
|
|
|
@@ -18,7 +18,7 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
from datetime import datetime
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
@@ -28,11 +28,13 @@ class AttachVolumeFields(BaseModel):
|
|
|
28
28
|
AttachVolumeFields
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
created_at: Optional[datetime] = None
|
|
31
|
+
device: Optional[StrictStr] = None
|
|
31
32
|
id: Optional[StrictInt] = None
|
|
32
33
|
instance_id: Optional[StrictInt] = None
|
|
34
|
+
protected: Optional[StrictBool] = None
|
|
33
35
|
status: Optional[StrictStr] = None
|
|
34
36
|
volume_id: Optional[StrictInt] = None
|
|
35
|
-
__properties: ClassVar[List[str]] = ["created_at", "id", "instance_id", "status", "volume_id"]
|
|
37
|
+
__properties: ClassVar[List[str]] = ["created_at", "device", "id", "instance_id", "protected", "status", "volume_id"]
|
|
36
38
|
|
|
37
39
|
model_config = ConfigDict(
|
|
38
40
|
populate_by_name=True,
|
|
@@ -86,8 +88,10 @@ class AttachVolumeFields(BaseModel):
|
|
|
86
88
|
|
|
87
89
|
_obj = cls.model_validate({
|
|
88
90
|
"created_at": obj.get("created_at"),
|
|
91
|
+
"device": obj.get("device"),
|
|
89
92
|
"id": obj.get("id"),
|
|
90
93
|
"instance_id": obj.get("instance_id"),
|
|
94
|
+
"protected": obj.get("protected"),
|
|
91
95
|
"status": obj.get("status"),
|
|
92
96
|
"volume_id": obj.get("volume_id")
|
|
93
97
|
})
|
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, StrictInt
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
@@ -26,8 +26,9 @@ class AttachVolumesPayload(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
AttachVolumesPayload
|
|
28
28
|
""" # noqa: E501
|
|
29
|
+
protected: Optional[StrictBool] = False
|
|
29
30
|
volume_ids: Optional[List[StrictInt]] = None
|
|
30
|
-
__properties: ClassVar[List[str]] = ["volume_ids"]
|
|
31
|
+
__properties: ClassVar[List[str]] = ["protected", "volume_ids"]
|
|
31
32
|
|
|
32
33
|
model_config = ConfigDict(
|
|
33
34
|
populate_by_name=True,
|
|
@@ -80,6 +81,7 @@ class AttachVolumesPayload(BaseModel):
|
|
|
80
81
|
return cls.model_validate(obj)
|
|
81
82
|
|
|
82
83
|
_obj = cls.model_validate({
|
|
84
|
+
"protected": obj.get("protected") if obj.get("protected") is not None else False,
|
|
83
85
|
"volume_ids": obj.get("volume_ids")
|
|
84
86
|
})
|
|
85
87
|
return _obj
|
|
@@ -17,20 +17,21 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class AttachmentsFieldsForVolume(BaseModel):
|
|
26
26
|
"""
|
|
27
|
-
|
|
27
|
+
AttachmentsFieldsForVolume
|
|
28
28
|
""" # noqa: E501
|
|
29
|
+
device: Optional[StrictStr] = None
|
|
29
30
|
id: Optional[StrictInt] = None
|
|
30
|
-
|
|
31
|
+
instance_id: Optional[StrictInt] = None
|
|
32
|
+
protected: Optional[StrictBool] = None
|
|
31
33
|
status: Optional[StrictStr] = None
|
|
32
|
-
|
|
33
|
-
__properties: ClassVar[List[str]] = ["id", "name", "status", "total_usage_time"]
|
|
34
|
+
__properties: ClassVar[List[str]] = ["device", "id", "instance_id", "protected", "status"]
|
|
34
35
|
|
|
35
36
|
model_config = ConfigDict(
|
|
36
37
|
populate_by_name=True,
|
|
@@ -50,7 +51,7 @@ class VirtualMachineUsage(BaseModel):
|
|
|
50
51
|
|
|
51
52
|
@classmethod
|
|
52
53
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
-
"""Create an instance of
|
|
54
|
+
"""Create an instance of AttachmentsFieldsForVolume from a JSON string"""
|
|
54
55
|
return cls.from_dict(json.loads(json_str))
|
|
55
56
|
|
|
56
57
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -75,7 +76,7 @@ class VirtualMachineUsage(BaseModel):
|
|
|
75
76
|
|
|
76
77
|
@classmethod
|
|
77
78
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
78
|
-
"""Create an instance of
|
|
79
|
+
"""Create an instance of AttachmentsFieldsForVolume from a dict"""
|
|
79
80
|
if obj is None:
|
|
80
81
|
return None
|
|
81
82
|
|
|
@@ -83,10 +84,11 @@ class VirtualMachineUsage(BaseModel):
|
|
|
83
84
|
return cls.model_validate(obj)
|
|
84
85
|
|
|
85
86
|
_obj = cls.model_validate({
|
|
87
|
+
"device": obj.get("device"),
|
|
86
88
|
"id": obj.get("id"),
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
89
|
+
"instance_id": obj.get("instance_id"),
|
|
90
|
+
"protected": obj.get("protected"),
|
|
91
|
+
"status": obj.get("status")
|
|
90
92
|
})
|
|
91
93
|
return _obj
|
|
92
94
|
|
|
@@ -17,24 +17,22 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from datetime import datetime
|
|
21
20
|
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
22
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
22
|
from typing import Optional, Set
|
|
24
23
|
from typing_extensions import Self
|
|
25
24
|
|
|
26
|
-
class
|
|
25
|
+
class Attributes(BaseModel):
|
|
27
26
|
"""
|
|
28
|
-
|
|
27
|
+
Attributes
|
|
29
28
|
""" # noqa: E501
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
org_id: Optional[StrictInt] = None
|
|
29
|
+
base_model: Optional[StrictStr] = None
|
|
30
|
+
base_model_display_name: Optional[StrictStr] = None
|
|
31
|
+
infrahub_id: Optional[StrictInt] = None
|
|
32
|
+
lora_adapter: Optional[StrictStr] = None
|
|
33
|
+
resource_name: Optional[StrictStr] = None
|
|
36
34
|
status: Optional[StrictStr] = None
|
|
37
|
-
__properties: ClassVar[List[str]] = ["
|
|
35
|
+
__properties: ClassVar[List[str]] = ["base_model", "base_model_display_name", "infrahub_id", "lora_adapter", "resource_name", "status"]
|
|
38
36
|
|
|
39
37
|
model_config = ConfigDict(
|
|
40
38
|
populate_by_name=True,
|
|
@@ -54,7 +52,7 @@ class FlavorVMFields(BaseModel):
|
|
|
54
52
|
|
|
55
53
|
@classmethod
|
|
56
54
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
57
|
-
"""Create an instance of
|
|
55
|
+
"""Create an instance of Attributes from a JSON string"""
|
|
58
56
|
return cls.from_dict(json.loads(json_str))
|
|
59
57
|
|
|
60
58
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -79,7 +77,7 @@ class FlavorVMFields(BaseModel):
|
|
|
79
77
|
|
|
80
78
|
@classmethod
|
|
81
79
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
82
|
-
"""Create an instance of
|
|
80
|
+
"""Create an instance of Attributes from a dict"""
|
|
83
81
|
if obj is None:
|
|
84
82
|
return None
|
|
85
83
|
|
|
@@ -87,12 +85,11 @@ class FlavorVMFields(BaseModel):
|
|
|
87
85
|
return cls.model_validate(obj)
|
|
88
86
|
|
|
89
87
|
_obj = cls.model_validate({
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"org_id": obj.get("org_id"),
|
|
88
|
+
"base_model": obj.get("base_model"),
|
|
89
|
+
"base_model_display_name": obj.get("base_model_display_name"),
|
|
90
|
+
"infrahub_id": obj.get("infrahub_id"),
|
|
91
|
+
"lora_adapter": obj.get("lora_adapter"),
|
|
92
|
+
"resource_name": obj.get("resource_name"),
|
|
96
93
|
"status": obj.get("status")
|
|
97
94
|
})
|
|
98
95
|
return _obj
|