Open erikrok opened 1 week ago
Thank you for opening this issue, we will look into it.
@erikrok Custom-mytable_CL
is needed ourside columns
structure.
For now, you can put all your streamDeclarations data into rule-file arg, like below, and it'll take care of the obj parsing by default.
Describe the bug
Updating an existing data collection rule is not working.
error:
argument: Model 'AAZObjectArg' has no field named 'location'
error:
Failed to parse '--stream-declarations' argument: dict type value expected, got '[OrderedDict([('location', 'string')])]'(<class 'list '>)
Related command
az monitor data-collection rule update --resource-group my-rg --name my-dcr --stream-declarations "columns[{location:string}]"
Errors
Failed to parse '--stream-declarations' argument: dict type value expected, got '[OrderedDict([('location', 'string')])]'(<class 'list or
argument: Model 'AAZObjectArg' has no field named 'location' `Issue script & Debug output
Expected behavior
Environment Summary
Additional context
No response