Skip to content

Commit 97f6f58

Browse files
committed
Autogenerated Update v2.154.3.
1 parent 7580475 commit 97f6f58

Some content is hidden

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

50 files changed

+3278
-429
lines changed

.swagger-codegen/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"gitUserId": "wavefrontHQ",
44
"packageName": "wavefront_api_client",
55
"packageUrl": "https://github.com/wavefrontHQ/python-client",
6-
"packageVersion": "2.153.1"
6+
"packageVersion": "2.154.3"
77
}

.swagger-codegen/config.jsone

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"gitUserId": "wavefrontHQ",
44
"packageName": "wavefront_api_client",
55
"packageUrl": "https://github.com/wavefrontHQ/python-client",
6-
"packageVersion": "2.144.1"
6+
"packageVersion": "2.153.1"
77
}

README.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: v2
7-
- Package version: 2.153.1
7+
- Package version: 2.154.3
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99

1010
## Requirements.
@@ -81,7 +81,6 @@ Class | Method | HTTP request | Description
8181
*AccountUserAndServiceAccountApi* | [**activate_account**](docs/AccountUserAndServiceAccountApi.md#activate_account) | **POST** /api/v2/account/serviceaccount/{id}/activate | Activates the given service account
8282
*AccountUserAndServiceAccountApi* | [**add_account_to_roles**](docs/AccountUserAndServiceAccountApi.md#add_account_to_roles) | **POST** /api/v2/account/{id}/addRoles | Adds specific roles to the account (user or service account)
8383
*AccountUserAndServiceAccountApi* | [**add_account_to_user_groups**](docs/AccountUserAndServiceAccountApi.md#add_account_to_user_groups) | **POST** /api/v2/account/{id}/addUserGroups | Adds specific groups to the account (user or service account)
84-
*AccountUserAndServiceAccountApi* | [**add_ingestion_policy**](docs/AccountUserAndServiceAccountApi.md#add_ingestion_policy) | **POST** /api/v2/account/addingestionpolicy | Add a specific ingestion policy to multiple accounts
8584
*AccountUserAndServiceAccountApi* | [**create_or_update_user_account**](docs/AccountUserAndServiceAccountApi.md#create_or_update_user_account) | **POST** /api/v2/account/user | Creates or updates a user account
8685
*AccountUserAndServiceAccountApi* | [**create_service_account**](docs/AccountUserAndServiceAccountApi.md#create_service_account) | **POST** /api/v2/account/serviceaccount | Creates a service account
8786
*AccountUserAndServiceAccountApi* | [**deactivate_account**](docs/AccountUserAndServiceAccountApi.md#deactivate_account) | **POST** /api/v2/account/serviceaccount/{id}/deactivate | Deactivates the given service account
@@ -99,7 +98,6 @@ Class | Method | HTTP request | Description
9998
*AccountUserAndServiceAccountApi* | [**invite_user_accounts**](docs/AccountUserAndServiceAccountApi.md#invite_user_accounts) | **POST** /api/v2/account/user/invite | Invite user accounts with given user groups and permissions.
10099
*AccountUserAndServiceAccountApi* | [**remove_account_from_roles**](docs/AccountUserAndServiceAccountApi.md#remove_account_from_roles) | **POST** /api/v2/account/{id}/removeRoles | Removes specific roles from the account (user or service account)
101100
*AccountUserAndServiceAccountApi* | [**remove_account_from_user_groups**](docs/AccountUserAndServiceAccountApi.md#remove_account_from_user_groups) | **POST** /api/v2/account/{id}/removeUserGroups | Removes specific groups from the account (user or service account)
102-
*AccountUserAndServiceAccountApi* | [**remove_ingestion_policies**](docs/AccountUserAndServiceAccountApi.md#remove_ingestion_policies) | **POST** /api/v2/account/removeingestionpolicies | Removes ingestion policies from multiple accounts
103101
*AccountUserAndServiceAccountApi* | [**revoke_account_permission**](docs/AccountUserAndServiceAccountApi.md#revoke_account_permission) | **POST** /api/v2/account/{id}/revoke/{permission} | Revokes a specific permission from account (user or service account)
104102
*AccountUserAndServiceAccountApi* | [**revoke_permission_from_accounts**](docs/AccountUserAndServiceAccountApi.md#revoke_permission_from_accounts) | **POST** /api/v2/account/revoke/{permission} | Revokes a specific permission from multiple accounts (users or service accounts)
105103
*AccountUserAndServiceAccountApi* | [**update_service_account**](docs/AccountUserAndServiceAccountApi.md#update_service_account) | **PUT** /api/v2/account/serviceaccount/{id} | Updates the service account
@@ -428,6 +426,7 @@ Class | Method | HTTP request | Description
428426
*UsageApi* | [**export_csv**](docs/UsageApi.md#export_csv) | **GET** /api/v2/usage/exportcsv | Export a CSV report
429427
*UsageApi* | [**get_all_ingestion_policies**](docs/UsageApi.md#get_all_ingestion_policies) | **GET** /api/v2/usage/ingestionpolicy | Get all ingestion policies for a customer
430428
*UsageApi* | [**get_ingestion_policy**](docs/UsageApi.md#get_ingestion_policy) | **GET** /api/v2/usage/ingestionpolicy/{id} | Get a specific ingestion policy
429+
*UsageApi* | [**get_ingestion_policy_history**](docs/UsageApi.md#get_ingestion_policy_history) | **GET** /api/v2/usage/ingestionpolicy/{id}/history | Get the version history of ingestion policy
431430
*UsageApi* | [**remove_accounts**](docs/UsageApi.md#remove_accounts) | **POST** /api/v2/usage/ingestionpolicy/{id}/removeAccounts | Remove accounts from ingestion policy
432431
*UsageApi* | [**remove_groups**](docs/UsageApi.md#remove_groups) | **POST** /api/v2/usage/ingestionpolicy/{id}/removeGroups | Remove groups from the ingestion policy
433432
*UsageApi* | [**update_ingestion_policy**](docs/UsageApi.md#update_ingestion_policy) | **PUT** /api/v2/usage/ingestionpolicy/{id} | Update a specific ingestion policy
@@ -521,8 +520,10 @@ Class | Method | HTTP request | Description
521520
- [GCPConfiguration](docs/GCPConfiguration.md)
522521
- [HistoryEntry](docs/HistoryEntry.md)
523522
- [HistoryResponse](docs/HistoryResponse.md)
524-
- [IngestionPolicy](docs/IngestionPolicy.md)
525523
- [IngestionPolicyMapping](docs/IngestionPolicyMapping.md)
524+
- [IngestionPolicyMetadata](docs/IngestionPolicyMetadata.md)
525+
- [IngestionPolicyReadModel](docs/IngestionPolicyReadModel.md)
526+
- [IngestionPolicyWriteModel](docs/IngestionPolicyWriteModel.md)
526527
- [InstallAlerts](docs/InstallAlerts.md)
527528
- [Integration](docs/Integration.md)
528529
- [IntegrationAlert](docs/IntegrationAlert.md)
@@ -566,7 +567,7 @@ Class | Method | HTTP request | Description
566567
- [PagedDerivedMetricDefinitionWithStats](docs/PagedDerivedMetricDefinitionWithStats.md)
567568
- [PagedEvent](docs/PagedEvent.md)
568569
- [PagedExternalLink](docs/PagedExternalLink.md)
569-
- [PagedIngestionPolicy](docs/PagedIngestionPolicy.md)
570+
- [PagedIngestionPolicyReadModel](docs/PagedIngestionPolicyReadModel.md)
570571
- [PagedIntegration](docs/PagedIntegration.md)
571572
- [PagedMaintenanceWindow](docs/PagedMaintenanceWindow.md)
572573
- [PagedMessage](docs/PagedMessage.md)
@@ -620,7 +621,7 @@ Class | Method | HTTP request | Description
620621
- [ResponseContainerFacetResponse](docs/ResponseContainerFacetResponse.md)
621622
- [ResponseContainerFacetsResponseContainer](docs/ResponseContainerFacetsResponseContainer.md)
622623
- [ResponseContainerHistoryResponse](docs/ResponseContainerHistoryResponse.md)
623-
- [ResponseContainerIngestionPolicy](docs/ResponseContainerIngestionPolicy.md)
624+
- [ResponseContainerIngestionPolicyReadModel](docs/ResponseContainerIngestionPolicyReadModel.md)
624625
- [ResponseContainerIntegration](docs/ResponseContainerIntegration.md)
625626
- [ResponseContainerIntegrationStatus](docs/ResponseContainerIntegrationStatus.md)
626627
- [ResponseContainerListAccessControlListReadDTO](docs/ResponseContainerListAccessControlListReadDTO.md)
@@ -652,7 +653,7 @@ Class | Method | HTTP request | Description
652653
- [ResponseContainerPagedDerivedMetricDefinitionWithStats](docs/ResponseContainerPagedDerivedMetricDefinitionWithStats.md)
653654
- [ResponseContainerPagedEvent](docs/ResponseContainerPagedEvent.md)
654655
- [ResponseContainerPagedExternalLink](docs/ResponseContainerPagedExternalLink.md)
655-
- [ResponseContainerPagedIngestionPolicy](docs/ResponseContainerPagedIngestionPolicy.md)
656+
- [ResponseContainerPagedIngestionPolicyReadModel](docs/ResponseContainerPagedIngestionPolicyReadModel.md)
656657
- [ResponseContainerPagedIntegration](docs/ResponseContainerPagedIntegration.md)
657658
- [ResponseContainerPagedMaintenanceWindow](docs/ResponseContainerPagedMaintenanceWindow.md)
658659
- [ResponseContainerPagedMessage](docs/ResponseContainerPagedMessage.md)
@@ -693,7 +694,6 @@ Class | Method | HTTP request | Description
693694
- [ResponseContainerString](docs/ResponseContainerString.md)
694695
- [ResponseContainerTagsResponse](docs/ResponseContainerTagsResponse.md)
695696
- [ResponseContainerUserApiToken](docs/ResponseContainerUserApiToken.md)
696-
- [ResponseContainerUserDTO](docs/ResponseContainerUserDTO.md)
697697
- [ResponseContainerUserGroupModel](docs/ResponseContainerUserGroupModel.md)
698698
- [ResponseContainerValidatedUsersDTO](docs/ResponseContainerValidatedUsersDTO.md)
699699
- [ResponseContainerVoid](docs/ResponseContainerVoid.md)
@@ -709,6 +709,7 @@ Class | Method | HTTP request | Description
709709
- [SearchQuery](docs/SearchQuery.md)
710710
- [ServiceAccount](docs/ServiceAccount.md)
711711
- [ServiceAccountWrite](docs/ServiceAccountWrite.md)
712+
- [Setup](docs/Setup.md)
712713
- [SnowflakeConfiguration](docs/SnowflakeConfiguration.md)
713714
- [SortableSearchRequest](docs/SortableSearchRequest.md)
714715
- [Sorting](docs/Sorting.md)

docs/AccountUserAndServiceAccountApi.md

-110
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Method | HTTP request | Description
77
[**activate_account**](AccountUserAndServiceAccountApi.md#activate_account) | **POST** /api/v2/account/serviceaccount/{id}/activate | Activates the given service account
88
[**add_account_to_roles**](AccountUserAndServiceAccountApi.md#add_account_to_roles) | **POST** /api/v2/account/{id}/addRoles | Adds specific roles to the account (user or service account)
99
[**add_account_to_user_groups**](AccountUserAndServiceAccountApi.md#add_account_to_user_groups) | **POST** /api/v2/account/{id}/addUserGroups | Adds specific groups to the account (user or service account)
10-
[**add_ingestion_policy**](AccountUserAndServiceAccountApi.md#add_ingestion_policy) | **POST** /api/v2/account/addingestionpolicy | Add a specific ingestion policy to multiple accounts
1110
[**create_or_update_user_account**](AccountUserAndServiceAccountApi.md#create_or_update_user_account) | **POST** /api/v2/account/user | Creates or updates a user account
1211
[**create_service_account**](AccountUserAndServiceAccountApi.md#create_service_account) | **POST** /api/v2/account/serviceaccount | Creates a service account
1312
[**deactivate_account**](AccountUserAndServiceAccountApi.md#deactivate_account) | **POST** /api/v2/account/serviceaccount/{id}/deactivate | Deactivates the given service account
@@ -25,7 +24,6 @@ Method | HTTP request | Description
2524
[**invite_user_accounts**](AccountUserAndServiceAccountApi.md#invite_user_accounts) | **POST** /api/v2/account/user/invite | Invite user accounts with given user groups and permissions.
2625
[**remove_account_from_roles**](AccountUserAndServiceAccountApi.md#remove_account_from_roles) | **POST** /api/v2/account/{id}/removeRoles | Removes specific roles from the account (user or service account)
2726
[**remove_account_from_user_groups**](AccountUserAndServiceAccountApi.md#remove_account_from_user_groups) | **POST** /api/v2/account/{id}/removeUserGroups | Removes specific groups from the account (user or service account)
28-
[**remove_ingestion_policies**](AccountUserAndServiceAccountApi.md#remove_ingestion_policies) | **POST** /api/v2/account/removeingestionpolicies | Removes ingestion policies from multiple accounts
2927
[**revoke_account_permission**](AccountUserAndServiceAccountApi.md#revoke_account_permission) | **POST** /api/v2/account/{id}/revoke/{permission} | Revokes a specific permission from account (user or service account)
3028
[**revoke_permission_from_accounts**](AccountUserAndServiceAccountApi.md#revoke_permission_from_accounts) | **POST** /api/v2/account/revoke/{permission} | Revokes a specific permission from multiple accounts (users or service accounts)
3129
[**update_service_account**](AccountUserAndServiceAccountApi.md#update_service_account) | **PUT** /api/v2/account/serviceaccount/{id} | Updates the service account
@@ -199,60 +197,6 @@ Name | Type | Description | Notes
199197

200198
[[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)
201199

202-
# **add_ingestion_policy**
203-
> ResponseContainer add_ingestion_policy(body=body)
204-
205-
Add a specific ingestion policy to multiple accounts
206-
207-
208-
209-
### Example
210-
```python
211-
from __future__ import print_function
212-
import time
213-
import wavefront_api_client
214-
from wavefront_api_client.rest import ApiException
215-
from pprint import pprint
216-
217-
# Configure API key authorization: api_key
218-
configuration = wavefront_api_client.Configuration()
219-
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
220-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
221-
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'
222-
223-
# create an instance of the API class
224-
api_instance = wavefront_api_client.AccountUserAndServiceAccountApi(wavefront_api_client.ApiClient(configuration))
225-
body = wavefront_api_client.IngestionPolicyMapping() # IngestionPolicyMapping | Example Body: <pre>{ \"ingestionPolicyId\": \"Ingestion policy identifier\", \"accounts\": [ \"account1\", \"account2\", \"account3\" ], \"groups\": [ \"group1\", \"group2\" ] }</pre> (optional)
226-
227-
try:
228-
# Add a specific ingestion policy to multiple accounts
229-
api_response = api_instance.add_ingestion_policy(body=body)
230-
pprint(api_response)
231-
except ApiException as e:
232-
print("Exception when calling AccountUserAndServiceAccountApi->add_ingestion_policy: %s\n" % e)
233-
```
234-
235-
### Parameters
236-
237-
Name | Type | Description | Notes
238-
------------- | ------------- | ------------- | -------------
239-
**body** | [**IngestionPolicyMapping**](IngestionPolicyMapping.md)| Example Body: &lt;pre&gt;{ \&quot;ingestionPolicyId\&quot;: \&quot;Ingestion policy identifier\&quot;, \&quot;accounts\&quot;: [ \&quot;account1\&quot;, \&quot;account2\&quot;, \&quot;account3\&quot; ], \&quot;groups\&quot;: [ \&quot;group1\&quot;, \&quot;group2\&quot; ] }&lt;/pre&gt; | [optional]
240-
241-
### Return type
242-
243-
[**ResponseContainer**](ResponseContainer.md)
244-
245-
### Authorization
246-
247-
[api_key](../README.md#api_key)
248-
249-
### HTTP request headers
250-
251-
- **Content-Type**: application/json
252-
- **Accept**: application/json
253-
254-
[[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)
255-
256200
# **create_or_update_user_account**
257201
> UserModel create_or_update_user_account(send_email=send_email, body=body)
258202
@@ -1175,60 +1119,6 @@ Name | Type | Description | Notes
11751119

11761120
[[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)
11771121

1178-
# **remove_ingestion_policies**
1179-
> ResponseContainer remove_ingestion_policies(body=body)
1180-
1181-
Removes ingestion policies from multiple accounts
1182-
1183-
1184-
1185-
### Example
1186-
```python
1187-
from __future__ import print_function
1188-
import time
1189-
import wavefront_api_client
1190-
from wavefront_api_client.rest import ApiException
1191-
from pprint import pprint
1192-
1193-
# Configure API key authorization: api_key
1194-
configuration = wavefront_api_client.Configuration()
1195-
configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
1196-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
1197-
# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer'
1198-
1199-
# create an instance of the API class
1200-
api_instance = wavefront_api_client.AccountUserAndServiceAccountApi(wavefront_api_client.ApiClient(configuration))
1201-
body = [wavefront_api_client.list[str]()] # list[str] | identifiers of list of accounts from which ingestion policies should be removed (optional)
1202-
1203-
try:
1204-
# Removes ingestion policies from multiple accounts
1205-
api_response = api_instance.remove_ingestion_policies(body=body)
1206-
pprint(api_response)
1207-
except ApiException as e:
1208-
print("Exception when calling AccountUserAndServiceAccountApi->remove_ingestion_policies: %s\n" % e)
1209-
```
1210-
1211-
### Parameters
1212-
1213-
Name | Type | Description | Notes
1214-
------------- | ------------- | ------------- | -------------
1215-
**body** | **list[str]**| identifiers of list of accounts from which ingestion policies should be removed | [optional]
1216-
1217-
### Return type
1218-
1219-
[**ResponseContainer**](ResponseContainer.md)
1220-
1221-
### Authorization
1222-
1223-
[api_key](../README.md#api_key)
1224-
1225-
### HTTP request headers
1226-
1227-
- **Content-Type**: application/json
1228-
- **Accept**: application/json
1229-
1230-
[[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)
1231-
12321122
# **revoke_account_permission**
12331123
> UserModel revoke_account_permission(id, permission)
12341124

docs/Annotation.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**key** | **str** | | [optional]
7+
**value** | **str** | | [optional]
68

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

docs/IngestionPolicyMetadata.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# IngestionPolicyMetadata
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**customer** | **str** | ID of the customer to which the ingestion policy metadata belongs | [optional]
7+
**ingestion_policy_id** | **str** | The unique ID for the ingestion policy to which the metadata belongs | [optional]
8+
**usage_in_billing_period** | **int** | ingestion policy usage in billing period | [optional]
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+

0 commit comments

Comments
 (0)