Traffic-manager endpoint create: Parsing issue with --min-child-endpoints, --min-child-ipv4, --min-child-ipv6 #26638
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Network
az network vnet/lb/nic/dns/etc...
Milestone
Describe the bug
Unable to create an endpoint when specifying any of:
--min-child-endpoints
,--min-child-ipv4
,--min-child-ipv6
.The command fails with:
Expect <class 'int'>, got <class 'str'>
Related command
az network traffic-manager endpoint create --name {} --profile-name {} --resource-group {} --type nestedEndpoints --endpoint-status Enabled --target-resource-id {} --min-child-endpoints 1 --min-child-ipv4 1 --min-child-ipv6 1 --priority 3 --subscription {}
Errors
Issue script & Debug output
Expected behavior
Succeed and return json values.
Example:
Environment Summary
Additional context
This issue seems similar to the following issues:
Those were fixed by:
az network dns record-set cname set-record
: Declare TTL as integer type #26260Which added
type=int
to the arguments.A quick look seems to indicate issue is the same with
--min-child-endpoints
,--min-child-ipv4
, and--min-child-ipv6
.Adding
type=int
might fix it.The text was updated successfully, but these errors were encountered: