-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
DevCenters_CreateWithUserIdentity.json
87 lines (87 loc) · 3.06 KB
/
DevCenters_CreateWithUserIdentity.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"parameters": {
"api-version": "2022-11-11-preview",
"subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff",
"resourceGroupName": "rg1",
"devCenterName": "Contoso",
"body": {
"tags": {
"CostCode": "12345"
},
"location": "centralus",
"properties": {},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {}
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso",
"name": "Contoso",
"type": "Microsoft.DevCenter/devcenters",
"tags": {
"CostCode": "12345"
},
"location": "centralus",
"properties": {
"provisioningState": "Succeeded",
"devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-11-11T22:00:08.896Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-11-11T22:00:10.896Z"
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {
"clientId": "e35621a5-f615-4a20-940e-de8a84b15abc",
"principalId": "2111b8fc-e123-485a-b408-bf1153189494"
}
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso",
"name": "Contoso",
"type": "Microsoft.DevCenter/devcenters",
"tags": {
"CostCode": "12345"
},
"location": "centralus",
"properties": {
"provisioningState": "Accepted",
"devCenterUri": "https://4c7c8922-78e9-4928-aa6f-75ba59355371-contoso.centralus.devcenter.azure.com"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-11-11T22:00:08.896Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-11-11T22:00:10.896Z"
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {
"clientId": "e35621a5-f615-4a20-940e-de8a84b15abc",
"principalId": "2111b8fc-e123-485a-b408-bf1153189494"
}
}
}
}
}
}
}