Skip to content

Commit d9db662

Browse files
Update clients to latest platform release (4.20.0) (#95)
Co-authored-by: platform CI <automation@centml.ai>
1 parent c7d4571 commit d9db662

40 files changed

Lines changed: 3336 additions & 43 deletions

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 0.1.0
7-
- Package version: 4.19.0
7+
- Package version: 4.20.0
88
- Generator version: 7.9.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

@@ -104,12 +104,15 @@ Class | Method | HTTP request | Description
104104
*EXTERNALApi* | [**create_job_deployment_deployments_job_post**](docs/EXTERNALApi.md#create_job_deployment_deployments_job_post) | **POST** /deployments/job | Create Job Deployment
105105
*EXTERNALApi* | [**create_new_organization_organizations_post**](docs/EXTERNALApi.md#create_new_organization_organizations_post) | **POST** /organizations | Create New Organization
106106
*EXTERNALApi* | [**create_service_account_service_accounts_post**](docs/EXTERNALApi.md#create_service_account_service_accounts_post) | **POST** /service-accounts | Create Service Account
107+
*EXTERNALApi* | [**create_volume_endpoint_volumes_post**](docs/EXTERNALApi.md#create_volume_endpoint_volumes_post) | **POST** /volumes | Create Volume Endpoint
107108
*EXTERNALApi* | [**delete_cluster_clusters_cluster_id_delete**](docs/EXTERNALApi.md#delete_cluster_clusters_cluster_id_delete) | **DELETE** /clusters/{cluster_id} | Delete Cluster
108109
*EXTERNALApi* | [**delete_hardware_instance_hardware_instances_hardware_instance_id_delete**](docs/EXTERNALApi.md#delete_hardware_instance_hardware_instances_hardware_instance_id_delete) | **DELETE** /hardware-instances/{hardware_instance_id} | Delete Hardware Instance
109110
*EXTERNALApi* | [**delete_service_account_service_accounts_workos_id_delete**](docs/EXTERNALApi.md#delete_service_account_service_accounts_workos_id_delete) | **DELETE** /service-accounts/{workos_id} | Delete Service Account
110111
*EXTERNALApi* | [**delete_user_vault_item_endpoint_user_vault_delete**](docs/EXTERNALApi.md#delete_user_vault_item_endpoint_user_vault_delete) | **DELETE** /user_vault | Delete User Vault Item Endpoint
112+
*EXTERNALApi* | [**delete_volume_endpoint_volumes_volume_id_delete**](docs/EXTERNALApi.md#delete_volume_endpoint_volumes_volume_id_delete) | **DELETE** /volumes/{volume_id} | Delete Volume Endpoint
111113
*EXTERNALApi* | [**generate_service_account_secret_service_accounts_workos_id_secrets_post**](docs/EXTERNALApi.md#generate_service_account_secret_service_accounts_workos_id_secrets_post) | **POST** /service-accounts/{workos_id}/secrets | Generate Service Account Secret
112114
*EXTERNALApi* | [**get_all_user_vault_items_endpoint_user_vault_get**](docs/EXTERNALApi.md#get_all_user_vault_items_endpoint_user_vault_get) | **GET** /user_vault | Get All User Vault Items Endpoint
115+
*EXTERNALApi* | [**get_all_volumes_endpoint_volumes_get**](docs/EXTERNALApi.md#get_all_volumes_endpoint_volumes_get) | **GET** /volumes | Get All Volumes Endpoint
113116
*EXTERNALApi* | [**get_clusters_clusters_get**](docs/EXTERNALApi.md#get_clusters_clusters_get) | **GET** /clusters | Get Clusters
114117
*EXTERNALApi* | [**get_compute_deployment_deployments_compute_deployment_id_get**](docs/EXTERNALApi.md#get_compute_deployment_deployments_compute_deployment_id_get) | **GET** /deployments/compute/{deployment_id} | Get Compute Deployment
115118
*EXTERNALApi* | [**get_credits_credits_get**](docs/EXTERNALApi.md#get_credits_credits_get) | **GET** /credits | Get Credits
@@ -130,6 +133,7 @@ Class | Method | HTTP request | Description
130133
*EXTERNALApi* | [**get_prebuilt_images_prebuilt_images_get**](docs/EXTERNALApi.md#get_prebuilt_images_prebuilt_images_get) | **GET** /prebuilt-images | Get Prebuilt Images
131134
*EXTERNALApi* | [**get_usage_daily_bills_get**](docs/EXTERNALApi.md#get_usage_daily_bills_get) | **GET** /daily_bills | Get Usage
132135
*EXTERNALApi* | [**get_usage_deployments_usage_deployment_id_get**](docs/EXTERNALApi.md#get_usage_deployments_usage_deployment_id_get) | **GET** /deployments/usage/{deployment_id} | Get Usage
136+
*EXTERNALApi* | [**get_volume_endpoint_volumes_volume_id_get**](docs/EXTERNALApi.md#get_volume_endpoint_volumes_volume_id_get) | **GET** /volumes/{volume_id} | Get Volume Endpoint
133137
*EXTERNALApi* | [**invite_user_organizations_invite_post**](docs/EXTERNALApi.md#invite_user_organizations_invite_post) | **POST** /organizations/invite | Invite User
134138
*EXTERNALApi* | [**list_cluster_capacity_capacity_get**](docs/EXTERNALApi.md#list_cluster_capacity_capacity_get) | **GET** /capacity | List Cluster Capacity
135139
*EXTERNALApi* | [**list_service_accounts_service_accounts_get**](docs/EXTERNALApi.md#list_service_accounts_service_accounts_get) | **GET** /service-accounts | List Service Accounts
@@ -163,6 +167,7 @@ Class | Method | HTTP request | Description
163167
- [ClusterRegistrationRequest](docs/ClusterRegistrationRequest.md)
164168
- [ClusterRegistrationResponse](docs/ClusterRegistrationResponse.md)
165169
- [ConfigFileMount](docs/ConfigFileMount.md)
170+
- [CreateBlockVolumeRequest](docs/CreateBlockVolumeRequest.md)
166171
- [CreateCServeV2DeploymentResponse](docs/CreateCServeV2DeploymentResponse.md)
167172
- [CreateCServeV3DeploymentRequest](docs/CreateCServeV3DeploymentRequest.md)
168173
- [CreateCServeV3DeploymentResponse](docs/CreateCServeV3DeploymentResponse.md)
@@ -173,10 +178,12 @@ Class | Method | HTTP request | Description
173178
- [CreateInferenceV3DeploymentRequest](docs/CreateInferenceV3DeploymentRequest.md)
174179
- [CreateJobDeploymentRequest](docs/CreateJobDeploymentRequest.md)
175180
- [CreateJobDeploymentResponse](docs/CreateJobDeploymentResponse.md)
181+
- [CreateObjectVolumeRequest](docs/CreateObjectVolumeRequest.md)
176182
- [CreateOrganizationRequest](docs/CreateOrganizationRequest.md)
177183
- [CreateOrganizationResponse](docs/CreateOrganizationResponse.md)
178184
- [CreateServiceAccountRequest](docs/CreateServiceAccountRequest.md)
179185
- [CreateServiceAccountResponse](docs/CreateServiceAccountResponse.md)
186+
- [CreateVolumeRequest](docs/CreateVolumeRequest.md)
180187
- [CreditsResponse](docs/CreditsResponse.md)
181188
- [DailyBillResponse](docs/DailyBillResponse.md)
182189
- [DeploymentResponse](docs/DeploymentResponse.md)
@@ -191,6 +198,7 @@ Class | Method | HTTP request | Description
191198
- [FinalStack](docs/FinalStack.md)
192199
- [FluentBit](docs/FluentBit.md)
193200
- [GenerateServiceAccountSecretResponse](docs/GenerateServiceAccountSecretResponse.md)
201+
- [GetBlockVolumeResponse](docs/GetBlockVolumeResponse.md)
194202
- [GetCServeV2DeploymentResponse](docs/GetCServeV2DeploymentResponse.md)
195203
- [GetCServeV3DeploymentResponse](docs/GetCServeV3DeploymentResponse.md)
196204
- [GetClusterResponse](docs/GetClusterResponse.md)
@@ -202,6 +210,8 @@ Class | Method | HTTP request | Description
202210
- [GetInferenceDeploymentResponse](docs/GetInferenceDeploymentResponse.md)
203211
- [GetInferenceV3DeploymentResponse](docs/GetInferenceV3DeploymentResponse.md)
204212
- [GetJobDeploymentResponse](docs/GetJobDeploymentResponse.md)
213+
- [GetObjectVolumeResponse](docs/GetObjectVolumeResponse.md)
214+
- [GetVolumeResponse](docs/GetVolumeResponse.md)
205215
- [GpuOperator](docs/GpuOperator.md)
206216
- [GpuTypeCapacity](docs/GpuTypeCapacity.md)
207217
- [HTTPValidationError](docs/HTTPValidationError.md)
@@ -225,11 +235,13 @@ Class | Method | HTTP request | Description
225235
- [ListPrebuiltImageResponse](docs/ListPrebuiltImageResponse.md)
226236
- [ListServiceAccountsResponse](docs/ListServiceAccountsResponse.md)
227237
- [ListUserVaultItemsResponse](docs/ListUserVaultItemsResponse.md)
238+
- [ListVolumesResponse](docs/ListVolumesResponse.md)
228239
- [Longhorn](docs/Longhorn.md)
229240
- [Metric](docs/Metric.md)
230241
- [MetricsConfig](docs/MetricsConfig.md)
231242
- [MetricsServer](docs/MetricsServer.md)
232243
- [NetworkOperator](docs/NetworkOperator.md)
244+
- [ObjectStorageProvider](docs/ObjectStorageProvider.md)
233245
- [OpentelemetryCollector](docs/OpentelemetryCollector.md)
234246
- [PodDetails](docs/PodDetails.md)
235247
- [PodStatus](docs/PodStatus.md)
@@ -251,6 +263,8 @@ Class | Method | HTTP request | Description
251263
- [ValidationError](docs/ValidationError.md)
252264
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
253265
- [VaultScope](docs/VaultScope.md)
266+
- [VolumeAccessMode](docs/VolumeAccessMode.md)
267+
- [VolumeStatus](docs/VolumeStatus.md)
254268

255269

256270
<a id="documentation-for-authorization"></a>

docs/CreateBlockVolumeRequest.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# CreateBlockVolumeRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**name** | **str** | |
9+
**cluster_id** | **int** | |
10+
**backend** | **str** | |
11+
**size_gb** | **int** | | [optional] [default to 100]
12+
13+
## Example
14+
15+
```python
16+
from platform_api_python_client.models.create_block_volume_request import CreateBlockVolumeRequest
17+
18+
# TODO update the JSON string below
19+
json = "{}"
20+
# create an instance of CreateBlockVolumeRequest from a JSON string
21+
create_block_volume_request_instance = CreateBlockVolumeRequest.from_json(json)
22+
# print the JSON string representation of the object
23+
print(CreateBlockVolumeRequest.to_json())
24+
25+
# convert the object into a dict
26+
create_block_volume_request_dict = create_block_volume_request_instance.to_dict()
27+
# create an instance of CreateBlockVolumeRequest from a dict
28+
create_block_volume_request_from_dict = CreateBlockVolumeRequest.from_dict(create_block_volume_request_dict)
29+
```
30+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31+
32+

docs/CreateObjectVolumeRequest.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# CreateObjectVolumeRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**name** | **str** | |
9+
**cluster_id** | **int** | |
10+
**backend** | **str** | |
11+
**provider** | [**ObjectStorageProvider**](ObjectStorageProvider.md) | | [optional]
12+
**bucket** | **str** | |
13+
**region** | **str** | |
14+
**prefix** | **str** | | [optional]
15+
**read_only** | **bool** | | [optional] [default to False]
16+
**volume_attributes** | **Dict[str, str]** | | [optional]
17+
**mount_options** | **List[str]** | | [optional]
18+
19+
## Example
20+
21+
```python
22+
from platform_api_python_client.models.create_object_volume_request import CreateObjectVolumeRequest
23+
24+
# TODO update the JSON string below
25+
json = "{}"
26+
# create an instance of CreateObjectVolumeRequest from a JSON string
27+
create_object_volume_request_instance = CreateObjectVolumeRequest.from_json(json)
28+
# print the JSON string representation of the object
29+
print(CreateObjectVolumeRequest.to_json())
30+
31+
# convert the object into a dict
32+
create_object_volume_request_dict = create_object_volume_request_instance.to_dict()
33+
# create an instance of CreateObjectVolumeRequest from a dict
34+
create_object_volume_request_from_dict = CreateObjectVolumeRequest.from_dict(create_object_volume_request_dict)
35+
```
36+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
37+
38+

docs/CreateVolumeRequest.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# CreateVolumeRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**name** | **str** | |
9+
**cluster_id** | **int** | |
10+
**backend** | **str** | |
11+
**size_gb** | **int** | | [optional] [default to 100]
12+
**provider** | [**ObjectStorageProvider**](ObjectStorageProvider.md) | | [optional]
13+
**bucket** | **str** | |
14+
**region** | **str** | |
15+
**prefix** | **str** | | [optional]
16+
**read_only** | **bool** | | [optional] [default to False]
17+
**volume_attributes** | **Dict[str, str]** | | [optional]
18+
**mount_options** | **List[str]** | | [optional]
19+
20+
## Example
21+
22+
```python
23+
from platform_api_python_client.models.create_volume_request import CreateVolumeRequest
24+
25+
# TODO update the JSON string below
26+
json = "{}"
27+
# create an instance of CreateVolumeRequest from a JSON string
28+
create_volume_request_instance = CreateVolumeRequest.from_json(json)
29+
# print the JSON string representation of the object
30+
print(CreateVolumeRequest.to_json())
31+
32+
# convert the object into a dict
33+
create_volume_request_dict = create_volume_request_instance.to_dict()
34+
# create an instance of CreateVolumeRequest from a dict
35+
create_volume_request_from_dict = CreateVolumeRequest.from_dict(create_volume_request_dict)
36+
```
37+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
38+
39+

0 commit comments

Comments
 (0)