Azure Static Web Apps. For bugs and feature requests, please create an issue in this repo. For community discussions, latest updates, kindly refer to the Discussions Tab. To know what's new in Static Web Apps, visit https://aka.ms/swa/ThisMonth
I'm trying to update my traffic splitting distribution with az resource update, in vain.
To Reproduce
Steps to reproduce the behavior:
Try to update traffic splitting with a command such as az resource update -n XXX -g YYY --resource-type Microsoft.Web/staticSites --set 'properties.trafficSplitting={"environmentDistribution": {"env":100}}'
No update or error
Expected behavior
It should at least errors out I guess, but I'd prefer if it'd work.
Additional context
I'm wondering if it's not due to this property not existing in the latest API version, even though the resource does have it when querying it from the portal or the CLI.
Describe the bug
I'm trying to update my traffic splitting distribution with
az resource update
, in vain.To Reproduce Steps to reproduce the behavior:
az resource update -n XXX -g YYY --resource-type Microsoft.Web/staticSites --set 'properties.trafficSplitting={"environmentDistribution": {"env":100}}'
Expected behavior It should at least errors out I guess, but I'd prefer if it'd work.
Additional context I'm wondering if it's not due to this property not existing in the latest API version, even though the resource does have it when querying it from the portal or the CLI.