{ "uuid": "01136ba5-edc2-4418-bfa5-aaa3107c1c64", "lastMigration": 29, "name": "PolicyClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "3ed3778f-8c9c-4df1-a2d7-34daadc92de2", "documentation": "Gets all the policy assignments for a subscription.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Authorization/policyassignments", "responses": [ { "uuid": "39fe765b-8f3f-471a-8994-25e9bfb4790b", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"displayName\": \"\",\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns an array of policy assignments.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "904f88a1-f0bd-4a42-8ec8-a6ac35e5dabe", "documentation": "Gets all the policy definitions for a subscription.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Authorization/policydefinitions", "responses": [ { "uuid": "f817e840-e4de-4665-b346-f5e30cd19f8f", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"policyRule\": {},\n \"policyType\": \"{{oneOf (array 'NotSpecified' 'BuiltIn' 'Custom')}}\"\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns ana array of policy definitions.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b5550346-6568-4204-8316-453c22f6f7e5", "documentation": "Deletes a policy definition.", "method": "delete", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Authorization/policydefinitions/:policyDefinitionName", "responses": [ { "uuid": "b6cc7b6a-fce6-4cea-9ff5-23f70c9a8f73", "body": "", "latency": 0, "statusCode": 200, "label": "OK", "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": "be045482-9f6e-49ad-80a4-db6414d9bedc", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "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": "6980c8ab-51c7-414d-8dfa-5ded5c8f8139", "documentation": "Gets the policy definition.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Authorization/policydefinitions/:policyDefinitionName", "responses": [ { "uuid": "14d85b16-1df1-4846-b676-3af462dd736b", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"policyRule\": {},\n \"policyType\": \"{{oneOf (array 'NotSpecified' 'BuiltIn' 'Custom')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the policy definition.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "948cceb8-40a3-4572-a4b1-6e36783b52ad", "documentation": "Creates or updates a policy definition.", "method": "put", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Authorization/policydefinitions/:policyDefinitionName", "responses": [ { "uuid": "917359bf-c673-4f7a-8234-df8a5402201b", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"policyRule\": {},\n \"policyType\": \"{{oneOf (array 'NotSpecified' 'BuiltIn' 'Custom')}}\"\n }\n}", "latency": 0, "statusCode": 201, "label": "Created - Returns information about the policy definition.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "10d3fe48-2c55-4296-bfba-5d63b4d3c451", "documentation": "Gets policy assignments for the resource group.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Authorization/policyAssignments", "responses": [ { "uuid": "0821edba-c193-4895-a4cd-f75a63344990", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"displayName\": \"\",\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns an array of policy assignments.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "479ad714-6abc-4841-9b44-3bc8a26d1f75", "documentation": "Gets policy assignments for a resource.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/:resourceProviderNamespace/:parentResourcePath/:resourceType/:resourceName/providers/Microsoft.Authorization/policyassignments", "responses": [ { "uuid": "e14651e8-3fd8-4521-a6c9-3bce8512a9a2", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"displayName\": \"\",\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns an array of policy assignments.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "51bb0758-5264-43f4-9d53-406310c87b7d", "documentation": "Deletes a policy assignment by ID.", "method": "delete", "endpoint": ":policyAssignmentId", "responses": [ { "uuid": "17c12b57-8ced-4591-9ba6-35e6e1eecad8", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"displayName\": \"\",\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the policy assignment.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "360e15dc-f824-42c8-8423-9a28c6fe6c05", "documentation": "Gets a policy assignment by ID.", "method": "get", "endpoint": ":policyAssignmentId", "responses": [ { "uuid": "35749bb9-1a1a-42ef-8f6e-17d98a1f8730", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"displayName\": \"\",\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the policy assignment.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c6e6af46-e6e0-4f37-b5c1-1537b50cc127", "documentation": "Creates a policy assignment by ID.", "method": "put", "endpoint": ":policyAssignmentId", "responses": [ { "uuid": "891cb558-e7fa-4bda-b2c1-162854150c6c", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"displayName\": \"\",\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "Created - Returns information about the policy assignment.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c760b411-ae59-4204-b02c-81af8ec6fcab", "documentation": "Deletes a policy assignment.", "method": "delete", "endpoint": ":scope/providers/Microsoft.Authorization/policyassignments/:policyAssignmentName", "responses": [ { "uuid": "b13e40bb-528c-4bff-9f03-9bb344bd5064", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"displayName\": \"\",\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the deleted assignment.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "96bc18c7-5873-4d3f-b151-6abb4fb287d2", "documentation": "Gets a policy assignment.", "method": "get", "endpoint": ":scope/providers/Microsoft.Authorization/policyassignments/:policyAssignmentName", "responses": [ { "uuid": "6d3a0d11-d0b1-4f8b-a766-da976d3365f2", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"displayName\": \"\",\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK - Returns information about the policy assignment.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4794c363-98d2-4a7e-a835-3d7509148fb9", "documentation": "Creates a policy assignment.", "method": "put", "endpoint": ":scope/providers/Microsoft.Authorization/policyassignments/:policyAssignmentName", "responses": [ { "uuid": "b0fe31da-0312-44a2-b6b9-9bfb76ca68bb", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"displayName\": \"\",\n \"policyDefinitionId\": \"\",\n \"scope\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "Created - Returns information about the new policy assignment.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "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": "3ed3778f-8c9c-4df1-a2d7-34daadc92de2" }, { "type": "route", "uuid": "904f88a1-f0bd-4a42-8ec8-a6ac35e5dabe" }, { "type": "route", "uuid": "b5550346-6568-4204-8316-453c22f6f7e5" }, { "type": "route", "uuid": "6980c8ab-51c7-414d-8dfa-5ded5c8f8139" }, { "type": "route", "uuid": "948cceb8-40a3-4572-a4b1-6e36783b52ad" }, { "type": "route", "uuid": "10d3fe48-2c55-4296-bfba-5d63b4d3c451" }, { "type": "route", "uuid": "479ad714-6abc-4841-9b44-3bc8a26d1f75" }, { "type": "route", "uuid": "51bb0758-5264-43f4-9d53-406310c87b7d" }, { "type": "route", "uuid": "360e15dc-f824-42c8-8423-9a28c6fe6c05" }, { "type": "route", "uuid": "c6e6af46-e6e0-4f37-b5c1-1537b50cc127" }, { "type": "route", "uuid": "c760b411-ae59-4204-b02c-81af8ec6fcab" }, { "type": "route", "uuid": "96bc18c7-5873-4d3f-b151-6abb4fb287d2" }, { "type": "route", "uuid": "4794c363-98d2-4a7e-a835-3d7509148fb9" } ] }