Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.VirtualMachineImages to …
Browse files Browse the repository at this point in the history
…add version stable/2020-02-14 (#9451)
  • Loading branch information
feiyushi authored May 14, 2020
1 parent 40e1202 commit c189741
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"api-version": "2020-02-14",
"parameters": {
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity_2": {}
}
"type": "None"
}
}
},
Expand All @@ -21,13 +18,7 @@
"location": "westus",
"type": "Microsoft.VirtualMachineImages/imageTemplate",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity_2": {
"clientId": "00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000"
}
}
"type": "None"
},
"tags": {
"new-tag": "new-value"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
"$ref": "./examples/UpdateImageTemplateTags.json"
},
"Remove identities for an Image Template.": {
"$ref": "./examples/UpdateImageTemplateToUpdateIdentity.json"
"$ref": "./examples/UpdateImageTemplateToRemoveIdentities.json"
}
}
},
Expand Down Expand Up @@ -1098,9 +1098,10 @@
"properties": {
"type": {
"type": "string",
"description": "The type of identity used for the image template.",
"description": "The type of identity used for the image template. The type 'None' will remove any identities from the image template.",
"enum": [
"UserAssigned"
"UserAssigned",
"None"
],
"x-ms-enum": {
"name": "ResourceIdentityType",
Expand Down

0 comments on commit c189741

Please sign in to comment.