Skip to content

Commit 42597cf

Browse files
committed
SDK Release v1.55.6-alpha
1 parent aed5317 commit 42597cf

80 files changed

Lines changed: 34 additions & 8325 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ To contribute, please raise an issue with a bug report, feature request, feedbac
88
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
99

1010
- API version: 1.0
11-
- Package version: v1.55.4-alpha
11+
- Package version: v1.55.6-alpha
1212
- Generator version: 7.10.0
1313
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1414

@@ -128,7 +128,6 @@ Class | Method | HTTP request | Description
128128
*AssigningMemberRoleApi* | [**assign_rbac_role_to_user**](docs/AssigningMemberRoleApi.md#assign_rbac_role_to_user) | **PUT** /auth/users/{user_id}/assign-roles | Assign RBAC Role
129129
*AssigningMemberRoleApi* | [**remove_rbac_role_from_user**](docs/AssigningMemberRoleApi.md#remove_rbac_role_from_user) | **DELETE** /auth/users/{user_id}/roles | Remove RBAC Role From User
130130
*AuthApi* | [**change_organization_for_token**](docs/AuthApi.md#change_organization_for_token) | **GET** /auth/token/change-org/{org_id} |
131-
*AuthApi* | [**disable_mfa**](docs/AuthApi.md#disable_mfa) | **POST** /auth/me/mfa/disable |
132131
*AuthApi* | [**get_user_mfa_status**](docs/AuthApi.md#get_user_mfa_status) | **GET** /auth/me/mfa | Get MFA status for authenticated user
133132
*AuthApi* | [**get_user_organizations**](docs/AuthApi.md#get_user_organizations) | **GET** /auth/me/organizations | Get User Organizations
134133
*AuthApi* | [**retrieve_authenticated_user_details**](docs/AuthApi.md#retrieve_authenticated_user_details) | **GET** /auth/me | Retrieve Authenticated User Details
@@ -204,16 +203,8 @@ Class | Method | HTTP request | Description
204203
*ClustersApi* | [**list_node_groups**](docs/ClustersApi.md#list_node_groups) | **GET** /core/clusters/{cluster_id}/node-groups | List node groups for a cluster
205204
*ClustersApi* | [**reconcile_cluster**](docs/ClustersApi.md#reconcile_cluster) | **POST** /core/clusters/{cluster_id}/reconcile | Reconcile a cluster
206205
*ClustersApi* | [**update_node_group**](docs/ClustersApi.md#update_node_group) | **PATCH** /core/clusters/{cluster_id}/node-groups/{node_group_id} | Update a node group in a cluster
207-
*ComplianceApi* | [**create_compliance**](docs/ComplianceApi.md#create_compliance) | **POST** /core/compliance | Create compliance
208-
*ComplianceApi* | [**delete_compliance**](docs/ComplianceApi.md#delete_compliance) | **DELETE** /core/compliance/{gpu_model} | Delete a compliance
209-
*ComplianceApi* | [**get_compliance**](docs/ComplianceApi.md#get_compliance) | **GET** /core/compliance | Retrieve GPU compliance
210-
*ComplianceApi* | [**update_compliance**](docs/ComplianceApi.md#update_compliance) | **PUT** /core/compliance | Update a compliance
211206
*CreditApi* | [**get_user_credit**](docs/CreditApi.md#get_user_credit) | **GET** /billing/user-credit/credit | GET: View credit and threshold
212207
*DashboardApi* | [**get_dashboard**](docs/DashboardApi.md#get_dashboard) | **GET** /core/dashboard | Retrieve Dashboard
213-
*DeploymentApi* | [**delete_deployment**](docs/DeploymentApi.md#delete_deployment) | **DELETE** /core/marketplace/deployments/{id} | Delete Deployment
214-
*DeploymentApi* | [**get_deployment**](docs/DeploymentApi.md#get_deployment) | **GET** /core/marketplace/deployments/{id} | Details of Deployment by ID
215-
*DeploymentApi* | [**list_deployments**](docs/DeploymentApi.md#list_deployments) | **GET** /core/marketplace/deployments | List Deployments
216-
*DeploymentApi* | [**start_deployment**](docs/DeploymentApi.md#start_deployment) | **POST** /core/marketplace/deployments | Start Deployment
217208
*EmailOptInOutApi* | [**get_email_preferences_for_a_user**](docs/EmailOptInOutApi.md#get_email_preferences_for_a_user) | **GET** /auth/email/opt-out | Get all email preferences for the authenticated user
218209
*EmailOptInOutApi* | [**toggle_all_optional_email_preferences_for_the_user**](docs/EmailOptInOutApi.md#toggle_all_optional_email_preferences_for_the_user) | **PUT** /auth/email/opt-out | Toggle all optional email preferences for the authenticated user
219210
*EmailOptInOutApi* | [**update_email_preference_for_a_category_by_slug**](docs/EmailOptInOutApi.md#update_email_preference_for_a_category_by_slug) | **PUT** /auth/email/opt-out/{slug} | Update email preference opted_in status for a category slug
@@ -271,11 +262,6 @@ Class | Method | HTTP request | Description
271262
*SecurityRulesApi* | [**list_firewall_rule_protocols**](docs/SecurityRulesApi.md#list_firewall_rule_protocols) | **GET** /core/sg-rules-protocols | List firewall rule protocols
272263
*SnapshotEventsApi* | [**list_snapshot_events**](docs/SnapshotEventsApi.md#list_snapshot_events) | **GET** /core/snapshots/{snapshot_id}/events | Fetch all events for a snapshot
273264
*StockApi* | [**get_gpu_stock**](docs/StockApi.md#get_gpu_stock) | **GET** /core/stocks | Retrieve GPU stocks
274-
*TemplateApi* | [**create_template**](docs/TemplateApi.md#create_template) | **POST** /core/marketplace/templates | Create template
275-
*TemplateApi* | [**delete_template**](docs/TemplateApi.md#delete_template) | **DELETE** /core/marketplace/templates/{id} | Delete template
276-
*TemplateApi* | [**get_template**](docs/TemplateApi.md#get_template) | **GET** /core/marketplace/templates/{id} | Retrieve template details
277-
*TemplateApi* | [**list_templates**](docs/TemplateApi.md#list_templates) | **GET** /core/marketplace/templates | List templates
278-
*TemplateApi* | [**update_template**](docs/TemplateApi.md#update_template) | **PUT** /core/marketplace/templates/{id} | Update template
279265
*UserApi* | [**add_user_billing_info**](docs/UserApi.md#add_user_billing_info) | **POST** /billing/user/info | POST: Insert billing info
280266
*UserApi* | [**get_allowed_country_codes**](docs/UserApi.md#get_allowed_country_codes) | **GET** /billing/user/countries | GET: Retrieve allowed country codes
281267
*UserApi* | [**get_user_billing_info**](docs/UserApi.md#get_user_billing_info) | **GET** /billing/user/info | GET: Retrieve billing info
@@ -383,16 +369,11 @@ Class | Method | HTTP request | Description
383369
- [CommonResponseModel](docs/CommonResponseModel.md)
384370
- [CompatibleFlavor](docs/CompatibleFlavor.md)
385371
- [CompatibleImage](docs/CompatibleImage.md)
386-
- [ComplianceFields](docs/ComplianceFields.md)
387-
- [ComplianceModelFields](docs/ComplianceModelFields.md)
388-
- [CompliancePayload](docs/CompliancePayload.md)
389-
- [ComplianceResponse](docs/ComplianceResponse.md)
390372
- [ConsentActionResponse](docs/ConsentActionResponse.md)
391373
- [ConsentBlock](docs/ConsentBlock.md)
392374
- [ConsentEventsResponse](docs/ConsentEventsResponse.md)
393375
- [ConsentTemplate](docs/ConsentTemplate.md)
394376
- [ConsentTemplatesResponse](docs/ConsentTemplatesResponse.md)
395-
- [ContainerOverviewFields](docs/ContainerOverviewFields.md)
396377
- [Contract](docs/Contract.md)
397378
- [ContractDiscountPlanFields](docs/ContractDiscountPlanFields.md)
398379
- [ContractGPUAllocationGraphResponse](docs/ContractGPUAllocationGraphResponse.md)
@@ -415,17 +396,13 @@ Class | Method | HTTP request | Description
415396
- [CreateSecurityRulePayload](docs/CreateSecurityRulePayload.md)
416397
- [CreateSnapshotPayload](docs/CreateSnapshotPayload.md)
417398
- [CreateSnapshotResponse](docs/CreateSnapshotResponse.md)
418-
- [CreateUpdateComplianceResponse](docs/CreateUpdateComplianceResponse.md)
419399
- [CreateUpdateRbacRolePayload](docs/CreateUpdateRbacRolePayload.md)
420400
- [CreateVolumePayload](docs/CreateVolumePayload.md)
421401
- [CustomerContractDetailResponseModel](docs/CustomerContractDetailResponseModel.md)
422402
- [CustomerContractFields](docs/CustomerContractFields.md)
423403
- [DashboardInfoResponse](docs/DashboardInfoResponse.md)
424404
- [DataSynthesisBillingHistoryDetailsResponseSchema](docs/DataSynthesisBillingHistoryDetailsResponseSchema.md)
425405
- [DeleteClusterNodesFields](docs/DeleteClusterNodesFields.md)
426-
- [DeploymentFields](docs/DeploymentFields.md)
427-
- [DeploymentFieldsForStartDeployments](docs/DeploymentFieldsForStartDeployments.md)
428-
- [Deployments](docs/Deployments.md)
429406
- [DetachVolumes](docs/DetachVolumes.md)
430407
- [DetachVolumesPayload](docs/DetachVolumesPayload.md)
431408
- [DisableAutoTopupResponse](docs/DisableAutoTopupResponse.md)
@@ -621,17 +598,12 @@ Class | Method | HTTP request | Description
621598
- [SnapshotRetrieve](docs/SnapshotRetrieve.md)
622599
- [SnapshotRetrieveFields](docs/SnapshotRetrieveFields.md)
623600
- [Snapshots](docs/Snapshots.md)
624-
- [StartDeployment](docs/StartDeployment.md)
625-
- [StartDeploymentPayload](docs/StartDeploymentPayload.md)
626601
- [SubResourceGraphBillingDetailsMetrics](docs/SubResourceGraphBillingDetailsMetrics.md)
627602
- [SubResourcesCostsResponseModel](docs/SubResourcesCostsResponseModel.md)
628603
- [SubResourcesGraphBillingHistoryFields](docs/SubResourcesGraphBillingHistoryFields.md)
629604
- [SubResourcesGraphResponseModel](docs/SubResourcesGraphResponseModel.md)
630605
- [SubscribeOrUnsubscribeUpdatePayload](docs/SubscribeOrUnsubscribeUpdatePayload.md)
631606
- [SupportedKeypairPublicKeyTypesResponse](docs/SupportedKeypairPublicKeyTypesResponse.md)
632-
- [Template](docs/Template.md)
633-
- [TemplateFields](docs/TemplateFields.md)
634-
- [Templates](docs/Templates.md)
635607
- [TokenBasedBillingHistoryResponse](docs/TokenBasedBillingHistoryResponse.md)
636608
- [URIs](docs/URIs.md)
637609
- [UpdateAutoTopupPayload](docs/UpdateAutoTopupPayload.md)
@@ -645,7 +617,6 @@ Class | Method | HTTP request | Description
645617
- [UpdateKeypairNameResponse](docs/UpdateKeypairNameResponse.md)
646618
- [UpdateOrganizationPayload](docs/UpdateOrganizationPayload.md)
647619
- [UpdateOrganizationResponseModel](docs/UpdateOrganizationResponseModel.md)
648-
- [UpdateTemplate](docs/UpdateTemplate.md)
649620
- [UpdateVolumeAttachmentPayload](docs/UpdateVolumeAttachmentPayload.md)
650621
- [UpdateVolumePayload](docs/UpdateVolumePayload.md)
651622
- [UpdateVolumeResponse](docs/UpdateVolumeResponse.md)

‎docs/AuthApi.md‎

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ All URIs are relative to *https://infrahub-api.nexgencloud.com/v1*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**change_organization_for_token**](AuthApi.md#change_organization_for_token) | **GET** /auth/token/change-org/{org_id} |
8-
[**disable_mfa**](AuthApi.md#disable_mfa) | **POST** /auth/me/mfa/disable |
98
[**get_user_mfa_status**](AuthApi.md#get_user_mfa_status) | **GET** /auth/me/mfa | Get MFA status for authenticated user
109
[**get_user_organizations**](AuthApi.md#get_user_organizations) | **GET** /auth/me/organizations | Get User Organizations
1110
[**retrieve_authenticated_user_details**](AuthApi.md#retrieve_authenticated_user_details) | **GET** /auth/me | Retrieve Authenticated User Details
@@ -93,84 +92,6 @@ Name | Type | Description | Notes
9392

9493
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
9594

96-
# **disable_mfa**
97-
> CommonResponseModel disable_mfa()
98-
99-
100-
101-
Disable Multi-Factor Authentication (MFA) for the currently authenticated user. This endpoint is used to turn off MFA.
102-
103-
### Example
104-
105-
* Api Key Authentication (apiKey):
106-
107-
```python
108-
import hyperstack
109-
from hyperstack.models.common_response_model import CommonResponseModel
110-
from hyperstack.rest import ApiException
111-
from pprint import pprint
112-
113-
# Defining the host is optional and defaults to https://infrahub-api.nexgencloud.com/v1
114-
# See configuration.py for a list of all supported configuration parameters.
115-
configuration = hyperstack.Configuration(
116-
host = "https://infrahub-api.nexgencloud.com/v1"
117-
)
118-
119-
# The client must configure the authentication and authorization parameters
120-
# in accordance with the API server security policy.
121-
# Examples for each auth method are provided below, use the example that
122-
# satisfies your auth use case.
123-
124-
# Configure API key authorization: apiKey
125-
configuration.api_key['apiKey'] = os.environ["API_KEY"]
126-
127-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
128-
# configuration.api_key_prefix['apiKey'] = 'Bearer'
129-
130-
# Enter a context with an instance of the API client
131-
with hyperstack.ApiClient(configuration) as api_client:
132-
# Create an instance of the API class
133-
api_instance = hyperstack.AuthApi(api_client)
134-
135-
try:
136-
api_response = api_instance.disable_mfa()
137-
print("The response of AuthApi->disable_mfa:\n")
138-
pprint(api_response)
139-
except Exception as e:
140-
print("Exception when calling AuthApi->disable_mfa: %s\n" % e)
141-
```
142-
143-
144-
145-
### Parameters
146-
147-
This endpoint does not need any parameter.
148-
149-
### Return type
150-
151-
[**CommonResponseModel**](CommonResponseModel.md)
152-
153-
### Authorization
154-
155-
[apiKey](../README.md#apiKey)
156-
157-
### HTTP request headers
158-
159-
- **Content-Type**: Not defined
160-
- **Accept**: application/json
161-
162-
### HTTP response details
163-
164-
| Status code | Description | Response headers |
165-
|-------------|-------------|------------------|
166-
**200** | MFA Disabled | - |
167-
**401** | Unauthorized | - |
168-
**403** | Forbidden - CSRF validation failed | - |
169-
**404** | User not found | - |
170-
**500** | Internal Server Error | - |
171-
172-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
173-
17495
# **get_user_mfa_status**
17596
> MFAStatusResponse get_user_mfa_status()
17697

0 commit comments

Comments
 (0)