{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/comments/124145698","pull_request_review_id":46400789,"id":124145698,"diff_hunk":"@@ -0,0 +1,190 @@\n+/**\n+ * Copyright (c) Microsoft Corporation. All rights reserved.\n+ * Licensed under the MIT License. See License.txt in the project root for\n+ * license information.\n+ */\n+package com.microsoft.azure.management.network;\n+\n+import com.microsoft.azure.management.apigeneration.Beta;\n+import com.microsoft.azure.management.apigeneration.Fluent;\n+import com.microsoft.azure.management.network.implementation.PacketCaptureResultInner;\n+import com.microsoft.azure.management.resources.fluentcore.arm.models.HasId;\n+import com.microsoft.azure.management.resources.fluentcore.arm.models.HasName;\n+import com.microsoft.azure.management.resources.fluentcore.model.Creatable;\n+import com.microsoft.azure.management.resources.fluentcore.model.HasInner;\n+import com.microsoft.azure.management.resources.fluentcore.model.Indexable;\n+import com.microsoft.azure.management.storage.StorageAccount;\n+\n+import java.util.List;\n+\n+/**\n+ * Client-side representation of Packet capture object, associated with Network Watcher.\n+ */\n+@Fluent\n+@Beta\n+public interface PacketCapture extends\n+        HasInner<PacketCaptureResultInner>,\n+        HasName,\n+        HasId,\n+        Indexable {\n+    /**\n+     * Get the target value.\n+     *\n+     * @return the target value\n+     */\n+    String targetId();\n+\n+    /**\n+     * Get the number of bytes captured per packet, the remaining bytes are truncated.\n+     *\n+     * @return the bytesToCapturePerPacket value\n+     */\n+    Integer bytesToCapturePerPacket();\n+\n+    /**\n+     * Get the maximum size of the capture output.\n+     *\n+     * @return the totalBytesPerSession value\n+     */\n+    Integer totalBytesPerSession();\n+\n+    /**\n+     * Get the maximum duration of the capture session in seconds.\n+     *\n+     * @return the timeLimitInSeconds value\n+     */\n+    Integer timeLimitInSeconds();\n+\n+    /**\n+     * Get the storageLocation value.\n+     *\n+     * @return the storageLocation value\n+     */\n+    PacketCaptureStorageLocation storageLocation();\n+\n+    /**\n+     * Get the filters value.\n+     *\n+     * @return the filters value\n+     */\n+    List<PacketCaptureFilter> filters();\n+\n+    /**\n+     * Get the provisioning state of the packet capture session. Possible values\n+     * include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.\n+     *\n+     * @return the provisioningState value\n+     */\n+    ProvisioningState provisioningState();\n+\n+    /**\n+     * Stops a specified packet capture session.\n+     */\n+    void stop();","path":"azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PacketCapture.java","position":83,"original_position":83,"commit_id":"5882f58280a901226a9d8735b4947497bb55594f","original_commit_id":"5882f58280a901226a9d8735b4947497bb55594f","user":{"login":"anuchandy","id":1471612,"avatar_url":"https://avatars2.githubusercontent.com/u/1471612?v=3","gravatar_id":"","url":"https://api.github.com/users/anuchandy","html_url":"https://github.com/anuchandy","followers_url":"https://api.github.com/users/anuchandy/followers","following_url":"https://api.github.com/users/anuchandy/following{/other_user}","gists_url":"https://api.github.com/users/anuchandy/gists{/gist_id}","starred_url":"https://api.github.com/users/anuchandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuchandy/subscriptions","organizations_url":"https://api.github.com/users/anuchandy/orgs","repos_url":"https://api.github.com/users/anuchandy/repos","events_url":"https://api.github.com/users/anuchandy/events{/privacy}","received_events_url":"https://api.github.com/users/anuchandy/received_events","type":"User","site_admin":false},"body":"also expose `Completable stopAsync()`. For all actions both async and sync should be exposed","created_at":"2017-06-26T23:20:20Z","updated_at":"2017-06-26T23:23:21Z","html_url":"https://github.com/Azure/azure-sdk-for-java/pull/1647#discussion_r124145698","pull_request_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/1647","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/comments/124145698"},"html":{"href":"https://github.com/Azure/azure-sdk-for-java/pull/1647#discussion_r124145698"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/1647"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/1647","id":119738864,"html_url":"https://github.com/Azure/azure-sdk-for-java/pull/1647","diff_url":"https://github.com/Azure/azure-sdk-for-java/pull/1647.diff","patch_url":"https://github.com/Azure/azure-sdk-for-java/pull/1647.patch","issue_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/1647","number":1647,"state":"open","locked":false,"title":"Adding Network Watchers api","user":{"login":"lenala","id":6208231,"avatar_url":"https://avatars0.githubusercontent.com/u/6208231?v=3","gravatar_id":"","url":"https://api.github.com/users/lenala","html_url":"https://github.com/lenala","followers_url":"https://api.github.com/users/lenala/followers","following_url":"https://api.github.com/users/lenala/following{/other_user}","gists_url":"https://api.github.com/users/lenala/gists{/gist_id}","starred_url":"https://api.github.com/users/lenala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenala/subscriptions","organizations_url":"https://api.github.com/users/lenala/orgs","repos_url":"https://api.github.com/users/lenala/repos","events_url":"https://api.github.com/users/lenala/events{/privacy}","received_events_url":"https://api.github.com/users/lenala/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-09T19:50:47Z","updated_at":"2017-06-26T23:23:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d05de6c41cca89644e488fb5096af1ee170494e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/1647/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/1647/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/1647/comments","statuses_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/statuses/5882f58280a901226a9d8735b4947497bb55594f","head":{"label":"lenala:master","ref":"master","sha":"5882f58280a901226a9d8735b4947497bb55594f","user":{"login":"lenala","id":6208231,"avatar_url":"https://avatars0.githubusercontent.com/u/6208231?v=3","gravatar_id":"","url":"https://api.github.com/users/lenala","html_url":"https://github.com/lenala","followers_url":"https://api.github.com/users/lenala/followers","following_url":"https://api.github.com/users/lenala/following{/other_user}","gists_url":"https://api.github.com/users/lenala/gists{/gist_id}","starred_url":"https://api.github.com/users/lenala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenala/subscriptions","organizations_url":"https://api.github.com/users/lenala/orgs","repos_url":"https://api.github.com/users/lenala/repos","events_url":"https://api.github.com/users/lenala/events{/privacy}","received_events_url":"https://api.github.com/users/lenala/received_events","type":"User","site_admin":false},"repo":{"id":90661382,"name":"azure-sdk-for-java","full_name":"lenala/azure-sdk-for-java","owner":{"login":"lenala","id":6208231,"avatar_url":"https://avatars0.githubusercontent.com/u/6208231?v=3","gravatar_id":"","url":"https://api.github.com/users/lenala","html_url":"https://github.com/lenala","followers_url":"https://api.github.com/users/lenala/followers","following_url":"https://api.github.com/users/lenala/following{/other_user}","gists_url":"https://api.github.com/users/lenala/gists{/gist_id}","starred_url":"https://api.github.com/users/lenala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenala/subscriptions","organizations_url":"https://api.github.com/users/lenala/orgs","repos_url":"https://api.github.com/users/lenala/repos","events_url":"https://api.github.com/users/lenala/events{/privacy}","received_events_url":"https://api.github.com/users/lenala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lenala/azure-sdk-for-java","description":"Azure Management Libraries for Java","fork":true,"url":"https://api.github.com/repos/lenala/azure-sdk-for-java","forks_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/forks","keys_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/teams","hooks_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/hooks","issue_events_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/issues/events{/number}","events_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/events","assignees_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/assignees{/user}","branches_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/branches{/branch}","tags_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/tags","blobs_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/statuses/{sha}","languages_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/languages","stargazers_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/stargazers","contributors_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/contributors","subscribers_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/subscribers","subscription_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/subscription","commits_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/contents/{+path}","compare_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/merges","archive_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/downloads","issues_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/issues{/number}","pulls_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/pulls{/number}","milestones_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/milestones{/number}","notifications_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/labels{/name}","releases_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/releases{/id}","deployments_url":"https://api.github.com/repos/lenala/azure-sdk-for-java/deployments","created_at":"2017-05-08T18:46:48Z","updated_at":"2017-05-08T18:46:58Z","pushed_at":"2017-06-22T20:58:18Z","git_url":"git://github.com/lenala/azure-sdk-for-java.git","ssh_url":"git@github.com:lenala/azure-sdk-for-java.git","clone_url":"https://github.com/lenala/azure-sdk-for-java.git","svn_url":"https://github.com/lenala/azure-sdk-for-java","homepage":"http://azure.com/java","size":86579,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"f071c3efca3ec87698abc8f7152d7d66b620fbc5","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars3.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":2928948,"name":"azure-sdk-for-java","full_name":"Azure/azure-sdk-for-java","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars3.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-sdk-for-java","description":"Azure Management Libraries for Java","fork":false,"url":"https://api.github.com/repos/Azure/azure-sdk-for-java","forks_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/forks","keys_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/teams","hooks_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/events","assignees_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/tags","blobs_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/subscription","commits_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/merges","archive_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/downloads","issues_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/deployments","created_at":"2011-12-06T23:33:56Z","updated_at":"2017-06-21T02:57:59Z","pushed_at":"2017-06-26T22:23:18Z","git_url":"git://github.com/Azure/azure-sdk-for-java.git","ssh_url":"git@github.com:Azure/azure-sdk-for-java.git","clone_url":"https://github.com/Azure/azure-sdk-for-java.git","svn_url":"https://github.com/Azure/azure-sdk-for-java","homepage":"http://azure.com/java","size":86365,"stargazers_count":295,"watchers_count":295,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":277,"mirror_url":null,"open_issues_count":203,"forks":277,"open_issues":203,"watchers":295,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/1647"},"html":{"href":"https://github.com/Azure/azure-sdk-for-java/pull/1647"},"issue":{"href":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/1647"},"comments":{"href":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/1647/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/1647/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-sdk-for-java/pulls/1647/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-sdk-for-java/statuses/5882f58280a901226a9d8735b4947497bb55594f"}}}}
{"actor":{"display_login":"anuchandy"}}