Skip to content

Commit

Permalink
Release appcomplianceautomation microsoft.app compliance automation 2…
Browse files Browse the repository at this point in the history
…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
2 people authored and kayousef committed Dec 21, 2022
1 parent c314246 commit 3ab81d8
Show file tree
Hide file tree
Showing 20 changed files with 2,310 additions and 0 deletions.

Large diffs are not rendered by default.

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."
}
}
]
}
}
}
}
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}"
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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}"
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit 3ab81d8

Please sign in to comment.