forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release appcomplianceautomation microsoft.app compliance automation 2…
…022 11 16 preview 1 (Azure#21074) * add appcomplianceautomation specs * update appcomplianceautomation specs for 2022-11-16-preview * remove privatepreview and beta (Azure#21124) Co-authored-by: Yanwen Liu <[email protected]> * Release appcomplianceautomation microsoft.app compliance automation 2022 11 16 preview resolve comments 2 (Azure#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 (Azure#21161) Co-authored-by: Yanwen Liu <[email protected]> * remove properties from download request body (Azure#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 (Azure#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]>
- Loading branch information
Showing
20 changed files
with
2,310 additions
and
0 deletions.
There are no files selected for viewing
1,382 changes: 1,382 additions & 0 deletions
1,382
...Microsoft.AppComplianceAutomation/preview/2022-11-16-preview/appcomplianceautomation.json
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...icrosoft.AppComplianceAutomation/preview/2022-11-16-preview/examples/Operations_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-16-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.AppComplianceAutomation/reports/write", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft AppComplianceAutomation", | ||
"resource": "Microsoft.AppComplianceAutomation/reports", | ||
"operation": "Microsoft.AppComplianceAutomation/reports/write", | ||
"description": "Create new reports." | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
117 changes: 117 additions & 0 deletions
117
...ft.AppComplianceAutomation/preview/2022-11-16-preview/examples/Report_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
{ | ||
"parameters": { | ||
"parameters": { | ||
"properties": { | ||
"offerGuid": "0000", | ||
"timeZone": "GMT Standard Time", | ||
"triggerTime": "2022-03-04T05:11:56.197Z", | ||
"resources": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint", | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"api-version": "2022-11-16-preview", | ||
"reportName": "testReportName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName", | ||
"name": "testReportName", | ||
"type": "Microsfot.AppComplianceAutomation/reports", | ||
"properties": { | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"status": "Active", | ||
"tenantId": "00000000-0000-0000-0000-000000000000", | ||
"reportName": "testReportName", | ||
"offerGuid": "00000000-0000-0000-0000-000000000000", | ||
"timeZone": "GMT Standard Time", | ||
"triggerTime": "2022-03-02T05:17:23.922Z", | ||
"nextTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"lastTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"subscriptions": [ | ||
"00000000-0000-0000-0000-000000000000" | ||
], | ||
"resources": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
], | ||
"provisioningState": "Succeeded", | ||
"complianceStatus": { | ||
"m365": { | ||
"passedCount": 0, | ||
"failedCount": 0, | ||
"manualCount": 0 | ||
} | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "00000000-0000-0000-0000-000000000000", | ||
"createdByType": "User", | ||
"createdAt": "2021-05-14T22:34:55.4499903Z", | ||
"lastModifiedBy": "00000000-0000-0000-0000-000000000000", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName", | ||
"name": "testReportName", | ||
"type": "Microsfot.AppComplianceAutomation/reports", | ||
"properties": { | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"status": "Active", | ||
"tenantId": "00000000-0000-0000-0000-000000000000", | ||
"reportName": "testReportName", | ||
"offerGuid": "00000000-0000-0000-0000-000000000000", | ||
"timeZone": "GMT Standard Time", | ||
"triggerTime": "2022-03-02T05:17:23.922Z", | ||
"nextTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"lastTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"subscriptions": [ | ||
"00000000-0000-0000-0000-000000000000" | ||
], | ||
"resources": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
], | ||
"complianceStatus": { | ||
"m365": { | ||
"passedCount": 0, | ||
"failedCount": 0, | ||
"manualCount": 0 | ||
} | ||
}, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "00000000-0000-0000-0000-000000000000", | ||
"createdByType": "User", | ||
"createdAt": "2021-05-14T22:34:55.4499903Z", | ||
"lastModifiedBy": "00000000-0000-0000-0000-000000000000", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z" | ||
} | ||
}, | ||
"headers": { | ||
"Location": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}", | ||
"Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}" | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
.../Microsoft.AppComplianceAutomation/preview/2022-11-16-preview/examples/Report_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-16-preview", | ||
"reportName": "testReportName" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}", | ||
"Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
...ger/Microsoft.AppComplianceAutomation/preview/2022-11-16-preview/examples/Report_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-16-preview", | ||
"reportName": "testReport" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName", | ||
"name": "testReportName", | ||
"type": "Microsfot.AppComplianceAutomation/reports", | ||
"properties": { | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"status": "Active", | ||
"tenantId": "00000000-0000-0000-0000-000000000000", | ||
"reportName": "testReportName", | ||
"offerGuid": "00000000-0000-0000-0000-000000000000", | ||
"timeZone": "GMT Standard Time", | ||
"triggerTime": "2022-03-02T05:17:23.922Z", | ||
"nextTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"lastTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"subscriptions": [ | ||
"00000000-0000-0000-0000-000000000000" | ||
], | ||
"resources": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
], | ||
"complianceStatus": { | ||
"m365": { | ||
"passedCount": 0, | ||
"failedCount": 0, | ||
"manualCount": 0 | ||
} | ||
}, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "00000000-0000-0000-0000-000000000000", | ||
"createdByType": "User", | ||
"createdAt": "2021-05-14T22:34:55.4499903Z", | ||
"lastModifiedBy": "00000000-0000-0000-0000-000000000000", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
123 changes: 123 additions & 0 deletions
123
.../Microsoft.AppComplianceAutomation/preview/2022-11-16-preview/examples/Report_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
{ | ||
"parameters": { | ||
"parameters": { | ||
"properties": { | ||
"offerGuid": "0000", | ||
"timeZone": "GMT Standard Time", | ||
"triggerTime": "2022-03-04T05:11:56.197Z", | ||
"resources": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint", | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"api-version": "2022-11-16-preview", | ||
"reportName": "testReportName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName", | ||
"name": "testReportName", | ||
"type": "Microsfot.AppComplianceAutomation/reports", | ||
"properties": { | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"status": "Active", | ||
"tenantId": "00000000-0000-0000-0000-000000000000", | ||
"reportName": "testReportName", | ||
"offerGuid": "00000000-0000-0000-0000-000000000000", | ||
"timeZone": "GMT Standard Time", | ||
"triggerTime": "2022-03-02T05:17:23.922Z", | ||
"nextTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"lastTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"subscriptions": [ | ||
"00000000-0000-0000-0000-000000000000" | ||
], | ||
"resources": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
], | ||
"complianceStatus": { | ||
"m365": { | ||
"passedCount": 0, | ||
"failedCount": 0, | ||
"manualCount": 0 | ||
} | ||
}, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "00000000-0000-0000-0000-000000000000", | ||
"createdByType": "User", | ||
"createdAt": "2021-05-14T22:34:55.4499903Z", | ||
"lastModifiedBy": "00000000-0000-0000-0000-000000000000", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName", | ||
"name": "testReportName", | ||
"type": "Microsfot.AppComplianceAutomation/reports", | ||
"properties": { | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"status": "Active", | ||
"tenantId": "00000000-0000-0000-0000-000000000000", | ||
"reportName": "testReportName", | ||
"offerGuid": "00000000-0000-0000-0000-000000000000", | ||
"timeZone": "GMT Standard Time", | ||
"triggerTime": "2022-03-02T05:17:23.922Z", | ||
"nextTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"lastTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"subscriptions": [ | ||
"00000000-0000-0000-0000-000000000000" | ||
], | ||
"resources": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
], | ||
"complianceStatus": { | ||
"m365": { | ||
"passedCount": 0, | ||
"failedCount": 0, | ||
"manualCount": 0 | ||
} | ||
}, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "00000000-0000-0000-0000-000000000000", | ||
"createdByType": "User", | ||
"createdAt": "2021-05-14T22:34:55.4499903Z", | ||
"lastModifiedBy": "00000000-0000-0000-0000-000000000000", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z" | ||
} | ||
}, | ||
"headers": { | ||
"Location": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}", | ||
"Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}", | ||
"Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}" | ||
} | ||
} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...r/Microsoft.AppComplianceAutomation/preview/2022-11-16-preview/examples/Reports_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-11-16-preview", | ||
"$skipToken": "1", | ||
"$top": "100", | ||
"reportCreatorTenantId": "00000000-0000-0000-0000-000000000000", | ||
"offerGuid": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName", | ||
"name": "testReportName", | ||
"type": "Microsfot.AppComplianceAutomation/reports", | ||
"properties": { | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"status": "Active", | ||
"tenantId": "00000000-0000-0000-0000-000000000000", | ||
"reportName": "testReportName", | ||
"offerGuid": "00000000-0000-0000-0000-000000000000", | ||
"timeZone": "GMT Standard Time", | ||
"triggerTime": "2022-03-02T05:17:23.922Z", | ||
"nextTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"lastTriggerTime": "2022-03-02T05:17:23.922Z", | ||
"subscriptions": [ | ||
"00000000-0000-0000-0000-000000000000" | ||
], | ||
"resources": [ | ||
{ | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService", | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
} | ||
], | ||
"complianceStatus": { | ||
"m365": { | ||
"passedCount": 0, | ||
"failedCount": 0, | ||
"manualCount": 0 | ||
} | ||
}, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "00000000-0000-0000-0000-000000000000", | ||
"createdByType": "User", | ||
"createdAt": "2021-05-14T22:34:55.4499903Z", | ||
"lastModifiedBy": "00000000-0000-0000-0000-000000000000", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z" | ||
} | ||
} | ||
], | ||
"nextLink": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports?api-version=2022-11-16-preview&skipToken=1&top=100" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.