We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 619dc26 + 6981d49 commit c61eac2Copy full SHA for c61eac2
src/Strategies/ResourceId.cs
@@ -38,7 +38,8 @@ public static IResourceId TryParse(string id)
38
const int NameI = 8;
39
40
var parts = id.Split('/');
41
- return parts.Length == 9
+ // The number of parts in a shared image gallery image resource id can be 11 or 13
42
+ return (parts.Length == 9 || parts.Length == 11 || parts.Length == 13)
43
&& parts[EmptyI] == string.Empty
44
&& parts[SubscriptionsI] == Subscriptions
45
&& parts[ResourceGroupsI] == ResourceGroups
0 commit comments