Skip to content

Commit 706bcde

Browse files
committed
Autogenerated Update v2.65.6.
1 parent f8c7b66 commit 706bcde

12 files changed

+196
-22
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.64.5"
6+
"packageVersion": "2.65.6"
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.64.3"
6+
"packageVersion": "2.64.5"
77
}

README.md

+1-1
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.64.5
7+
- Package version: 2.65.6
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

docs/CloudWatchConfiguration.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**base_credentials** | [**AWSBaseCredentials**](AWSBaseCredentials.md) | | [optional]
7-
**instance_selection_tags** | **dict(str, str)** | A string->string map of white list of AWS instance tag-value pairs (in AWS). If the instance's AWS tags match this whitelist, CloudWatch data about this instance is ingested. Multiple entries are OR'ed | [optional]
7+
**instance_selection_tags** | **dict(str, str)** | A string->string map of allow list of AWS instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed | [optional]
8+
**instance_selection_tags_expr** | **str** | A string expressing the allow list of AWS instance tag-value pairs. If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed and also OR'ed with entries from instanceSelectionTags. Key-value pairs in the string are separated by commas and in the form k=v. Example: \"k1=v1, k1=v2, k3=v3\". | [optional]
89
**metric_filter_regex** | **str** | A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested | [optional]
910
**namespaces** | **list[str]** | A list of namespace that limit what we query from CloudWatch. | [optional]
1011
**point_tag_filter_regex** | **str** | A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested | [optional]
11-
**volume_selection_tags** | **dict(str, str)** | A string->string map of white list of AWS volume tag-value pairs (in AWS). If the volume's AWS tags match this whitelist, CloudWatch data about this volume is ingested. Multiple entries are OR'ed | [optional]
12+
**volume_selection_tags** | **dict(str, str)** | A string->string map of allow list of AWS volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed | [optional]
13+
**volume_selection_tags_expr** | **str** | A string expressing the allow list of AWS volume tag-value pairs. If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed and also OR'ed with entries from volumeSelectionTags. Key-value pairs in the string are separated by commas and in the form k=v. Example: \"k1=v1, k1=v2, k3=v3\". | [optional]
1214

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

docs/EC2Configuration.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**base_credentials** | [**AWSBaseCredentials**](AWSBaseCredentials.md) | | [optional]
77
**host_name_tags** | **list[str]** | A list of AWS instance tags that, when found, will be used as the \"source\" name in a series. Default: [\"hostname\", \"host\", \"name\"]. If no tag in this list is found, the series source is set to the instance id. | [optional]
8+
**instance_selection_tags_expr** | **str** | A string expressing the allow list of AWS instance tag-value pairs. If the instance's AWS tags match this allow list, data about this instance is ingested from EC2 APIs Multiple entries are OR'ed. Key-value pairs in the string are separated by commas and in the form k=v. Example: \"k1=v1, k1=v2, k3=v3\". | [optional]
9+
**metric_filter_regex** | **str** | A regular expression that a metric name must match (case-insensitively) in order to be ingested | [optional]
10+
**point_tag_filter_regex** | **str** | A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested | [optional]
11+
**volume_selection_tags_expr** | **str** | A string expressing the allow list of AWS volume tag-value pairs. If the volume's AWS tags match this allow list, Data about this volume is ingested from EBS APIs. Multiple entries are OR'ed. Key-value pairs in the string are separated by commas and in the form k=v. Example: \"k1=v1, k1=v2, k3=v3\". | [optional]
812

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

docs/SourceApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'
205205
# create an instance of the API class
206206
api_instance = wavefront_api_client.SourceApi(wavefront_api_client.ApiClient(configuration))
207207
cursor = 'cursor_example' # str | (optional)
208-
limit = 100 # int | (optional) (default to 100)
208+
limit = 100 # int | max limit: 1000 (optional) (default to 100)
209209

210210
try:
211211
# Get all sources for a customer
@@ -220,7 +220,7 @@ except ApiException as e:
220220
Name | Type | Description | Notes
221221
------------- | ------------- | ------------- | -------------
222222
**cursor** | **str**| | [optional]
223-
**limit** | **int**| | [optional] [default to 100]
223+
**limit** | **int**| max limit: 1000 | [optional] [default to 100]
224224

225225
### Return type
226226

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from setuptools import setup, find_packages # noqa: H301
1515

1616
NAME = "wavefront-api-client"
17-
VERSION = "2.64.5"
17+
VERSION = "2.65.6"
1818
# To install the library, run the following
1919
#
2020
# python setup.py install

wavefront_api_client/api/source_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def get_all_source(self, **kwargs): # noqa: E501
337337
338338
:param async_req bool
339339
:param str cursor:
340-
:param int limit:
340+
:param int limit: max limit: 1000
341341
:return: ResponseContainerPagedSource
342342
If the method is called asynchronously,
343343
returns the request thread.
@@ -360,7 +360,7 @@ def get_all_source_with_http_info(self, **kwargs): # noqa: E501
360360
361361
:param async_req bool
362362
:param str cursor:
363-
:param int limit:
363+
:param int limit: max limit: 1000
364364
:return: ResponseContainerPagedSource
365365
If the method is called asynchronously,
366366
returns the request thread.

wavefront_api_client/api_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7474
self.default_headers[header_name] = header_value
7575
self.cookie = cookie
7676
# Set default User-Agent.
77-
self.user_agent = 'Swagger-Codegen/2.64.5/python'
77+
self.user_agent = 'Swagger-Codegen/2.65.6/python'
7878

7979
def __del__(self):
8080
if self._pool is not None:

wavefront_api_client/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,5 +248,5 @@ def to_debug_report(self):
248248
"OS: {env}\n"\
249249
"Python Version: {pyversion}\n"\
250250
"Version of the API: v2\n"\
251-
"SDK Package Version: 2.64.5".\
251+
"SDK Package Version: 2.65.6".\
252252
format(env=sys.platform, pyversion=sys.version)

wavefront_api_client/models/cloud_watch_configuration.py

+63-7
Original file line numberDiff line numberDiff line change
@@ -33,36 +33,44 @@ class CloudWatchConfiguration(object):
3333
swagger_types = {
3434
'base_credentials': 'AWSBaseCredentials',
3535
'instance_selection_tags': 'dict(str, str)',
36+
'instance_selection_tags_expr': 'str',
3637
'metric_filter_regex': 'str',
3738
'namespaces': 'list[str]',
3839
'point_tag_filter_regex': 'str',
39-
'volume_selection_tags': 'dict(str, str)'
40+
'volume_selection_tags': 'dict(str, str)',
41+
'volume_selection_tags_expr': 'str'
4042
}
4143

4244
attribute_map = {
4345
'base_credentials': 'baseCredentials',
4446
'instance_selection_tags': 'instanceSelectionTags',
47+
'instance_selection_tags_expr': 'instanceSelectionTagsExpr',
4548
'metric_filter_regex': 'metricFilterRegex',
4649
'namespaces': 'namespaces',
4750
'point_tag_filter_regex': 'pointTagFilterRegex',
48-
'volume_selection_tags': 'volumeSelectionTags'
51+
'volume_selection_tags': 'volumeSelectionTags',
52+
'volume_selection_tags_expr': 'volumeSelectionTagsExpr'
4953
}
5054

51-
def __init__(self, base_credentials=None, instance_selection_tags=None, metric_filter_regex=None, namespaces=None, point_tag_filter_regex=None, volume_selection_tags=None): # noqa: E501
55+
def __init__(self, base_credentials=None, instance_selection_tags=None, instance_selection_tags_expr=None, metric_filter_regex=None, namespaces=None, point_tag_filter_regex=None, volume_selection_tags=None, volume_selection_tags_expr=None): # noqa: E501
5256
"""CloudWatchConfiguration - a model defined in Swagger""" # noqa: E501
5357

5458
self._base_credentials = None
5559
self._instance_selection_tags = None
60+
self._instance_selection_tags_expr = None
5661
self._metric_filter_regex = None
5762
self._namespaces = None
5863
self._point_tag_filter_regex = None
5964
self._volume_selection_tags = None
65+
self._volume_selection_tags_expr = None
6066
self.discriminator = None
6167

6268
if base_credentials is not None:
6369
self.base_credentials = base_credentials
6470
if instance_selection_tags is not None:
6571
self.instance_selection_tags = instance_selection_tags
72+
if instance_selection_tags_expr is not None:
73+
self.instance_selection_tags_expr = instance_selection_tags_expr
6674
if metric_filter_regex is not None:
6775
self.metric_filter_regex = metric_filter_regex
6876
if namespaces is not None:
@@ -71,6 +79,8 @@ def __init__(self, base_credentials=None, instance_selection_tags=None, metric_f
7179
self.point_tag_filter_regex = point_tag_filter_regex
7280
if volume_selection_tags is not None:
7381
self.volume_selection_tags = volume_selection_tags
82+
if volume_selection_tags_expr is not None:
83+
self.volume_selection_tags_expr = volume_selection_tags_expr
7484

7585
@property
7686
def base_credentials(self):
@@ -97,7 +107,7 @@ def base_credentials(self, base_credentials):
97107
def instance_selection_tags(self):
98108
"""Gets the instance_selection_tags of this CloudWatchConfiguration. # noqa: E501
99109
100-
A string->string map of white list of AWS instance tag-value pairs (in AWS). If the instance's AWS tags match this whitelist, CloudWatch data about this instance is ingested. Multiple entries are OR'ed # noqa: E501
110+
A string->string map of allow list of AWS instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed # noqa: E501
101111
102112
:return: The instance_selection_tags of this CloudWatchConfiguration. # noqa: E501
103113
:rtype: dict(str, str)
@@ -108,14 +118,37 @@ def instance_selection_tags(self):
108118
def instance_selection_tags(self, instance_selection_tags):
109119
"""Sets the instance_selection_tags of this CloudWatchConfiguration.
110120
111-
A string->string map of white list of AWS instance tag-value pairs (in AWS). If the instance's AWS tags match this whitelist, CloudWatch data about this instance is ingested. Multiple entries are OR'ed # noqa: E501
121+
A string->string map of allow list of AWS instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed # noqa: E501
112122
113123
:param instance_selection_tags: The instance_selection_tags of this CloudWatchConfiguration. # noqa: E501
114124
:type: dict(str, str)
115125
"""
116126

117127
self._instance_selection_tags = instance_selection_tags
118128

129+
@property
130+
def instance_selection_tags_expr(self):
131+
"""Gets the instance_selection_tags_expr of this CloudWatchConfiguration. # noqa: E501
132+
133+
A string expressing the allow list of AWS instance tag-value pairs. If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed and also OR'ed with entries from instanceSelectionTags. Key-value pairs in the string are separated by commas and in the form k=v. Example: \"k1=v1, k1=v2, k3=v3\". # noqa: E501
134+
135+
:return: The instance_selection_tags_expr of this CloudWatchConfiguration. # noqa: E501
136+
:rtype: str
137+
"""
138+
return self._instance_selection_tags_expr
139+
140+
@instance_selection_tags_expr.setter
141+
def instance_selection_tags_expr(self, instance_selection_tags_expr):
142+
"""Sets the instance_selection_tags_expr of this CloudWatchConfiguration.
143+
144+
A string expressing the allow list of AWS instance tag-value pairs. If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed and also OR'ed with entries from instanceSelectionTags. Key-value pairs in the string are separated by commas and in the form k=v. Example: \"k1=v1, k1=v2, k3=v3\". # noqa: E501
145+
146+
:param instance_selection_tags_expr: The instance_selection_tags_expr of this CloudWatchConfiguration. # noqa: E501
147+
:type: str
148+
"""
149+
150+
self._instance_selection_tags_expr = instance_selection_tags_expr
151+
119152
@property
120153
def metric_filter_regex(self):
121154
"""Gets the metric_filter_regex of this CloudWatchConfiguration. # noqa: E501
@@ -189,7 +222,7 @@ def point_tag_filter_regex(self, point_tag_filter_regex):
189222
def volume_selection_tags(self):
190223
"""Gets the volume_selection_tags of this CloudWatchConfiguration. # noqa: E501
191224
192-
A string->string map of white list of AWS volume tag-value pairs (in AWS). If the volume's AWS tags match this whitelist, CloudWatch data about this volume is ingested. Multiple entries are OR'ed # noqa: E501
225+
A string->string map of allow list of AWS volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed # noqa: E501
193226
194227
:return: The volume_selection_tags of this CloudWatchConfiguration. # noqa: E501
195228
:rtype: dict(str, str)
@@ -200,14 +233,37 @@ def volume_selection_tags(self):
200233
def volume_selection_tags(self, volume_selection_tags):
201234
"""Sets the volume_selection_tags of this CloudWatchConfiguration.
202235
203-
A string->string map of white list of AWS volume tag-value pairs (in AWS). If the volume's AWS tags match this whitelist, CloudWatch data about this volume is ingested. Multiple entries are OR'ed # noqa: E501
236+
A string->string map of allow list of AWS volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed # noqa: E501
204237
205238
:param volume_selection_tags: The volume_selection_tags of this CloudWatchConfiguration. # noqa: E501
206239
:type: dict(str, str)
207240
"""
208241

209242
self._volume_selection_tags = volume_selection_tags
210243

244+
@property
245+
def volume_selection_tags_expr(self):
246+
"""Gets the volume_selection_tags_expr of this CloudWatchConfiguration. # noqa: E501
247+
248+
A string expressing the allow list of AWS volume tag-value pairs. If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed and also OR'ed with entries from volumeSelectionTags. Key-value pairs in the string are separated by commas and in the form k=v. Example: \"k1=v1, k1=v2, k3=v3\". # noqa: E501
249+
250+
:return: The volume_selection_tags_expr of this CloudWatchConfiguration. # noqa: E501
251+
:rtype: str
252+
"""
253+
return self._volume_selection_tags_expr
254+
255+
@volume_selection_tags_expr.setter
256+
def volume_selection_tags_expr(self, volume_selection_tags_expr):
257+
"""Sets the volume_selection_tags_expr of this CloudWatchConfiguration.
258+
259+
A string expressing the allow list of AWS volume tag-value pairs. If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed and also OR'ed with entries from volumeSelectionTags. Key-value pairs in the string are separated by commas and in the form k=v. Example: \"k1=v1, k1=v2, k3=v3\". # noqa: E501
260+
261+
:param volume_selection_tags_expr: The volume_selection_tags_expr of this CloudWatchConfiguration. # noqa: E501
262+
:type: str
263+
"""
264+
265+
self._volume_selection_tags_expr = volume_selection_tags_expr
266+
211267
def to_dict(self):
212268
"""Returns the model properties as a dict"""
213269
result = {}

0 commit comments

Comments
 (0)