{ "uuid": "041b8545-ca1b-4d4c-86aa-96e7f3c210c1", "lastMigration": 29, "name": "CognitiveServicesManagementClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "e5307e74-2d6d-49d5-bff1-e869edbd761a", "documentation": "Lists all the available Cognitive Services account operations.", "method": "get", "endpoint": "providers/Microsoft.CognitiveServices/operations", "responses": [ { "uuid": "7aa053b0-6982-4779-a0ca-e96f8a91cb07", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"display\": {\n \"description\": \"\",\n \"operation\": \"\",\n \"provider\": \"\",\n \"resource\": \"\"\n },\n \"name\": \"\",\n \"origin\": \"\",\n \"properties\": {}\n }\n ]\n}", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "58a3ce8b-aabc-422c-b0d2-6ef4c059ecb6", "documentation": "Returns all the resources of a particular type belonging to a subscription.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.CognitiveServices/accounts", "responses": [ { "uuid": "d06d5595-6916-4a24-b467-deaec56338e5", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"etag\": \"\",\n \"id\": \"\",\n \"kind\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"apiProperties\": {\n \"eventHubConnectionString\": \"\",\n \"qnaRuntimeEndpoint\": \"\",\n \"statisticsEnabled\": {{faker 'datatype.boolean'}},\n \"storageAccountConnectionString\": \"\"\n },\n \"customSubDomainName\": \"\",\n \"endpoint\": \"\",\n \"internalId\": \"\",\n \"networkAcls\": {\n \"defaultAction\": \"{{oneOf (array 'Allow' 'Deny')}}\",\n \"ipRules\": [\n {\n \"value\": \"\"\n }\n ],\n \"virtualNetworkRules\": [\n {\n \"id\": \"\",\n \"ignoreMissingVnetServiceEndpoint\": {{faker 'datatype.boolean'}},\n \"state\": \"\"\n }\n ]\n },\n \"provisioningState\": \"{{oneOf (array 'Creating' 'ResolvingDNS' 'Moving' 'Deleting' 'Succeeded' 'Failed')}}\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"{{oneOf (array 'Free' 'Standard' 'Premium')}}\"\n },\n \"tags\": {},\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The resource provider should return 200 (OK) to indicate that the operation completed successfully. For other errors (e.g. internal errors) use the appropriate HTTP error code.\nThe nextLink field is expected to point to the URL the client should use to fetch the next page (per server side paging). This matches the OData guidelines for paged responses. If a resource provider does not support paging, it should return the same body but leave nextLink empty for future compatibility.\nFor a detailed explanation of each field in the response body, please refer to the request body description in the PUT resource section. ", "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": "9d0c5131-ffa9-44c1-b4ff-6c604b7caeb5", "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "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": "23f5f57c-4683-4cec-90da-a367299eb63b", "documentation": "Check whether a domain is available.", "method": "post", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.CognitiveServices/checkDomainAvailability", "responses": [ { "uuid": "c74a402a-6aab-438d-8e4c-d769efa3df7a", "body": "{\n \"isSubdomainAvailable\": {{faker 'datatype.boolean'}},\n \"reason\": \"\",\n \"subdomainName\": \"\",\n \"type\": \"\"\n}", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b52bf795-4602-4d01-9e5b-d3a476c69295", "documentation": "Check available SKUs.", "method": "post", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.CognitiveServices/locations/:location/checkSkuAvailability", "responses": [ { "uuid": "a518364c-b616-486d-abac-444ea7d13ffd", "body": "{\n \"value\": [\n {\n \"kind\": \"\",\n \"message\": \"\",\n \"reason\": \"\",\n \"skuAvailable\": {{faker 'datatype.boolean'}},\n \"skuName\": \"\",\n \"type\": \"\"\n }\n ]\n}", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4d2b7fc0-a55f-4561-895a-8980a5540a61", "documentation": "Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.CognitiveServices/skus", "responses": [ { "uuid": "d1f1700f-0d8f-4917-ac0d-6e83f58d2bca", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"kind\": \"\",\n \"locations\": [\n \"\"\n ],\n \"name\": \"\",\n \"resourceType\": \"\",\n \"restrictions\": [\n {\n \"reasonCode\": \"{{oneOf (array 'QuotaId' 'NotAvailableForSubscription')}}\",\n \"restrictionInfo\": {\n \"locations\": [\n \"\"\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"type\": \"{{oneOf (array 'Location' 'Zone')}}\",\n \"values\": [\n \"\"\n ]\n }\n ],\n \"tier\": \"\"\n }\n ]\n}", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b96f71d4-62af-4553-8138-c5a25050aa9c", "documentation": "Returns all the resources of a particular type belonging to a resource group", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CognitiveServices/accounts", "responses": [ { "uuid": "4e446769-beb3-4f04-ae7d-9ff63180bcd4", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"etag\": \"\",\n \"id\": \"\",\n \"kind\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"apiProperties\": {\n \"eventHubConnectionString\": \"\",\n \"qnaRuntimeEndpoint\": \"\",\n \"statisticsEnabled\": {{faker 'datatype.boolean'}},\n \"storageAccountConnectionString\": \"\"\n },\n \"customSubDomainName\": \"\",\n \"endpoint\": \"\",\n \"internalId\": \"\",\n \"networkAcls\": {\n \"defaultAction\": \"{{oneOf (array 'Allow' 'Deny')}}\",\n \"ipRules\": [\n {\n \"value\": \"\"\n }\n ],\n \"virtualNetworkRules\": [\n {\n \"id\": \"\",\n \"ignoreMissingVnetServiceEndpoint\": {{faker 'datatype.boolean'}},\n \"state\": \"\"\n }\n ]\n },\n \"provisioningState\": \"{{oneOf (array 'Creating' 'ResolvingDNS' 'Moving' 'Deleting' 'Succeeded' 'Failed')}}\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"{{oneOf (array 'Free' 'Standard' 'Premium')}}\"\n },\n \"tags\": {},\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The resource provider should return 200 (OK) to indicate that the operation completed successfully. For other errors (e.g. internal errors) use the appropriate HTTP error code.\nThe nextLink field is expected to point to the URL the client should use to fetch the next page (per server side paging). This matches the OData guidelines for paged responses here. If a resource provider does not support paging, it should return the same body (JSON object with \"value\" property) but omit nextLink entirely (or set to null, *not* empty string) for future compatibility.\nThe nextLink should be implemented using following query parameters:\n· skipToken: opaque token that allows the resource provider to skip resources already enumerated. This value is defined and returned by the RP after first request via nextLink.\n· top: the optional client query parameter which defines the maximum number of records to be returned by the server.\nImplementation details:\n· NextLink may include all the query parameters (specifically OData $filter) used by the client in the first query. \n· Server may return less records than requested with nextLink. Returning zero records with NextLink is an acceptable response. \nClients must fetch records until the nextLink is not returned back / null. Clients should never rely on number of returned records to determinate if pagination is completed.", "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": "44663260-5a47-4682-9b9f-8bb8d750a93a", "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed. If the resource group does not exist, 404 (NotFound) will be returned.", "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": "d394d145-73d2-46a5-9b57-7f142a59fe03", "documentation": "Deletes a Cognitive Services account from the resource group. ", "method": "delete", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CognitiveServices/accounts/:accountName", "responses": [ { "uuid": "c65bd715-d8a4-4a8d-a9b3-d420087da45e", "body": "", "latency": 0, "statusCode": 200, "label": "A 200 (OK) should be returned if the object exists and was deleted successfully;", "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": "5283cb2d-07b6-4e75-b0e1-d76d9f5608ce", "body": "", "latency": 0, "statusCode": 202, "label": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", "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": "72d326be-c310-4c14-a370-6a3a4b3f00ca", "body": "", "latency": 0, "statusCode": 204, "label": "a 204 (NoContent) should be used if the resource does not exist and the request is well formed.", "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": "a44ffac2-5fa7-4d79-a592-84adcc32ada8", "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "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": "301c95f3-05a9-4067-9a2a-1666e7357aa4", "documentation": "Returns a Cognitive Services account specified by the parameters.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CognitiveServices/accounts/:accountName", "responses": [ { "uuid": "a14ef07a-95ed-4569-8ffd-a8e3f42f704d", "body": "{\n \"etag\": \"\",\n \"id\": \"\",\n \"kind\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"apiProperties\": {\n \"eventHubConnectionString\": \"\",\n \"qnaRuntimeEndpoint\": \"\",\n \"statisticsEnabled\": {{faker 'datatype.boolean'}},\n \"storageAccountConnectionString\": \"\"\n },\n \"customSubDomainName\": \"\",\n \"endpoint\": \"\",\n \"internalId\": \"\",\n \"networkAcls\": {\n \"defaultAction\": \"{{oneOf (array 'Allow' 'Deny')}}\",\n \"ipRules\": [\n {\n \"value\": \"\"\n }\n ],\n \"virtualNetworkRules\": [\n {\n \"id\": \"\",\n \"ignoreMissingVnetServiceEndpoint\": {{faker 'datatype.boolean'}},\n \"state\": \"\"\n }\n ]\n },\n \"provisioningState\": \"{{oneOf (array 'Creating' 'ResolvingDNS' 'Moving' 'Deleting' 'Succeeded' 'Failed')}}\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"{{oneOf (array 'Free' 'Standard' 'Premium')}}\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The resource provider should return 200 (OK) to indicate that the operation completed successfully.\nFor a detailed explanation of each field in the response body, please refer to the request body description in the PUT resource section. The only GET specific properties are \"name,\" \"type\" and \"id.\"\nField\tDescription\nKind\trequired. String.\n\tThe API set for this API account. It can be \n\t· a single API, for example: Face API, Vision API, Speech API. \n\ta bundle of APIs: Face + Speech, Vision + Emotion, etc.\nsku.name\tRequired.\n\tThe pricing tier/plan of this API. Could be: \n\tF0 - Free\n\tB0 - Basic\n\tS0 - Standard\n\tP0 - Premium\n", "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": "f3c0aaf1-797e-451d-8ad4-90702d03bfdf", "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed. If the resource does not exist, 404 (NotFound) should be returned.", "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": "a789e688-758a-4a0d-8d8e-dab2ffb88e63", "documentation": "Updates a Cognitive Services account", "method": "patch", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CognitiveServices/accounts/:accountName", "responses": [ { "uuid": "6362512a-8aa9-41ab-ae49-3e3d8c0a10ac", "body": "{\n \"etag\": \"\",\n \"id\": \"\",\n \"kind\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"apiProperties\": {\n \"eventHubConnectionString\": \"\",\n \"qnaRuntimeEndpoint\": \"\",\n \"statisticsEnabled\": {{faker 'datatype.boolean'}},\n \"storageAccountConnectionString\": \"\"\n },\n \"customSubDomainName\": \"\",\n \"endpoint\": \"\",\n \"internalId\": \"\",\n \"networkAcls\": {\n \"defaultAction\": \"{{oneOf (array 'Allow' 'Deny')}}\",\n \"ipRules\": [\n {\n \"value\": \"\"\n }\n ],\n \"virtualNetworkRules\": [\n {\n \"id\": \"\",\n \"ignoreMissingVnetServiceEndpoint\": {{faker 'datatype.boolean'}},\n \"state\": \"\"\n }\n ]\n },\n \"provisioningState\": \"{{oneOf (array 'Creating' 'ResolvingDNS' 'Moving' 'Deleting' 'Succeeded' 'Failed')}}\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"{{oneOf (array 'Free' 'Standard' 'Premium')}}\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The resource provider should return 200 (OK) to indicate that the operation completed successfully. ", "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": "f942c136-5611-4f73-85fc-b8ba9a4b1f4d", "body": "{\n \"etag\": \"\",\n \"id\": \"\",\n \"kind\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"apiProperties\": {\n \"eventHubConnectionString\": \"\",\n \"qnaRuntimeEndpoint\": \"\",\n \"statisticsEnabled\": {{faker 'datatype.boolean'}},\n \"storageAccountConnectionString\": \"\"\n },\n \"customSubDomainName\": \"\",\n \"endpoint\": \"\",\n \"internalId\": \"\",\n \"networkAcls\": {\n \"defaultAction\": \"{{oneOf (array 'Allow' 'Deny')}}\",\n \"ipRules\": [\n {\n \"value\": \"\"\n }\n ],\n \"virtualNetworkRules\": [\n {\n \"id\": \"\",\n \"ignoreMissingVnetServiceEndpoint\": {{faker 'datatype.boolean'}},\n \"state\": \"\"\n }\n ]\n },\n \"provisioningState\": \"{{oneOf (array 'Creating' 'ResolvingDNS' 'Moving' 'Deleting' 'Succeeded' 'Failed')}}\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"{{oneOf (array 'Free' 'Standard' 'Premium')}}\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 202, "label": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", "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": "7a17b8cc-a4ae-4c29-9e51-3cfb0023f409", "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed. If the resource group *or* resource does not exist, 404 (NotFound) should be returned.", "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": "15ed82b0-e74c-4848-8290-aa87df34e081", "documentation": "Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It's also the resource type for billing.", "method": "put", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CognitiveServices/accounts/:accountName", "responses": [ { "uuid": "49befad6-4da0-486e-9979-df32793860c4", "body": "{\n \"etag\": \"\",\n \"id\": \"\",\n \"kind\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"apiProperties\": {\n \"eventHubConnectionString\": \"\",\n \"qnaRuntimeEndpoint\": \"\",\n \"statisticsEnabled\": {{faker 'datatype.boolean'}},\n \"storageAccountConnectionString\": \"\"\n },\n \"customSubDomainName\": \"\",\n \"endpoint\": \"\",\n \"internalId\": \"\",\n \"networkAcls\": {\n \"defaultAction\": \"{{oneOf (array 'Allow' 'Deny')}}\",\n \"ipRules\": [\n {\n \"value\": \"\"\n }\n ],\n \"virtualNetworkRules\": [\n {\n \"id\": \"\",\n \"ignoreMissingVnetServiceEndpoint\": {{faker 'datatype.boolean'}},\n \"state\": \"\"\n }\n ]\n },\n \"provisioningState\": \"{{oneOf (array 'Creating' 'ResolvingDNS' 'Moving' 'Deleting' 'Succeeded' 'Failed')}}\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"{{oneOf (array 'Free' 'Standard' 'Premium')}}\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "If resource is created successfully or already existed, the service should return 200 (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": "f0e9aa34-c6a6-4c58-88ee-51e350b7d51b", "body": "{\n \"etag\": \"\",\n \"id\": \"\",\n \"kind\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"apiProperties\": {\n \"eventHubConnectionString\": \"\",\n \"qnaRuntimeEndpoint\": \"\",\n \"statisticsEnabled\": {{faker 'datatype.boolean'}},\n \"storageAccountConnectionString\": \"\"\n },\n \"customSubDomainName\": \"\",\n \"endpoint\": \"\",\n \"internalId\": \"\",\n \"networkAcls\": {\n \"defaultAction\": \"{{oneOf (array 'Allow' 'Deny')}}\",\n \"ipRules\": [\n {\n \"value\": \"\"\n }\n ],\n \"virtualNetworkRules\": [\n {\n \"id\": \"\",\n \"ignoreMissingVnetServiceEndpoint\": {{faker 'datatype.boolean'}},\n \"state\": \"\"\n }\n ]\n },\n \"provisioningState\": \"{{oneOf (array 'Creating' 'ResolvingDNS' 'Moving' 'Deleting' 'Succeeded' 'Failed')}}\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"{{oneOf (array 'Free' 'Standard' 'Premium')}}\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "If resource is created successfully, the service should return 201 (OK).", "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": "5c983433-efee-4c9e-80e5-9b605623f91e", "body": "{\n \"etag\": \"\",\n \"id\": \"\",\n \"kind\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"apiProperties\": {\n \"eventHubConnectionString\": \"\",\n \"qnaRuntimeEndpoint\": \"\",\n \"statisticsEnabled\": {{faker 'datatype.boolean'}},\n \"storageAccountConnectionString\": \"\"\n },\n \"customSubDomainName\": \"\",\n \"endpoint\": \"\",\n \"internalId\": \"\",\n \"networkAcls\": {\n \"defaultAction\": \"{{oneOf (array 'Allow' 'Deny')}}\",\n \"ipRules\": [\n {\n \"value\": \"\"\n }\n ],\n \"virtualNetworkRules\": [\n {\n \"id\": \"\",\n \"ignoreMissingVnetServiceEndpoint\": {{faker 'datatype.boolean'}},\n \"state\": \"\"\n }\n ]\n },\n \"provisioningState\": \"{{oneOf (array 'Creating' 'ResolvingDNS' 'Moving' 'Deleting' 'Succeeded' 'Failed')}}\"\n },\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"{{oneOf (array 'Free' 'Standard' 'Premium')}}\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 202, "label": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", "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": "faf45476-a5b8-4424-8737-205d3d302b96", "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "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": "29ca6acd-7df4-49b8-8de5-e758a23ecfb6", "documentation": "Lists the account keys for the specified Cognitive Services account.", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CognitiveServices/accounts/:accountName/listKeys", "responses": [ { "uuid": "f62f9b0a-658b-4fe3-87ac-fccd4aaff17d", "body": "{\n \"key1\": \"\",\n \"key2\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Returns with a response body containing the subscription keys for the resource: key1\nThe first API key for authentication when client calls the API endpoint.\n\nkey2\nThe second API key for authentication when client calls the API endpoint.", "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": "2f85bb96-9d49-49c1-b48c-71e5403f4b88", "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "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": "abfb3063-06fe-4d29-8603-9c2a70cfb7f8", "documentation": "Regenerates the specified account key for the specified Cognitive Services account.", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CognitiveServices/accounts/:accountName/regenerateKey", "responses": [ { "uuid": "b309db12-f8ab-453c-ab78-89c6ce64d144", "body": "{\n \"key1\": \"\",\n \"key2\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "", "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": "c609d8f1-d9a9-422f-94d3-1e45aa239a72", "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "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": "47ade5d7-e92f-4a83-bd9c-ae8a99b9de2b", "documentation": "List available SKUs for the requested Cognitive Services account", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CognitiveServices/accounts/:accountName/skus", "responses": [ { "uuid": "11c02cf8-e34c-4645-b0d3-fee3323c8a6b", "body": "{\n \"value\": [\n {\n \"resourceType\": \"\",\n \"sku\": {\n \"name\": \"\",\n \"tier\": \"{{oneOf (array 'Free' 'Standard' 'Premium')}}\"\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The resource provider should return 200 (OK) to indicate that the operation completed successfully.\nFor a detailed explanation of each field in the response body, please refer to the request body description in the PUT resource section. The only GET specific properties are \"name,\" \"type\" and \"id.\"\nField\tDescription\nsku\tRequired, object\n\tThe exact set of keys that define this sku. This matches the fields on the respective resource.\nsku.name\tRequired, string\n\tThe name of the SKU. This is typically a letter + number code, such as A0 or P3\nsku.tier\tRequired, string\n\tThe tier of this particular SKU. Typically one of:\n\t· Free\n\t· Basic\n\t· Standard\n\t· Premium\n", "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": "4f1dd42a-469b-4fd7-8c0f-9397a985b2ef", "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed. If the resource does not exist, 404 (NotFound) will be returned.", "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": "2bd27b8b-f6cb-4ba8-b9c8-ed6dcf61b5a3", "documentation": "Get usages for the requested Cognitive Services account", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CognitiveServices/accounts/:accountName/usages", "responses": [ { "uuid": "d79524e5-d050-4898-bf6c-195e207e4d4e", "body": "{\n \"value\": [\n {\n \"currentValue\": {{faker 'number.float'}},\n \"limit\": {{faker 'number.float'}},\n \"name\": {\n \"localizedValue\": \"\",\n \"value\": \"\"\n },\n \"nextResetTime\": \"\",\n \"quotaPeriod\": \"\",\n \"status\": \"{{oneOf (array 'Included' 'Blocked' 'InOverage' 'Unknown')}}\",\n \"unit\": \"{{oneOf (array 'Count' 'Bytes' 'Seconds' 'Percent' 'CountPerSecond' 'BytesPerSecond' 'Milliseconds')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The usages for Cognitive Services account were retrieved successfully.", "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": "215460ad-a70c-426e-8850-b76b9482febc", "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed. If the resource does not exist, 404 (NotFound) will be returned.", "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": "e5307e74-2d6d-49d5-bff1-e869edbd761a" }, { "type": "route", "uuid": "58a3ce8b-aabc-422c-b0d2-6ef4c059ecb6" }, { "type": "route", "uuid": "23f5f57c-4683-4cec-90da-a367299eb63b" }, { "type": "route", "uuid": "b52bf795-4602-4d01-9e5b-d3a476c69295" }, { "type": "route", "uuid": "4d2b7fc0-a55f-4561-895a-8980a5540a61" }, { "type": "route", "uuid": "b96f71d4-62af-4553-8138-c5a25050aa9c" }, { "type": "route", "uuid": "d394d145-73d2-46a5-9b57-7f142a59fe03" }, { "type": "route", "uuid": "301c95f3-05a9-4067-9a2a-1666e7357aa4" }, { "type": "route", "uuid": "a789e688-758a-4a0d-8d8e-dab2ffb88e63" }, { "type": "route", "uuid": "15ed82b0-e74c-4848-8290-aa87df34e081" }, { "type": "route", "uuid": "29ca6acd-7df4-49b8-8de5-e758a23ecfb6" }, { "type": "route", "uuid": "abfb3063-06fe-4d29-8603-9c2a70cfb7f8" }, { "type": "route", "uuid": "47ade5d7-e92f-4a83-bd9c-ae8a99b9de2b" }, { "type": "route", "uuid": "2bd27b8b-f6cb-4ba8-b9c8-ed6dcf61b5a3" } ] }