-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Service AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Description
Describe the bug
az fleet updatestrategy create : Creates or updates an update strategy.
Arguments
--fleet-name -f [Required] : Specify the fleet name.
--name -n [Required] : Specify name for the fleet update strategy.
--resource-group -g [Required] : Name of resource group. You can configure the default group
using `az configure --defaults group=<name>`.
--stages [Required] : Path to a JSON file that defines the update strategy.
The stages argument should identify that the string passed is not a filepath, and interpret the input as inline json if possible.
Same behavior should be implemented for updaterun command:
az fleet updaterun create : Creates or updates an update run.
Arguments
...
--stages : Path to a JSON file that defines stages to upgrade a fleet. See
examples for reference.
Related command
az fleet
Errors
File not found
Issue script & Debug output
NA
Expected behavior
accept inline json
Environment Summary
azure-cli 2.71
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Labels
Service AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.