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.Maintenance/configurationAssignments@2021-09-01-preview" location is not returned in GET response #28880

Open
ms-henglu opened this issue Apr 28, 2024 · 0 comments
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Maintenance Mgmt This issue points to a problem in the management-plane of the library. Service Attention This issue is responsible by Azure service team.

Comments

@ms-henglu
Copy link
Contributor

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2021-09-01-preview/Maintenance.json#L1910

API Spec version

2021-09-01-preview

Describe the bug

The field "location" is not returned in GET reponse

GET /subscriptions/000/resourceGroups/henglu425main/providers/Microsoft.Compute/virtualMachines/henglu425main/providers/Microsoft.Maintenance/configurationAssign
ments/henglu425main

{
    "id": "/subscriptions/000/resourceGroups/henglu425main/providers/Microsoft.Compute/virtualMachines/henglu425main/providers/Microsoft.Maintenance/configurationAssign
ments/henglu425main",
    "name": "henglu425main",
    "properties": {
        "maintenanceConfigurationId": "/subscriptions/000/resourcegroups/henglu425main/providers/microsoft.maintenance/maintenanceconfigurations/henglu425main",
        "resourceId": "/subscriptions/000/resourcegroups/henglu425main/providers/microsoft.compute/virtualmachines/henglu425main"
    },
    "type": "Microsoft.Maintenance/configurationAssignments"
}

Expected behavior

The location field should be returned in GET response

Actual behavior

The location field is not returned in GET response

Reproduction Steps

  1. Create a "Microsoft.Maintenance/configurationAssignments@2021-09-01-preview" and set location in the create request.
  2. Call GET request and check the location in 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 Apr 28, 2024
@zzhxiaofeng zzhxiaofeng added Maintenance Mgmt This issue points to a problem in the management-plane of the library. Service Attention This issue is responsible by Azure service team. labels May 8, 2024
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. Maintenance Mgmt This issue points to a problem in the management-plane of the library. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants