-
Notifications
You must be signed in to change notification settings - Fork 5k
/
ProjectEnvironmentTypes_Patch.json
84 lines (84 loc) · 2.87 KB
/
ProjectEnvironmentTypes_Patch.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
{
"parameters": {
"api-version": "2023-04-01",
"subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff",
"resourceGroupName": "rg1",
"projectName": "ContosoProj",
"environmentTypeName": "DevTest",
"body": {
"properties": {
"deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000",
"status": "Enabled",
"userRoleAssignments": {
"e45e3m7c-176e-416a-b466-0c5ec8298f8a": {
"roles": {
"4cbf0b6c-e750-441c-98a7-10da8387e4d6": {}
}
}
}
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1": {}
}
},
"tags": {
"CostCenter": "RnD"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/projects/ContosoProj/environmentTypes/DevTest",
"name": "DevTest",
"type": "Microsoft.DevCenter/projects/environmentTypes",
"properties": {
"deploymentTargetId": "/subscriptions/00000000-0000-0000-0000-000000000000",
"status": "Enabled",
"provisioningState": "Succeeded",
"creatorRoleAssignment": {
"roles": {
"4cbf0b6c-e750-441c-98a7-10da8387e4d6": {
"roleName": "Developer",
"description": "Allows Developer access to project virtual machine resources."
}
}
},
"userRoleAssignments": {
"e45e3m7c-176e-416a-b466-0c5ec8298f8a": {
"roles": {
"4cbf0b6c-e750-441c-98a7-10da8387e4d6": {
"roleName": "Developer",
"description": "Allows Developer access to project virtual machine resources."
}
}
}
}
},
"systemData": {
"createdBy": "User1@contoso.com",
"createdByType": "User",
"createdAt": "2020-11-18T18:24:24.818Z",
"lastModifiedBy": "User1@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-11-18T18:24:24.818Z"
},
"tags": {
"CostCenter": "RnD"
},
"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"
}
}
},
"location": "centralus"
}
}
}
}