Skip to content

Commit 0e52ddf

Browse files
fixing UpdateImageTemplateVmProfile.json reference and additionalProperties error
1 parent c784696 commit 0e52ddf

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

  • specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2024-02-01

specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/stable/2024-02-01/imagebuilder.json

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@
234234
},
235235
"Remove identities for an Image Template.": {
236236
"$ref": "./examples/UpdateImageTemplateToRemoveIdentities.json"
237+
},
238+
"Update VM Profile for an Image Template.": {
239+
"$ref": "./examples/UpdateImageTemplateVmProfile.json"
237240
}
238241
}
239242
},
@@ -1173,10 +1176,7 @@
11731176
"pattern": "^[A-Za-z0-9-_.]{1,64}$"
11741177
},
11751178
"artifactTags": {
1176-
"type": "object",
1177-
"additionalProperties": {
1178-
"type": "string"
1179-
},
1179+
"type": "string",
11801180
"description": "Tags that will be applied to the artifact once it has been created/updated by the distributor."
11811181
}
11821182
},
@@ -1653,10 +1653,7 @@
16531653
"description": "Indicates whether or not to automatically run the image template build on template creation or update."
16541654
},
16551655
"managedResourceTags": {
1656-
"type": "object",
1657-
"additionalProperties": {
1658-
"type": "string"
1659-
},
1656+
"type": "string",
16601657
"x-ms-mutability": [
16611658
"read",
16621659
"create",
@@ -1695,7 +1692,7 @@
16951692
"title": "User-Assigned Identities",
16961693
"description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.",
16971694
"type": "object",
1698-
"additionalProperties": {
1695+
"userAssignedIdentity": {
16991696
"$ref": "#/definitions/UserAssignedIdentity"
17001697
}
17011698
},
@@ -2089,4 +2086,4 @@
20892086
"description": "Client Api Version."
20902087
}
20912088
}
2092-
}
2089+
}

0 commit comments

Comments
 (0)