-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
PutApplication_example.json
73 lines (73 loc) · 2.15 KB
/
PutApplication_example.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
{
"parameters": {
"api-version": "2022-07-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"applicationId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"application": {
"properties": {
"displayName": "Admin's application",
"description": "An application on critical recommendations",
"sourceResourceType": "Assessments",
"conditionSets": [
{
"conditions": [
{
"property": "$.Id",
"value": "-bil-",
"operator": "contains"
}
]
}
]
}
}
},
"responses": {
"200": {
"body": {
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/applications/ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
"type": "Microsoft.Security/applications",
"properties": {
"displayName": "Admin's application",
"description": "An application on critical recommendations",
"sourceResourceType": "Assessments",
"conditionSets": [
{
"conditions": [
{
"property": "$.Id",
"value": "-dev-",
"operator": "contains"
}
]
}
]
}
}
},
"201": {
"body": {
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/applications/ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
"type": "Microsoft.Security/applications",
"properties": {
"displayName": "Admin's application",
"description": "An application on critical recommendations",
"sourceResourceType": "Assessments",
"conditionSets": [
{
"conditions": [
{
"property": "$.Id",
"value": "-stg-",
"operator": "contains"
}
]
}
]
}
}
}
}
}