You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be gentle, I'm not a Developer. I think I found a bug?
When I try to make a change to a setting using the azapi_resource_action if I use an action = "update" it fails. Seems to be adding 'update' to the end of the request.
performing action update of "Resource: (ResourceId \"/subscriptions/subscription-id/resourceGroups/rg-name/providers/Microsoft.DesktopVirtualization/hostPools/hp-avd-hostpool/sessionHosts/xx-xx-avda-01\" │ / Api Version \"2024-04-08-preview\")": PATCH │ https://management.azure.com/subscriptions/subsctiption/subscription-id/resourceGroups/rg-name/providers/Microsoft.DesktopVirtualization/hostPools/hp-avd-hostpool/sessionHosts/xx-xx-avda-01/update │ -------------------------------------------------------------------------------- │ RESPONSE 404: 404 Not Found │ ERROR CODE UNAVAILABLE │ -------------------------------------------------------------------------------- │ Response contained no body │ --------------------------------------------------------------------------------
If I omit 'action' or leave it blank then VSCode complains that I am trying to perform an edit to a read only setting. However if I ignore it's complaints and run the plan and apply it then it is successful and the Session Hosts are put into Drain Mode as expected
The text was updated successfully, but these errors were encountered:
dcw77
changed the title
Empty 'action' results in error properties` is not expected here, it's read onlyschema validate
Empty 'action' results in error properties` is not expected here, it's read onlyschema validate : Bug?
Nov 13, 2024
Be gentle, I'm not a Developer. I think I found a bug?
When I try to make a change to a setting using the azapi_resource_action if I use an action = "update" it fails. Seems to be adding 'update' to the end of the request.
performing action update of "Resource: (ResourceId \"/subscriptions/subscription-id/resourceGroups/rg-name/providers/Microsoft.DesktopVirtualization/hostPools/hp-avd-hostpool/sessionHosts/xx-xx-avda-01\" │ / Api Version \"2024-04-08-preview\")": PATCH │ https://management.azure.com/subscriptions/subsctiption/subscription-id/resourceGroups/rg-name/providers/Microsoft.DesktopVirtualization/hostPools/hp-avd-hostpool/sessionHosts/xx-xx-avda-01/update │ -------------------------------------------------------------------------------- │ RESPONSE 404: 404 Not Found │ ERROR CODE UNAVAILABLE │ -------------------------------------------------------------------------------- │ Response contained no body │ --------------------------------------------------------------------------------
If I omit 'action' or leave it blank then VSCode complains that I am trying to perform an edit to a read only setting. However if I ignore it's complaints and run the plan and apply it then it is successful and the Session Hosts are put into Drain Mode as expected
Thanks
The text was updated successfully, but these errors were encountered: