-
Notifications
You must be signed in to change notification settings - Fork 334
Refs #1656 - add modules for data collection rules #1952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
If you had a look at this, give me a heads up and I'll write tests for it. |
@Klaas- Please update!
|
7d57837
to
c32549f
Compare
Hi @Fred-sun |
b7d59cb
to
f445b73
Compare
"description": "Description of your data collection rule", | ||
"destinations": {}, | ||
"etag": "str", | ||
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resource_group_name/providers/Microsoft.Insights/dataCollectionRules/data_collection_rule_name", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resource_group_name/providers/Microsoft.Insights/dataCollectionRules/data_collection_rule_name", | |
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resource_group_name/ | |
providers/Microsoft.Insights/dataCollectionRules/data_collection_rule_name", |
- dynamic | ||
data_sources: | ||
description: | ||
- The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. | |
- The specification of data sources. | |
- This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. |
data_sources: | ||
description: | ||
- The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. | ||
- U(https://learn.microsoft.com/en-us/python/api/azure-mgmt-monitor/azure.mgmt.monitor.v2022_06_01.models.datacollectionruledatasources?view=azure-python) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL is too long and I have no good solution. Currently, I suggest breaking the line and doing the same for the rest! Thank you!
- U(https://learn.microsoft.com/en-us/python/api/azure-mgmt-monitor/azure.mgmt.monitor.v2022_06_01.models.datacollectionruledatasources?view=azure-python) | |
- U(https://learn.microsoft.com/en-us/python/api/azure-mgmt-monitor/azure.mgmt.monitor.v2022_06_01. | |
models.datacollectionruledatasources?view=azure-python) |
ERROR: plugins/modules/azure_rm_monitordatacollectionrules.py:85:161: E501: line too long (172 > 160 characters) |
f445b73
to
5e3f031
Compare
SUMMARY
ISSUE TYPE
COMPONENT NAME
azure_rm_monitordatacollectionrules
azure_rm_monitordatacollectionrules_info
ADDITIONAL INFORMATION
Create/Update/Delete data collection rules
Show/List data collection rules