Skip to content

Commit 3819d1c

Browse files
committed
Autogenerated Update v2.32.19.
1 parent e1a160c commit 3819d1c

File tree

76 files changed

+4645
-197
lines changed

Some content is hidden

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

76 files changed

+4645
-197
lines changed

.swagger-codegen/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.4
1+
2.4.5

.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.30.15"
6+
"packageVersion": "2.32.19"
77
}

.swagger-codegen/config.jsone

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"gitRepoId": "python-client",
3+
"gitUserId": "wavefrontHQ",
4+
"packageName": "wavefront_api_client",
5+
"packageUrl": "https://github.com/wavefrontHQ/python-client",
6+
"packageVersion": "2.30.15"
7+
}

README.md

+28-15
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.30.15
7+
- Package version: 2.32.19
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99

1010
## Requirements.
@@ -59,15 +59,13 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
5959

6060
# create an instance of the API class
6161
api_instance = wavefront_api_client.AlertApi(wavefront_api_client.ApiClient(configuration))
62-
id = 'id_example' # str |
63-
tag_value = 'tag_value_example' # str |
62+
body = [wavefront_api_client.AccessControlListWriteDTO()] # list[AccessControlListWriteDTO] | (optional)
6463

6564
try:
66-
# Add a tag to a specific alert
67-
api_response = api_instance.add_alert_tag(id, tag_value)
68-
pprint(api_response)
65+
# Adds the specified ids to the given alerts' ACL
66+
api_instance.add_access(body=body)
6967
except ApiException as e:
70-
print("Exception when calling AlertApi->add_alert_tag: %s\n" % e)
68+
print("Exception when calling AlertApi->add_access: %s\n" % e)
7169

7270
```
7371

@@ -77,23 +75,33 @@ All URIs are relative to *https://localhost*
7775

7876
Class | Method | HTTP request | Description
7977
------------ | ------------- | ------------- | -------------
78+
*AlertApi* | [**add_access**](docs/AlertApi.md#add_access) | **POST** /api/v2/alert/acl/add | Adds the specified ids to the given alerts' ACL
8079
*AlertApi* | [**add_alert_tag**](docs/AlertApi.md#add_alert_tag) | **PUT** /api/v2/alert/{id}/tag/{tagValue} | Add a tag to a specific alert
80+
*AlertApi* | [**can_user_modify**](docs/AlertApi.md#can_user_modify) | **GET** /api/v2/alert/{id}/canUserModify |
81+
*AlertApi* | [**clone_alert**](docs/AlertApi.md#clone_alert) | **POST** /api/v2/alert/{id}/clone | Clones the specified alert
8182
*AlertApi* | [**create_alert**](docs/AlertApi.md#create_alert) | **POST** /api/v2/alert | Create a specific alert
8283
*AlertApi* | [**delete_alert**](docs/AlertApi.md#delete_alert) | **DELETE** /api/v2/alert/{id} | Delete a specific alert
84+
*AlertApi* | [**get_access_control_list**](docs/AlertApi.md#get_access_control_list) | **GET** /api/v2/alert/acl | Get Access Control Lists' union for the specified alerts
8385
*AlertApi* | [**get_alert**](docs/AlertApi.md#get_alert) | **GET** /api/v2/alert/{id} | Get a specific alert
8486
*AlertApi* | [**get_alert_history**](docs/AlertApi.md#get_alert_history) | **GET** /api/v2/alert/{id}/history | Get the version history of a specific alert
8587
*AlertApi* | [**get_alert_tags**](docs/AlertApi.md#get_alert_tags) | **GET** /api/v2/alert/{id}/tag | Get all tags associated with a specific alert
8688
*AlertApi* | [**get_alert_version**](docs/AlertApi.md#get_alert_version) | **GET** /api/v2/alert/{id}/history/{version} | Get a specific historical version of a specific alert
8789
*AlertApi* | [**get_alerts_summary**](docs/AlertApi.md#get_alerts_summary) | **GET** /api/v2/alert/summary | Count alerts of various statuses for a customer
8890
*AlertApi* | [**get_all_alert**](docs/AlertApi.md#get_all_alert) | **GET** /api/v2/alert | Get all alerts for a customer
8991
*AlertApi* | [**hide_alert**](docs/AlertApi.md#hide_alert) | **POST** /api/v2/alert/{id}/uninstall | Hide a specific integration alert
92+
*AlertApi* | [**remove_access**](docs/AlertApi.md#remove_access) | **POST** /api/v2/alert/acl/remove | Removes the specified ids from the given alerts' ACL
9093
*AlertApi* | [**remove_alert_tag**](docs/AlertApi.md#remove_alert_tag) | **DELETE** /api/v2/alert/{id}/tag/{tagValue} | Remove a tag from a specific alert
94+
*AlertApi* | [**set_acl**](docs/AlertApi.md#set_acl) | **PUT** /api/v2/alert/acl/set | Set ACL for the specified alerts
9195
*AlertApi* | [**set_alert_tags**](docs/AlertApi.md#set_alert_tags) | **POST** /api/v2/alert/{id}/tag | Set all tags associated with a specific alert
9296
*AlertApi* | [**snooze_alert**](docs/AlertApi.md#snooze_alert) | **POST** /api/v2/alert/{id}/snooze | Snooze a specific alert for some number of seconds
9397
*AlertApi* | [**undelete_alert**](docs/AlertApi.md#undelete_alert) | **POST** /api/v2/alert/{id}/undelete | Undelete a specific alert
9498
*AlertApi* | [**unhide_alert**](docs/AlertApi.md#unhide_alert) | **POST** /api/v2/alert/{id}/install | Unhide a specific integration alert
9599
*AlertApi* | [**unsnooze_alert**](docs/AlertApi.md#unsnooze_alert) | **POST** /api/v2/alert/{id}/unsnooze | Unsnooze a specific alert
96100
*AlertApi* | [**update_alert**](docs/AlertApi.md#update_alert) | **PUT** /api/v2/alert/{id} | Update a specific alert
101+
*ApiTokenApi* | [**create_token**](docs/ApiTokenApi.md#create_token) | **POST** /api/v2/apitoken | Create new api token
102+
*ApiTokenApi* | [**delete_token**](docs/ApiTokenApi.md#delete_token) | **DELETE** /api/v2/apitoken/{id} | Delete the specified api token
103+
*ApiTokenApi* | [**get_all_tokens**](docs/ApiTokenApi.md#get_all_tokens) | **GET** /api/v2/apitoken | Get all api tokens for a user
104+
*ApiTokenApi* | [**update_token_name**](docs/ApiTokenApi.md#update_token_name) | **PUT** /api/v2/apitoken/{id} | Update the name of the specified api token
97105
*CloudIntegrationApi* | [**create_cloud_integration**](docs/CloudIntegrationApi.md#create_cloud_integration) | **POST** /api/v2/cloudintegration | Create a cloud integration
98106
*CloudIntegrationApi* | [**delete_cloud_integration**](docs/CloudIntegrationApi.md#delete_cloud_integration) | **DELETE** /api/v2/cloudintegration/{id} | Delete a specific cloud integration
99107
*CloudIntegrationApi* | [**disable_cloud_integration**](docs/CloudIntegrationApi.md#disable_cloud_integration) | **POST** /api/v2/cloudintegration/{id}/disable | Disable a specific cloud integration
@@ -259,8 +267,8 @@ Class | Method | HTTP request | Description
259267
*UserApi* | [**create_or_update_user**](docs/UserApi.md#create_or_update_user) | **POST** /api/v2/user | Creates or updates a user
260268
*UserApi* | [**delete_multiple_users**](docs/UserApi.md#delete_multiple_users) | **POST** /api/v2/user/deleteUsers | Deletes multiple users
261269
*UserApi* | [**delete_user**](docs/UserApi.md#delete_user) | **DELETE** /api/v2/user/{id} | Deletes a user identified by id
262-
*UserApi* | [**get_all_user**](docs/UserApi.md#get_all_user) | **GET** /api/v2/user | Get all users
263-
*UserApi* | [**get_user**](docs/UserApi.md#get_user) | **GET** /api/v2/user/{id} | Retrieves a user by identifier (email addr)
270+
*UserApi* | [**get_all_users**](docs/UserApi.md#get_all_users) | **GET** /api/v2/user | Get all users
271+
*UserApi* | [**get_user**](docs/UserApi.md#get_user) | **GET** /api/v2/user/{id} | Retrieves a user by identifier (email address)
264272
*UserApi* | [**grant_permission_to_users**](docs/UserApi.md#grant_permission_to_users) | **POST** /api/v2/user/grant/{permission} | Grants a specific user permission to multiple users
265273
*UserApi* | [**grant_user_permission**](docs/UserApi.md#grant_user_permission) | **POST** /api/v2/user/{id}/grant | Grants a specific user permission
266274
*UserApi* | [**invite_users**](docs/UserApi.md#invite_users) | **POST** /api/v2/user/invite | Invite users with given user groups and permissions.
@@ -287,10 +295,11 @@ Class | Method | HTTP request | Description
287295

288296
## Documentation For Models
289297

290-
- [ACL](docs/ACL.md)
291298
- [AWSBaseCredentials](docs/AWSBaseCredentials.md)
292299
- [AccessControlElement](docs/AccessControlElement.md)
300+
- [AccessControlListReadDTO](docs/AccessControlListReadDTO.md)
293301
- [AccessControlListSimple](docs/AccessControlListSimple.md)
302+
- [AccessControlListWriteDTO](docs/AccessControlListWriteDTO.md)
294303
- [Alert](docs/Alert.md)
295304
- [AvroBackedStandardizedDTO](docs/AvroBackedStandardizedDTO.md)
296305
- [AzureActivityLogConfiguration](docs/AzureActivityLogConfiguration.md)
@@ -362,7 +371,7 @@ Class | Method | HTTP request | Description
362371
- [PagedProxy](docs/PagedProxy.md)
363372
- [PagedSavedSearch](docs/PagedSavedSearch.md)
364373
- [PagedSource](docs/PagedSource.md)
365-
- [PagedUserGroup](docs/PagedUserGroup.md)
374+
- [PagedUserGroupModel](docs/PagedUserGroupModel.md)
366375
- [Point](docs/Point.md)
367376
- [Proxy](docs/Proxy.md)
368377
- [QueryEvent](docs/QueryEvent.md)
@@ -380,11 +389,12 @@ Class | Method | HTTP request | Description
380389
- [ResponseContainerHistoryResponse](docs/ResponseContainerHistoryResponse.md)
381390
- [ResponseContainerIntegration](docs/ResponseContainerIntegration.md)
382391
- [ResponseContainerIntegrationStatus](docs/ResponseContainerIntegrationStatus.md)
383-
- [ResponseContainerListACL](docs/ResponseContainerListACL.md)
392+
- [ResponseContainerListAccessControlListReadDTO](docs/ResponseContainerListAccessControlListReadDTO.md)
384393
- [ResponseContainerListIntegration](docs/ResponseContainerListIntegration.md)
385394
- [ResponseContainerListIntegrationManifestGroup](docs/ResponseContainerListIntegrationManifestGroup.md)
386395
- [ResponseContainerListString](docs/ResponseContainerListString.md)
387-
- [ResponseContainerListUserGroup](docs/ResponseContainerListUserGroup.md)
396+
- [ResponseContainerListUserApiToken](docs/ResponseContainerListUserApiToken.md)
397+
- [ResponseContainerListUserGroupModel](docs/ResponseContainerListUserGroupModel.md)
388398
- [ResponseContainerMaintenanceWindow](docs/ResponseContainerMaintenanceWindow.md)
389399
- [ResponseContainerMapStringInteger](docs/ResponseContainerMapStringInteger.md)
390400
- [ResponseContainerMapStringIntegrationStatus](docs/ResponseContainerMapStringIntegrationStatus.md)
@@ -406,12 +416,13 @@ Class | Method | HTTP request | Description
406416
- [ResponseContainerPagedProxy](docs/ResponseContainerPagedProxy.md)
407417
- [ResponseContainerPagedSavedSearch](docs/ResponseContainerPagedSavedSearch.md)
408418
- [ResponseContainerPagedSource](docs/ResponseContainerPagedSource.md)
409-
- [ResponseContainerPagedUserGroup](docs/ResponseContainerPagedUserGroup.md)
419+
- [ResponseContainerPagedUserGroupModel](docs/ResponseContainerPagedUserGroupModel.md)
410420
- [ResponseContainerProxy](docs/ResponseContainerProxy.md)
411421
- [ResponseContainerSavedSearch](docs/ResponseContainerSavedSearch.md)
412422
- [ResponseContainerSource](docs/ResponseContainerSource.md)
413423
- [ResponseContainerTagsResponse](docs/ResponseContainerTagsResponse.md)
414-
- [ResponseContainerUserGroup](docs/ResponseContainerUserGroup.md)
424+
- [ResponseContainerUserApiToken](docs/ResponseContainerUserApiToken.md)
425+
- [ResponseContainerUserGroupModel](docs/ResponseContainerUserGroupModel.md)
415426
- [ResponseContainerValidatedUsersDTO](docs/ResponseContainerValidatedUsersDTO.md)
416427
- [ResponseStatus](docs/ResponseStatus.md)
417428
- [SavedSearch](docs/SavedSearch.md)
@@ -427,8 +438,10 @@ Class | Method | HTTP request | Description
427438
- [TeslaConfiguration](docs/TeslaConfiguration.md)
428439
- [Timeseries](docs/Timeseries.md)
429440
- [User](docs/User.md)
441+
- [UserApiToken](docs/UserApiToken.md)
430442
- [UserDTO](docs/UserDTO.md)
431443
- [UserGroup](docs/UserGroup.md)
444+
- [UserGroupModel](docs/UserGroupModel.md)
432445
- [UserGroupPropertiesDTO](docs/UserGroupPropertiesDTO.md)
433446
- [UserGroupWrite](docs/UserGroupWrite.md)
434447
- [UserModel](docs/UserModel.md)

docs/AccessControlElement.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**description** | **str** | | [optional]
67
**id** | **str** | | [optional]
78
**name** | **str** | | [optional]
89

docs/AccessControlListReadDTO.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AccessControlListReadDTO
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**entity_id** | **str** | The entity Id | [optional]
7+
**modify_acl** | [**list[AccessControlElement]**](AccessControlElement.md) | List of users and user groups ids that have modify permission | [optional]
8+
**view_acl** | [**list[AccessControlElement]**](AccessControlElement.md) | List of users and user group ids that have view permission | [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+

docs/AccessControlListWriteDTO.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AccessControlListWriteDTO
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**entity_id** | **str** | The entity Id | [optional]
7+
**modify_acl** | **list[str]** | List of users and user groups ids that have modify permission | [optional]
8+
**view_acl** | **list[str]** | List of users and user group ids that have view permission | [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+

docs/Alert.md

+3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**acl** | [**AccessControlListSimple**](AccessControlListSimple.md) | | [optional]
67
**active_maintenance_windows** | **list[str]** | The names of the active maintenance windows that are affecting this alert | [optional]
78
**additional_information** | **str** | User-supplied additional explanatory information for this alert. Useful for linking runbooks, mitigations,, etc | [optional]
89
**alert_type** | **str** | Alert type. | [optional]
910
**alerts_last_day** | **int** | | [optional]
1011
**alerts_last_month** | **int** | | [optional]
1112
**alerts_last_week** | **int** | | [optional]
13+
**can_user_modify** | **bool** | Whether the user can modify the alert. | [optional]
1214
**condition** | **str** | A Wavefront query that is evaluated at regular intervals (default 1m). The alert fires and notifications are triggered when a data series matching this query evaluates to a non-zero value for a set number of consecutive minutes |
1315
**condition_qb_enabled** | **bool** | Whether the condition query was created using the Query Builder. Default false | [optional]
1416
**condition_qb_serialization** | **str** | The special serialization of the Query Builder that corresponds to the condition query. Applicable only when conditionQBEnabled is true | [optional]
@@ -42,6 +44,7 @@ Name | Type | Description | Notes
4244
**notificants** | **list[str]** | A derived field listing the webhook ids used by this alert | [optional]
4345
**notification_resend_frequency_minutes** | **int** | How often to re-trigger a continually failing alert. If absent or <= 0, no retriggering occurs | [optional]
4446
**num_points_in_failure_frame** | **int** | Number of points scanned in alert query time frame. | [optional]
47+
**orphan** | **bool** | | [optional]
4548
**points_scanned_at_last_query** | **int** | A derived field recording the number of data points scanned when the system last computed this alert's condition | [optional]
4649
**prefiring_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Lists the series that are starting to fail, defined as failing for greater than 50% of the checks in the window determined by the \"minutes\" parameter | [optional]
4750
**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 1 minute | [optional]

0 commit comments

Comments
 (0)