Skip to content

Commit 30fca88

Browse files
authored
[DO NOT MERGE ] Introduce new scanners resource type (Azure#17107)
* introduce new scanners resource type * fix error * fixing errors * fixing errors * fix error * fixing errors * fixing comments * adding new tag
1 parent 0460de8 commit 30fca88

File tree

7 files changed

+474
-0
lines changed

7 files changed

+474
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"resourceGroupName": "myResourceGroup",
6+
"scannerName": "scanner"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"resourceGroupName": "myResourceGroup",
6+
"scannerName": "scanner"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.Security/scanners/scanner",
12+
"name": "scanner",
13+
"type": "Microsoft.Security/scanners",
14+
"location": "East US",
15+
"etag": "etag value",
16+
"systemData": {
17+
"createdBy": "[email protected]",
18+
"createdByType": "User",
19+
"createdAt": "2021-08-31T13:47:50.328Z",
20+
"lastModifiedBy": "[email protected]",
21+
"lastModifiedByType": "User",
22+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
23+
}
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.Security/scanners/scanner1",
12+
"name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
13+
"type": "Microsoft.Security/scanners",
14+
"location": "East US",
15+
"etag": "etag value",
16+
"systemData": {
17+
"createdBy": "[email protected]",
18+
"createdByType": "User",
19+
"createdAt": "2021-08-31T13:47:50.328Z",
20+
"lastModifiedBy": "[email protected]",
21+
"lastModifiedByType": "User",
22+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
23+
}
24+
},
25+
{
26+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.Security/scanners/155afdf9-d239-4a5c-847f-89da613e7143",
27+
"name": "155afdf9-d239-4a5c-847f-89da613e7143",
28+
"type": "Microsoft.Security/scanners",
29+
"location": "East US",
30+
"etag": "etag value",
31+
"systemData": {
32+
"createdBy": "[email protected]",
33+
"createdByType": "User",
34+
"createdAt": "2021-08-31T13:47:50.328Z",
35+
"lastModifiedBy": "[email protected]",
36+
"lastModifiedByType": "User",
37+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
38+
}
39+
}
40+
]
41+
}
42+
}
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"resourceGroupName": "myResourceGroup"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.Security/scanners/scanner1",
13+
"name": "scanner1",
14+
"type": "Microsoft.Security/scanners",
15+
"location": "East US",
16+
"etag": "etag value",
17+
"systemData": {
18+
"createdBy": "[email protected]",
19+
"createdByType": "User",
20+
"createdAt": "2021-08-31T13:47:50.328Z",
21+
"lastModifiedBy": "[email protected]",
22+
"lastModifiedByType": "User",
23+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
24+
}
25+
},
26+
{
27+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.Security/scanners/scanner2",
28+
"name": "scanner2",
29+
"type": "Microsoft.Security/scanners",
30+
"location": "East US",
31+
"etag": "etag value",
32+
"systemData": {
33+
"createdBy": "[email protected]",
34+
"createdByType": "User",
35+
"createdAt": "2021-08-31T13:47:50.328Z",
36+
"lastModifiedBy": "[email protected]",
37+
"lastModifiedByType": "User",
38+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
39+
}
40+
}
41+
]
42+
}
43+
}
44+
}
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-12-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"resourceGroupName": "myResourceGroup",
6+
"scannerName": "scanner",
7+
"scanner": {}
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/provider/Microsoft.Security/scanners/scanner",
13+
"name": "scanner",
14+
"type": "Microsoft.Security/scanners",
15+
"location": "East US",
16+
"etag": "etag value",
17+
"systemData": {
18+
"createdBy": "[email protected]",
19+
"createdByType": "User",
20+
"createdAt": "2021-08-31T13:47:50.328Z",
21+
"lastModifiedBy": "[email protected]",
22+
"lastModifiedByType": "User",
23+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
24+
}
25+
}
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)