-
Notifications
You must be signed in to change notification settings - Fork 865
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
ActivityLogs client needs API version update #14704
Comments
from: github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2018-03-01/insights to work around Azure/azure-sdk-for-go#14704 while we wait on a permanent fix
Hi @drewandersonnz thanks for this issue! This is how our SDK generator and swaggers work: There is a new release of monitor in progress now, you can check it out here: Azure/azure-rest-api-specs#14542 (review) |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzMonEssential. Issue DetailsBug ReportPlease update ActivityLogs client API version to As per an error from the API: This could be by adding a new implementation version of the ActivityLogs section which targets the newer API version, leaving all other implementations the same. Example:
All current implementation versions of the ActivityLog client use an older 2015-04-01 API version, even though other API versions are available
As the As per a recent ICM (242085637) there is a known issue where the 2015-04-01 API version is missing objects in the response which are present in the API version 2017-03-01-preview used by https://portal.azure.com. This is not a data format issue, instead the API is missing whole root level objects. Full reproduction steps can be found in the above ICM. The It is possible to retrieve the ActivityLogs objects via a similar command line request as this:
Required information requested by the github Bug Template:
|
There are known set of issues with the backend system for the api-version = 2017-03-01-preview in Activity Logs REST API. The team is working to resolve the backend issues first before publishing this api-version more broadly. At this time, this engineering work is very significant and multiple months. Currently, we are targeting releasing the new backend system in the Fall timeframe. |
@asheniam @AzMonEssential - Small bump - we could really use the more advanced filtering offered in 2017-03-01-preview (a-la filtering by operation type); Thanks a ton ! |
We are now targeting late 2022 for update API. |
Bug Report
Please update ActivityLogs client API version to
2017-03-01-preview
matching that used by https://portal.azure.com/As per an error from the API:
The supported api-versions are '2014-04-01,2014-11-01,2015-04-01,2016-09-01-preview,2017-03-01-preview'.
This could be by adding a new implementation version of the ActivityLogs section which targets the newer API version, leaving all other implementations the same. Example:
All current implementation versions of the ActivityLog client use an older 2015-04-01 API version, even though other API versions are available
As the
activitylogs.go
is in./preview
of the SDK, and there are-preview
implementations in the SDK, there should be no problem providing a version which uses a-preview
version of the API.As per a recent ICM (242085637) there is a known issue where the 2015-04-01 API version is missing objects in the response which are present in the API version 2017-03-01-preview used by https://portal.azure.com. This is not a data format issue, instead the API is missing whole root level objects.
Full reproduction steps can be found in the above ICM.
The
az
cli tool also uses the 2015-04-01 API version and also exhibits this missing object problem.It is possible to retrieve the ActivityLogs objects via a similar command line request as this:
Required information requested by the github Bug Template:
The text was updated successfully, but these errors were encountered: