{ "uuid": "5ce56afe-c775-4dba-9aa3-562b97ccaee0", "lastMigration": 29, "name": "RemediationsClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "a450dfde-1931-4d8d-bcfc-48c33450b312", "documentation": "Gets all remediations for the management group.", "method": "get", "endpoint": "providers/:managementGroupsNamespace/managementGroups/:managementGroupId/providers/Microsoft.PolicyInsights/remediations", "responses": [ { "uuid": "36a5b0d2-007b-4165-b977-9c985100674d", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The retrieved remediations.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "440b96c4-94c2-4114-9137-315a70f83691", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0885c4c6-cd0d-4146-bd04-be48fa43ec36", "documentation": "Deletes an existing remediation at management group scope.", "method": "delete", "endpoint": "providers/:managementGroupsNamespace/managementGroups/:managementGroupId/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "272d6496-6e44-458f-b3b3-fc33ae588667", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The deleted remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "47e9f86d-b4da-487a-9b5d-da23123daf34", "body": "", "latency": 0, "statusCode": 204, "label": "The remediation did not exist.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d51233ce-a23a-4b75-9e71-994a6e530c03", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f43bd0b1-4976-4baa-aa09-ce5a9a49aa8c", "documentation": "Gets an existing remediation at management group scope.", "method": "get", "endpoint": "providers/:managementGroupsNamespace/managementGroups/:managementGroupId/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "6dee0853-5f98-4975-9b0b-1837e8d18e78", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The retrieved remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f531838e-51aa-4f88-8c0c-cb9291f180a7", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9bae9997-6ddb-4fb5-9820-006a569a461a", "documentation": "Creates or updates a remediation at management group scope.", "method": "put", "endpoint": "providers/:managementGroupsNamespace/managementGroups/:managementGroupId/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "e4e0cc4f-4902-4b8c-a95c-0ee99a361921", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The updated remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b7b38407-1c31-4c0a-b747-7e9d2e1ba857", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "The created remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d4e04f4b-6ad7-4db1-aa88-1eb13051c49b", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c81136da-36e3-49c1-8999-1e68e5986746", "documentation": "Cancels a remediation at management group scope.", "method": "post", "endpoint": "providers/:managementGroupsNamespace/managementGroups/:managementGroupId/providers/Microsoft.PolicyInsights/remediations/:remediationName/cancel", "responses": [ { "uuid": "0b804245-d03c-41e5-a3e7-49b63200224d", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The remediation that was canceled.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "06227dcc-2bba-42b4-b361-29d357c74937", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c722f59d-27a9-4d52-91b4-2492c82c16e2", "documentation": "Gets all deployments for a remediation at management group scope.", "method": "post", "endpoint": "providers/:managementGroupsNamespace/managementGroups/:managementGroupId/providers/Microsoft.PolicyInsights/remediations/:remediationName/listDeployments", "responses": [ { "uuid": "5449f743-6ab9-447e-9802-883dbb270f61", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "The retrieved remediation deployments.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "71c00d0a-5c66-4f5e-99ca-1d2e8071852f", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8eb73e7b-0c22-43ea-8f54-89395511a95f", "documentation": "Gets all remediations for the subscription.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.PolicyInsights/remediations", "responses": [ { "uuid": "9b4e5318-cd43-4425-b8ea-a355de2a4974", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The retrieved remediations.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "10219a81-f259-4e4d-a731-ca0b497cc7ea", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c90fc000-e586-4f92-a573-b859a9e0db3d", "documentation": "Deletes an existing remediation at subscription scope.", "method": "delete", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "ac24114e-9f4e-4d13-8071-276efafd367a", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The deleted remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8b40f7be-4568-41d8-9062-ef1c5670aed5", "body": "", "latency": 0, "statusCode": 204, "label": "The remediation did not exist.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "69004a89-19b9-42e2-bd3f-9b702f22f732", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f982d120-926f-49f1-9a49-b17fc0e5c33f", "documentation": "Gets an existing remediation at subscription scope.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "1ac76296-78c6-4ee5-a762-67b362b5f880", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The retrieved remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bf0ca47c-56ac-4f56-9441-c247c69aa93f", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6bb64658-2c14-4e96-8023-2ecf9ecb394d", "documentation": "Creates or updates a remediation at subscription scope.", "method": "put", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "608d448d-ee0d-4eee-b80e-6b60782979d1", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The updated remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "23cc6247-1d7f-461f-b5c1-0211604cd68c", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "The created remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bfc72a44-38b3-4ff1-9855-e32d2525e312", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f4a8a5ab-5903-47e9-b74c-466da59a7043", "documentation": "Cancels a remediation at subscription scope.", "method": "post", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.PolicyInsights/remediations/:remediationName/cancel", "responses": [ { "uuid": "a7c56250-f25d-441b-b2d8-ec5dd387097a", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The remediation that was canceled.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "02b6d2b3-205e-44fc-bb4d-cf249e3ccc0c", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9ac3e97d-d1db-4ec4-b80e-9b3a2b17c903", "documentation": "Gets all deployments for a remediation at subscription scope.", "method": "post", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.PolicyInsights/remediations/:remediationName/listDeployments", "responses": [ { "uuid": "358cb398-d836-495d-b8c8-cf33c2818024", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "The retrieved remediation deployments.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4f9e0c96-4e5c-41f1-a68c-13070bed087f", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "946d02e8-be14-4c86-8443-01dfb378142b", "documentation": "Gets all remediations for the subscription.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.PolicyInsights/remediations", "responses": [ { "uuid": "09737460-bf8c-4fc6-8d34-33232af270ff", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The retrieved remediations.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b2c58806-39fe-4151-a275-9e406b5684a1", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "af12fd43-e474-4284-84d5-2a72c599794f", "documentation": "Deletes an existing remediation at resource group scope.", "method": "delete", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "0187b270-61c0-479e-adf0-e87aca80e0e3", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The deleted remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a35dbbf4-83c0-43ed-b246-4454106d1bdf", "body": "", "latency": 0, "statusCode": 204, "label": "The remediation did not exist.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "28c0c953-c076-483e-b38e-2be59e401f9c", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fe8ae9be-f401-4573-8866-8da3fa270584", "documentation": "Gets an existing remediation at resource group scope.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "c5e28c8c-37cf-4a44-a8a8-45b1582d745a", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The retrieved remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8afbcdbe-d38c-4541-8b66-4719c78ce5f7", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5f87669e-3822-450c-ba47-ef076074ceea", "documentation": "Creates or updates a remediation at resource group scope.", "method": "put", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "b58b9ac0-7f56-4999-bc50-854692c32b9f", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The updated remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fecbb22b-245c-4d41-a433-92388da74e65", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "The created remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b85238cc-724f-4f09-a36b-dfa12c01177d", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b33b9df4-2e89-4e91-aa42-95e6251439dc", "documentation": "Cancels a remediation at resource group scope.", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.PolicyInsights/remediations/:remediationName/cancel", "responses": [ { "uuid": "41c1c5ab-168c-44ac-92b6-ab6af327f605", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The remediation that was canceled.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fb1a845f-cc2a-49bc-b0c7-cf67ed14f873", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3ef964e2-2b67-42c0-9cc9-59e24a7f701b", "documentation": "Gets all deployments for a remediation at resource group scope.", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.PolicyInsights/remediations/:remediationName/listDeployments", "responses": [ { "uuid": "ffce9858-6b93-4b1d-bf72-e3d9a1457bc9", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "The retrieved remediation deployments.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "74d7bf98-0f61-46df-831e-525985b81ddd", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0c414c1b-6125-4faf-b3c0-77a6eba85cf6", "documentation": "Gets all remediations for a resource.", "method": "get", "endpoint": ":resourceId/providers/Microsoft.PolicyInsights/remediations", "responses": [ { "uuid": "6b86b569-ce7b-4c82-abcd-195ec706084d", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The retrieved remediations.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8b44114c-bc80-480a-9778-0b842713447d", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "74737c93-133c-4657-b695-984c201321bd", "documentation": "Deletes an existing remediation at individual resource scope.", "method": "delete", "endpoint": ":resourceId/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "26a6008d-ff20-477a-a2a3-16751caf80d2", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The deleted remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "06ef53c8-92f4-42e7-912a-52f622c9be54", "body": "", "latency": 0, "statusCode": 204, "label": "The remediation did not exist.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b08d4c52-aef2-4bc4-86f6-b84cfedceb43", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ca5e18cc-a89e-4962-83ef-6ae2ff1e47d0", "documentation": "Gets an existing remediation at resource scope.", "method": "get", "endpoint": ":resourceId/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "982c87da-b91c-4130-abc3-b68951277c4f", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The retrieved remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "deddab56-604c-45eb-8818-9a72fcde952a", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "632e8df0-7248-44ce-8a4e-2067516863a1", "documentation": "Creates or updates a remediation at resource scope.", "method": "put", "endpoint": ":resourceId/providers/Microsoft.PolicyInsights/remediations/:remediationName", "responses": [ { "uuid": "d5d121b5-6558-4a1e-a41d-815c1898ba86", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The updated remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1eda8387-432c-42e5-90bb-de30521e6cd0", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "The created remediation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "65ccf361-efff-44c8-977f-06f8560aaecf", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d356fd55-0936-4abb-9401-69f882f36f87", "documentation": "Cancel a remediation at resource scope.", "method": "post", "endpoint": ":resourceId/providers/Microsoft.PolicyInsights/remediations/:remediationName/cancel", "responses": [ { "uuid": "cf2458a9-4ff1-4824-ada1-182345595958", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdOn\": \"{{faker 'date.recent' 365}}\",\n \"deploymentStatus\": {\n \"failedDeployments\": {{faker 'number.int' max=99999}},\n \"successfulDeployments\": {{faker 'number.int' max=99999}},\n \"totalDeployments\": {{faker 'number.int' max=99999}}\n },\n \"filters\": {\n \"locations\": [\n \"\"\n ]\n },\n \"lastUpdatedOn\": \"{{faker 'date.recent' 365}}\",\n \"policyAssignmentId\": \"\",\n \"policyDefinitionReferenceId\": \"\",\n \"provisioningState\": \"\",\n \"resourceDiscoveryMode\": \"{{oneOf (array 'ExistingNonCompliant' 'ReEvaluateCompliance')}}\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The remediation that was canceled.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4ccf5e13-5fb0-4445-8907-32fc8909efbc", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b8f43a8f-ff12-410b-8d58-9382f7501abb", "documentation": "Gets all deployments for a remediation at resource scope.", "method": "post", "endpoint": ":resourceId/providers/Microsoft.PolicyInsights/remediations/:remediationName/listDeployments", "responses": [ { "uuid": "4bcafbf6-0307-4b68-b664-2699ffb8ba8d", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "The retrieved remediation deployments.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6811a6ce-63a2-4773-9c7d-5e2e7229577c", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "a450dfde-1931-4d8d-bcfc-48c33450b312" }, { "type": "route", "uuid": "0885c4c6-cd0d-4146-bd04-be48fa43ec36" }, { "type": "route", "uuid": "f43bd0b1-4976-4baa-aa09-ce5a9a49aa8c" }, { "type": "route", "uuid": "9bae9997-6ddb-4fb5-9820-006a569a461a" }, { "type": "route", "uuid": "c81136da-36e3-49c1-8999-1e68e5986746" }, { "type": "route", "uuid": "c722f59d-27a9-4d52-91b4-2492c82c16e2" }, { "type": "route", "uuid": "8eb73e7b-0c22-43ea-8f54-89395511a95f" }, { "type": "route", "uuid": "c90fc000-e586-4f92-a573-b859a9e0db3d" }, { "type": "route", "uuid": "f982d120-926f-49f1-9a49-b17fc0e5c33f" }, { "type": "route", "uuid": "6bb64658-2c14-4e96-8023-2ecf9ecb394d" }, { "type": "route", "uuid": "f4a8a5ab-5903-47e9-b74c-466da59a7043" }, { "type": "route", "uuid": "9ac3e97d-d1db-4ec4-b80e-9b3a2b17c903" }, { "type": "route", "uuid": "946d02e8-be14-4c86-8443-01dfb378142b" }, { "type": "route", "uuid": "af12fd43-e474-4284-84d5-2a72c599794f" }, { "type": "route", "uuid": "fe8ae9be-f401-4573-8866-8da3fa270584" }, { "type": "route", "uuid": "5f87669e-3822-450c-ba47-ef076074ceea" }, { "type": "route", "uuid": "b33b9df4-2e89-4e91-aa42-95e6251439dc" }, { "type": "route", "uuid": "3ef964e2-2b67-42c0-9cc9-59e24a7f701b" }, { "type": "route", "uuid": "0c414c1b-6125-4faf-b3c0-77a6eba85cf6" }, { "type": "route", "uuid": "74737c93-133c-4657-b695-984c201321bd" }, { "type": "route", "uuid": "ca5e18cc-a89e-4962-83ef-6ae2ff1e47d0" }, { "type": "route", "uuid": "632e8df0-7248-44ce-8a4e-2067516863a1" }, { "type": "route", "uuid": "d356fd55-0936-4abb-9401-69f882f36f87" }, { "type": "route", "uuid": "b8f43a8f-ff12-410b-8d58-9382f7501abb" } ] }