We have some property objects that are being initialized even when their children are not being assigned on the command line. For example, when running az video-analyzer update --type "CustomerKey" --account-name hivyastest6151 we are just trying to update this property:
.
However, the generated code also updates identity:
Here is what our update command looks like:
I believe line 77 should only happen if video_analyzer_identity_type and user_assigned_identites are not None.
Similarly, in our create command:
\
Lines 46-49 should only happen if user_assigned_identity and key_identifier are not None.
We have some property objects that are being initialized even when their children are not being assigned on the command line. For example, when running
az video-analyzer update --type "CustomerKey" --account-name hivyastest6151
we are just trying to update this property: . However, the generated code also updatesidentity
:Here is what our update command looks like: I believe line 77 should only happen if
video_analyzer_identity_type
anduser_assigned_identites
are not None.Similarly, in our create command: \ Lines 46-49 should only happen if
user_assigned_identity
andkey_identifier
are not None.