diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationFaceList.json b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationFaceList.json new file mode 100644 index 000000000000..3dd260df659f --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationFaceList.json @@ -0,0 +1,1344 @@ +{ + "Entries": [ + { + "RequestUri": "/facelists/face-list-id", + "EncodedRequestUri": "L2ZhY2VsaXN0cy9kMzE4MjE4OS1iY2RmLTQ0ZjEtYjI2Ny1mMmVmNTc5Zjk0NmU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"named3182189-bcdf-44f1-b267-f2ef579f946e\",\r\n \"userData\": \"userdatad3182189-bcdf-44f1-b267-f2ef579f946e\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "121" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cZmFjZWxpc3RzXGQzMTgyMTg5LWJjZGYtNDRmMS1iMjY3LWYyZWY1NzlmOTQ2ZQ==?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/facelists/face-list-id/persistedfaces", + "EncodedRequestUri": "L2ZhY2VsaXN0cy9kMzE4MjE4OS1iY2RmLTQ0ZjEtYjI2Ny1mMmVmNTc5Zjk0NmUvcGVyc2lzdGVkZmFjZXM=", + "RequestMethod": "POST", + "RequestBody": "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAoHBwkHBgoJCAkLCwoMDxkQDw4ODx4WFxIZJCAmJSMgIyIoLTkwKCo2KyIjMkQyNjs9QEBAJjBGS0U+Sjk/QD3/2wBDAQsLCw8NDx0QEB09KSMpPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT3/wAARCADXASwDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0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VzT4GkvII4xlmQgf5/GqjG7sDZ6J8No/3EpZAAz5wPTGK9HvG22p/3a5TwbpTWcAOMDoB7V1d+ha2IH92uiokpxiEdjlfDn73VLyT1eurv5DFbEjgha53w3atBPPuHVya2tbbbZsfRautaVVIUfhOa0TUJ7rVp/MclA3A9K625/wCPf/gNcX4SXzLmZv8AartL/wCW0P0oxCXtEkEXoZWiwDzJXwMlias65eGzs3kXqq0mhkNEx9SareKYHl09wgJ+lLR1bMS2Mbw7q9xd3UizOWGcj2ruE5QfSuG8J6fIszyupUHgZru0GEApYppS0Kiz5ykTa5HocVa0q++wX6Tbc4NFFeja6MHuei2/izbEv7punt/jVTWfFZNoxEZB96KK54wVzTmZD4b8XSuvlSxkleMite/8Wm3CnyifpRRVunHm2EpOxR1vUrHXNJMGo2plXGUPRkPse1eVajpiwGSSBz5QbHzdaKKKlCHs3KwKTuZxFIaKK8o0HwDMq1dZslRRRUDO0+G1kLm7u7g4ymIx+PJNesI32OzCDnjJoorkm/eZ0017pBcyNJEwiIRjwpx0NfPuvq3/AAkepCRtzC5kBY9zuNFFXR3ZNXZFBKnFFFdBgBOKjZ6KKEJkLGgUUUxkgJpQaKKoQsTYzTs4cGiihgxZhlK3vCcPm6pEx/hQfq3/ANaiiujDpe0RDeh7xpUai3XAA4q5MuUP0oorKfxmy2MuxUC5OB3pviE4sJD6KaKK2S/eoh/Czn/BcePM/wB411erf8ejf7tFFXXX75Cj8Ji+FroyQkY6Ma6aS2WZRuwRRRWOJ0noOOxHFapCflAH0FWcYoorneoz/9k=", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/octet-stream" + ], + "Content-Length": [ + "9344" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cZmFjZWxpc3RzXGQzMTgyMTg5LWJjZGYtNDRmMS1iMjY3LWYyZWY1NzlmOTQ2ZVxwZXJzaXN0ZWRmYWNlcw==?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "58" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"persistedFaceId\": \"da337a1d-c4cf-40c0-9dae-b5b5f953279b\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/snapshots", + "EncodedRequestUri": "L3NuYXBzaG90cw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"type\": \"Facelist\",\r\n \"objectId\": \"face-list-id\",\r\n \"ApplyScope\": [\r\n \"subscription\"\r\n ],\r\n \"context\": \"user provided context data\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "194" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "Operation-Location": [ + "/operations/Operation-id" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cc25hcHNob3Rz?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvMzU4ZDZjYmItNDEwMS00YTc1LWE2NWQtNGJmZTdlZWMwNDI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1wzNThkNmNiYi00MTAxLTRhNzUtYTY1ZC00YmZlN2VlYzA0MjQ=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:20.3201169Z\",\r\n \"LastActionTime\": \"0001-01-01T00:00:00\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"notStarted\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvMzU4ZDZjYmItNDEwMS00YTc1LWE2NWQtNGJmZTdlZWMwNDI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1wzNThkNmNiYi00MTAxLTRhNzUtYTY1ZC00YmZlN2VlYzA0MjQ=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:20.3201169Z\",\r\n \"LastActionTime\": \"0001-01-01T00:00:00\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"notStarted\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvMzU4ZDZjYmItNDEwMS00YTc1LWE2NWQtNGJmZTdlZWMwNDI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1wzNThkNmNiYi00MTAxLTRhNzUtYTY1ZC00YmZlN2VlYzA0MjQ=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:20.3201169Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:22.7892134Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvMzU4ZDZjYmItNDEwMS00YTc1LWE2NWQtNGJmZTdlZWMwNDI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1wzNThkNmNiYi00MTAxLTRhNzUtYTY1ZC00YmZlN2VlYzA0MjQ=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:20.3201169Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:22.7892134Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvMzU4ZDZjYmItNDEwMS00YTc1LWE2NWQtNGJmZTdlZWMwNDI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1wzNThkNmNiYi00MTAxLTRhNzUtYTY1ZC00YmZlN2VlYzA0MjQ=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:20.3201169Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:22.7892134Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvMzU4ZDZjYmItNDEwMS00YTc1LWE2NWQtNGJmZTdlZWMwNDI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1wzNThkNmNiYi00MTAxLTRhNzUtYTY1ZC00YmZlN2VlYzA0MjQ=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:20.3201169Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:22.7892134Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvMzU4ZDZjYmItNDEwMS00YTc1LWE2NWQtNGJmZTdlZWMwNDI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1wzNThkNmNiYi00MTAxLTRhNzUtYTY1ZC00YmZlN2VlYzA0MjQ=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:20.3201169Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:22.7892134Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvMzU4ZDZjYmItNDEwMS00YTc1LWE2NWQtNGJmZTdlZWMwNDI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1wzNThkNmNiYi00MTAxLTRhNzUtYTY1ZC00YmZlN2VlYzA0MjQ=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:20.3201169Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:30.3230958Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvMzU4ZDZjYmItNDEwMS00YTc1LWE2NWQtNGJmZTdlZWMwNDI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1wzNThkNmNiYi00MTAxLTRhNzUtYTY1ZC00YmZlN2VlYzA0MjQ=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:20.3201169Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:30.3230958Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvMzU4ZDZjYmItNDEwMS00YTc1LWE2NWQtNGJmZTdlZWMwNDI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1wzNThkNmNiYi00MTAxLTRhNzUtYTY1ZC00YmZlN2VlYzA0MjQ=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:20.3201169Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:30.3230958Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvMzU4ZDZjYmItNDEwMS00YTc1LWE2NWQtNGJmZTdlZWMwNDI0", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1wzNThkNmNiYi00MTAxLTRhNzUtYTY1ZC00YmZlN2VlYzA0MjQ=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "198" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:20.3201169Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:35.073477Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": \"/snapshots/snapshot-id\",\r\n \"Status\": \"succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/snapshots/snapshot-id/apply", + "EncodedRequestUri": "L3NuYXBzaG90cy80MTRjNTJiNC03ZGViLTRjMzctOTA3Mi04MDE0NWVhYzI4MzYvYXBwbHk=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"objectId\": \"41572d78-2ccd-483c-ad2e-638bee83d032\",\r\n \"mode\": \"CreateNew\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "82" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "Operation-Location": [ + "/operations/Operation-id" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cc25hcHNob3RzXDQxNGM1MmI0LTdkZWItNGMzNy05MDcyLTgwMTQ1ZWFjMjgzNlxhcHBseQ==?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvNWU3NmRjNzAtYTA1Ni00OTRjLWJiODUtYzQxZTc2M2U5NGUz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1w1ZTc2ZGM3MC1hMDU2LTQ5NGMtYmI4NS1jNDFlNzYzZTk0ZTM=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:36.7432712Z\",\r\n \"LastActionTime\": \"0001-01-01T00:00:00\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"notStarted\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvNWU3NmRjNzAtYTA1Ni00OTRjLWJiODUtYzQxZTc2M2U5NGUz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1w1ZTc2ZGM3MC1hMDU2LTQ5NGMtYmI4NS1jNDFlNzYzZTk0ZTM=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:36.7432712Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:38.530336Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvNWU3NmRjNzAtYTA1Ni00OTRjLWJiODUtYzQxZTc2M2U5NGUz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1w1ZTc2ZGM3MC1hMDU2LTQ5NGMtYmI4NS1jNDFlNzYzZTk0ZTM=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:36.7432712Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:38.530336Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvNWU3NmRjNzAtYTA1Ni00OTRjLWJiODUtYzQxZTc2M2U5NGUz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1w1ZTc2ZGM3MC1hMDU2LTQ5NGMtYmI4NS1jNDFlNzYzZTk0ZTM=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:36.7432712Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:38.530336Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvNWU3NmRjNzAtYTA1Ni00OTRjLWJiODUtYzQxZTc2M2U5NGUz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1w1ZTc2ZGM3MC1hMDU2LTQ5NGMtYmI4NS1jNDFlNzYzZTk0ZTM=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:36.7432712Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:42.875669Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvNWU3NmRjNzAtYTA1Ni00OTRjLWJiODUtYzQxZTc2M2U5NGUz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1w1ZTc2ZGM3MC1hMDU2LTQ5NGMtYmI4NS1jNDFlNzYzZTk0ZTM=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:36.7432712Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:42.875669Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/operations/Operation-id", + "EncodedRequestUri": "L29wZXJhdGlvbnMvNWU3NmRjNzAtYTA1Ni00OTRjLWJiODUtYzQxZTc2M2U5NGUz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cb3BlcmF0aW9uc1w1ZTc2ZGM3MC1hMDU2LTQ5NGMtYmI4NS1jNDFlNzYzZTk0ZTM=?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "198" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-28T06:25:36.7432712Z\",\r\n \"LastActionTime\": \"2018-12-28T06:25:44.7462785Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": \"/facelist/facelists-id\",\r\n \"Status\": \"succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/facelists/facelists-id", + "EncodedRequestUri": "L2ZhY2VsaXN0cy80MTU3MmQ3OC0yY2NkLTQ4M2MtYWQyZS02MzhiZWU4M2QwMzI=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cZmFjZWxpc3RzXDQxNTcyZDc4LTJjY2QtNDgzYy1hZDJlLTYzOGJlZTgzZDAzMg==?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "255" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"persistedFaces\": [\r\n {\r\n \"persistedFaceId\": \"da337a1d-c4cf-40c0-9dae-b5b5f953279b\",\r\n \"userData\": null\r\n }\r\n ],\r\n \"faceListId\": \"41572d78-2ccd-483c-ad2e-638bee83d032\",\r\n \"name\": \"named3182189-bcdf-44f1-b267-f2ef579f946e\",\r\n \"userData\": \"userdatad3182189-bcdf-44f1-b267-f2ef579f946e\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/facelists/facelists-id", + "EncodedRequestUri": "L2ZhY2VsaXN0cy9kMzE4MjE4OS1iY2RmLTQ0ZjEtYjI2Ny1mMmVmNTc5Zjk0NmU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cZmFjZWxpc3RzXGQzMTgyMTg5LWJjZGYtNDRmMS1iMjY3LWYyZWY1NzlmOTQ2ZQ==?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/facelists/facelists-id", + "EncodedRequestUri": "L2ZhY2VsaXN0cy80MTU3MmQ3OC0yY2NkLTQ4M2MtYWQyZS02MzhiZWU4M2QwMzI=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cZmFjZWxpc3RzXDQxNTcyZDc4LTJjY2QtNDgzYy1hZDJlLTYzOGJlZTgzZDAzMg==?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/snapshots/snapshot-id", + "EncodedRequestUri": "L3NuYXBzaG90cy80MTRjNTJiNC03ZGViLTRjMzctOTA3Mi04MDE0NWVhYzI4MzY=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 28 Dec 2018 06:25:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-SourceFiles": [ + "=?UTF-8?B?RDpcRmFjZVRlYW1cQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlX3NlcnZpY2VcQVBJLUZhY2UtQ2xvdWRTZXJ2aWNlXHNyY1xXZWJSb2xlc1xXZWJSb2xlLkNvbmZpZ3VyYXRpb25cc25hcHNob3RzXDQxNGM1MmI0LTdkZWItNGMzNy05MDcyLTgwMTQ1ZWFjMjgzNg==?=" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": {} +} \ No newline at end of file diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationLargeFaceList.json b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationLargeFaceList.json new file mode 100644 index 000000000000..560341a77107 --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationLargeFaceList.json @@ -0,0 +1,1479 @@ +{ + "Entries": [ + { + "RequestUri": "/face/v1.0/largefacelists/large-face-list-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZWZhY2VsaXN0cy9iNzQ0ZDRkMC05NjNiLTQyNzEtYTg0ZC01MzFmOWRkMWMwNzY=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"name\",\r\n \"userData\": \"userdata\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "121" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "a1d72f3c-fd28-4e11-ba28-58e1c7411c00" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largefacelists/large-face-list-id/persistedfaces", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZWZhY2VsaXN0cy9iNzQ0ZDRkMC05NjNiLTQyNzEtYTg0ZC01MzFmOWRkMWMwNzYvcGVyc2lzdGVkZmFjZXM=", + "RequestMethod": "POST", + "RequestBody": "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAoHBwkHBgoJCAkLCwoMDxkQDw4ODx4WFxIZJCAmJSMgIyIoLTkwKCo2KyIjMkQyNjs9QEBAJjBGS0U+Sjk/QD3/2wBDAQsLCw8NDx0QEB09KSMpPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT3/wAARCADXASwDASIAAhEBAxEB/8QAHw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fPuvq3/AAkepCRtzC5kBY9zuNFFXR3ZNXZFBKnFFFdBgBOKjZ6KKEJkLGgUUUxkgJpQaKKoQsTYzTs4cGiihgxZhlK3vCcPm6pEx/hQfq3/ANaiiujDpe0RDeh7xpUai3XAA4q5MuUP0oorKfxmy2MuxUC5OB3pviE4sJD6KaKK2S/eoh/Czn/BcePM/wB411erf8ejf7tFFXXX75Cj8Ji+FroyQkY6Ma6aS2WZRuwRRRWOJ0noOOxHFapCflAH0FWcYoorneoz/9k=", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/octet-stream" + ], + "Content-Length": [ + "9344" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "e45a06b6-81f0-4396-b91d-ac687a44dac6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"persistedFaceId\": \"1666252b-2937-4291-b113-0a5688dd04ce\",\r\n \"userData\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largefacelists/large-face-list-id/train", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZWZhY2VsaXN0cy9iNzQ0ZDRkMC05NjNiLTQyNzEtYTg0ZC01MzFmOWRkMWMwNzYvdHJhaW4=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Operation-Location": [ + "http://facev1-cs-snapshotea.cloudapp.net:8080/largefacelists/large-face-list-id/training" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "ad51ba0e-99df-497e-bc2c-36781621fd1b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Access-Control-Expose-Headers": [ + "Operation-Location" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/face/v1.0/largefacelists/large-face-list-id/training", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZWZhY2VsaXN0cy9iNzQ0ZDRkMC05NjNiLTQyNzEtYTg0ZC01MzFmOWRkMWMwNzYvdHJhaW5pbmc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "4e89f7d1-c91f-408f-980c-3eea31df7017" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "136" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"running\",\r\n \"createdDateTime\": \"2018-12-13T06:49:05.8000537Z\",\r\n \"lastActionDateTime\": \"2018-12-13T06:49:05.8000537Z\",\r\n \"message\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largefacelists/large-face-list-id/training", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZWZhY2VsaXN0cy9iNzQ0ZDRkMC05NjNiLTQyNzEtYTg0ZC01MzFmOWRkMWMwNzYvdHJhaW5pbmc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "92116461-02a8-434b-bba3-79903bf93e82" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "202" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"succeeded\",\r\n \"createdDateTime\": \"2018-12-13T06:49:05.8000537Z\",\r\n \"lastActionDateTime\": \"2018-12-13T06:49:05.9991054Z\",\r\n \"message\": null,\r\n \"lastSuccessfulTrainingDateTime\": \"2018-12-13T06:49:05.9991054Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/snapshots", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9zbmFwc2hvdHM=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"type\": \"LargeFaceList\",\r\n \"objectId\": \"large-face-list-id\",\r\n \"ApplyScope\": [\r\n \"subscription\"\r\n ],\r\n \"context\": \"user provided context data\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "199" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Operation-Location": [ + "/operations/dcb38e69-1647-44bf-948d-2b21eeb394a6" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "f82a002c-e464-4755-ab85-3b455ac8c852" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/face/v1.0/operations/Operation-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zL2RjYjM4ZTY5LTE2NDctNDRiZi05NDhkLTJiMjFlZWIzOTRhNg==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "3ebdc5cd-5a8e-45b5-be6f-a6e8a8b7ab54" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:07.2532027Z\",\r\n \"LastActionTime\": \"0001-01-01T00:00:00\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"notStarted\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/Operation-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zL2RjYjM4ZTY5LTE2NDctNDRiZi05NDhkLTJiMjFlZWIzOTRhNg==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "64b42d53-6bf9-4b5f-8b54-6a87f91471ab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:07.2532027Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:08.185103Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/Operation-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zL2RjYjM4ZTY5LTE2NDctNDRiZi05NDhkLTJiMjFlZWIzOTRhNg==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "1f99ca95-a5b9-4448-9786-2335bf58df44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:07.2532027Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:08.185103Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/Operation-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zL2RjYjM4ZTY5LTE2NDctNDRiZi05NDhkLTJiMjFlZWIzOTRhNg==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "24a557a8-3767-4c02-adc0-0605b1347854" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:07.2532027Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:08.185103Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/Operation-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zL2RjYjM4ZTY5LTE2NDctNDRiZi05NDhkLTJiMjFlZWIzOTRhNg==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "733a4627-014b-417d-80f1-51bef85b25e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:07.2532027Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:08.185103Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/Operation-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zL2RjYjM4ZTY5LTE2NDctNDRiZi05NDhkLTJiMjFlZWIzOTRhNg==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "84e81a00-9986-4827-8caf-69f1285c1013" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:07.2532027Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:08.185103Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/Operation-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zL2RjYjM4ZTY5LTE2NDctNDRiZi05NDhkLTJiMjFlZWIzOTRhNg==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "7d640199-7e1d-4a39-bdb6-56aad338246a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:07.2532027Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:08.185103Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/Operation-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zL2RjYjM4ZTY5LTE2NDctNDRiZi05NDhkLTJiMjFlZWIzOTRhNg==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "b1cf302c-1101-4ee4-bcf4-1789889c24db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:07.2532027Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:08.185103Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/Operation-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zL2RjYjM4ZTY5LTE2NDctNDRiZi05NDhkLTJiMjFlZWIzOTRhNg==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "00cff932-6da3-40a3-bdba-d500e2ab7ae9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:07.2532027Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:08.185103Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/Operation-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zL2RjYjM4ZTY5LTE2NDctNDRiZi05NDhkLTJiMjFlZWIzOTRhNg==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "e9a3411c-9584-4cd3-856e-47b5ee1df1d6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "199" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:07.2532027Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:20.6443324Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": \"/snapshots/81c6a085-7951-443c-a6af-e3a0da5695cc\",\r\n \"Status\": \"succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/snapshots/snapshots-id/apply", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9zbmFwc2hvdHMvODFjNmEwODUtNzk1MS00NDNjLWE2YWYtZTNhMGRhNTY5NWNjL2FwcGx5", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"objectId\": \"large-face-list-id\",\r\n \"mode\": \"CreateNew\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "82" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Operation-Location": [ + "/operations/8cef6071-98ea-445c-9a0b-f31ea8cbfa4d" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "2228d74d-e2a0-4e08-b3c2-9128838db697" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhjZWY2MDcxLTk4ZWEtNDQ1Yy05YTBiLWYzMWVhOGNiZmE0ZA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "7d7bfb8f-ea73-42ae-80c1-639e53d6fad3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:21.9137756Z\",\r\n \"LastActionTime\": \"0001-01-01T00:00:00\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"notStarted\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhjZWY2MDcxLTk4ZWEtNDQ1Yy05YTBiLWYzMWVhOGNiZmE0ZA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "c1af3e9f-78c8-4823-abd2-4ab8f4f2c02f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:21.9137756Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:22.7719087Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhjZWY2MDcxLTk4ZWEtNDQ1Yy05YTBiLWYzMWVhOGNiZmE0ZA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "f9fa3aa3-0f2b-4051-8291-0e1a0111e788" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:21.9137756Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:22.7719087Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhjZWY2MDcxLTk4ZWEtNDQ1Yy05YTBiLWYzMWVhOGNiZmE0ZA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "afae2b64-cdca-4b18-9ca0-0226b9ba6824" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:21.9137756Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:22.7719087Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhjZWY2MDcxLTk4ZWEtNDQ1Yy05YTBiLWYzMWVhOGNiZmE0ZA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "fd3b0286-f78b-4f0c-a40d-b4008c10eaa2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "202" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:49:21.9137756Z\",\r\n \"LastActionTime\": \"2018-12-13T06:49:26.818785Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": \"/largefacelist/e13eb437-0efe-4a55-8992-48dfecf35d5a\",\r\n \"Status\": \"succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largefacelists/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZWZhY2VsaXN0cy9lMTNlYjQzNy0wZWZlLTRhNTUtODk5Mi00OGRmZWNmMzVkNWE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "3b321bcb-d2f6-42c9-b439-1b0cd94c0f25" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "166" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"largeFaceListId\": \"e13eb437-0efe-4a55-8992-48dfecf35d5a\",\r\n \"name\": \"nameb744d4d0-963b-4271-a84d-531f9dd1c076\",\r\n \"userData\": \"userdatab744d4d0-963b-4271-a84d-531f9dd1c076\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largefacelists/large-face-list-id/persistedfaces", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZWZhY2VsaXN0cy9lMTNlYjQzNy0wZWZlLTRhNTUtODk5Mi00OGRmZWNmMzVkNWEvcGVyc2lzdGVkZmFjZXM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "c1bd7834-d566-4a6e-a86c-87817f06aa8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "76" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "[\r\n {\r\n \"persistedFaceId\": \"1666252b-2937-4291-b113-0a5688dd04ce\",\r\n \"userData\": null\r\n }\r\n]", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largefacelists/large-face-list-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZWZhY2VsaXN0cy9iNzQ0ZDRkMC05NjNiLTQyNzEtYTg0ZC01MzFmOWRkMWMwNzY=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "4c38b469-82c6-464e-afd3-2f605027bb27" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largefacelists/large-face-list-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZWZhY2VsaXN0cy9lMTNlYjQzNy0wZWZlLTRhNTUtODk5Mi00OGRmZWNmMzVkNWE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "844a5968-4c3c-4e8c-a57a-4742527a4c89" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/snapshots/snapshot-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9zbmFwc2hvdHMvODFjNmEwODUtNzk1MS00NDNjLWE2YWYtZTNhMGRhNTY5NWNj", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:49:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "6758641f-bfe1-411f-9bcb-cb14dad1ff81" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": {} +} \ No newline at end of file diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationLargePersonGroup.json b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationLargePersonGroup.json new file mode 100644 index 000000000000..b5d40086fe8b --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationLargePersonGroup.json @@ -0,0 +1,1593 @@ +{ + "Entries": [ + { + "RequestUri": "/face/v1.0/largepersongroups/largepersongroups-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZXBlcnNvbmdyb3Vwcy8wNTZiNzdjOS0yNTYxLTQwNjUtYWMzMy02NjQwZGZkY2E1NjE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"name\",\r\n \"userData\": \"userdata\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "121" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "c0d038b8-ef12-4d90-a7fe-e4cb5b916de7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largepersongroups/largepersongroups-id/persons", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZXBlcnNvbmdyb3Vwcy8wNTZiNzdjOS0yNTYxLTQwNjUtYWMzMy02NjQwZGZkY2E1NjEvcGVyc29ucw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"name\": \"personName\",\r\n \"userData\": \"personUserdata\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "133" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "38df55a6-2d28-4e58-b203-5f204ae0450f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "51" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"personId\": \"915d0a02-1d68-4054-bf41-c8018c3d4874\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largepersongroups/largepersongroups-id/persons/person-id/persistedfaces", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZXBlcnNvbmdyb3Vwcy8wNTZiNzdjOS0yNTYxLTQwNjUtYWMzMy02NjQwZGZkY2E1NjEvcGVyc29ucy85MTVkMGEwMi0xZDY4LTQwNTQtYmY0MS1jODAxOGMzZDQ4NzQvcGVyc2lzdGVkZmFjZXM=", + "RequestMethod": "POST", + "RequestBody": "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAoHBwkHBgoJCAkLCwoMDxkQDw4ODx4WFxIZJCAmJSMgIyIoLTkwKCo2KyIjMkQyNjs9QEBAJjBGS0U+Sjk/QD3/2wBDAQsLCw8NDx0QEB09KSMpPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT3/wAARCADXASwDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKB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vCcPm6pEx/hQfq3/ANaiiujDpe0RDeh7xpUai3XAA4q5MuUP0oorKfxmy2MuxUC5OB3pviE4sJD6KaKK2S/eoh/Czn/BcePM/wB411erf8ejf7tFFXXX75Cj8Ji+FroyQkY6Ma6aS2WZRuwRRRWOJ0noOOxHFapCflAH0FWcYoorneoz/9k=", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/octet-stream" + ], + "Content-Length": [ + "9344" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "9ddbad75-5670-40be-85e3-a72e8f702d76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "58" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"persistedFaceId\": \"07a7d495-fa2a-4ae1-b9cd-0a4c05accbbb\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largepersongroups/largepersongroups-id/train", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZXBlcnNvbmdyb3Vwcy8wNTZiNzdjOS0yNTYxLTQwNjUtYWMzMy02NjQwZGZkY2E1NjEvdHJhaW4=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Operation-Location": [ + "http://facev1-cs-snapshotea.cloudapp.net:8080/largepersongroups/largepersongroups-id/training" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "8a18b2c3-e002-4841-b11e-43e368f580de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Access-Control-Expose-Headers": [ + "Operation-Location" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/face/v1.0/largepersongroups/largepersongroups-id/training", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZXBlcnNvbmdyb3Vwcy8wNTZiNzdjOS0yNTYxLTQwNjUtYWMzMy02NjQwZGZkY2E1NjEvdHJhaW5pbmc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "203b3fd3-9a83-46d1-83ec-0455e69d757d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "202" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"succeeded\",\r\n \"createdDateTime\": \"2018-12-13T06:48:21.1050368Z\",\r\n \"lastActionDateTime\": \"2018-12-13T06:48:21.2505558Z\",\r\n \"message\": null,\r\n \"lastSuccessfulTrainingDateTime\": \"2018-12-13T06:48:21.2505558Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/snapshots", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9zbmFwc2hvdHM=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"type\": \"LargePersonGroup\",\r\n \"objectId\": \"largepersongroups-id\",\r\n \"ApplyScope\": [\r\n \"subscription\"\r\n ],\r\n \"context\": \"user provided context data\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "202" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Operation-Location": [ + "/operations/8b7fe28c-4011-44e7-a43f-5d3a460a81c1" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "06f954cc-eeb9-4c0d-a3f4-948992ddd541" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhiN2ZlMjhjLTQwMTEtNDRlNy1hNDNmLTVkM2E0NjBhODFjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "5b1cd22e-10c5-4e43-8266-1cb4d98a1029" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:21.4488041Z\",\r\n \"LastActionTime\": \"0001-01-01T00:00:00\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"notStarted\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhiN2ZlMjhjLTQwMTEtNDRlNy1hNDNmLTVkM2E0NjBhODFjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "5227360a-1a95-4869-85a3-0e6e4a6de18a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:21.4488041Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:22.5841266Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhiN2ZlMjhjLTQwMTEtNDRlNy1hNDNmLTVkM2E0NjBhODFjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "99e4da50-2495-459c-9197-111699e40fa8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:21.4488041Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:22.5841266Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhiN2ZlMjhjLTQwMTEtNDRlNy1hNDNmLTVkM2E0NjBhODFjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "9e89c76e-2d9c-4344-a46c-ea8e56e7fd8e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:21.4488041Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:22.5841266Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhiN2ZlMjhjLTQwMTEtNDRlNy1hNDNmLTVkM2E0NjBhODFjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "a03b57e6-aa3d-4176-8683-7c3cee91907d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:21.4488041Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:22.5841266Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhiN2ZlMjhjLTQwMTEtNDRlNy1hNDNmLTVkM2E0NjBhODFjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "676799bd-b92e-401b-b9fc-cd8b67ceadf8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:21.4488041Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:22.5841266Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhiN2ZlMjhjLTQwMTEtNDRlNy1hNDNmLTVkM2E0NjBhODFjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "639c218d-d50f-44f5-b38d-6c266bfd7f57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:21.4488041Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:22.5841266Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhiN2ZlMjhjLTQwMTEtNDRlNy1hNDNmLTVkM2E0NjBhODFjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "7083ca63-97f5-429b-bef6-7c8b00e197ed" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:21.4488041Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:22.5841266Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhiN2ZlMjhjLTQwMTEtNDRlNy1hNDNmLTVkM2E0NjBhODFjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "a79e9fda-94ad-4ac3-9bd2-42d1af3e2ce0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:21.4488041Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:22.5841266Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhiN2ZlMjhjLTQwMTEtNDRlNy1hNDNmLTVkM2E0NjBhODFjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "62a1a2dc-f84a-4a8e-a40a-c1dbc0ebfeea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:21.4488041Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:22.5841266Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id1", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzhiN2ZlMjhjLTQwMTEtNDRlNy1hNDNmLTVkM2E0NjBhODFjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "2b284f7e-c4a2-44f6-96ad-e3dfad0aa072" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "199" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:21.4488041Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:35.0256639Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": \"/snapshots/d3ffef00-4d32-4084-81f5-cfb2d2c65cfb\",\r\n \"Status\": \"succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/snapshots/largePersonGroup-Id\/apply", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9zbmFwc2hvdHMvZDNmZmVmMDAtNGQzMi00MDg0LTgxZjUtY2ZiMmQyYzY1Y2ZiL2FwcGx5", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"objectId\": \"65163cdc-bb8b-4bf0-bb61-d10453e316a4\",\r\n \"mode\": \"CreateNew\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "82" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Operation-Location": [ + "/operations/05485d66-5d68-4575-8c6c-fa7895150505" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "d74284aa-68df-4513-ae85-2c2fea59ea9a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzA1NDg1ZDY2LTVkNjgtNDU3NS04YzZjLWZhNzg5NTE1MDUwNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "db8a187c-c067-4a29-86cb-0e8391a5150d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:37.0602837Z\",\r\n \"LastActionTime\": \"0001-01-01T00:00:00\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"notStarted\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzA1NDg1ZDY2LTVkNjgtNDU3NS04YzZjLWZhNzg5NTE1MDUwNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "f339838b-44a7-466b-a1fe-bddcd48ba45c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:37.0602837Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:38.2834123Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzA1NDg1ZDY2LTVkNjgtNDU3NS04YzZjLWZhNzg5NTE1MDUwNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "1d5ee586-6892-4557-bb54-cbf3f710adb7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:37.0602837Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:38.2834123Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzA1NDg1ZDY2LTVkNjgtNDU3NS04YzZjLWZhNzg5NTE1MDUwNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "776f1216-4fca-4a34-ac46-8cddadf2daff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:37.0602837Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:38.2834123Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzA1NDg1ZDY2LTVkNjgtNDU3NS04YzZjLWZhNzg5NTE1MDUwNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "f791e46f-eaeb-487d-9ff2-a46b8c07c30c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "205" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:37.0602837Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:42.368331Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": \"/largepersongroup/65163cdc-bb8b-4bf0-bb61-d10453e316a4\",\r\n \"Status\": \"succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largepersongroups/largepersongroups-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZXBlcnNvbmdyb3Vwcy82NTE2M2NkYy1iYjhiLTRiZjAtYmI2MS1kMTA0NTNlMzE2YTQ=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "a2932286-eac8-4042-b42a-0c9fbcb6291a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "169" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"largePersonGroupId\": \"65163cdc-bb8b-4bf0-bb61-d10453e316a4\",\r\n \"name\": \"name\",\r\n \"userData\": \"userdata\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largepersongroups/largepersongroups-id/persons/person-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZXBlcnNvbmdyb3Vwcy82NTE2M2NkYy1iYjhiLTRiZjAtYmI2MS1kMTA0NTNlMzE2YTQvcGVyc29ucy85MTVkMGEwMi0xZDY4LTQwNTQtYmY0MS1jODAxOGMzZDQ4NzQ=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "d9a05dfc-2107-4303-b5e6-1e8eac5a7145" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "231" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"personId\": \"915d0a02-1d68-4054-bf41-c8018c3d4874\",\r\n \"persistedFaceIds\": [\r\n \"07a7d495-fa2a-4ae1-b9cd-0a4c05accbbb\"\r\n ],\r\n \"name\": \"personName\",\r\n \"userData\": \"personUserdata\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largepersongroups/largepersongroups-id/persons/person-id/persistedfaces/face-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZXBlcnNvbmdyb3Vwcy82NTE2M2NkYy1iYjhiLTRiZjAtYmI2MS1kMTA0NTNlMzE2YTQvcGVyc29ucy85MTVkMGEwMi0xZDY4LTQwNTQtYmY0MS1jODAxOGMzZDQ4NzQvcGVyc2lzdGVkZmFjZXMvMDdhN2Q0OTUtZmEyYS00YWUxLWI5Y2QtMGE0YzA1YWNjYmJi", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "6608e429-36dc-43e3-a505-1798f1f69eda" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"persistedFaceId\": \"07a7d495-fa2a-4ae1-b9cd-0a4c05accbbb\",\r\n \"userData\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largepersongroups/largepersongroups-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZXBlcnNvbmdyb3Vwcy8wNTZiNzdjOS0yNTYxLTQwNjUtYWMzMy02NjQwZGZkY2E1NjE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "0e696398-1b35-4ab4-92fa-2622d01e7e67" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/largepersongroups/largepersongroups-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9sYXJnZXBlcnNvbmdyb3Vwcy82NTE2M2NkYy1iYjhiLTRiZjAtYmI2MS1kMTA0NTNlMzE2YTQ=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "bbd3deda-6441-4db6-8605-825a4ab79818" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/snapshots/snapshots-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9zbmFwc2hvdHMvZDNmZmVmMDAtNGQzMi00MDg0LTgxZjUtY2ZiMmQyYzY1Y2Zi", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "bd4b3f55-1510-4347-b6f6-adf1661f178e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": {} +} \ No newline at end of file diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationPersonGroup.json b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationPersonGroup.json new file mode 100644 index 000000000000..9d9e2ef4f660 --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SessionRecords/FaceSDK.Tests.SnapshotTests/FaceSnapshotTestDataMigrationPersonGroup.json @@ -0,0 +1,1593 @@ +{ + "Entries": [ + { + "RequestUri": "/face/v1.0/persongroups/persongroups-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9wZXJzb25ncm91cHMvZDMzNjA1MDctMWQ1Yy00MTEyLWE2NWUtMDYwMDFjYTY5MWM5", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"name\",\r\n \"userData\": \"userdata\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "121" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:47:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "bb2cfd8c-fe3e-45e5-b789-b46d87735ab1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/persongroups/persongroups-id/persons", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9wZXJzb25ncm91cHMvZDMzNjA1MDctMWQ1Yy00MTEyLWE2NWUtMDYwMDFjYTY5MWM5L3BlcnNvbnM=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"name\": \"personName\",\r\n \"userData\": \"personUserdata\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "133" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:47:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "11215177-c33b-41dd-b55a-e47b62380ae0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "51" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"personId\": \"31d6f67a-093e-40a2-b2a3-5dae571bea53\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/persongroups/persongroups-id/persons/person-id/persistedfaces", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9wZXJzb25ncm91cHMvZDMzNjA1MDctMWQ1Yy00MTEyLWE2NWUtMDYwMDFjYTY5MWM5L3BlcnNvbnMvMzFkNmY2N2EtMDkzZS00MGEyLWIyYTMtNWRhZTU3MWJlYTUzL3BlcnNpc3RlZGZhY2Vz", + "RequestMethod": "POST", + "RequestBody": "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAoHBwkHBgoJCAkLCwoMDxkQDw4ODx4WFxIZJCAmJSMgIyIoLTkwKCo2KyIjMkQyNjs9QEBAJjBGS0U+Sjk/QD3/2wBDAQsLCw8NDx0QEB09KSMpPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT3/wAARCADXASwDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5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oz/9k=", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/octet-stream" + ], + "Content-Length": [ + "9344" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:47:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "f35e7a31-db1b-4e63-bf99-7be55043c6df" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "58" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"persistedFaceId\": \"380679fd-0585-4d9b-aa60-f1d39b689f31\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/persongroups/persongroups-id/train", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9wZXJzb25ncm91cHMvZDMzNjA1MDctMWQ1Yy00MTEyLWE2NWUtMDYwMDFjYTY5MWM5L3RyYWlu", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:47:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Operation-Location": [ + "http://facev1-cs-snapshotea.cloudapp.net:8080/persongroups/persongroups-id/training" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "136a1184-2339-4990-b4ed-dfa719f34234" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Access-Control-Expose-Headers": [ + "Operation-Location" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/face/v1.0/persongroups/persongroups-id/training", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9wZXJzb25ncm91cHMvZDMzNjA1MDctMWQ1Yy00MTEyLWE2NWUtMDYwMDFjYTY5MWM5L3RyYWluaW5n", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:47:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "8e44bef6-bb75-4fe6-9146-1fdabed6c679" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "136" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"running\",\r\n \"createdDateTime\": \"2018-12-13T06:47:51.9117078Z\",\r\n \"lastActionDateTime\": \"2018-12-13T06:47:51.9117078Z\",\r\n \"message\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/persongroups/persongroups-id/training", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9wZXJzb25ncm91cHMvZDMzNjA1MDctMWQ1Yy00MTEyLWE2NWUtMDYwMDFjYTY5MWM5L3RyYWluaW5n", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:47:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "cd98b4e3-2952-4d31-b0b5-3b214ac8c94a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "138" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"succeeded\",\r\n \"createdDateTime\": \"2018-12-13T06:47:51.9117078Z\",\r\n \"lastActionDateTime\": \"2018-12-13T06:47:52.1341738Z\",\r\n \"message\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/snapshots", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9zbmFwc2hvdHM=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"type\": \"PersonGroup\",\r\n \"objectId\": \"persongroups-id\",\r\n \"ApplyScope\": [\r\n \"subscription\"\r\n ],\r\n \"context\": \"user provided context data\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "197" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:47:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Operation-Location": [ + "/operations/operations-id" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "0fb2d296-04cf-4e2e-b1bf-a34e4dda842e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzY0YmRiYzVkLTQxMTAtNGYzOS1iMWE4LTMwM2YzZTdmMDJjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:47:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "b2dbc03b-59a9-4a76-8ed9-a22edf725ece" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "144" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:47:53.41167Z\",\r\n \"LastActionTime\": \"0001-01-01T00:00:00\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"notStarted\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzY0YmRiYzVkLTQxMTAtNGYzOS1iMWE4LTMwM2YzZTdmMDJjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:47:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "0bdc330d-aef3-40bb-84b6-2cbb936cbbca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "150" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:47:53.41167Z\",\r\n \"LastActionTime\": \"2018-12-13T06:47:55.4504735Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzY0YmRiYzVkLTQxMTAtNGYzOS1iMWE4LTMwM2YzZTdmMDJjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:47:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "33aa5ba0-d33d-466a-b009-770028cdcd8b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "150" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:47:53.41167Z\",\r\n \"LastActionTime\": \"2018-12-13T06:47:55.4504735Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzY0YmRiYzVkLTQxMTAtNGYzOS1iMWE4LTMwM2YzZTdmMDJjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:47:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "d1ba7498-cbe2-4f3e-8807-7c8add41aba6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "150" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:47:53.41167Z\",\r\n \"LastActionTime\": \"2018-12-13T06:47:55.4504735Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzY0YmRiYzVkLTQxMTAtNGYzOS1iMWE4LTMwM2YzZTdmMDJjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "d72afa37-97c1-41ac-8cbe-53ec3a0e85c0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "150" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:47:53.41167Z\",\r\n \"LastActionTime\": \"2018-12-13T06:47:55.4504735Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzY0YmRiYzVkLTQxMTAtNGYzOS1iMWE4LTMwM2YzZTdmMDJjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "b607a024-cf65-438f-ab49-5d14ae01d01b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "150" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:47:53.41167Z\",\r\n \"LastActionTime\": \"2018-12-13T06:47:55.4504735Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzY0YmRiYzVkLTQxMTAtNGYzOS1iMWE4LTMwM2YzZTdmMDJjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "ee3219c3-0880-48d3-ae0d-b2b8ad85934b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "150" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:47:53.41167Z\",\r\n \"LastActionTime\": \"2018-12-13T06:47:55.4504735Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzY0YmRiYzVkLTQxMTAtNGYzOS1iMWE4LTMwM2YzZTdmMDJjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "2347c159-03a4-4962-b244-1283c4b94d81" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "150" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:47:53.41167Z\",\r\n \"LastActionTime\": \"2018-12-13T06:47:55.4504735Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzY0YmRiYzVkLTQxMTAtNGYzOS1iMWE4LTMwM2YzZTdmMDJjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "ed2a3ae5-bb07-48ba-bda6-7d0901a9ea2a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "150" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:47:53.41167Z\",\r\n \"LastActionTime\": \"2018-12-13T06:47:55.4504735Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzY0YmRiYzVkLTQxMTAtNGYzOS1iMWE4LTMwM2YzZTdmMDJjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "80be9eee-efc8-4def-9824-b994e15e4736" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "150" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:47:53.41167Z\",\r\n \"LastActionTime\": \"2018-12-13T06:47:55.4504735Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzY0YmRiYzVkLTQxMTAtNGYzOS1iMWE4LTMwM2YzZTdmMDJjMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "048c1731-9da8-4180-bff3-28630aa88bec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "197" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:47:53.41167Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:08.5907334Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": \"/snapshots/snapshots\",\r\n \"Status\": \"succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/snapshots/snapshots-id/apply", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9zbmFwc2hvdHMvODA4YzA3M2YtNDA0YS00NjIzLWFiNDMtYmM4MDgyMmUyY2I3L2FwcGx5", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"objectId\": \"new-personGroup-id\",\r\n \"mode\": \"CreateNew\"\r\n}", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "82" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Operation-Location": [ + "/operations/63a8df94-770a-409a-a428-f87586154415" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "0eff43e2-4a5b-41b0-a1e5-845ebc1fc6be" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzYzYThkZjk0LTc3MGEtNDA5YS1hNDI4LWY4NzU4NjE1NDQxNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "544fc443-202d-4f61-a59f-6ca89437a800" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:09.7372449Z\",\r\n \"LastActionTime\": \"0001-01-01T00:00:00\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"notStarted\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzYzYThkZjk0LTc3MGEtNDA5YS1hNDI4LWY4NzU4NjE1NDQxNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "556ae368-da68-47c8-9894-2f036e545a74" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:09.7372449Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:10.6532556Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzYzYThkZjk0LTc3MGEtNDA5YS1hNDI4LWY4NzU4NjE1NDQxNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "fd7d8a2d-38c3-4a8f-b577-cdae4cd597da" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:09.7372449Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:10.6532556Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": null,\r\n \"Status\": \"running\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/operations/operations-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9vcGVyYXRpb25zLzYzYThkZjk0LTc3MGEtNDA5YS1hNDI4LWY4NzU4NjE1NDQxNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "2a18077f-1d0f-4243-962b-bb462a776501" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "201" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"CreatedTime\": \"2018-12-13T06:48:09.7372449Z\",\r\n \"LastActionTime\": \"2018-12-13T06:48:13.9815514Z\",\r\n \"Message\": null,\r\n \"ResourceLocation\": \"/persongroup/2c760023-3749-4d9f-9f64-04502c1e34cd\",\r\n \"Status\": \"succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/persongroups/persongroups-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9wZXJzb25ncm91cHMvMmM3NjAwMjMtMzc0OS00ZDlmLTlmNjQtMDQ1MDJjMWUzNGNk", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "a4d47483-f32c-44e8-af84-67cfaa829365" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "164" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"personGroupId\": \"2c760023-3749-4d9f-9f64-04502c1e34cd\",\r\n \"name\": \"name\",\r\n \"userData\": \"userdata\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/persongroups/persongroups-id/persons/person-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9wZXJzb25ncm91cHMvMmM3NjAwMjMtMzc0OS00ZDlmLTlmNjQtMDQ1MDJjMWUzNGNkL3BlcnNvbnMvMzFkNmY2N2EtMDkzZS00MGEyLWIyYTMtNWRhZTU3MWJlYTUz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "e732fcc1-4faa-44d1-89ab-e710923eabbc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "231" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"personId\": \"31d6f67a-093e-40a2-b2a3-5dae571bea53\",\r\n \"persistedFaceIds\": [\r\n \"380679fd-0585-4d9b-aa60-f1d39b689f31\"\r\n ],\r\n \"name\": \"personName\",\r\n \"userData\": \"personUserdata\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/persongroups/persongroups-id/persons/person-id/persistedfaces/face-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9wZXJzb25ncm91cHMvMmM3NjAwMjMtMzc0OS00ZDlmLTlmNjQtMDQ1MDJjMWUzNGNkL3BlcnNvbnMvMzFkNmY2N2EtMDkzZS00MGEyLWIyYTMtNWRhZTU3MWJlYTUzL3BlcnNpc3RlZGZhY2VzLzM4MDY3OWZkLTA1ODUtNGQ5Yi1hYTYwLWYxZDM5YjY4OWYzMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "003e2276-8c37-44a6-b196-e0de5abd5749" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"persistedFaceId\": \"380679fd-0585-4d9b-aa60-f1d39b689f31\",\r\n \"userData\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/persongroups/persongroups-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9wZXJzb25ncm91cHMvZDMzNjA1MDctMWQ1Yy00MTEyLWE2NWUtMDYwMDFjYTY5MWM5", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "e9eaa44f-2bd8-4285-9f9b-ac5602483e7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/persongroups/persongroups-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9wZXJzb25ncm91cHMvMmM3NjAwMjMtMzc0OS00ZDlmLTlmNjQtMDQ1MDJjMWUzNGNk", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "7310cc84-3c39-4518-9ee8-b8bb6e21cae7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/face/v1.0/snapshots/snapshots-id", + "EncodedRequestUri": "L2ZhY2UvdjEuMC9zbmFwc2hvdHMvODA4YzA3M2YtNDA0YS00NjIzLWFiNDMtYmM4MDgyMmUyY2I3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "Ocp-Apim-Subscription-Key": [ + "" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient/2.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 13 Dec 2018 06:48:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "apim-request-id": [ + "5ba1a8b2-d72c-43d2-9cb7-1751a5651405" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains; preload" + ], + "x-content-type-options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": {} +} \ No newline at end of file diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SnapshotTests.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SnapshotTests.cs new file mode 100644 index 000000000000..96b7fb94b16b --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/SnapshotTests.cs @@ -0,0 +1,338 @@ +using Microsoft.Azure.CognitiveServices.Vision.Face; +using Microsoft.Azure.CognitiveServices.Vision.Face.Models; +using Microsoft.Azure.Test.HttpRecorder; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using Xunit; + +namespace FaceSDK.Tests +{ + public class SnapshotTests : BaseTests + { + private static readonly List ApplyScope = new List() { Guid.Parse("{subscriptionId1}") }; + + [Fact] + public void FaceSnapshotTestDataMigrationFaceList() + { + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + HttpMockServer.Initialize(this.GetType().FullName, "FaceSnapshotTestDataMigrationFaceList"); + + var facelistId = Guid.NewGuid().ToString(); + var name = $"name{facelistId}"; + var userdata = $"userdata{facelistId}"; + + IFaceClient client = GetFaceClient(HttpMockServer.CreateInstance()); + client.FaceList.CreateAsync(facelistId, name, userdata).Wait(); + + using (FileStream stream = new FileStream(Path.Combine("TestImages", "Satya4.jpg"), FileMode.Open)) + { + var persistedFace = client.FaceList.AddFaceFromStreamAsync(facelistId, stream).Result; + Assert.NotNull(persistedFace); + } + + string objectType = "Facelist"; + string objectId = facelistId; + string userContext = "user provided context data"; + + var takeSnapshotResult = client.Snapshot.TakeAsync(objectType, objectId, ApplyScope, userContext).Result; + Assert.NotNull(takeSnapshotResult.OperationLocation); + + var operationStatus = getOperationResult(client, takeSnapshotResult.OperationLocation); + Assert.NotNull(operationStatus); + Assert.Equal(operationStatus.Status.ToString(), OperationStatusType.Succeeded.ToString()); + + var resourceId = operationStatus.ResourceLocation.Split('/').Last(); + + string newFacelistId = Guid.NewGuid().ToString(); + string applyMode = "CreateNew"; + var applySnapshotResult = client.Snapshot.ApplyAsync(resourceId, newFacelistId, applyMode).Result; + Assert.NotNull(applySnapshotResult.OperationLocation); + + operationStatus = getOperationResult(client, applySnapshotResult.OperationLocation); + Assert.NotNull(operationStatus); + Assert.Equal(operationStatus.Status.ToString(), OperationStatusType.Succeeded.ToString()); + + var newObjectId = operationStatus.ResourceLocation.Split('/').Last(); + + var newFacelist = client.FaceList.GetAsync(newObjectId).Result; + Assert.NotNull(newFacelist); + Assert.True(newFacelist.PersistedFaces.Count() > 0); + + client.FaceList.DeleteAsync(facelistId).Wait(); + client.FaceList.DeleteAsync(newObjectId).Wait(); + client.Snapshot.DeleteAsync(resourceId).Wait(); + } + } + + [Fact] + public void FaceSnapshotTestDataMigrationLargeFaceList() + { + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + HttpMockServer.Initialize(this.GetType().FullName, "FaceSnapshotTestDataMigrationLargeFaceList"); + + var largeFacelistId = Guid.NewGuid().ToString(); + var name = $"name{largeFacelistId}"; + var userdata = $"userdata{largeFacelistId}"; + + IFaceClient client = GetFaceClient(HttpMockServer.CreateInstance()); + client.LargeFaceList.CreateAsync(largeFacelistId, name, userdata).Wait(); + + using (FileStream stream = new FileStream(Path.Combine("TestImages", "Satya4.jpg"), FileMode.Open)) + { + var persistedFace = client.LargeFaceList.AddFaceFromStreamAsync(largeFacelistId, stream).Result; + Assert.NotNull(persistedFace); + } + + var trainStatus = getTrainResult(client, largeFacelistId, "LargeFaceList"); + Assert.NotNull(trainStatus); + Assert.Equal(trainStatus.Status.ToString(), TrainingStatusType.Succeeded.ToString()); + + string objectType = "LargeFaceList"; + string objectId = largeFacelistId; + string userContext = "user provided context data"; + + var takeSnapshotResult = client.Snapshot.TakeAsync(objectType, objectId, ApplyScope, userContext).Result; + Assert.NotNull(takeSnapshotResult.OperationLocation); + + var operationStatus = getOperationResult(client, takeSnapshotResult.OperationLocation); + Assert.NotNull(operationStatus); + Assert.Equal(operationStatus.Status.ToString(), OperationStatusType.Succeeded.ToString()); + + var resourceId = operationStatus.ResourceLocation.Split('/').Last(); + + string newLargeFacelistId = Guid.NewGuid().ToString(); + string applyMode = "CreateNew"; + var applySnapshotResult = client.Snapshot.ApplyAsync(resourceId, newLargeFacelistId, applyMode).Result; + Assert.NotNull(applySnapshotResult.OperationLocation); + + operationStatus = getOperationResult(client, applySnapshotResult.OperationLocation); + Assert.NotNull(operationStatus); + Assert.Equal(operationStatus.Status.ToString(), OperationStatusType.Succeeded.ToString()); + + var newObjectId = operationStatus.ResourceLocation.Split('/').Last(); + + var newLargeFacelist = client.LargeFaceList.GetAsync(newObjectId).Result; + Assert.NotNull(newLargeFacelist); + + var newLargeFacelistFaces = client.LargeFaceList.ListFacesAsync(newObjectId).Result; + Assert.True(newLargeFacelistFaces.Count() > 0); + + client.LargeFaceList.DeleteAsync(largeFacelistId).Wait(); + client.LargeFaceList.DeleteAsync(newObjectId).Wait(); + client.Snapshot.DeleteAsync(resourceId).Wait(); + } + } + + [Fact] + public void FaceSnapshotTestDataMigrationPersonGroup() + { + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + HttpMockServer.Initialize(this.GetType().FullName, "FaceSnapshotTestDataMigrationPersonGroup"); + + var personGroupId = Guid.NewGuid().ToString(); + var name = $"name{personGroupId}"; + var userdata = $"userdata{personGroupId}"; + + IFaceClient client = GetFaceClient(HttpMockServer.CreateInstance()); + client.PersonGroup.CreateAsync(personGroupId, name, userdata).Wait(); + + var personName = $"personName{personGroupId.ToString()}"; + var personUserdata = $"personUserdata{personGroupId.ToString()}"; + var personGroupPersonId = client.PersonGroupPerson.CreateAsync(personGroupId, personName, personUserdata).Result.PersonId; + + Guid personGroupPersonFaceId; + + using (FileStream stream = new FileStream(Path.Combine("TestImages", "Satya4.jpg"), FileMode.Open)) + { + var persistedFace = client.PersonGroupPerson.AddFaceFromStreamAsync(personGroupId, personGroupPersonId, stream).Result; + Assert.NotNull(persistedFace); + personGroupPersonFaceId = persistedFace.PersistedFaceId; + } + + var trainStatus = getTrainResult(client, personGroupId, "PersonGroup"); + Assert.NotNull(trainStatus); + Assert.Equal(trainStatus.Status.ToString(), TrainingStatusType.Succeeded.ToString()); + + string objectType = "PersonGroup"; + string objectId = personGroupId; + string userContext = "user provided context data"; + + var takeSnapshotResult = client.Snapshot.TakeAsync(objectType, objectId, ApplyScope, userContext).Result; + Assert.NotNull(takeSnapshotResult.OperationLocation); + + var operationStatus = getOperationResult(client, takeSnapshotResult.OperationLocation); + Assert.NotNull(operationStatus); + Assert.Equal(operationStatus.Status.ToString(), OperationStatusType.Succeeded.ToString()); + + var resourceId = operationStatus.ResourceLocation.Split('/').Last(); + + string newPersonGroupId = Guid.NewGuid().ToString(); + string applyMode = "CreateNew"; + var applySnapshotResult = client.Snapshot.ApplyAsync(resourceId, newPersonGroupId, applyMode).Result; + Assert.NotNull(applySnapshotResult.OperationLocation); + + operationStatus = getOperationResult(client, applySnapshotResult.OperationLocation); + Assert.NotNull(operationStatus); + Assert.Equal(operationStatus.Status.ToString(), OperationStatusType.Succeeded.ToString()); + + var newObjectId = operationStatus.ResourceLocation.Split('/').Last(); + + var newPersonGroup = client.PersonGroup.GetAsync(newObjectId).Result; + Assert.NotNull(newPersonGroup); + + var newPersonGroupPerson = client.PersonGroupPerson.GetAsync(newObjectId, personGroupPersonId).Result; + Assert.NotNull(newPersonGroupPerson); + + var newPersonGroupPersonFace = client.PersonGroupPerson.GetFaceAsync(newObjectId, personGroupPersonId, personGroupPersonFaceId).Result; + Assert.NotNull(newPersonGroupPersonFace); + + client.PersonGroup.DeleteAsync(personGroupId).Wait(); + client.PersonGroup.DeleteAsync(newObjectId).Wait(); + client.Snapshot.DeleteAsync(resourceId).Wait(); + } + } + + [Fact] + public void FaceSnapshotTestDataMigrationLargePersonGroup() + { + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + HttpMockServer.Initialize(this.GetType().FullName, "FaceSnapshotTestDataMigrationLargePersonGroup"); + + var largePersonGroupId = Guid.NewGuid().ToString(); + var name = $"name{largePersonGroupId}"; + var userdata = $"userdata{largePersonGroupId}"; + + IFaceClient client = GetFaceClient(HttpMockServer.CreateInstance()); + client.LargePersonGroup.CreateAsync(largePersonGroupId, name, userdata).Wait(); + + var personName = $"personName{largePersonGroupId}"; + var personUserdata = $"personUserdata{largePersonGroupId}"; + var largePersonGroupPersonId = client.LargePersonGroupPerson.CreateAsync(largePersonGroupId, personName, personUserdata).Result.PersonId; + + Guid largePersonGroupPersonFaceId; + + using (FileStream stream = new FileStream(Path.Combine("TestImages", "Satya4.jpg"), FileMode.Open)) + { + var persistedFace = client.LargePersonGroupPerson.AddFaceFromStreamAsync(largePersonGroupId, largePersonGroupPersonId, stream).Result; + Assert.NotNull(persistedFace); + largePersonGroupPersonFaceId = persistedFace.PersistedFaceId; + } + + var trainStatus = getTrainResult(client, largePersonGroupId, "LargePersonGroup"); + Assert.NotNull(trainStatus); + Assert.Equal(trainStatus.Status.ToString(), TrainingStatusType.Succeeded.ToString()); + + string objectType = "LargePersonGroup"; + string objectId = largePersonGroupId; + string userContext = "user provided context data"; + + var takeSnapshotResult = client.Snapshot.TakeAsync(objectType, objectId, ApplyScope, userContext).Result; + Assert.NotNull(takeSnapshotResult.OperationLocation); + + var operationStatus = getOperationResult(client, takeSnapshotResult.OperationLocation); + Assert.NotNull(operationStatus); + Assert.Equal(operationStatus.Status.ToString(), OperationStatusType.Succeeded.ToString()); + + var resourceId = operationStatus.ResourceLocation.Split('/').Last(); + + string newLargePersonGroupId = Guid.NewGuid().ToString(); + string applyMode = "CreateNew"; + var applySnapshotResult = client.Snapshot.ApplyAsync(resourceId, newLargePersonGroupId, applyMode).Result; + Assert.NotNull(applySnapshotResult.OperationLocation); + + operationStatus = getOperationResult(client, applySnapshotResult.OperationLocation); + Assert.NotNull(operationStatus); + Assert.Equal(operationStatus.Status.ToString(), OperationStatusType.Succeeded.ToString()); + + var newObjectId = operationStatus.ResourceLocation.Split('/').Last(); + + var newLargePersonGroup = client.LargePersonGroup.GetAsync(newObjectId).Result; + Assert.NotNull(newLargePersonGroup); + + var newLargePersonGroupPerson = client.LargePersonGroupPerson.GetAsync(newObjectId, largePersonGroupPersonId).Result; + Assert.NotNull(newLargePersonGroupPerson); + + var newLargePersonGroupPersonFace = client.LargePersonGroupPerson.GetFaceAsync(newObjectId, largePersonGroupPersonId, largePersonGroupPersonFaceId).Result; + Assert.NotNull(newLargePersonGroupPersonFace); + + client.LargePersonGroup.DeleteAsync(largePersonGroupId).Wait(); + client.LargePersonGroup.DeleteAsync(newObjectId).Wait(); + client.Snapshot.DeleteAsync(resourceId).Wait(); + } + } + + private OperationStatus getOperationResult(IFaceClient client, string operationLocation, int timeIntervalInMilliSeconds = 1000) + { + var operationId = string.Empty; + if (Uri.IsWellFormedUriString(operationLocation, UriKind.RelativeOrAbsolute)) + { + operationId = operationLocation.Split('/').Last(); + } + + var operationStatus = client.Snapshot.GetOperationStatusAsync(operationId).Result; + + while (operationStatus.Status != null + && !operationStatus.Status.Equals(OperationStatusType.Succeeded) + && !operationStatus.Status.Equals(OperationStatusType.Failed)) + { + System.Threading.Thread.Sleep(timeIntervalInMilliSeconds); + + operationStatus = client.Snapshot.GetOperationStatusAsync(operationId).Result; + } + + return operationStatus; + } + + private TrainingStatus getTrainResult(IFaceClient client, string resourceId, string resourceType, int timeIntervalInMilliSeconds = 1000) + { + TrainingStatus trainStatus = null; + + if (resourceType == "LargeFaceList") + { + client.LargeFaceList.TrainAsync(resourceId).Wait(); + trainStatus = client.LargeFaceList.GetTrainingStatusAsync(resourceId).Result; + } + else if (resourceType == "PersonGroup") + { + client.PersonGroup.TrainAsync(resourceId).Wait(); + trainStatus = client.PersonGroup.GetTrainingStatusAsync(resourceId).Result; + } + else if (resourceType == "LargePersonGroup") + { + client.LargePersonGroup.TrainAsync(resourceId).Wait(); + trainStatus = client.LargePersonGroup.GetTrainingStatusAsync(resourceId).Result; + } + else + return null; + + while (trainStatus != null + && !trainStatus.Status.Equals(TrainingStatusType.Succeeded) + && !trainStatus.Status.Equals(TrainingStatusType.Failed)) + { + System.Threading.Thread.Sleep(timeIntervalInMilliSeconds); + + if (resourceType == "LargeFaceList") + { + trainStatus = client.LargeFaceList.GetTrainingStatusAsync(resourceId).Result; + } + else if (resourceType == "PersonGroup") + { + trainStatus = client.PersonGroup.GetTrainingStatusAsync(resourceId).Result; + } + else if (resourceType == "LargePersonGroup") + { + trainStatus = client.LargePersonGroup.GetTrainingStatusAsync(resourceId).Result; + } + } + + return trainStatus; + } + } +} diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/FaceClient.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/FaceClient.cs index ca42af3bd53a..2bc145cada1d 100644 --- a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/FaceClient.cs +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/FaceClient.cs @@ -85,6 +85,24 @@ public partial class FaceClient : ServiceClient, IFaceClient /// public virtual ILargeFaceListOperations LargeFaceList { get; private set; } + /// + /// Gets the ISnapshotOperations. + /// + public virtual ISnapshotOperations Snapshot { get; private set; } + + /// + /// Initializes a new instance of the FaceClient class. + /// + /// + /// HttpClient to be used + /// + /// + /// True: will dispose the provided httpClient on calling FaceClient.Dispose(). False: will not dispose provided httpClient + protected FaceClient(HttpClient httpClient, bool disposeHttpClient) : base(httpClient, disposeHttpClient) + { + Initialize(); + } + /// /// Initializes a new instance of the FaceClient class. /// @@ -135,6 +153,33 @@ public FaceClient(ServiceClientCredentials credentials, params DelegatingHandler } } + /// + /// Initializes a new instance of the FaceClient class. + /// + /// + /// Required. Subscription credentials which uniquely identify client subscription. + /// + /// + /// HttpClient to be used + /// + /// + /// True: will dispose the provided httpClient on calling FaceClient.Dispose(). False: will not dispose provided httpClient + /// + /// Thrown when a required parameter is null + /// + public FaceClient(ServiceClientCredentials credentials, HttpClient httpClient, bool disposeHttpClient) : this(httpClient, disposeHttpClient) + { + if (credentials == null) + { + throw new System.ArgumentNullException("credentials"); + } + Credentials = credentials; + if (Credentials != null) + { + Credentials.InitializeServiceClient(this); + } + } + /// /// Initializes a new instance of the FaceClient class. /// @@ -179,6 +224,7 @@ private void Initialize() LargePersonGroupPerson = new LargePersonGroupPerson(this); LargePersonGroup = new LargePersonGroupOperations(this); LargeFaceList = new LargeFaceListOperations(this); + Snapshot = new SnapshotOperations(this); BaseUri = "{Endpoint}/face/v1.0"; SerializationSettings = new JsonSerializerSettings { diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/IFaceClient.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/IFaceClient.cs index c4a93dd061e4..d79b5d45c862 100644 --- a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/IFaceClient.cs +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/IFaceClient.cs @@ -81,5 +81,10 @@ public partial interface IFaceClient : System.IDisposable /// ILargeFaceListOperations LargeFaceList { get; } + /// + /// Gets the ISnapshotOperations. + /// + ISnapshotOperations Snapshot { get; } + } } diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/ISnapshotOperations.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/ISnapshotOperations.cs new file mode 100644 index 000000000000..24f97126a05e --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/ISnapshotOperations.cs @@ -0,0 +1,192 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.CognitiveServices.Vision.Face +{ + using Microsoft.Rest; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SnapshotOperations operations. + /// + public partial interface ISnapshotOperations + { + /// + /// Take a snapshot. + /// + /// + /// User specified type, maximum length is 128. + /// + /// + /// User specified objectId, maximum length is 128. + /// + /// + /// Array of applyScope + /// + /// + /// User specified context, maximum length is 128. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> TakeWithHttpMessagesAsync(string type = default(string), string objectId = default(string), IList applyScope = default(IList), string context = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get snapshot list. + /// + /// + /// User specified type. + /// + /// + /// User specified apply scope. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(string type, IList applyScope, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get a snapshot. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string snapshotId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Update a snapshot. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// Array of applyScope + /// + /// + /// User specified context, maximum length is 1024. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task UpdateWithHttpMessagesAsync(string snapshotId, IList applyScope = default(IList), string context = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Delete an existing snapshot. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string snapshotId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Apply a snapshot. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// User specified objectId, maximum length is 128. + /// + /// + /// User specified context, maximum length is 128. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> ApplyWithHttpMessagesAsync(string snapshotId, string objectId = default(string), string mode = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Retrieve the take/apply status of a snapshot operation. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetOperationStatusWithHttpMessagesAsync(string snapshotId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/ApplyScopeAndContextContract.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/ApplyScopeAndContextContract.cs new file mode 100644 index 000000000000..4b2d29a2a511 --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/ApplyScopeAndContextContract.cs @@ -0,0 +1,82 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.CognitiveServices.Vision.Face.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A combination of user defined applyScope and user specified data for + /// snapshot update. + /// + public partial class ApplyScopeAndContextContract + { + /// + /// Initializes a new instance of the ApplyScopeAndContextContract + /// class. + /// + public ApplyScopeAndContextContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApplyScopeAndContextContract + /// class. + /// + /// Array of applyScope + /// User specified context, maximum length is + /// 1024. + public ApplyScopeAndContextContract(IList applyScope = default(IList), string context = default(string)) + { + ApplyScope = applyScope; + Context = context; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets array of applyScope + /// + [JsonProperty(PropertyName = "applyScope")] + public IList ApplyScope { get; set; } + + /// + /// Gets or sets user specified context, maximum length is 1024. + /// + [JsonProperty(PropertyName = "context")] + public string Context { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Context != null) + { + if (Context.Length > 1024) + { + throw new ValidationException(ValidationRules.MaxLength, "Context", 1024); + } + } + } + } +} diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/ApplySnapshotContract.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/ApplySnapshotContract.cs new file mode 100644 index 000000000000..0e4d44225545 --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/ApplySnapshotContract.cs @@ -0,0 +1,85 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.CognitiveServices.Vision.Face.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// A combination of data for apply a snapshot. + /// + public partial class ApplySnapshotContract + { + /// + /// Initializes a new instance of the ApplySnapshotContract class. + /// + public ApplySnapshotContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApplySnapshotContract class. + /// + /// User specified objectId, maximum length is + /// 128. + /// User specified context, maximum length is + /// 128. + public ApplySnapshotContract(string objectId = default(string), string mode = default(string)) + { + ObjectId = objectId; + Mode = mode; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets user specified objectId, maximum length is 128. + /// + [JsonProperty(PropertyName = "objectId")] + public string ObjectId { get; set; } + + /// + /// Gets or sets user specified context, maximum length is 128. + /// + [JsonProperty(PropertyName = "mode")] + public string Mode { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ObjectId != null) + { + if (ObjectId.Length > 128) + { + throw new ValidationException(ValidationRules.MaxLength, "ObjectId", 128); + } + } + if (Mode != null) + { + if (Mode.Length > 128) + { + throw new ValidationException(ValidationRules.MaxLength, "Mode", 128); + } + } + } + } +} diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/OperationStatus.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/OperationStatus.cs new file mode 100644 index 000000000000..b28e1e5e1b25 --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/OperationStatus.cs @@ -0,0 +1,91 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.CognitiveServices.Vision.Face.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Operation status object. + /// + public partial class OperationStatus + { + /// + /// Initializes a new instance of the OperationStatus class. + /// + public OperationStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the OperationStatus class. + /// + /// Training status: notstarted, running, + /// succeeded, failed. Possible values include: 'notstarted', + /// 'running', 'succeeded', 'failed' + /// A combined UTC date and time string that + /// describes the created time. + /// A combined UTC date and time string + /// that describes the last modify time. + /// Show resource location. + /// Show return message. + public OperationStatus(OperationStatusType? status = default(OperationStatusType?), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? lastActionTime = default(System.DateTime?), string resourceLocation = default(string), string message = default(string)) + { + Status = status; + CreatedTime = createdTime; + LastActionTime = lastActionTime; + ResourceLocation = resourceLocation; + Message = message; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets training status: notstarted, running, succeeded, + /// failed. Possible values include: 'notstarted', 'running', + /// 'succeeded', 'failed' + /// + [JsonProperty(PropertyName = "status")] + public OperationStatusType? Status { get; set; } + + /// + /// Gets or sets a combined UTC date and time string that describes the + /// created time. + /// + [JsonProperty(PropertyName = "createdTime")] + public System.DateTime? CreatedTime { get; set; } + + /// + /// Gets or sets a combined UTC date and time string that describes the + /// last modify time. + /// + [JsonProperty(PropertyName = "lastActionTime")] + public System.DateTime? LastActionTime { get; set; } + + /// + /// Gets or sets show resource location. + /// + [JsonProperty(PropertyName = "resourceLocation")] + public string ResourceLocation { get; set; } + + /// + /// Gets or sets show return message. + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; set; } + + } +} diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/OperationStatusType.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/OperationStatusType.cs new file mode 100644 index 000000000000..696d73f63d1b --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/OperationStatusType.cs @@ -0,0 +1,72 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.CognitiveServices.Vision.Face.Models +{ + using Newtonsoft.Json; + using Newtonsoft.Json.Converters; + using System.Runtime; + using System.Runtime.Serialization; + + /// + /// Defines values for OperationStatusType. + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum OperationStatusType + { + [EnumMember(Value = "notstarted")] + Notstarted, + [EnumMember(Value = "running")] + Running, + [EnumMember(Value = "succeeded")] + Succeeded, + [EnumMember(Value = "failed")] + Failed + } + internal static class OperationStatusTypeEnumExtension + { + internal static string ToSerializedValue(this OperationStatusType? value) + { + return value == null ? null : ((OperationStatusType)value).ToSerializedValue(); + } + + internal static string ToSerializedValue(this OperationStatusType value) + { + switch( value ) + { + case OperationStatusType.Notstarted: + return "notstarted"; + case OperationStatusType.Running: + return "running"; + case OperationStatusType.Succeeded: + return "succeeded"; + case OperationStatusType.Failed: + return "failed"; + } + return null; + } + + internal static OperationStatusType? ParseOperationStatusType(this string value) + { + switch( value ) + { + case "notstarted": + return OperationStatusType.Notstarted; + case "running": + return OperationStatusType.Running; + case "succeeded": + return OperationStatusType.Succeeded; + case "failed": + return OperationStatusType.Failed; + } + return null; + } + } +} diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/Snapshot.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/Snapshot.cs new file mode 100644 index 000000000000..dec1592ae131 --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/Snapshot.cs @@ -0,0 +1,131 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.CognitiveServices.Vision.Face.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Snapshot object. + /// + public partial class Snapshot + { + /// + /// Initializes a new instance of the Snapshot class. + /// + public Snapshot() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Snapshot class. + /// + /// snapshot id, maximum length is 128. + /// User account. + /// User specified type, maximum length is + /// 128. + /// Array of applyScope + /// User specified context, maximum length is + /// 1024. + /// A combined UTC date and time string that + /// describes the created time of snapshot. + /// A combined UTC date and time string + /// that describes the last modify time of snapshot. + public Snapshot(System.Guid? id = default(System.Guid?), string account = default(string), string type = default(string), IList applyScope = default(IList), string context = default(string), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? lastUpdateTime = default(System.DateTime?)) + { + Id = id; + Account = account; + Type = type; + ApplyScope = applyScope; + Context = context; + CreatedTime = createdTime; + LastUpdateTime = lastUpdateTime; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets snapshot id, maximum length is 128. + /// + [JsonProperty(PropertyName = "id")] + public System.Guid? Id { get; set; } + + /// + /// Gets or sets user account. + /// + [JsonProperty(PropertyName = "account")] + public string Account { get; set; } + + /// + /// Gets or sets user specified type, maximum length is 128. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Gets or sets array of applyScope + /// + [JsonProperty(PropertyName = "applyScope")] + public IList ApplyScope { get; set; } + + /// + /// Gets or sets user specified context, maximum length is 1024. + /// + [JsonProperty(PropertyName = "context")] + public string Context { get; set; } + + /// + /// Gets or sets a combined UTC date and time string that describes the + /// created time of snapshot. + /// + [JsonProperty(PropertyName = "createdTime")] + public System.DateTime? CreatedTime { get; set; } + + /// + /// Gets or sets a combined UTC date and time string that describes the + /// last modify time of snapshot. + /// + [JsonProperty(PropertyName = "lastUpdateTime")] + public System.DateTime? LastUpdateTime { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type != null) + { + if (Type.Length > 128) + { + throw new ValidationException(ValidationRules.MaxLength, "Type", 128); + } + } + if (Context != null) + { + if (Context.Length > 1024) + { + throw new ValidationException(ValidationRules.MaxLength, "Context", 1024); + } + } + } + } +} diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/SnapshotApplyHeaders.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/SnapshotApplyHeaders.cs new file mode 100644 index 000000000000..1826d910694f --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/SnapshotApplyHeaders.cs @@ -0,0 +1,51 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.CognitiveServices.Vision.Face.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for Apply operation. + /// + public partial class SnapshotApplyHeaders + { + /// + /// Initializes a new instance of the SnapshotApplyHeaders class. + /// + public SnapshotApplyHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SnapshotApplyHeaders class. + /// + /// Operation name with id. + public SnapshotApplyHeaders(string operationLocation = default(string)) + { + OperationLocation = operationLocation; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets operation name with id. + /// + [JsonProperty(PropertyName = "Operation-Location")] + public string OperationLocation { get; set; } + + } +} diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/SnapshotTakeHeaders.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/SnapshotTakeHeaders.cs new file mode 100644 index 000000000000..51b1cc0830f2 --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/SnapshotTakeHeaders.cs @@ -0,0 +1,51 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.CognitiveServices.Vision.Face.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for Take operation. + /// + public partial class SnapshotTakeHeaders + { + /// + /// Initializes a new instance of the SnapshotTakeHeaders class. + /// + public SnapshotTakeHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SnapshotTakeHeaders class. + /// + /// Operation name with id. + public SnapshotTakeHeaders(string operationLocation = default(string)) + { + OperationLocation = operationLocation; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets operation name with id. + /// + [JsonProperty(PropertyName = "Operation-Location")] + public string OperationLocation { get; set; } + + } +} diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/TakeSnapshotContract.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/TakeSnapshotContract.cs new file mode 100644 index 000000000000..a11d419491a0 --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/Models/TakeSnapshotContract.cs @@ -0,0 +1,111 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.CognitiveServices.Vision.Face.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A combination of data for take a snapshot. + /// + public partial class TakeSnapshotContract + { + /// + /// Initializes a new instance of the TakeSnapshotContract class. + /// + public TakeSnapshotContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TakeSnapshotContract class. + /// + /// User specified type, maximum length is + /// 128. + /// User specified objectId, maximum length is + /// 128. + /// Array of applyScope + /// User specified context, maximum length is + /// 128. + public TakeSnapshotContract(string type = default(string), string objectId = default(string), IList applyScope = default(IList), string context = default(string)) + { + Type = type; + ObjectId = objectId; + ApplyScope = applyScope; + Context = context; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets user specified type, maximum length is 128. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Gets or sets user specified objectId, maximum length is 128. + /// + [JsonProperty(PropertyName = "objectId")] + public string ObjectId { get; set; } + + /// + /// Gets or sets array of applyScope + /// + [JsonProperty(PropertyName = "ApplyScope")] + public IList ApplyScope { get; set; } + + /// + /// Gets or sets user specified context, maximum length is 128. + /// + [JsonProperty(PropertyName = "context")] + public string Context { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type != null) + { + if (Type.Length > 128) + { + throw new ValidationException(ValidationRules.MaxLength, "Type", 128); + } + } + if (ObjectId != null) + { + if (ObjectId.Length > 128) + { + throw new ValidationException(ValidationRules.MaxLength, "ObjectId", 128); + } + } + if (Context != null) + { + if (Context.Length > 128) + { + throw new ValidationException(ValidationRules.MaxLength, "Context", 128); + } + } + } + } +} diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/SnapshotOperations.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/SnapshotOperations.cs new file mode 100644 index 000000000000..7d75c2f06972 --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/SnapshotOperations.cs @@ -0,0 +1,1240 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.CognitiveServices.Vision.Face +{ + using Microsoft.Rest; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.IO; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SnapshotOperations operations. + /// + public partial class SnapshotOperations : IServiceOperations, ISnapshotOperations + { + /// + /// Initializes a new instance of the SnapshotOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + public SnapshotOperations(FaceClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the FaceClient + /// + public FaceClient Client { get; private set; } + + /// + /// Take a snapshot. + /// + /// + /// User specified type, maximum length is 128. + /// + /// + /// User specified objectId, maximum length is 128. + /// + /// + /// Array of applyScope + /// + /// + /// User specified context, maximum length is 128. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> TakeWithHttpMessagesAsync(string type = default(string), string objectId = default(string), IList applyScope = default(IList), string context = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.Endpoint"); + } + if (type != null) + { + if (type.Length > 128) + { + throw new ValidationException(ValidationRules.MaxLength, "type", 128); + } + } + if (objectId != null) + { + if (objectId.Length > 128) + { + throw new ValidationException(ValidationRules.MaxLength, "objectId", 128); + } + } + if (context != null) + { + if (context.Length > 128) + { + throw new ValidationException(ValidationRules.MaxLength, "context", 128); + } + } + TakeSnapshotContract body = new TakeSnapshotContract(); + if (type != null || objectId != null || applyScope != null || context != null) + { + body.Type = type; + body.ObjectId = objectId; + body.ApplyScope = applyScope; + body.Context = context; + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Take", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri; + var _url = _baseUrl + (_baseUrl.EndsWith("/") ? "" : "/") + "snapshots"; + _url = _url.Replace("{Endpoint}", Client.Endpoint); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 202) + { + var ex = new APIErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + APIError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get snapshot list. + /// + /// + /// User specified type. + /// + /// + /// User specified apply scope. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(string type, IList applyScope, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.Endpoint"); + } + if (type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "type"); + } + if (applyScope == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "applyScope"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("type", type); + tracingParameters.Add("applyScope", applyScope); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri; + var _url = _baseUrl + (_baseUrl.EndsWith("/") ? "" : "/") + "snapshots"; + _url = _url.Replace("{Endpoint}", Client.Endpoint); + List _queryParameters = new List(); + if (type != null) + { + _queryParameters.Add(string.Format("type={0}", System.Uri.EscapeDataString(type))); + } + if (applyScope != null) + { + _queryParameters.Add(string.Format("applyScope={0}", System.Uri.EscapeDataString(string.Join(",", applyScope)))); + } + if (_queryParameters.Count > 0) + { + _url += "?" + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new APIErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + APIError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get a snapshot. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string snapshotId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.Endpoint"); + } + if (snapshotId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "snapshotId"); + } + if (snapshotId != null) + { + if (snapshotId.Length > 64) + { + throw new ValidationException(ValidationRules.MaxLength, "snapshotId", 64); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(snapshotId, "^[a-z0-9-_]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "snapshotId", "^[a-z0-9-_]+$"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("snapshotId", snapshotId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri; + var _url = _baseUrl + (_baseUrl.EndsWith("/") ? "" : "/") + "snapshots/{snapshotId}"; + _url = _url.Replace("{Endpoint}", Client.Endpoint); + _url = _url.Replace("{snapshotId}", System.Uri.EscapeDataString(snapshotId)); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new APIErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + APIError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Update a snapshot. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// Array of applyScope + /// + /// + /// User specified context, maximum length is 1024. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task UpdateWithHttpMessagesAsync(string snapshotId, IList applyScope = default(IList), string context = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.Endpoint"); + } + if (snapshotId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "snapshotId"); + } + if (snapshotId != null) + { + if (snapshotId.Length > 64) + { + throw new ValidationException(ValidationRules.MaxLength, "snapshotId", 64); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(snapshotId, "^[a-z0-9-_]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "snapshotId", "^[a-z0-9-_]+$"); + } + } + if (context != null) + { + if (context.Length > 1024) + { + throw new ValidationException(ValidationRules.MaxLength, "context", 1024); + } + } + ApplyScopeAndContextContract body = new ApplyScopeAndContextContract(); + if (applyScope != null || context != null) + { + body.ApplyScope = applyScope; + body.Context = context; + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("snapshotId", snapshotId); + tracingParameters.Add("body", body); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri; + var _url = _baseUrl + (_baseUrl.EndsWith("/") ? "" : "/") + "snapshots/{snapshotId}"; + _url = _url.Replace("{Endpoint}", Client.Endpoint); + _url = _url.Replace("{snapshotId}", System.Uri.EscapeDataString(snapshotId)); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new APIErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + APIError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Delete an existing snapshot. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string snapshotId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.Endpoint"); + } + if (snapshotId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "snapshotId"); + } + if (snapshotId != null) + { + if (snapshotId.Length > 64) + { + throw new ValidationException(ValidationRules.MaxLength, "snapshotId", 64); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(snapshotId, "^[a-z0-9-_]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "snapshotId", "^[a-z0-9-_]+$"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("snapshotId", snapshotId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri; + var _url = _baseUrl + (_baseUrl.EndsWith("/") ? "" : "/") + "snapshots/{snapshotId}"; + _url = _url.Replace("{Endpoint}", Client.Endpoint); + _url = _url.Replace("{snapshotId}", System.Uri.EscapeDataString(snapshotId)); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new APIErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + APIError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Apply a snapshot. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// User specified objectId, maximum length is 128. + /// + /// + /// User specified context, maximum length is 128. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ApplyWithHttpMessagesAsync(string snapshotId, string objectId = default(string), string mode = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.Endpoint"); + } + if (snapshotId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "snapshotId"); + } + if (snapshotId != null) + { + if (snapshotId.Length > 64) + { + throw new ValidationException(ValidationRules.MaxLength, "snapshotId", 64); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(snapshotId, "^[a-z0-9-_]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "snapshotId", "^[a-z0-9-_]+$"); + } + } + if (objectId != null) + { + if (objectId.Length > 128) + { + throw new ValidationException(ValidationRules.MaxLength, "objectId", 128); + } + } + if (mode != null) + { + if (mode.Length > 128) + { + throw new ValidationException(ValidationRules.MaxLength, "mode", 128); + } + } + ApplySnapshotContract body = new ApplySnapshotContract(); + if (objectId != null || mode != null) + { + body.ObjectId = objectId; + body.Mode = mode; + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("snapshotId", snapshotId); + tracingParameters.Add("body", body); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Apply", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri; + var _url = _baseUrl + (_baseUrl.EndsWith("/") ? "" : "/") + "snapshots/{snapshotId}/apply"; + _url = _url.Replace("{Endpoint}", Client.Endpoint); + _url = _url.Replace("{snapshotId}", System.Uri.EscapeDataString(snapshotId)); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(body != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 202) + { + var ex = new APIErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + APIError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Retrieve the take/apply status of a snapshot operation. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetOperationStatusWithHttpMessagesAsync(string snapshotId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.Endpoint"); + } + if (snapshotId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "snapshotId"); + } + if (snapshotId != null) + { + if (snapshotId.Length > 64) + { + throw new ValidationException(ValidationRules.MaxLength, "snapshotId", 64); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(snapshotId, "^[a-z0-9-_]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "snapshotId", "^[a-z0-9-_]+$"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("snapshotId", snapshotId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetOperationStatus", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri; + var _url = _baseUrl + (_baseUrl.EndsWith("/") ? "" : "/") + "operations/{snapshotId}"; + _url = _url.Replace("{Endpoint}", Client.Endpoint); + _url = _url.Replace("{snapshotId}", System.Uri.EscapeDataString(snapshotId)); + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new APIErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + APIError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new HttpOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/SnapshotOperationsExtensions.cs b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/SnapshotOperationsExtensions.cs new file mode 100644 index 000000000000..53d826b9ca8c --- /dev/null +++ b/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/SnapshotOperationsExtensions.cs @@ -0,0 +1,183 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.CognitiveServices.Vision.Face +{ + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for SnapshotOperations. + /// + public static partial class SnapshotOperationsExtensions + { + /// + /// Take a snapshot. + /// + /// + /// The operations group for this extension method. + /// + /// + /// User specified type, maximum length is 128. + /// + /// + /// User specified objectId, maximum length is 128. + /// + /// + /// Array of applyScope + /// + /// + /// User specified context, maximum length is 128. + /// + /// + /// The cancellation token. + /// + public static async Task TakeAsync(this ISnapshotOperations operations, string type = default(string), string objectId = default(string), IList applyScope = default(IList), string context = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.TakeWithHttpMessagesAsync(type, objectId, applyScope, context, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Get snapshot list. + /// + /// + /// The operations group for this extension method. + /// + /// + /// User specified type. + /// + /// + /// User specified apply scope. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this ISnapshotOperations operations, string type, IList applyScope, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(type, applyScope, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Get a snapshot. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this ISnapshotOperations operations, string snapshotId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(snapshotId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Update a snapshot. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// Array of applyScope + /// + /// + /// User specified context, maximum length is 1024. + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this ISnapshotOperations operations, string snapshotId, IList applyScope = default(IList), string context = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateWithHttpMessagesAsync(snapshotId, applyScope, context, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Delete an existing snapshot. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this ISnapshotOperations operations, string snapshotId, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(snapshotId, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Apply a snapshot. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// User specified objectId, maximum length is 128. + /// + /// + /// User specified context, maximum length is 128. + /// + /// + /// The cancellation token. + /// + public static async Task ApplyAsync(this ISnapshotOperations operations, string snapshotId, string objectId = default(string), string mode = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ApplyWithHttpMessagesAsync(snapshotId, objectId, mode, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Retrieve the take/apply status of a snapshot operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Id referencing a particular snapshot. + /// + /// + /// The cancellation token. + /// + public static async Task GetOperationStatusAsync(this ISnapshotOperations operations, string snapshotId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetOperationStatusWithHttpMessagesAsync(snapshotId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +}