Skip to content

Commit e4ead16

Browse files
committed
Keep Track of a Sorted Copy of Swagger Spec Used.
First, fetch and sort the `swagger.json` file ``` curl https://mon.wavefront.com/api/v2/swagger.json | python3 -m json.tool --sort-keys > .swagger-codegen/swagger.json ``` Then, generate a python client ``` java -jar ~/Applications/swagger-codegen-cli.jar generate -l python \ -i .swagger-codegen/swagger.json \ -c .swagger-codegen/config.json \ --additional-properties basePath=https://YOUR_INSTANCE.wavefront.com,[email protected] ```
1 parent d8f845c commit e4ead16

File tree

253 files changed

+25767
-11854
lines changed

Some content is hidden

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

253 files changed

+25767
-11854
lines changed

.swagger-codegen/swagger.json

+13,886
Large diffs are not rendered by default.

docs/ACL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**entity_id** | **str** | The entity Id |
7-
**view_acl** | [**list[AccessControlElement]**](AccessControlElement.md) | List of users and user group ids that have view permission |
87
**modify_acl** | [**list[AccessControlElement]**](AccessControlElement.md) | List of users and user groups ids that have modify permission |
8+
**view_acl** | [**list[AccessControlElement]**](AccessControlElement.md) | List of users and user group ids that have view permission |
99

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

docs/AWSBaseCredentials.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**role_arn** | **str** | The Role ARN that the customer has created in AWS IAM to allow access to Wavefront |
76
**external_id** | **str** | The external id corresponding to the Role ARN |
7+
**role_arn** | **str** | The Role ARN that the customer has created in AWS IAM to allow access to Wavefront |
88

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

docs/AccessControlListSimple.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**can_view** | **list[str]** | | [optional]
76
**can_modify** | **list[str]** | | [optional]
7+
**can_view** | **list[str]** | | [optional]
88

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

docs/Alert.md

+47-47
Original file line numberDiff line numberDiff line change
@@ -3,64 +3,64 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**last_event_time** | **int** | Start time (in epoch millis) of the last event associated with this alert. | [optional]
7-
**created** | **int** | When this alert was created, in epoch millis | [optional]
8-
**hidden** | **bool** | | [optional]
9-
**severity** | **str** | Severity of the alert | [optional]
10-
**minutes** | **int** | The number of consecutive minutes that a series matching the condition query must evaluate to \"true\" (non-zero value) before the alert fires |
11-
**tags** | [**WFTags**](WFTags.md) | | [optional]
12-
**status** | **list[str]** | Lists the current state of the alert. Can be one or more of: FIRING,SNOOZED, IN_MAINTENANCE, INVALID, NONE, CHECKING, TRASH, NO_DATA | [optional]
13-
**event** | [**Event**](Event.md) | | [optional]
14-
**updated** | **int** | When the alert was last updated, in epoch millis | [optional]
15-
**targets** | **dict(str, str)** | Targets for severity. | [optional]
16-
**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 1 minute | [optional]
17-
**last_processed_millis** | **int** | The time when this alert was last checked, in epoch millis | [optional]
18-
**update_user_id** | **str** | The user that last updated this alert | [optional]
19-
**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 |
20-
**alert_type** | **str** | Alert type. | [optional]
21-
**display_expression** | **str** | A second query whose results are displayed in the alert user interface instead of the condition query. This field is often used to display a version of the condition query with Boolean operators removed so that numerical values are plotted | [optional]
22-
**failing_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Failing host/metric pairs | [optional]
23-
**in_maintenance_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Lists the sources that will not be checked for this alert, due to matching a maintenance window | [optional]
246
**active_maintenance_windows** | **list[str]** | The names of the active maintenance windows that are affecting this alert | [optional]
25-
**condition_qb_enabled** | **bool** | Whether the condition query was created using the Query Builder. Default false | [optional]
26-
**display_expression_qb_enabled** | **bool** | Whether the display expression query was created using the Query Builder. Default false | [optional]
27-
**condition_qb_serialization** | **str** | The special serialization of the Query Builder that corresponds to the condition query. Applicable only when conditionQBEnabled is true | [optional]
28-
**display_expression_qb_serialization** | **str** | The special serialization of the Query Builder that corresponds to the display expression query. Applicable only when displayExpressionQBEnabled is true | [optional]
29-
**include_obsolete_metrics** | **bool** | Whether to include obsolete metrics in alert query | [optional]
30-
**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]
31-
**no_data_event** | [**Event**](Event.md) | No data event related to the alert | [optional]
32-
**snoozed** | **int** | The until which time this alert is snoozed (not checked), in epoch millis. A negative value implies the alert is snoozed indefinitely | [optional]
33-
**conditions** | **dict(str, str)** | Multi - alert conditions. | [optional]
34-
**notificants** | **list[str]** | A derived field listing the webhook ids used by this alert | [optional]
357
**additional_information** | **str** | User-supplied additional explanatory information for this alert. Useful for linking runbooks, mitigations,, etc | [optional]
36-
**last_query_time** | **int** | Last query time of the alert, averaged on hourly basis | [optional]
8+
**alert_type** | **str** | Alert type. | [optional]
379
**alerts_last_day** | **int** | | [optional]
38-
**alerts_last_week** | **int** | | [optional]
3910
**alerts_last_month** | **int** | | [optional]
40-
**in_trash** | **bool** | | [optional]
41-
**query_failing** | **bool** | Whether there was an exception when the alert condition last ran | [optional]
11+
**alerts_last_week** | **int** | | [optional]
12+
**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 |
13+
**condition_qb_enabled** | **bool** | Whether the condition query was created using the Query Builder. Default false | [optional]
14+
**condition_qb_serialization** | **str** | The special serialization of the Query Builder that corresponds to the condition query. Applicable only when conditionQBEnabled is true | [optional]
15+
**conditions** | **dict(str, str)** | Multi - alert conditions. | [optional]
4216
**create_user_id** | **str** | | [optional]
17+
**created** | **int** | When this alert was created, in epoch millis | [optional]
18+
**created_epoch_millis** | **int** | | [optional]
19+
**creator_id** | **str** | | [optional]
20+
**deleted** | **bool** | | [optional]
21+
**display_expression** | **str** | A second query whose results are displayed in the alert user interface instead of the condition query. This field is often used to display a version of the condition query with Boolean operators removed so that numerical values are plotted | [optional]
22+
**display_expression_qb_enabled** | **bool** | Whether the display expression query was created using the Query Builder. Default false | [optional]
23+
**display_expression_qb_serialization** | **str** | The special serialization of the Query Builder that corresponds to the display expression query. Applicable only when displayExpressionQBEnabled is true | [optional]
24+
**event** | [**Event**](Event.md) | | [optional]
25+
**failing_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Failing host/metric pairs | [optional]
26+
**hidden** | **bool** | | [optional]
27+
**hosts_used** | **list[str]** | Number of hosts checked by the alert condition | [optional]
28+
**id** | **str** | | [optional]
29+
**in_maintenance_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Lists the sources that will not be checked for this alert, due to matching a maintenance window | [optional]
30+
**in_trash** | **bool** | | [optional]
31+
**include_obsolete_metrics** | **bool** | Whether to include obsolete metrics in alert query | [optional]
32+
**last_error_message** | **str** | The last error encountered when running this alert's condition query | [optional]
33+
**last_event_time** | **int** | Start time (in epoch millis) of the last event associated with this alert. | [optional]
4334
**last_failed_time** | **int** | The time of the last error encountered when running this alert's condition query, in epoch millis | [optional]
4435
**last_notification_millis** | **int** | When this alert last caused a notification, in epoch millis | [optional]
45-
**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]
46-
**num_points_in_failure_frame** | **int** | Number of points scanned in alert query time frame. | [optional]
36+
**last_processed_millis** | **int** | The time when this alert was last checked, in epoch millis | [optional]
37+
**last_query_time** | **int** | Last query time of the alert, averaged on hourly basis | [optional]
4738
**metrics_used** | **list[str]** | Number of metrics checked by the alert condition | [optional]
48-
**hosts_used** | **list[str]** | Number of hosts checked by the alert condition | [optional]
49-
**system_owned** | **bool** | Whether this alert is system-owned and not writeable | [optional]
50-
**resolve_after_minutes** | **int** | The number of consecutive minutes that a firing series matching the condition query must evaluate to \"false\" (zero value) before the alert resolves. When unset, this defaults to the same value as \"minutes\" | [optional]
51-
**creator_id** | **str** | | [optional]
52-
**updater_id** | **str** | | [optional]
53-
**id** | **str** | | [optional]
39+
**minutes** | **int** | The number of consecutive minutes that a series matching the condition query must evaluate to \"true\" (non-zero value) before the alert fires |
40+
**name** | **str** | |
41+
**no_data_event** | [**Event**](Event.md) | No data event related to the alert | [optional]
42+
**notificants** | **list[str]** | A derived field listing the webhook ids used by this alert | [optional]
5443
**notification_resend_frequency_minutes** | **int** | How often to re-trigger a continually failing alert. If absent or <= 0, no retriggering occurs | [optional]
55-
**last_error_message** | **str** | The last error encountered when running this alert's condition query | [optional]
56-
**created_epoch_millis** | **int** | | [optional]
57-
**updated_epoch_millis** | **int** | | [optional]
58-
**deleted** | **bool** | | [optional]
59-
**sort_attr** | **int** | Attribute used for default alert sort that is derived from state and severity | [optional]
44+
**num_points_in_failure_frame** | **int** | Number of points scanned in alert query time frame. | [optional]
45+
**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]
46+
**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]
47+
**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 1 minute | [optional]
48+
**query_failing** | **bool** | Whether there was an exception when the alert condition last ran | [optional]
49+
**resolve_after_minutes** | **int** | The number of consecutive minutes that a firing series matching the condition query must evaluate to \"false\" (zero value) before the alert resolves. When unset, this defaults to the same value as \"minutes\" | [optional]
50+
**severity** | **str** | Severity of the alert | [optional]
6051
**severity_list** | **list[str]** | Alert severity list for multi-threshold type. | [optional]
61-
**target_info** | [**list[TargetInfo]**](TargetInfo.md) | List of alert targets display information that includes name, id and type. | [optional]
62-
**name** | **str** | |
52+
**snoozed** | **int** | The until which time this alert is snoozed (not checked), in epoch millis. A negative value implies the alert is snoozed indefinitely | [optional]
53+
**sort_attr** | **int** | Attribute used for default alert sort that is derived from state and severity | [optional]
54+
**status** | **list[str]** | Lists the current state of the alert. Can be one or more of: FIRING,SNOOZED, IN_MAINTENANCE, INVALID, NONE, CHECKING, TRASH, NO_DATA | [optional]
55+
**system_owned** | **bool** | Whether this alert is system-owned and not writeable | [optional]
56+
**tags** | [**WFTags**](WFTags.md) | | [optional]
6357
**target** | **str** | The email address or integration endpoint (such as PagerDuty or web hook) to notify when the alert status changes | [optional]
58+
**target_info** | [**list[TargetInfo]**](TargetInfo.md) | List of alert targets display information that includes name, id and type. | [optional]
59+
**targets** | **dict(str, str)** | Targets for severity. | [optional]
60+
**update_user_id** | **str** | The user that last updated this alert | [optional]
61+
**updated** | **int** | When the alert was last updated, in epoch millis | [optional]
62+
**updated_epoch_millis** | **int** | | [optional]
63+
**updater_id** | **str** | | [optional]
6464

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

docs/AvroBackedStandardizedDTO.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**created_epoch_millis** | **int** | | [optional]
67
**creator_id** | **str** | | [optional]
7-
**updater_id** | **str** | | [optional]
8+
**deleted** | **bool** | | [optional]
89
**id** | **str** | | [optional]
9-
**created_epoch_millis** | **int** | | [optional]
1010
**updated_epoch_millis** | **int** | | [optional]
11-
**deleted** | **bool** | | [optional]
11+
**updater_id** | **str** | | [optional]
1212

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

docs/AzureBaseCredentials.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**tenant** | **str** | Tenant Id for an Azure service account within your project. |
76
**client_id** | **str** | Client Id for an Azure service account within your project. |
87
**client_secret** | **str** | Client Secret for an Azure service account within your project. Use 'saved_secret' to retain the client secret when updating. |
8+
**tenant** | **str** | Tenant Id for an Azure service account within your project. |
99

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

docs/AzureConfiguration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**base_credentials** | [**AzureBaseCredentials**](AzureBaseCredentials.md) | | [optional]
77
**category_filter** | **list[str]** | A list of Azure services (such as Microsoft.Compute/virtualMachines, Microsoft.Cache/redis etc) from which to pull metrics. | [optional]
8-
**resource_group_filter** | **list[str]** | A list of Azure resource groups from which to pull metrics. | [optional]
98
**metric_filter_regex** | **str** | A regular expression that a metric name must match (case-insensitively) in order to be ingested | [optional]
9+
**resource_group_filter** | **list[str]** | A list of Azure resource groups from which to pull metrics. | [optional]
1010

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

docs/BusinessActionGroupBasicDTO.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**group_name** | **str** | | [optional]
7-
**display_name** | **str** | | [optional]
86
**description** | **str** | | [optional]
7+
**display_name** | **str** | | [optional]
8+
**group_name** | **str** | | [optional]
99
**required_default** | **bool** | | [optional]
1010

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

docs/Chart.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**base** | **int** | If the chart has a log-scale Y-axis, the base for the logarithms | [optional]
7+
**chart_attributes** | [**JsonNode**](JsonNode.md) | Experimental field for chart attributes | [optional]
8+
**chart_settings** | [**ChartSettings**](ChartSettings.md) | | [optional]
79
**description** | **str** | Description of the chart | [optional]
8-
**units** | **str** | String to label the units of the chart on the Y-axis | [optional]
9-
**interpolate_points** | **bool** | Whether to interpolate points in the charts produced. Default: true | [optional]
10-
**sources** | [**list[ChartSourceQuery]**](ChartSourceQuery.md) | Query expression to plot on the chart |
1110
**include_obsolete_metrics** | **bool** | Whether to show obsolete metrics. Default: false | [optional]
11+
**interpolate_points** | **bool** | Whether to interpolate points in the charts produced. Default: true | [optional]
12+
**name** | **str** | Name of the source |
1213
**no_default_events** | **bool** | Whether to hide events related to the sources in the charts produced. Default false (i.e. shows events) | [optional]
13-
**chart_attributes** | [**JsonNode**](JsonNode.md) | Experimental field for chart attributes | [optional]
14+
**sources** | [**list[ChartSourceQuery]**](ChartSourceQuery.md) | Query expression to plot on the chart |
1415
**summarization** | **str** | Summarization strategy for the chart. MEAN is default | [optional]
15-
**chart_settings** | [**ChartSettings**](ChartSettings.md) | | [optional]
16-
**name** | **str** | Name of the source |
16+
**units** | **str** | String to label the units of the chart on the Y-axis | [optional]
1717

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

0 commit comments

Comments
 (0)