Skip to content

Commit cff502a

Browse files
authored
ref: update monitor API docstring (#702)
1 parent 1b1eaff commit cff502a

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

linode_api4/groups/monitor.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ def dashboards(
4747
dashboard = client.load(MonitorDashboard, 1)
4848
dashboards_by_service = client.monitor.dashboards(service_type="dbaas")
4949
50-
.. note:: This endpoint is in beta. This will only function if base_url is set to `https://api.linode.com/v4beta`.
51-
5250
API Documentation:
5351
- All Dashboards: https://techdocs.akamai.com/linode-api/reference/get-dashboards-all
5452
- Dashboards by Service: https://techdocs.akamai.com/linode-api/reference/get-dashboards
@@ -83,8 +81,6 @@ def services(
8381
supported_services = client.monitor.services()
8482
service_details = client.monitor.load(MonitorService, "dbaas")
8583
86-
.. note:: This endpoint is in beta. This will only function if base_url is set to `https://api.linode.com/v4beta`.
87-
8884
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-monitor-services
8985
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-monitor-services-for-service-type
9086
@@ -110,7 +106,6 @@ def metric_definitions(
110106
Returns metrics for a specific service type.
111107
112108
metrics = client.monitor.list_metric_definitions(service_type="dbaas")
113-
.. note:: This endpoint is in beta. This will only function if base_url is set to `https://api.linode.com/v4beta`.
114109
115110
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-monitor-information
116111
@@ -136,8 +131,6 @@ def create_token(
136131
Returns a JWE Token for a specific service type.
137132
token = client.monitor.create_token(service_type="dbaas", entity_ids=[1234])
138133
139-
.. note:: This endpoint is in beta. This will only function if base_url is set to `https://api.linode.com/v4beta`.
140-
141134
API Documentation: https://techdocs.akamai.com/linode-api/reference/post-get-token
142135
143136
:param service_type: The service type to create token for.
@@ -175,7 +168,6 @@ def alert_definitions(
175168
176169
alerts = client.monitor.alert_definitions()
177170
alerts_by_service = client.monitor.alert_definitions(service_type="dbaas")
178-
.. note:: This endpoint is in beta and requires using the v4beta base URL.
179171
180172
API Documentation:
181173
https://techdocs.akamai.com/linode-api/reference/get-alert-definitions
@@ -212,8 +204,6 @@ def alert_channels(self, *filters) -> PaginatedList:
212204
Examples:
213205
channels = client.monitor.alert_channels()
214206
215-
.. note:: This endpoint is in beta and requires using the v4beta base URL.
216-
217207
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-notification-channels
218208
219209
:param filters: Optional filter expressions to apply to the collection.
@@ -242,8 +232,6 @@ def create_alert_definition(
242232
The alert definition configures when alerts are fired and which channels
243233
are notified.
244234
245-
.. note:: This endpoint is in beta and requires using the v4beta base URL.
246-
247235
API Documentation: https://techdocs.akamai.com/linode-api/reference/post-alert-definition-for-service-type
248236
249237
:param service_type: Service type for which to create the alert definition
@@ -319,9 +307,7 @@ def alert_definition_entities(
319307
320308
This endpoint supports pagination fields (`page`, `page_size`) in the API.
321309
322-
.. note:: This endpoint is in beta and requires using the v4beta base URL.
323-
324-
API Documentation: TODO
310+
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-alert-definition-entities
325311
326312
:param service_type: Service type for the alert definition (e.g. `dbaas`).
327313
:type service_type: str

0 commit comments

Comments
 (0)