Skip to content

Commit 211aae0

Browse files
author
Flexify
committed
v2.12.20-SNAPSHOT build 1341
1 parent 50105d3 commit 211aae0

Some content is hidden

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

45 files changed

+2633
-534
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,15 @@ Class | Method | HTTP request | Description
7575
*AuthControllerApi* | [**authenticate**](docs/AuthControllerApi.md#authenticate) | **POST** /backend/rest/auth | Generate new access token for the user
7676
*AuthControllerApi* | [**check_token_and_get_user**](docs/AuthControllerApi.md#check_token_and_get_user) | **GET** /backend/rest/auth/user | Check of given token
7777
*AuthControllerApi* | [**logout**](docs/AuthControllerApi.md#logout) | **POST** /backend/rest/auth/logout | Logout
78+
*AuthSsoControllerApi* | [**get_config**](docs/AuthSsoControllerApi.md#get_config) | **GET** /backend/rest/auth/sso/config | getConfig
79+
*AuthSsoControllerApi* | [**get_device_code**](docs/AuthSsoControllerApi.md#get_device_code) | **GET** /backend/rest/auth/sso/device-code | getDeviceCode
80+
*AuthSsoControllerApi* | [**get_token_by_device_code**](docs/AuthSsoControllerApi.md#get_token_by_device_code) | **POST** /backend/rest/auth/sso/token-by-device-code | getTokenByDeviceCode
81+
*AuthSsoControllerApi* | [**refresh_token_for_device_code_flow**](docs/AuthSsoControllerApi.md#refresh_token_for_device_code_flow) | **POST** /backend/rest/auth/sso/token-refresh | refreshTokenForDeviceCodeFlow
7882
*BillingAccountControllerApi* | [**get_costs_for_current_user_billing_account**](docs/BillingAccountControllerApi.md#get_costs_for_current_user_billing_account) | **GET** /backend/rest/account/costs | Get costs for current user
7983
*BillingAccountControllerApi* | [**get_current_user_billing_account**](docs/BillingAccountControllerApi.md#get_current_user_billing_account) | **GET** /backend/rest/account | Get billing account for current user
8084
*BillingAccountControllerApi* | [**get_payments_for_current_user**](docs/BillingAccountControllerApi.md#get_payments_for_current_user) | **GET** /backend/rest/account/payments | Get payments for current user
8185
*CloudLocationsControllerApi* | [**get_auto_deploy_available_locations_for_current_user**](docs/CloudLocationsControllerApi.md#get_auto_deploy_available_locations_for_current_user) | **GET** /backend/rest/cloud-locations/auto-deploy | getAutoDeployAvailableLocationsForCurrentUser
8286
*CloudLocationsControllerApi* | [**get_existing_available_locations_for_current_user**](docs/CloudLocationsControllerApi.md#get_existing_available_locations_for_current_user) | **GET** /backend/rest/cloud-locations | getExistingAvailableLocationsForCurrentUser
83-
*ConfigControllerApi* | [**get_config**](docs/ConfigControllerApi.md#get_config) | **GET** /backend/rest/auth/config | Get public Management Server config
8487
*ConfigControllerApi* | [**get_config1**](docs/ConfigControllerApi.md#get_config1) | **GET** /backend/rest/config | Get public Management Server config
8588
*CostEstimateControllerApi* | [**estimate_migration_cost**](docs/CostEstimateControllerApi.md#estimate_migration_cost) | **POST** /backend/rest/cost/migration | estimateMigrationCost
8689
*EndpointsControllerApi* | [**attach_accounts**](docs/EndpointsControllerApi.md#attach_accounts) | **POST** /backend/rest/endpoints/{endpoint-id}/storage-accounts | Attach storage accounts to the endpoint
@@ -119,7 +122,6 @@ Class | Method | HTTP request | Description
119122
*MigrationsControllerApi* | [**hide_migration**](docs/MigrationsControllerApi.md#hide_migration) | **POST** /backend/rest/migrations/{migration-id}/actions/hide | Mark migration as hidden
120123
*MigrationsControllerApi* | [**restart_slot**](docs/MigrationsControllerApi.md#restart_slot) | **POST** /backend/rest/migrations/{migration-id}/mappings/{mapping-id}/slots/{slot}/actions/restart | Mark migration as hidden
121124
*MigrationsControllerApi* | [**stop_migration**](docs/MigrationsControllerApi.md#stop_migration) | **POST** /backend/rest/migrations/{migration-id}/actions/stop | Stop (cancel) the migration
122-
*OAuthControllerApi* | [**get_app_info**](docs/OAuthControllerApi.md#get_app_info) | **GET** /backend/rest/oauth/app-info | getAppInfo
123125
*PartnerOrganizationsControllerApi* | [**get_all**](docs/PartnerOrganizationsControllerApi.md#get_all) | **GET** /backend/rest/partner/organizations | getAll
124126
*PartnerOrganizationsControllerApi* | [**get_org_limits**](docs/PartnerOrganizationsControllerApi.md#get_org_limits) | **GET** /backend/rest/partner/organizations/{orgId}/limits | getOrgLimits
125127
*PartnerSignUpCodesControllerApi* | [**create_code**](docs/PartnerSignUpCodesControllerApi.md#create_code) | **POST** /backend/rest/distributor/codes | createCode
@@ -197,6 +199,8 @@ Class | Method | HTTP request | Description
197199
*StorageAccountsControllerApi* | [**get_storage_accounts**](docs/StorageAccountsControllerApi.md#get_storage_accounts) | **GET** /backend/rest/storage-accounts | Get all storage accounts for current user
198200
*StorageAccountsControllerApi* | [**refresh_storage_account**](docs/StorageAccountsControllerApi.md#refresh_storage_account) | **POST** /backend/rest/storage-accounts/{storage-account-id}/actions/refresh | Requests and updates list of buckets/containers for the storage account
199201
*StorageAccountsControllerApi* | [**set_storage_account_settings**](docs/StorageAccountsControllerApi.md#set_storage_account_settings) | **PUT** /backend/rest/storage-accounts/{storage-account-id}/settings | Updates storage account settings
202+
*StorageAccountsOAuthControllerApi* | [**get_config2**](docs/StorageAccountsOAuthControllerApi.md#get_config2) | **GET** /backend/rest/storage-accounts/oauth/config | getConfig
203+
*StorageAccountsOAuthControllerApi* | [**get_device_code1**](docs/StorageAccountsOAuthControllerApi.md#get_device_code1) | **GET** /backend/rest/storage-accounts/oauth/device-code | getDeviceCode
200204
*StoragesControllerApi* | [**add_buckets**](docs/StoragesControllerApi.md#add_buckets) | **POST** /backend/rest/storage-accounts/{storage-account-id}/buckets | Add buckets to the storage account
201205
*StoragesControllerApi* | [**delete_bucket**](docs/StoragesControllerApi.md#delete_bucket) | **DELETE** /backend/rest/storage-accounts/{storage-account-id}/buckets/{bucket-id} | Deletes (hides) a bucket/container
202206
*StoragesControllerApi* | [**get_bucket**](docs/StoragesControllerApi.md#get_bucket) | **GET** /backend/rest/storage-accounts/{storage-account-id}/buckets/{bucket-id} | Get detailed stats for the bucket
@@ -216,7 +220,6 @@ Class | Method | HTTP request | Description
216220
- [AddMigrationRequest](docs/AddMigrationRequest.md)
217221
- [AddMigrationRequestMapping](docs/AddMigrationRequestMapping.md)
218222
- [AddStorageAccountRequest](docs/AddStorageAccountRequest.md)
219-
- [AuthAppInfo](docs/AuthAppInfo.md)
220223
- [AuthCheckTokenAndGetUserResponse](docs/AuthCheckTokenAndGetUserResponse.md)
221224
- [AuthenticationRequest](docs/AuthenticationRequest.md)
222225
- [AuthenticationResponse](docs/AuthenticationResponse.md)
@@ -243,6 +246,7 @@ Class | Method | HTTP request | Description
243246
- [EndpointStat](docs/EndpointStat.md)
244247
- [EndpointStorageAccount](docs/EndpointStorageAccount.md)
245248
- [EndpointStorageAccountSettings](docs/EndpointStorageAccountSettings.md)
249+
- [FinishOAuthParams](docs/FinishOAuthParams.md)
246250
- [IdResponse](docs/IdResponse.md)
247251
- [IdsList](docs/IdsList.md)
248252
- [ImpersonateUser](docs/ImpersonateUser.md)
@@ -253,13 +257,16 @@ Class | Method | HTTP request | Description
253257
- [Mapping](docs/Mapping.md)
254258
- [MappingStat](docs/MappingStat.md)
255259
- [MarkerPageLogEntry](docs/MarkerPageLogEntry.md)
260+
- [MicrosoftOAuthConfig](docs/MicrosoftOAuthConfig.md)
256261
- [Migration](docs/Migration.md)
257262
- [MigrationSettings](docs/MigrationSettings.md)
258263
- [MigrationSettingsReq](docs/MigrationSettingsReq.md)
259264
- [MigrationSettingsRes](docs/MigrationSettingsRes.md)
260265
- [MigrationStat](docs/MigrationStat.md)
261266
- [Money](docs/Money.md)
262267
- [NewStorageAccount](docs/NewStorageAccount.md)
268+
- [OAuth2DeviceCodeResponse](docs/OAuth2DeviceCodeResponse.md)
269+
- [OAuthToken](docs/OAuthToken.md)
263270
- [Organization](docs/Organization.md)
264271
- [PageMigration](docs/PageMigration.md)
265272
- [PageUserStat](docs/PageUserStat.md)
@@ -273,6 +280,7 @@ Class | Method | HTTP request | Description
273280
- [PriceList](docs/PriceList.md)
274281
- [PublicAuthenticationConfiguration](docs/PublicAuthenticationConfiguration.md)
275282
- [PublicManagementServerConfiguration](docs/PublicManagementServerConfiguration.md)
283+
- [RefreshTokenRequest](docs/RefreshTokenRequest.md)
276284
- [RequestResetPasswordRequest](docs/RequestResetPasswordRequest.md)
277285
- [ResetPasswordRequest](docs/ResetPasswordRequest.md)
278286
- [ResetSsoRequest](docs/ResetSsoRequest.md)
@@ -295,6 +303,7 @@ Class | Method | HTTP request | Description
295303
- [StorageAccountWithBuckets](docs/StorageAccountWithBuckets.md)
296304
- [StorageAccountsRequest](docs/StorageAccountsRequest.md)
297305
- [StorageProvider](docs/StorageProvider.md)
306+
- [TokenByDeviceCodeRequest](docs/TokenByDeviceCodeRequest.md)
298307
- [TokenConfiguration](docs/TokenConfiguration.md)
299308
- [UpdateUserRequest](docs/UpdateUserRequest.md)
300309
- [User](docs/User.md)

docs/AuthSsoControllerApi.md

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
# flexify_api.AuthSsoControllerApi
2+
3+
All URIs are relative to *https://api.flexify.io*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**get_config**](AuthSsoControllerApi.md#get_config) | **GET** /backend/rest/auth/sso/config | getConfig
8+
[**get_device_code**](AuthSsoControllerApi.md#get_device_code) | **GET** /backend/rest/auth/sso/device-code | getDeviceCode
9+
[**get_token_by_device_code**](AuthSsoControllerApi.md#get_token_by_device_code) | **POST** /backend/rest/auth/sso/token-by-device-code | getTokenByDeviceCode
10+
[**refresh_token_for_device_code_flow**](AuthSsoControllerApi.md#refresh_token_for_device_code_flow) | **POST** /backend/rest/auth/sso/token-refresh | refreshTokenForDeviceCodeFlow
11+
12+
13+
# **get_config**
14+
> MicrosoftOAuthConfig get_config(oauth_provider_id)
15+
16+
getConfig
17+
18+
### Example
19+
```python
20+
from __future__ import print_function
21+
import time
22+
import flexify_api
23+
from flexify_api.rest import ApiException
24+
from pprint import pprint
25+
26+
# Configure API key authorization: Bearer
27+
configuration = flexify_api.Configuration()
28+
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
29+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
30+
# configuration.api_key_prefix['Authorization'] = 'Bearer'
31+
32+
# create an instance of the API class
33+
api_instance = flexify_api.AuthSsoControllerApi(flexify_api.ApiClient(configuration))
34+
oauth_provider_id = 'oauth_provider_id_example' # str | oauth-provider-id
35+
36+
try:
37+
# getConfig
38+
api_response = api_instance.get_config(oauth_provider_id)
39+
pprint(api_response)
40+
except ApiException as e:
41+
print("Exception when calling AuthSsoControllerApi->get_config: %s\n" % e)
42+
```
43+
44+
### Parameters
45+
46+
Name | Type | Description | Notes
47+
------------- | ------------- | ------------- | -------------
48+
**oauth_provider_id** | **str**| oauth-provider-id |
49+
50+
### Return type
51+
52+
[**MicrosoftOAuthConfig**](MicrosoftOAuthConfig.md)
53+
54+
### Authorization
55+
56+
[Bearer](../README.md#Bearer)
57+
58+
### HTTP request headers
59+
60+
- **Content-Type**: Not defined
61+
- **Accept**: */*
62+
63+
[[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)
64+
65+
# **get_device_code**
66+
> OAuth2DeviceCodeResponse get_device_code(oauth_provider_id)
67+
68+
getDeviceCode
69+
70+
### Example
71+
```python
72+
from __future__ import print_function
73+
import time
74+
import flexify_api
75+
from flexify_api.rest import ApiException
76+
from pprint import pprint
77+
78+
# Configure API key authorization: Bearer
79+
configuration = flexify_api.Configuration()
80+
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
81+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
82+
# configuration.api_key_prefix['Authorization'] = 'Bearer'
83+
84+
# create an instance of the API class
85+
api_instance = flexify_api.AuthSsoControllerApi(flexify_api.ApiClient(configuration))
86+
oauth_provider_id = 'oauth_provider_id_example' # str | oauth-provider-id
87+
88+
try:
89+
# getDeviceCode
90+
api_response = api_instance.get_device_code(oauth_provider_id)
91+
pprint(api_response)
92+
except ApiException as e:
93+
print("Exception when calling AuthSsoControllerApi->get_device_code: %s\n" % e)
94+
```
95+
96+
### Parameters
97+
98+
Name | Type | Description | Notes
99+
------------- | ------------- | ------------- | -------------
100+
**oauth_provider_id** | **str**| oauth-provider-id |
101+
102+
### Return type
103+
104+
[**OAuth2DeviceCodeResponse**](OAuth2DeviceCodeResponse.md)
105+
106+
### Authorization
107+
108+
[Bearer](../README.md#Bearer)
109+
110+
### HTTP request headers
111+
112+
- **Content-Type**: Not defined
113+
- **Accept**: */*
114+
115+
[[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)
116+
117+
# **get_token_by_device_code**
118+
> OAuthToken get_token_by_device_code(request)
119+
120+
getTokenByDeviceCode
121+
122+
### Example
123+
```python
124+
from __future__ import print_function
125+
import time
126+
import flexify_api
127+
from flexify_api.rest import ApiException
128+
from pprint import pprint
129+
130+
# Configure API key authorization: Bearer
131+
configuration = flexify_api.Configuration()
132+
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
133+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
134+
# configuration.api_key_prefix['Authorization'] = 'Bearer'
135+
136+
# create an instance of the API class
137+
api_instance = flexify_api.AuthSsoControllerApi(flexify_api.ApiClient(configuration))
138+
request = flexify_api.TokenByDeviceCodeRequest() # TokenByDeviceCodeRequest | request
139+
140+
try:
141+
# getTokenByDeviceCode
142+
api_response = api_instance.get_token_by_device_code(request)
143+
pprint(api_response)
144+
except ApiException as e:
145+
print("Exception when calling AuthSsoControllerApi->get_token_by_device_code: %s\n" % e)
146+
```
147+
148+
### Parameters
149+
150+
Name | Type | Description | Notes
151+
------------- | ------------- | ------------- | -------------
152+
**request** | [**TokenByDeviceCodeRequest**](TokenByDeviceCodeRequest.md)| request |
153+
154+
### Return type
155+
156+
[**OAuthToken**](OAuthToken.md)
157+
158+
### Authorization
159+
160+
[Bearer](../README.md#Bearer)
161+
162+
### HTTP request headers
163+
164+
- **Content-Type**: application/json
165+
- **Accept**: */*
166+
167+
[[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)
168+
169+
# **refresh_token_for_device_code_flow**
170+
> OAuthToken refresh_token_for_device_code_flow(request)
171+
172+
refreshTokenForDeviceCodeFlow
173+
174+
### Example
175+
```python
176+
from __future__ import print_function
177+
import time
178+
import flexify_api
179+
from flexify_api.rest import ApiException
180+
from pprint import pprint
181+
182+
# Configure API key authorization: Bearer
183+
configuration = flexify_api.Configuration()
184+
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
185+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
186+
# configuration.api_key_prefix['Authorization'] = 'Bearer'
187+
188+
# create an instance of the API class
189+
api_instance = flexify_api.AuthSsoControllerApi(flexify_api.ApiClient(configuration))
190+
request = flexify_api.RefreshTokenRequest() # RefreshTokenRequest | request
191+
192+
try:
193+
# refreshTokenForDeviceCodeFlow
194+
api_response = api_instance.refresh_token_for_device_code_flow(request)
195+
pprint(api_response)
196+
except ApiException as e:
197+
print("Exception when calling AuthSsoControllerApi->refresh_token_for_device_code_flow: %s\n" % e)
198+
```
199+
200+
### Parameters
201+
202+
Name | Type | Description | Notes
203+
------------- | ------------- | ------------- | -------------
204+
**request** | [**RefreshTokenRequest**](RefreshTokenRequest.md)| request |
205+
206+
### Return type
207+
208+
[**OAuthToken**](OAuthToken.md)
209+
210+
### Authorization
211+
212+
[Bearer](../README.md#Bearer)
213+
214+
### HTTP request headers
215+
216+
- **Content-Type**: application/json
217+
- **Accept**: */*
218+
219+
[[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)
220+

docs/ConfigControllerApi.md

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -4,58 +4,9 @@ All URIs are relative to *https://api.flexify.io*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**get_config**](ConfigControllerApi.md#get_config) | **GET** /backend/rest/auth/config | Get public Management Server config
87
[**get_config1**](ConfigControllerApi.md#get_config1) | **GET** /backend/rest/config | Get public Management Server config
98

109

11-
# **get_config**
12-
> PublicManagementServerConfiguration get_config()
13-
14-
Get public Management Server config
15-
16-
### Example
17-
```python
18-
from __future__ import print_function
19-
import time
20-
import flexify_api
21-
from flexify_api.rest import ApiException
22-
from pprint import pprint
23-
24-
# Configure API key authorization: Bearer
25-
configuration = flexify_api.Configuration()
26-
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
27-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
28-
# configuration.api_key_prefix['Authorization'] = 'Bearer'
29-
30-
# create an instance of the API class
31-
api_instance = flexify_api.ConfigControllerApi(flexify_api.ApiClient(configuration))
32-
33-
try:
34-
# Get public Management Server config
35-
api_response = api_instance.get_config()
36-
pprint(api_response)
37-
except ApiException as e:
38-
print("Exception when calling ConfigControllerApi->get_config: %s\n" % e)
39-
```
40-
41-
### Parameters
42-
This endpoint does not need any parameter.
43-
44-
### Return type
45-
46-
[**PublicManagementServerConfiguration**](PublicManagementServerConfiguration.md)
47-
48-
### Authorization
49-
50-
[Bearer](../README.md#Bearer)
51-
52-
### HTTP request headers
53-
54-
- **Content-Type**: Not defined
55-
- **Accept**: */*
56-
57-
[[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)
58-
5910
# **get_config1**
6011
> PublicManagementServerConfiguration get_config1()
6112

docs/FinishOAuthParams.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# FinishOAuthParams
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**code** | **str** | |
7+
**flow** | **str** | |
8+
**oauth_provider_id** | **str** | |
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/MicrosoftOAuthConfig.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# MicrosoftOAuthConfig
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**auth_url** | **str** | | [optional]
7+
**client_id** | **str** | | [optional]
8+
**scope** | **str** | | [optional]
9+
**tenant_id** | **str** | | [optional]
10+
**use_device_code_flow** | **bool** | | [optional]
11+
12+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13+
14+

docs/NewStorageAccount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**auth_code** | **str** | OAuth code used to request credentials if OAuth is used | [optional]
6+
**finish_o_auth_params** | [**FinishOAuthParams**](FinishOAuthParams.md) | OAuth parameters used to request credentials if OAuth is used | [optional]
77
**provider_id** | **int** | | [optional]
88
**settings** | [**StorageAccountSettingsReq**](StorageAccountSettingsReq.md) | Configuration of the storage account | [optional]
99

0 commit comments

Comments
 (0)