Skip to content

Commit 63ae8d3

Browse files
committed
feat: [DPS-44447] Add endpoint to expose streams limit per account
1 parent 71802bf commit 63ae8d3

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

linode_api4/groups/monitor.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -627,19 +627,15 @@ def stream_create(
627627

628628
return LogsStream(self.client, result["id"], result)
629629

630-
def streams_quotas(self, *filters) -> PaginatedList:
630+
def streams_quotas(self) -> PaginatedList:
631631
"""
632632
Retrieve quota definitions available for the authenticated account's streams.
633633
634634
This reads from ``/monitor/streams/quotas`` on the API v4 endpoint.
635635
636-
:param filters: Any number of filters to apply to this query.
637-
See :doc:`Filtering Collections</linode_api4/objects/filtering>`
638-
for more details on filtering.
639-
640636
:returns: A paginated list of stream quota definitions.
641637
:rtype: PaginatedList[LogsStreamQuota]
642638
"""
643639
return self.client._get_and_filter(
644-
LogsStreamQuota, *filters, endpoint="/monitor/streams/quotas"
640+
LogsStreamQuota, endpoint="/monitor/streams/quotas"
645641
)

test/fixtures/monitor_streams_quotas.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
"results": 2,
1919
"page": 1,
2020
"pages": 1
21-
}
21+
}

0 commit comments

Comments
 (0)