-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add userAssignedIdentities * Reduced min properties to 1 * Add user assigned identity example * Use definition from compute
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
...ource-manager/Microsoft.Resources/stable/2018-05-01/examples/PutUserAssignedIdentity.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"location": "{location}", | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/00000000": {}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/00000001": {} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", | ||
"location": "{location}", | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000000/providers/Microsoft.ManagedIdentity/userAssignedIdentities/00000000": { | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"clientId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/00000001": { | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"clientId": "00000000-0000-0000-0000-000000000000" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters