diff --git a/changelogs/fragments/11505-loganalytics-deprecation.yml b/changelogs/fragments/11505-loganalytics-deprecation.yml new file mode 100644 index 0000000000..f1d4d63bb4 --- /dev/null +++ b/changelogs/fragments/11505-loganalytics-deprecation.yml @@ -0,0 +1,2 @@ +deprecated_features: + - loganalytics callback plugin - is deprecated in favor of ``community.general.loganalytics_ingestion`` due to upcoming API changes in Azure Monitor (https://github.com/ansible-collections/community.general/pull/11505). diff --git a/meta/runtime.yml b/meta/runtime.yml index bfb7dce831..eda51118db 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -94,6 +94,10 @@ plugin_routing: tombstone: removal_version: 10.0.0 warning_text: The hipchat service has been discontinued and the self-hosted variant has been End of Life since 2020. + loganalytics: + deprecation: + removal_version: 14.0.0 + warning_text: The "HTTP Data Collector API" used by the plugin has been deprecated in Azure and replaced with the "Logs Ingestion API". Please migrate to the 'community.general.loganalytics_ingestion' plugin. osx_say: redirect: community.general.say stderr: diff --git a/plugins/callback/loganalytics.py b/plugins/callback/loganalytics.py index feacb59680..e31ef19c5d 100644 --- a/plugins/callback/loganalytics.py +++ b/plugins/callback/loganalytics.py @@ -35,6 +35,10 @@ options: ini: - section: callback_loganalytics key: shared_key +deprecated: + removed_in: 14.0.0 + why: The "HTTP Data Collector API" used by the plugin has been deprecated in Azure Monitor and replaced with the "Logs Ingestion API". + alternative: Please migrate to the P(community.general.loganalytics_ingestion#callback) plugin. """ EXAMPLES = r"""