{"action":"created","comment":{"url":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/comments/66003900","id":66003900,"diff_hunk":"@@ -0,0 +1,108 @@\n+/*\n+ * Licensed to the Apache Software Foundation (ASF) under one or more\n+ * contributor license agreements.  See the NOTICE file distributed with\n+ * this work for additional information regarding copyright ownership.\n+ * The ASF licenses this file to You under the Apache License, Version 2.0\n+ * (the \"License\"); you may not use this file except in compliance with\n+ * the License.  You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.jclouds.azurecompute.arm.domain;\n+\n+import com.google.auto.value.AutoValue;\n+import org.jclouds.azurecompute.arm.util.GetEnumValue;\n+import org.jclouds.javax.annotation.Nullable;\n+import org.jclouds.json.SerializedNames;\n+\n+@AutoValue\n+public abstract class NetworkSecurityRuleProperties {\n+   public enum Protocol {\n+      // * is an allowed value, will handle in\n+      Tcp(\"Tcp\"),\n+      Udp(\"Udp\"),\n+      All(\"*\"),\n+      UNRECOGNIZED(\"Unrecognized\");\n+\n+      private final String label;\n+\n+      private Protocol(String label) { this.label = label; }\n+\n+      public static Protocol fromValue(final String text) {\n+         if (\"*\".equals(text)) {\n+            return All;\n+         } else {\n+            return (Protocol) GetEnumValue.fromValueOrDefault(text, Protocol.UNRECOGNIZED);\n+         }\n+      }\n+\n+      @Override\n+      public String toString() {\n+         return label;\n+      }\n+   }\n+\n+   public enum Access {\n+      Allow,\n+      Deny,\n+      UNRECOGNIZED;\n+\n+      public static Access fromValue(final String text) {\n+         return (Access) GetEnumValue.fromValueOrDefault(text, Access.UNRECOGNIZED);\n+      }\n+   }\n+\n+   public enum Direction {\n+      Inbound,\n+      Outbound,\n+      UNRECOGNIZED;\n+\n+      public static Direction fromValue(final String text) {\n+         return (Direction) GetEnumValue.fromValueOrDefault(text, Direction.UNRECOGNIZED);\n+      }\n+   }\n+\n+   @Nullable\n+   public abstract String description();\n+\n+   public abstract Protocol protocol();\n+\n+   @Nullable\n+   public abstract String sourcePortRange();\n+\n+   @Nullable\n+   public abstract String destinationPortRange();\n+\n+   public abstract String sourceAddressPrefix();\n+\n+   public abstract String destinactionAddressPrefix();","path":"azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/domain/NetworkSecurityRuleProperties.java","position":84,"original_position":84,"commit_id":"7ae85f1027f814b7d751eae6d421a1bad4693417","original_commit_id":"7ae85f1027f814b7d751eae6d421a1bad4693417","user":{"login":"jmspring","id":124302,"avatar_url":"https://avatars.githubusercontent.com/u/124302?v=3","gravatar_id":"","url":"https://api.github.com/users/jmspring","html_url":"https://github.com/jmspring","followers_url":"https://api.github.com/users/jmspring/followers","following_url":"https://api.github.com/users/jmspring/following{/other_user}","gists_url":"https://api.github.com/users/jmspring/gists{/gist_id}","starred_url":"https://api.github.com/users/jmspring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmspring/subscriptions","organizations_url":"https://api.github.com/users/jmspring/orgs","repos_url":"https://api.github.com/users/jmspring/repos","events_url":"https://api.github.com/users/jmspring/events{/privacy}","received_events_url":"https://api.github.com/users/jmspring/received_events","type":"User","site_admin":false},"body":"done","created_at":"2016-06-07T03:06:27Z","updated_at":"2016-06-07T03:06:27Z","html_url":"https://github.com/jclouds/jclouds-labs/pull/280#discussion_r66003900","pull_request_url":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/280","_links":{"self":{"href":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/comments/66003900"},"html":{"href":"https://github.com/jclouds/jclouds-labs/pull/280#discussion_r66003900"},"pull_request":{"href":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/280"}}},"pull_request":{"url":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/280","id":72726623,"html_url":"https://github.com/jclouds/jclouds-labs/pull/280","diff_url":"https://github.com/jclouds/jclouds-labs/pull/280.diff","patch_url":"https://github.com/jclouds/jclouds-labs/pull/280.patch","issue_url":"https://api.github.com/repos/jclouds/jclouds-labs/issues/280","number":280,"state":"open","locked":false,"title":"Network Security Group API","user":{"login":"jmspring","id":124302,"avatar_url":"https://avatars.githubusercontent.com/u/124302?v=3","gravatar_id":"","url":"https://api.github.com/users/jmspring","html_url":"https://github.com/jmspring","followers_url":"https://api.github.com/users/jmspring/followers","following_url":"https://api.github.com/users/jmspring/following{/other_user}","gists_url":"https://api.github.com/users/jmspring/gists{/gist_id}","starred_url":"https://api.github.com/users/jmspring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmspring/subscriptions","organizations_url":"https://api.github.com/users/jmspring/orgs","repos_url":"https://api.github.com/users/jmspring/repos","events_url":"https://api.github.com/users/jmspring/events{/privacy}","received_events_url":"https://api.github.com/users/jmspring/received_events","type":"User","site_admin":false},"body":"@nacx This is the Azure Resource Manager Network Security Group/Network Security Rule API.  A new PR was issued due to some merge issues putting original PR into a bad state.\r\n\r\n@ritazh has done a pass through this already on the old PR.","created_at":"2016-06-06T15:15:33Z","updated_at":"2016-06-07T03:06:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4fbf3f0b47847cc1180241c342478765a4dcc76d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/280/commits","review_comments_url":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/280/comments","review_comment_url":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jclouds/jclouds-labs/issues/280/comments","statuses_url":"https://api.github.com/repos/jclouds/jclouds-labs/statuses/7ae85f1027f814b7d751eae6d421a1bad4693417","head":{"label":"jmspring:securitygroup-api","ref":"securitygroup-api","sha":"7ae85f1027f814b7d751eae6d421a1bad4693417","user":{"login":"jmspring","id":124302,"avatar_url":"https://avatars.githubusercontent.com/u/124302?v=3","gravatar_id":"","url":"https://api.github.com/users/jmspring","html_url":"https://github.com/jmspring","followers_url":"https://api.github.com/users/jmspring/followers","following_url":"https://api.github.com/users/jmspring/following{/other_user}","gists_url":"https://api.github.com/users/jmspring/gists{/gist_id}","starred_url":"https://api.github.com/users/jmspring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmspring/subscriptions","organizations_url":"https://api.github.com/users/jmspring/orgs","repos_url":"https://api.github.com/users/jmspring/repos","events_url":"https://api.github.com/users/jmspring/events{/privacy}","received_events_url":"https://api.github.com/users/jmspring/received_events","type":"User","site_admin":false},"repo":{"id":60104333,"name":"jclouds-labs","full_name":"jmspring/jclouds-labs","owner":{"login":"jmspring","id":124302,"avatar_url":"https://avatars.githubusercontent.com/u/124302?v=3","gravatar_id":"","url":"https://api.github.com/users/jmspring","html_url":"https://github.com/jmspring","followers_url":"https://api.github.com/users/jmspring/followers","following_url":"https://api.github.com/users/jmspring/following{/other_user}","gists_url":"https://api.github.com/users/jmspring/gists{/gist_id}","starred_url":"https://api.github.com/users/jmspring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmspring/subscriptions","organizations_url":"https://api.github.com/users/jmspring/orgs","repos_url":"https://api.github.com/users/jmspring/repos","events_url":"https://api.github.com/users/jmspring/events{/privacy}","received_events_url":"https://api.github.com/users/jmspring/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmspring/jclouds-labs","description":"Read-only mirror of ASF Git Repo for jclouds labs","fork":true,"url":"https://api.github.com/repos/jmspring/jclouds-labs","forks_url":"https://api.github.com/repos/jmspring/jclouds-labs/forks","keys_url":"https://api.github.com/repos/jmspring/jclouds-labs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmspring/jclouds-labs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmspring/jclouds-labs/teams","hooks_url":"https://api.github.com/repos/jmspring/jclouds-labs/hooks","issue_events_url":"https://api.github.com/repos/jmspring/jclouds-labs/issues/events{/number}","events_url":"https://api.github.com/repos/jmspring/jclouds-labs/events","assignees_url":"https://api.github.com/repos/jmspring/jclouds-labs/assignees{/user}","branches_url":"https://api.github.com/repos/jmspring/jclouds-labs/branches{/branch}","tags_url":"https://api.github.com/repos/jmspring/jclouds-labs/tags","blobs_url":"https://api.github.com/repos/jmspring/jclouds-labs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmspring/jclouds-labs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmspring/jclouds-labs/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmspring/jclouds-labs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmspring/jclouds-labs/statuses/{sha}","languages_url":"https://api.github.com/repos/jmspring/jclouds-labs/languages","stargazers_url":"https://api.github.com/repos/jmspring/jclouds-labs/stargazers","contributors_url":"https://api.github.com/repos/jmspring/jclouds-labs/contributors","subscribers_url":"https://api.github.com/repos/jmspring/jclouds-labs/subscribers","subscription_url":"https://api.github.com/repos/jmspring/jclouds-labs/subscription","commits_url":"https://api.github.com/repos/jmspring/jclouds-labs/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmspring/jclouds-labs/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmspring/jclouds-labs/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmspring/jclouds-labs/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmspring/jclouds-labs/contents/{+path}","compare_url":"https://api.github.com/repos/jmspring/jclouds-labs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmspring/jclouds-labs/merges","archive_url":"https://api.github.com/repos/jmspring/jclouds-labs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmspring/jclouds-labs/downloads","issues_url":"https://api.github.com/repos/jmspring/jclouds-labs/issues{/number}","pulls_url":"https://api.github.com/repos/jmspring/jclouds-labs/pulls{/number}","milestones_url":"https://api.github.com/repos/jmspring/jclouds-labs/milestones{/number}","notifications_url":"https://api.github.com/repos/jmspring/jclouds-labs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmspring/jclouds-labs/labels{/name}","releases_url":"https://api.github.com/repos/jmspring/jclouds-labs/releases{/id}","deployments_url":"https://api.github.com/repos/jmspring/jclouds-labs/deployments","created_at":"2016-05-31T16:06:57Z","updated_at":"2016-05-31T16:07:00Z","pushed_at":"2016-06-06T15:20:26Z","git_url":"git://github.com/jmspring/jclouds-labs.git","ssh_url":"git@github.com:jmspring/jclouds-labs.git","clone_url":"https://github.com/jmspring/jclouds-labs.git","svn_url":"https://github.com/jmspring/jclouds-labs","homepage":null,"size":20948,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"jclouds:master","ref":"master","sha":"7e55ad7971f94b19068cd8da32295d2ab5b9c18c","user":{"login":"jclouds","id":108982,"avatar_url":"https://avatars.githubusercontent.com/u/108982?v=3","gravatar_id":"","url":"https://api.github.com/users/jclouds","html_url":"https://github.com/jclouds","followers_url":"https://api.github.com/users/jclouds/followers","following_url":"https://api.github.com/users/jclouds/following{/other_user}","gists_url":"https://api.github.com/users/jclouds/gists{/gist_id}","starred_url":"https://api.github.com/users/jclouds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jclouds/subscriptions","organizations_url":"https://api.github.com/users/jclouds/orgs","repos_url":"https://api.github.com/users/jclouds/repos","events_url":"https://api.github.com/users/jclouds/events{/privacy}","received_events_url":"https://api.github.com/users/jclouds/received_events","type":"Organization","site_admin":false},"repo":{"id":10040970,"name":"jclouds-labs","full_name":"jclouds/jclouds-labs","owner":{"login":"jclouds","id":108982,"avatar_url":"https://avatars.githubusercontent.com/u/108982?v=3","gravatar_id":"","url":"https://api.github.com/users/jclouds","html_url":"https://github.com/jclouds","followers_url":"https://api.github.com/users/jclouds/followers","following_url":"https://api.github.com/users/jclouds/following{/other_user}","gists_url":"https://api.github.com/users/jclouds/gists{/gist_id}","starred_url":"https://api.github.com/users/jclouds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jclouds/subscriptions","organizations_url":"https://api.github.com/users/jclouds/orgs","repos_url":"https://api.github.com/users/jclouds/repos","events_url":"https://api.github.com/users/jclouds/events{/privacy}","received_events_url":"https://api.github.com/users/jclouds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jclouds/jclouds-labs","description":"Read-only mirror of ASF Git Repo for jclouds labs","fork":false,"url":"https://api.github.com/repos/jclouds/jclouds-labs","forks_url":"https://api.github.com/repos/jclouds/jclouds-labs/forks","keys_url":"https://api.github.com/repos/jclouds/jclouds-labs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jclouds/jclouds-labs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jclouds/jclouds-labs/teams","hooks_url":"https://api.github.com/repos/jclouds/jclouds-labs/hooks","issue_events_url":"https://api.github.com/repos/jclouds/jclouds-labs/issues/events{/number}","events_url":"https://api.github.com/repos/jclouds/jclouds-labs/events","assignees_url":"https://api.github.com/repos/jclouds/jclouds-labs/assignees{/user}","branches_url":"https://api.github.com/repos/jclouds/jclouds-labs/branches{/branch}","tags_url":"https://api.github.com/repos/jclouds/jclouds-labs/tags","blobs_url":"https://api.github.com/repos/jclouds/jclouds-labs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jclouds/jclouds-labs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jclouds/jclouds-labs/git/refs{/sha}","trees_url":"https://api.github.com/repos/jclouds/jclouds-labs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jclouds/jclouds-labs/statuses/{sha}","languages_url":"https://api.github.com/repos/jclouds/jclouds-labs/languages","stargazers_url":"https://api.github.com/repos/jclouds/jclouds-labs/stargazers","contributors_url":"https://api.github.com/repos/jclouds/jclouds-labs/contributors","subscribers_url":"https://api.github.com/repos/jclouds/jclouds-labs/subscribers","subscription_url":"https://api.github.com/repos/jclouds/jclouds-labs/subscription","commits_url":"https://api.github.com/repos/jclouds/jclouds-labs/commits{/sha}","git_commits_url":"https://api.github.com/repos/jclouds/jclouds-labs/git/commits{/sha}","comments_url":"https://api.github.com/repos/jclouds/jclouds-labs/comments{/number}","issue_comment_url":"https://api.github.com/repos/jclouds/jclouds-labs/issues/comments{/number}","contents_url":"https://api.github.com/repos/jclouds/jclouds-labs/contents/{+path}","compare_url":"https://api.github.com/repos/jclouds/jclouds-labs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jclouds/jclouds-labs/merges","archive_url":"https://api.github.com/repos/jclouds/jclouds-labs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jclouds/jclouds-labs/downloads","issues_url":"https://api.github.com/repos/jclouds/jclouds-labs/issues{/number}","pulls_url":"https://api.github.com/repos/jclouds/jclouds-labs/pulls{/number}","milestones_url":"https://api.github.com/repos/jclouds/jclouds-labs/milestones{/number}","notifications_url":"https://api.github.com/repos/jclouds/jclouds-labs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jclouds/jclouds-labs/labels{/name}","releases_url":"https://api.github.com/repos/jclouds/jclouds-labs/releases{/id}","deployments_url":"https://api.github.com/repos/jclouds/jclouds-labs/deployments","created_at":"2013-05-13T20:47:47Z","updated_at":"2016-05-27T18:45:38Z","pushed_at":"2016-06-06T23:32:24Z","git_url":"git://github.com/jclouds/jclouds-labs.git","ssh_url":"git@github.com:jclouds/jclouds-labs.git","clone_url":"https://github.com/jclouds/jclouds-labs.git","svn_url":"https://github.com/jclouds/jclouds-labs","homepage":null,"size":25055,"stargazers_count":29,"watchers_count":29,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":9,"forks":83,"open_issues":9,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/280"},"html":{"href":"https://github.com/jclouds/jclouds-labs/pull/280"},"issue":{"href":"https://api.github.com/repos/jclouds/jclouds-labs/issues/280"},"comments":{"href":"https://api.github.com/repos/jclouds/jclouds-labs/issues/280/comments"},"review_comments":{"href":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/280/comments"},"review_comment":{"href":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jclouds/jclouds-labs/pulls/280/commits"},"statuses":{"href":"https://api.github.com/repos/jclouds/jclouds-labs/statuses/7ae85f1027f814b7d751eae6d421a1bad4693417"}}}}
{"actor":{"display_login":"jmspring"}}