Skip to content

Commit c5d0994

Browse files
SherylueenYanwen Liu
andauthored
Release appcomplianceautomation microsoft.app compliance automation 2022 11 16 preview 1 (#21074)
* add appcomplianceautomation specs * update appcomplianceautomation specs for 2022-11-16-preview * remove privatepreview and beta (#21124) Co-authored-by: Yanwen Liu <[email protected]> * Release appcomplianceautomation microsoft.app compliance automation 2022 11 16 preview resolve comments 2 (#21152) * fix comments * remove duplicate in body * resolve comments * edit examples to match schema * fix failure * fix model validation * change passed to passedCount * add x-ms-enum to isPass * change delete 200 description Co-authored-by: Yanwen Liu <[email protected]> * set sasUri x-ms-secret to true (#21161) Co-authored-by: Yanwen Liu <[email protected]> * remove properties from download request body (#21184) * remove properties from download request body * remove properties in snapshot_resourcelist_download.json * keep statuscode 201 and 202 in patch report response, due to RPSaas will change 202 to 201 * add body in patch report 201 response Co-authored-by: Yanwen Liu <[email protected]> * change ProvisioningState Cancelled to Canceled, and some descriptions (#21237) * change ProvisioningState Cancelled to Canceled, and some descriptions * add x-ms-enum extension to ComplianceState Co-authored-by: Yanwen Liu <[email protected]> Co-authored-by: Yanwen Liu <[email protected]>
1 parent d6143c2 commit c5d0994

20 files changed

+2310
-0
lines changed

specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/preview/2022-11-16-preview/appcomplianceautomation.json

Lines changed: 1382 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-16-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"headers": {},
8+
"body": {
9+
"value": [
10+
{
11+
"name": "Microsoft.AppComplianceAutomation/reports/write",
12+
"isDataAction": false,
13+
"display": {
14+
"provider": "Microsoft AppComplianceAutomation",
15+
"resource": "Microsoft.AppComplianceAutomation/reports",
16+
"operation": "Microsoft.AppComplianceAutomation/reports/write",
17+
"description": "Create new reports."
18+
}
19+
}
20+
]
21+
}
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
{
2+
"parameters": {
3+
"parameters": {
4+
"properties": {
5+
"offerGuid": "0000",
6+
"timeZone": "GMT Standard Time",
7+
"triggerTime": "2022-03-04T05:11:56.197Z",
8+
"resources": [
9+
{
10+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint",
11+
"tags": {
12+
"key1": "value1"
13+
}
14+
}
15+
]
16+
}
17+
},
18+
"api-version": "2022-11-16-preview",
19+
"reportName": "testReportName"
20+
},
21+
"responses": {
22+
"200": {
23+
"body": {
24+
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName",
25+
"name": "testReportName",
26+
"type": "Microsfot.AppComplianceAutomation/reports",
27+
"properties": {
28+
"id": "00000000-0000-0000-0000-000000000000",
29+
"status": "Active",
30+
"tenantId": "00000000-0000-0000-0000-000000000000",
31+
"reportName": "testReportName",
32+
"offerGuid": "00000000-0000-0000-0000-000000000000",
33+
"timeZone": "GMT Standard Time",
34+
"triggerTime": "2022-03-02T05:17:23.922Z",
35+
"nextTriggerTime": "2022-03-02T05:17:23.922Z",
36+
"lastTriggerTime": "2022-03-02T05:17:23.922Z",
37+
"subscriptions": [
38+
"00000000-0000-0000-0000-000000000000"
39+
],
40+
"resources": [
41+
{
42+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService",
43+
"tags": {
44+
"key1": "value1"
45+
}
46+
}
47+
],
48+
"provisioningState": "Succeeded",
49+
"complianceStatus": {
50+
"m365": {
51+
"passedCount": 0,
52+
"failedCount": 0,
53+
"manualCount": 0
54+
}
55+
}
56+
},
57+
"systemData": {
58+
"createdBy": "00000000-0000-0000-0000-000000000000",
59+
"createdByType": "User",
60+
"createdAt": "2021-05-14T22:34:55.4499903Z",
61+
"lastModifiedBy": "00000000-0000-0000-0000-000000000000",
62+
"lastModifiedByType": "User",
63+
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z"
64+
}
65+
}
66+
},
67+
"201": {
68+
"body": {
69+
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName",
70+
"name": "testReportName",
71+
"type": "Microsfot.AppComplianceAutomation/reports",
72+
"properties": {
73+
"id": "00000000-0000-0000-0000-000000000000",
74+
"status": "Active",
75+
"tenantId": "00000000-0000-0000-0000-000000000000",
76+
"reportName": "testReportName",
77+
"offerGuid": "00000000-0000-0000-0000-000000000000",
78+
"timeZone": "GMT Standard Time",
79+
"triggerTime": "2022-03-02T05:17:23.922Z",
80+
"nextTriggerTime": "2022-03-02T05:17:23.922Z",
81+
"lastTriggerTime": "2022-03-02T05:17:23.922Z",
82+
"subscriptions": [
83+
"00000000-0000-0000-0000-000000000000"
84+
],
85+
"resources": [
86+
{
87+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService",
88+
"tags": {
89+
"key1": "value1"
90+
}
91+
}
92+
],
93+
"complianceStatus": {
94+
"m365": {
95+
"passedCount": 0,
96+
"failedCount": 0,
97+
"manualCount": 0
98+
}
99+
},
100+
"provisioningState": "Succeeded"
101+
},
102+
"systemData": {
103+
"createdBy": "00000000-0000-0000-0000-000000000000",
104+
"createdByType": "User",
105+
"createdAt": "2021-05-14T22:34:55.4499903Z",
106+
"lastModifiedBy": "00000000-0000-0000-0000-000000000000",
107+
"lastModifiedByType": "User",
108+
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z"
109+
}
110+
},
111+
"headers": {
112+
"Location": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}",
113+
"Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}"
114+
}
115+
}
116+
}
117+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-16-preview",
4+
"reportName": "testReportName"
5+
},
6+
"responses": {
7+
"200": {},
8+
"202": {
9+
"headers": {
10+
"Location": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}",
11+
"Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}"
12+
}
13+
},
14+
"204": {}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-16-preview",
4+
"reportName": "testReport"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName",
10+
"name": "testReportName",
11+
"type": "Microsfot.AppComplianceAutomation/reports",
12+
"properties": {
13+
"id": "00000000-0000-0000-0000-000000000000",
14+
"status": "Active",
15+
"tenantId": "00000000-0000-0000-0000-000000000000",
16+
"reportName": "testReportName",
17+
"offerGuid": "00000000-0000-0000-0000-000000000000",
18+
"timeZone": "GMT Standard Time",
19+
"triggerTime": "2022-03-02T05:17:23.922Z",
20+
"nextTriggerTime": "2022-03-02T05:17:23.922Z",
21+
"lastTriggerTime": "2022-03-02T05:17:23.922Z",
22+
"subscriptions": [
23+
"00000000-0000-0000-0000-000000000000"
24+
],
25+
"resources": [
26+
{
27+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService",
28+
"tags": {
29+
"key1": "value1"
30+
}
31+
}
32+
],
33+
"complianceStatus": {
34+
"m365": {
35+
"passedCount": 0,
36+
"failedCount": 0,
37+
"manualCount": 0
38+
}
39+
},
40+
"provisioningState": "Succeeded"
41+
},
42+
"systemData": {
43+
"createdBy": "00000000-0000-0000-0000-000000000000",
44+
"createdByType": "User",
45+
"createdAt": "2021-05-14T22:34:55.4499903Z",
46+
"lastModifiedBy": "00000000-0000-0000-0000-000000000000",
47+
"lastModifiedByType": "User",
48+
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z"
49+
}
50+
}
51+
}
52+
}
53+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
{
2+
"parameters": {
3+
"parameters": {
4+
"properties": {
5+
"offerGuid": "0000",
6+
"timeZone": "GMT Standard Time",
7+
"triggerTime": "2022-03-04T05:11:56.197Z",
8+
"resources": [
9+
{
10+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint",
11+
"tags": {
12+
"key1": "value1"
13+
}
14+
}
15+
]
16+
}
17+
},
18+
"api-version": "2022-11-16-preview",
19+
"reportName": "testReportName"
20+
},
21+
"responses": {
22+
"200": {
23+
"body": {
24+
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName",
25+
"name": "testReportName",
26+
"type": "Microsfot.AppComplianceAutomation/reports",
27+
"properties": {
28+
"id": "00000000-0000-0000-0000-000000000000",
29+
"status": "Active",
30+
"tenantId": "00000000-0000-0000-0000-000000000000",
31+
"reportName": "testReportName",
32+
"offerGuid": "00000000-0000-0000-0000-000000000000",
33+
"timeZone": "GMT Standard Time",
34+
"triggerTime": "2022-03-02T05:17:23.922Z",
35+
"nextTriggerTime": "2022-03-02T05:17:23.922Z",
36+
"lastTriggerTime": "2022-03-02T05:17:23.922Z",
37+
"subscriptions": [
38+
"00000000-0000-0000-0000-000000000000"
39+
],
40+
"resources": [
41+
{
42+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService",
43+
"tags": {
44+
"key1": "value1"
45+
}
46+
}
47+
],
48+
"complianceStatus": {
49+
"m365": {
50+
"passedCount": 0,
51+
"failedCount": 0,
52+
"manualCount": 0
53+
}
54+
},
55+
"provisioningState": "Succeeded"
56+
},
57+
"systemData": {
58+
"createdBy": "00000000-0000-0000-0000-000000000000",
59+
"createdByType": "User",
60+
"createdAt": "2021-05-14T22:34:55.4499903Z",
61+
"lastModifiedBy": "00000000-0000-0000-0000-000000000000",
62+
"lastModifiedByType": "User",
63+
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z"
64+
}
65+
}
66+
},
67+
"201": {
68+
"body": {
69+
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName",
70+
"name": "testReportName",
71+
"type": "Microsfot.AppComplianceAutomation/reports",
72+
"properties": {
73+
"id": "00000000-0000-0000-0000-000000000000",
74+
"status": "Active",
75+
"tenantId": "00000000-0000-0000-0000-000000000000",
76+
"reportName": "testReportName",
77+
"offerGuid": "00000000-0000-0000-0000-000000000000",
78+
"timeZone": "GMT Standard Time",
79+
"triggerTime": "2022-03-02T05:17:23.922Z",
80+
"nextTriggerTime": "2022-03-02T05:17:23.922Z",
81+
"lastTriggerTime": "2022-03-02T05:17:23.922Z",
82+
"subscriptions": [
83+
"00000000-0000-0000-0000-000000000000"
84+
],
85+
"resources": [
86+
{
87+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService",
88+
"tags": {
89+
"key1": "value1"
90+
}
91+
}
92+
],
93+
"complianceStatus": {
94+
"m365": {
95+
"passedCount": 0,
96+
"failedCount": 0,
97+
"manualCount": 0
98+
}
99+
},
100+
"provisioningState": "Succeeded"
101+
},
102+
"systemData": {
103+
"createdBy": "00000000-0000-0000-0000-000000000000",
104+
"createdByType": "User",
105+
"createdAt": "2021-05-14T22:34:55.4499903Z",
106+
"lastModifiedBy": "00000000-0000-0000-0000-000000000000",
107+
"lastModifiedByType": "User",
108+
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z"
109+
}
110+
},
111+
"headers": {
112+
"Location": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}",
113+
"Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}"
114+
}
115+
},
116+
"202": {
117+
"headers": {
118+
"Location": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}",
119+
"Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}"
120+
}
121+
}
122+
}
123+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-16-preview",
4+
"$skipToken": "1",
5+
"$top": "100",
6+
"reportCreatorTenantId": "00000000-0000-0000-0000-000000000000",
7+
"offerGuid": "00000000-0000-0000-0000-000000000000"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"value": [
13+
{
14+
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName",
15+
"name": "testReportName",
16+
"type": "Microsfot.AppComplianceAutomation/reports",
17+
"properties": {
18+
"id": "00000000-0000-0000-0000-000000000000",
19+
"status": "Active",
20+
"tenantId": "00000000-0000-0000-0000-000000000000",
21+
"reportName": "testReportName",
22+
"offerGuid": "00000000-0000-0000-0000-000000000000",
23+
"timeZone": "GMT Standard Time",
24+
"triggerTime": "2022-03-02T05:17:23.922Z",
25+
"nextTriggerTime": "2022-03-02T05:17:23.922Z",
26+
"lastTriggerTime": "2022-03-02T05:17:23.922Z",
27+
"subscriptions": [
28+
"00000000-0000-0000-0000-000000000000"
29+
],
30+
"resources": [
31+
{
32+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService",
33+
"tags": {
34+
"key1": "value1"
35+
}
36+
}
37+
],
38+
"complianceStatus": {
39+
"m365": {
40+
"passedCount": 0,
41+
"failedCount": 0,
42+
"manualCount": 0
43+
}
44+
},
45+
"provisioningState": "Succeeded"
46+
},
47+
"systemData": {
48+
"createdBy": "00000000-0000-0000-0000-000000000000",
49+
"createdByType": "User",
50+
"createdAt": "2021-05-14T22:34:55.4499903Z",
51+
"lastModifiedBy": "00000000-0000-0000-0000-000000000000",
52+
"lastModifiedByType": "User",
53+
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z"
54+
}
55+
}
56+
],
57+
"nextLink": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports?api-version=2022-11-16-preview&skipToken=1&top=100"
58+
}
59+
}
60+
}
61+
}

0 commit comments

Comments
 (0)