Skip to content

Commit cd4aecc

Browse files
committed
ref: update monitor API docstring
1 parent fcc41e5 commit cd4aecc

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
@@ -37,8 +37,6 @@ def dashboards(
3737
dashboard = client.load(MonitorDashboard, 1)
3838
dashboards_by_service = client.monitor.dashboards(service_type="dbaas")
3939
40-
.. note:: This endpoint is in beta. This will only function if base_url is set to `https://api.linode.com/v4beta`.
41-
4240
API Documentation:
4341
- All Dashboards: https://techdocs.akamai.com/linode-api/reference/get-dashboards-all
4442
- Dashboards by Service: https://techdocs.akamai.com/linode-api/reference/get-dashboards
@@ -73,8 +71,6 @@ def services(
7371
supported_services = client.monitor.services()
7472
service_details = client.monitor.load(MonitorService, "dbaas")
7573
76-
.. note:: This endpoint is in beta. This will only function if base_url is set to `https://api.linode.com/v4beta`.
77-
7874
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-monitor-services
7975
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-monitor-services-for-service-type
8076
@@ -100,7 +96,6 @@ def metric_definitions(
10096
Returns metrics for a specific service type.
10197
10298
metrics = client.monitor.list_metric_definitions(service_type="dbaas")
103-
.. note:: This endpoint is in beta. This will only function if base_url is set to `https://api.linode.com/v4beta`.
10499
105100
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-monitor-information
106101
@@ -126,8 +121,6 @@ def create_token(
126121
Returns a JWE Token for a specific service type.
127122
token = client.monitor.create_token(service_type="dbaas", entity_ids=[1234])
128123
129-
.. note:: This endpoint is in beta. This will only function if base_url is set to `https://api.linode.com/v4beta`.
130-
131124
API Documentation: https://techdocs.akamai.com/linode-api/reference/post-get-token
132125
133126
:param service_type: The service type to create token for.
@@ -165,7 +158,6 @@ def alert_definitions(
165158
166159
alerts = client.monitor.alert_definitions()
167160
alerts_by_service = client.monitor.alert_definitions(service_type="dbaas")
168-
.. note:: This endpoint is in beta and requires using the v4beta base URL.
169161
170162
API Documentation:
171163
https://techdocs.akamai.com/linode-api/reference/get-alert-definitions
@@ -202,8 +194,6 @@ def alert_channels(self, *filters) -> PaginatedList:
202194
Examples:
203195
channels = client.monitor.alert_channels()
204196
205-
.. note:: This endpoint is in beta and requires using the v4beta base URL.
206-
207197
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-notification-channels
208198
209199
:param filters: Optional filter expressions to apply to the collection.
@@ -232,8 +222,6 @@ def create_alert_definition(
232222
The alert definition configures when alerts are fired and which channels
233223
are notified.
234224
235-
.. note:: This endpoint is in beta and requires using the v4beta base URL.
236-
237225
API Documentation: https://techdocs.akamai.com/linode-api/reference/post-alert-definition-for-service-type
238226
239227
:param service_type: Service type for which to create the alert definition
@@ -309,9 +297,7 @@ def alert_definition_entities(
309297
310298
This endpoint supports pagination fields (`page`, `page_size`) in the API.
311299
312-
.. note:: This endpoint is in beta and requires using the v4beta base URL.
313-
314-
API Documentation: TODO
300+
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-alert-definition-entities
315301
316302
:param service_type: Service type for the alert definition (e.g. `dbaas`).
317303
:type service_type: str

0 commit comments

Comments
 (0)