Skip to content
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

[BUG] Microsoft.Insights/diagnosticSettings@2021-05-01-preview returns undefined property "location" #29198

Open
ms-henglu opened this issue May 22, 2024 · 1 comment
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Mgmt This issue is related to a management-plane library.

Comments

@ms-henglu
Copy link
Member

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json#L330

API Spec version

2021-05-01-preview

Describe the bug

In the GET response, the location field is returned but not defined in the swagger.

Expected behavior

In the GET response, the location should not be returned, or should be defined in the swagger.

Actual behavior

In the GET response, the location field is returned but not defined in the swagger.

Reproduction Steps

  1. Create the resource.
  2. Call GET API and check the response.

Environment

No response

@ms-henglu ms-henglu added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label May 22, 2024
@zzhxiaofeng zzhxiaofeng added the Mgmt This issue is related to a management-plane library. label May 24, 2024
@zzhxiaofeng
Copy link

@ruowan Please help have a look, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

3 participants