We have a property in our swagger defined as such:
This is how the body of it should like:
However, when generating our cli extension the storage-account parameter is missing the identity layer in the body:
So the resulting body looks like this:
'storage_accounts': [ { 'id': '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1', 'user_assigned_identity': '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2' } ]
We have a property in our swagger defined as such:
This is how the body of it should like:
However, when generating our cli extension the
storage-account
parameter is missing theidentity
layer in the body: So the resulting body looks like this:'storage_accounts': [ { 'id': '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1', 'user_assigned_identity': '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2' } ]