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

Can't update traffic splitting from AZ CLI #1432

Open
ThibaultNocchi opened this issue Mar 14, 2024 · 0 comments
Open

Can't update traffic splitting from AZ CLI #1432

ThibaultNocchi opened this issue Mar 14, 2024 · 0 comments

Comments

@ThibaultNocchi
Copy link

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:

  1. 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}}'
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant