You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the MongodbRoleDefinition API, the schema defines the .properties.type field as an Enum (CustomRole, BuiltInRole), but Azure responds with an int when read via the API
This causes an unmarshaling error, which prevented onboarding the resource in #4550
Azure Service Operator Version: N/A
To Reproduce
az resource show --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg/providers/Microsoft.DocumentDB/databaseAccounts/asotestdb/mongodbRoleDefinitions/asotest-mongo.dboperator
Describe the bug
For the
MongodbRoleDefinition
API, the schema defines the.properties.type
field as an Enum (CustomRole
,BuiltInRole
), but Azure responds with anint
when read via the APIThis causes an unmarshaling error, which prevented onboarding the resource in #4550
Azure Service Operator Version: N/A
To Reproduce
az resource show --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg/providers/Microsoft.DocumentDB/databaseAccounts/asotestdb/mongodbRoleDefinitions/asotest-mongo.dboperator
Additional context
generated type
The text was updated successfully, but these errors were encountered: