Repository navigation
Conversation
zliang-akamai
requested review from
a team,
mawilk90 and
yec-akamai
and
a balanced review from Copilot
and removed request for
a team
October 14, 2026 04:37
mawilk90
reviewed
Oct 29, 2026
mawilk90
approved these changes
Oct 29, 2026
yec-akamai
requested
a balanced review from Copilot
and removed request for
Copilot
November 2, 2026 15:25
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The generated return-value documentation contains a TODO link that resolves to a nonexistent local page instead of the API response schema.
1 open issue
What changed in this PR
Adds monitor_logs_stream_quota_list to the linode.cloud Ansible collection, exposing stream quota definitions for the authenticated account through GET /monitor/streams/quotas.
Changes:
- Uses the shared
ListModulehelper to returnstream_quotaswith filtering disabled. - Adds usage documentation, sample responses, and a README entry.
- Adds unit tests and a feature-gated integration test.
| File | Description |
|---|---|
tests/unit/modules/test_monitor_logs_stream_quota_list.py |
Tests module configuration and quota response handling. |
tests/integration/targets/monitor_logs_stream_quota_list/tasks/main.yaml |
Adds guarded checks for returned quota fields. |
README.md |
Lists the new quota module. |
plugins/modules/monitor_logs_stream_quota_list.py |
Defines the quota-listing module. |
plugins/module_utils/doc_fragments/monitor_logs_stream_quota_list.py |
Supplies usage examples and sample quotas. |
docs/modules/monitor_logs_stream_quota_list.md |
Documents parameters, usage, and return values. |
Review effort: Balanced
| result_display_name="Monitor Logs Stream Quotas", | ||
| result_field_name="stream_quotas", | ||
| endpoint_template="/monitor/streams/quotas", | ||
| result_docs_url="TODO", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

📝 Description
Adds support for the GET /monitor/streams/quotas endpoint, which exposes stream quota definitions for the authenticated account.
✔️ How to Test
This PR depends on the changes from linode/linode_api4-python#731.
Run unit test
make test-unitRun integration test `RUN_ACLP_LOGS_STREAM_TESTS=true make integration-test TEST_SUITE=monitor_logs_stream_quota_list