{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/comments/210221640","pull_request_review_id":146389231,"id":210221640,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDIyMTY0MA==","diff_hunk":"@@ -0,0 +1,292 @@\n+#!/usr/bin/python\n+#\n+# Copyright (c) 2018 Hai Cao, <t-haicao@microsoft.com>\n+#\n+# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)\n+\n+from __future__ import absolute_import, division, print_function\n+__metaclass__ = type\n+\n+ANSIBLE_METADATA = {'metadata_version': '1.1',\n+                    'status': ['preview'],\n+                    'supported_by': 'community'}\n+\n+DOCUMENTATION = '''\n+---\n+module: azure_rm_cdnprofile\n+version_added: \"2.7\"\n+short_description: Manage a CDN profile.\n+description:\n+    - Create, update and delete a CDN profile.\n+\n+options:\n+    resource_group:\n+        description:\n+            - Name of a resource group where the CDN profile exists or will be created.\n+        required: true\n+    name:\n+        description:\n+            - Name of the CDN profile.\n+        required: true\n+    state:\n+        description:\n+            - Assert the state of the CDN profile. Use C(present) to create or update a CDN profile and C(absent) to delete it.\n+        default: present\n+        choices:\n+            - absent\n+            - present\n+    location:\n+        description:\n+            - Valid azure location. Defaults to location of the resource group.\n+    sku:\n+        description:\n+            - The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.\n+        choices:\n+            - Standard_Verizon\n+            - Premium_Verizon\n+            - Custom_Verizon\n+            - Standard_Akamai\n+            - Standard_ChinaCdn\n+\n+extends_documentation_fragment:\n+    - azure\n+    - azure_tags\n+\n+author:\n+    - \"Hai Cao <t-haicao@microsoft.com>\"\n+'''\n+\n+EXAMPLES = '''\n+    - name: Create a CDN profile\n+      azure_rm_cdnprofile:\n+          resource_group: Testing\n+          name: cdntest\n+          sku: Standard_Akamai\n+          tags:\n+              testing: testing\n+\n+    - name: Delete the CDN profile\n+      azure_rm_cdnprofile:\n+        resource_group: Testing\n+        name: cdntest\n+        state: absent\n+'''\n+RETURN = '''\n+state:\n+    description: Current state of the CDN profile\n+    returned: always\n+    type: dict\n+    example:\n+            id: /subscriptions/685ba005-af8d-4b04-8f16-a7bf38b2eb5a/resourcegroups/cdntest/providers/Microsoft.Cdn/profiles/cdntest","path":"library/azure_rm_cdnprofile.py","position":80,"original_position":80,"commit_id":"b4f9ffac374012b94cc7695398c72252cb512a1a","original_commit_id":"b4f9ffac374012b94cc7695398c72252cb512a1a","user":{"login":"yungezz","id":37337818,"node_id":"MDQ6VXNlcjM3MzM3ODE4","avatar_url":"https://avatars3.githubusercontent.com/u/37337818?v=4","gravatar_id":"","url":"https://api.github.com/users/yungezz","html_url":"https://github.com/yungezz","followers_url":"https://api.github.com/users/yungezz/followers","following_url":"https://api.github.com/users/yungezz/following{/other_user}","gists_url":"https://api.github.com/users/yungezz/gists{/gist_id}","starred_url":"https://api.github.com/users/yungezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yungezz/subscriptions","organizations_url":"https://api.github.com/users/yungezz/orgs","repos_url":"https://api.github.com/users/yungezz/repos","events_url":"https://api.github.com/users/yungezz/events{/privacy}","received_events_url":"https://api.github.com/users/yungezz/received_events","type":"User","site_admin":false},"body":"remove your subs id","created_at":"2018-08-15T09:53:12Z","updated_at":"2018-08-15T09:53:12Z","html_url":"https://github.com/Azure/azure_preview_modules/pull/115#discussion_r210221640","pull_request_url":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/115","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/comments/210221640"},"html":{"href":"https://github.com/Azure/azure_preview_modules/pull/115#discussion_r210221640"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/115"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/115","id":208506366,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NTA2MzY2","html_url":"https://github.com/Azure/azure_preview_modules/pull/115","diff_url":"https://github.com/Azure/azure_preview_modules/pull/115.diff","patch_url":"https://github.com/Azure/azure_preview_modules/pull/115.patch","issue_url":"https://api.github.com/repos/Azure/azure_preview_modules/issues/115","number":115,"state":"open","locked":false,"title":"[new module] Azure CDN Profile module","user":{"login":"caohai","id":21186993,"node_id":"MDQ6VXNlcjIxMTg2OTkz","avatar_url":"https://avatars1.githubusercontent.com/u/21186993?v=4","gravatar_id":"","url":"https://api.github.com/users/caohai","html_url":"https://github.com/caohai","followers_url":"https://api.github.com/users/caohai/followers","following_url":"https://api.github.com/users/caohai/following{/other_user}","gists_url":"https://api.github.com/users/caohai/gists{/gist_id}","starred_url":"https://api.github.com/users/caohai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caohai/subscriptions","organizations_url":"https://api.github.com/users/caohai/orgs","repos_url":"https://api.github.com/users/caohai/repos","events_url":"https://api.github.com/users/caohai/events{/privacy}","received_events_url":"https://api.github.com/users/caohai/received_events","type":"User","site_admin":false},"body":"- add azure_rm_cdnprofile module\r\n- add azure_rm_cdnprofile_facts module\r\n- add integration test for these two modules\r\n- add cdn management client in azure_rm_common\r\n- add necessary pkg info\r\n","created_at":"2018-08-15T08:50:46Z","updated_at":"2018-08-15T09:53:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b337af981f4e45425e555f58d48129acfb3edb7d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/115/commits","review_comments_url":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/115/comments","review_comment_url":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure_preview_modules/issues/115/comments","statuses_url":"https://api.github.com/repos/Azure/azure_preview_modules/statuses/b4f9ffac374012b94cc7695398c72252cb512a1a","head":{"label":"Azure:haicao-azure-cdnprofile","ref":"haicao-azure-cdnprofile","sha":"b4f9ffac374012b94cc7695398c72252cb512a1a","user":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","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":113817885,"node_id":"MDEwOlJlcG9zaXRvcnkxMTM4MTc4ODU=","name":"azure_preview_modules","full_name":"Azure/azure_preview_modules","owner":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","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_preview_modules","description":"Azure preview modules for Ansible playbook","fork":false,"url":"https://api.github.com/repos/Azure/azure_preview_modules","forks_url":"https://api.github.com/repos/Azure/azure_preview_modules/forks","keys_url":"https://api.github.com/repos/Azure/azure_preview_modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure_preview_modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure_preview_modules/teams","hooks_url":"https://api.github.com/repos/Azure/azure_preview_modules/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure_preview_modules/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure_preview_modules/events","assignees_url":"https://api.github.com/repos/Azure/azure_preview_modules/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure_preview_modules/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure_preview_modules/tags","blobs_url":"https://api.github.com/repos/Azure/azure_preview_modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure_preview_modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure_preview_modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure_preview_modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure_preview_modules/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure_preview_modules/languages","stargazers_url":"https://api.github.com/repos/Azure/azure_preview_modules/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure_preview_modules/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure_preview_modules/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure_preview_modules/subscription","commits_url":"https://api.github.com/repos/Azure/azure_preview_modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure_preview_modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure_preview_modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure_preview_modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure_preview_modules/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure_preview_modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure_preview_modules/merges","archive_url":"https://api.github.com/repos/Azure/azure_preview_modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure_preview_modules/downloads","issues_url":"https://api.github.com/repos/Azure/azure_preview_modules/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure_preview_modules/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure_preview_modules/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure_preview_modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure_preview_modules/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure_preview_modules/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure_preview_modules/deployments","created_at":"2017-12-11T05:49:47Z","updated_at":"2018-08-02T08:23:40Z","pushed_at":"2018-08-15T08:50:47Z","git_url":"git://github.com/Azure/azure_preview_modules.git","ssh_url":"git@github.com:Azure/azure_preview_modules.git","clone_url":"https://github.com/Azure/azure_preview_modules.git","svn_url":"https://github.com/Azure/azure_preview_modules","homepage":null,"size":1087,"stargazers_count":13,"watchers_count":13,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":8,"open_issues":8,"watchers":13,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"a058005ba788f720ca00aacca563fdba4df78c59","user":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","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":113817885,"node_id":"MDEwOlJlcG9zaXRvcnkxMTM4MTc4ODU=","name":"azure_preview_modules","full_name":"Azure/azure_preview_modules","owner":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","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_preview_modules","description":"Azure preview modules for Ansible playbook","fork":false,"url":"https://api.github.com/repos/Azure/azure_preview_modules","forks_url":"https://api.github.com/repos/Azure/azure_preview_modules/forks","keys_url":"https://api.github.com/repos/Azure/azure_preview_modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure_preview_modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure_preview_modules/teams","hooks_url":"https://api.github.com/repos/Azure/azure_preview_modules/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure_preview_modules/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure_preview_modules/events","assignees_url":"https://api.github.com/repos/Azure/azure_preview_modules/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure_preview_modules/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure_preview_modules/tags","blobs_url":"https://api.github.com/repos/Azure/azure_preview_modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure_preview_modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure_preview_modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure_preview_modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure_preview_modules/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure_preview_modules/languages","stargazers_url":"https://api.github.com/repos/Azure/azure_preview_modules/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure_preview_modules/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure_preview_modules/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure_preview_modules/subscription","commits_url":"https://api.github.com/repos/Azure/azure_preview_modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure_preview_modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure_preview_modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure_preview_modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure_preview_modules/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure_preview_modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure_preview_modules/merges","archive_url":"https://api.github.com/repos/Azure/azure_preview_modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure_preview_modules/downloads","issues_url":"https://api.github.com/repos/Azure/azure_preview_modules/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure_preview_modules/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure_preview_modules/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure_preview_modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure_preview_modules/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure_preview_modules/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure_preview_modules/deployments","created_at":"2017-12-11T05:49:47Z","updated_at":"2018-08-02T08:23:40Z","pushed_at":"2018-08-15T08:50:47Z","git_url":"git://github.com/Azure/azure_preview_modules.git","ssh_url":"git@github.com:Azure/azure_preview_modules.git","clone_url":"https://github.com/Azure/azure_preview_modules.git","svn_url":"https://github.com/Azure/azure_preview_modules","homepage":null,"size":1087,"stargazers_count":13,"watchers_count":13,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":8,"open_issues":8,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/115"},"html":{"href":"https://github.com/Azure/azure_preview_modules/pull/115"},"issue":{"href":"https://api.github.com/repos/Azure/azure_preview_modules/issues/115"},"comments":{"href":"https://api.github.com/repos/Azure/azure_preview_modules/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure_preview_modules/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure_preview_modules/statuses/b4f9ffac374012b94cc7695398c72252cb512a1a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"yungezz"}}