{"action":"created","comment":{"url":"https://api.github.com/repos/pulumi/examples/pulls/comments/196228426","pull_request_review_id":129742520,"id":196228426,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjIyODQyNg==","diff_hunk":"@@ -0,0 +1,104 @@\n+import * as pulumi from \"@pulumi/pulumi\";\n+import * as azure from \"@pulumi/azure\";\n+import { signedBlobReadUrl } from \"./sas\";\n+\n+const name = 'azpulumi';\n+\n+const resourceGroup = new azure.core.ResourceGroup(`${name}-rg`, {\n+        location: \"West US 2\",\n+    });\n+\n+const resourceGroupArgs = {\n+    resourceGroupName: resourceGroup.name,\n+    location: resourceGroup.location,\n+};\n+\n+const storageAccount = new azure.storage.Account(`${name}sa`, {\n+    ...resourceGroupArgs,\n+\n+    accountKind: \"StorageV2\",\n+    accountTier: \"Standard\",\n+    accountReplicationType: \"LRS\",\n+});\n+\n+\n+const appServicePlan = new azure.appservice.Plan(`${name}-asp`, {\n+    ...resourceGroupArgs,\n+\n+    kind: \"App\",\n+\n+    sku: {\n+        tier: \"Basic\",\n+        size: \"B1\",\n+    },\n+});\n+\n+const storageContainer = new azure.storage.Container(`${name}-c`, {\n+    resourceGroupName: resourceGroup.name,\n+    storageAccountName: storageAccount.name,\n+    containerAccessType: \"private\",\n+});\n+\n+const map: pulumi.asset.AssetMap = {};\n+map[\"index.html\"] = new pulumi.asset.StringAsset(\"<html><body><h1>Greetings from Azure App Service!</h1></body></html>\");","path":"azure-ts-appservice/index.ts","position":43,"original_position":43,"commit_id":"f292b702e479762b75062120ca800690ac827aa9","original_commit_id":"f292b702e479762b75062120ca800690ac827aa9","user":{"login":"mikhailshilkov","id":1454008,"node_id":"MDQ6VXNlcjE0NTQwMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1454008?v=4","gravatar_id":"","url":"https://api.github.com/users/mikhailshilkov","html_url":"https://github.com/mikhailshilkov","followers_url":"https://api.github.com/users/mikhailshilkov/followers","following_url":"https://api.github.com/users/mikhailshilkov/following{/other_user}","gists_url":"https://api.github.com/users/mikhailshilkov/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhailshilkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhailshilkov/subscriptions","organizations_url":"https://api.github.com/users/mikhailshilkov/orgs","repos_url":"https://api.github.com/users/mikhailshilkov/repos","events_url":"https://api.github.com/users/mikhailshilkov/events{/privacy}","received_events_url":"https://api.github.com/users/mikhailshilkov/received_events","type":"User","site_admin":false},"body":"I copy-pasted it from `azure-ts-function` sample, I'll change","created_at":"2018-06-18T21:16:27Z","updated_at":"2018-06-18T21:16:27Z","html_url":"https://github.com/pulumi/examples/pull/88#discussion_r196228426","pull_request_url":"https://api.github.com/repos/pulumi/examples/pulls/88","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/pulumi/examples/pulls/comments/196228426"},"html":{"href":"https://github.com/pulumi/examples/pull/88#discussion_r196228426"},"pull_request":{"href":"https://api.github.com/repos/pulumi/examples/pulls/88"}},"in_reply_to_id":196224110},"pull_request":{"url":"https://api.github.com/repos/pulumi/examples/pulls/88","id":195644946,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NjQ0OTQ2","html_url":"https://github.com/pulumi/examples/pull/88","diff_url":"https://github.com/pulumi/examples/pull/88.diff","patch_url":"https://github.com/pulumi/examples/pull/88.patch","issue_url":"https://api.github.com/repos/pulumi/examples/issues/88","number":88,"state":"open","locked":false,"title":"Add azure-ts-appservice example","user":{"login":"mikhailshilkov","id":1454008,"node_id":"MDQ6VXNlcjE0NTQwMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1454008?v=4","gravatar_id":"","url":"https://api.github.com/users/mikhailshilkov","html_url":"https://github.com/mikhailshilkov","followers_url":"https://api.github.com/users/mikhailshilkov/followers","following_url":"https://api.github.com/users/mikhailshilkov/following{/other_user}","gists_url":"https://api.github.com/users/mikhailshilkov/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhailshilkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhailshilkov/subscriptions","organizations_url":"https://api.github.com/users/mikhailshilkov/orgs","repos_url":"https://api.github.com/users/mikhailshilkov/repos","events_url":"https://api.github.com/users/mikhailshilkov/events{/privacy}","received_events_url":"https://api.github.com/users/mikhailshilkov/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-18T20:52:14Z","updated_at":"2018-06-18T21:16:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2439621aa4d932d72e9e629c71b4e810ec6433e9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pulumi/examples/pulls/88/commits","review_comments_url":"https://api.github.com/repos/pulumi/examples/pulls/88/comments","review_comment_url":"https://api.github.com/repos/pulumi/examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pulumi/examples/issues/88/comments","statuses_url":"https://api.github.com/repos/pulumi/examples/statuses/f292b702e479762b75062120ca800690ac827aa9","head":{"label":"mikhailshilkov:azure-ts-appservice","ref":"azure-ts-appservice","sha":"f292b702e479762b75062120ca800690ac827aa9","user":{"login":"mikhailshilkov","id":1454008,"node_id":"MDQ6VXNlcjE0NTQwMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1454008?v=4","gravatar_id":"","url":"https://api.github.com/users/mikhailshilkov","html_url":"https://github.com/mikhailshilkov","followers_url":"https://api.github.com/users/mikhailshilkov/followers","following_url":"https://api.github.com/users/mikhailshilkov/following{/other_user}","gists_url":"https://api.github.com/users/mikhailshilkov/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhailshilkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhailshilkov/subscriptions","organizations_url":"https://api.github.com/users/mikhailshilkov/orgs","repos_url":"https://api.github.com/users/mikhailshilkov/repos","events_url":"https://api.github.com/users/mikhailshilkov/events{/privacy}","received_events_url":"https://api.github.com/users/mikhailshilkov/received_events","type":"User","site_admin":false},"repo":{"id":137804649,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc4MDQ2NDk=","name":"examples","full_name":"mikhailshilkov/examples","owner":{"login":"mikhailshilkov","id":1454008,"node_id":"MDQ6VXNlcjE0NTQwMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1454008?v=4","gravatar_id":"","url":"https://api.github.com/users/mikhailshilkov","html_url":"https://github.com/mikhailshilkov","followers_url":"https://api.github.com/users/mikhailshilkov/followers","following_url":"https://api.github.com/users/mikhailshilkov/following{/other_user}","gists_url":"https://api.github.com/users/mikhailshilkov/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhailshilkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhailshilkov/subscriptions","organizations_url":"https://api.github.com/users/mikhailshilkov/orgs","repos_url":"https://api.github.com/users/mikhailshilkov/repos","events_url":"https://api.github.com/users/mikhailshilkov/events{/privacy}","received_events_url":"https://api.github.com/users/mikhailshilkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikhailshilkov/examples","description":"A collection of Pulumi examples, across many clouds, and many languages","fork":true,"url":"https://api.github.com/repos/mikhailshilkov/examples","forks_url":"https://api.github.com/repos/mikhailshilkov/examples/forks","keys_url":"https://api.github.com/repos/mikhailshilkov/examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikhailshilkov/examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikhailshilkov/examples/teams","hooks_url":"https://api.github.com/repos/mikhailshilkov/examples/hooks","issue_events_url":"https://api.github.com/repos/mikhailshilkov/examples/issues/events{/number}","events_url":"https://api.github.com/repos/mikhailshilkov/examples/events","assignees_url":"https://api.github.com/repos/mikhailshilkov/examples/assignees{/user}","branches_url":"https://api.github.com/repos/mikhailshilkov/examples/branches{/branch}","tags_url":"https://api.github.com/repos/mikhailshilkov/examples/tags","blobs_url":"https://api.github.com/repos/mikhailshilkov/examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikhailshilkov/examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikhailshilkov/examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikhailshilkov/examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikhailshilkov/examples/statuses/{sha}","languages_url":"https://api.github.com/repos/mikhailshilkov/examples/languages","stargazers_url":"https://api.github.com/repos/mikhailshilkov/examples/stargazers","contributors_url":"https://api.github.com/repos/mikhailshilkov/examples/contributors","subscribers_url":"https://api.github.com/repos/mikhailshilkov/examples/subscribers","subscription_url":"https://api.github.com/repos/mikhailshilkov/examples/subscription","commits_url":"https://api.github.com/repos/mikhailshilkov/examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikhailshilkov/examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikhailshilkov/examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikhailshilkov/examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikhailshilkov/examples/contents/{+path}","compare_url":"https://api.github.com/repos/mikhailshilkov/examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikhailshilkov/examples/merges","archive_url":"https://api.github.com/repos/mikhailshilkov/examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikhailshilkov/examples/downloads","issues_url":"https://api.github.com/repos/mikhailshilkov/examples/issues{/number}","pulls_url":"https://api.github.com/repos/mikhailshilkov/examples/pulls{/number}","milestones_url":"https://api.github.com/repos/mikhailshilkov/examples/milestones{/number}","notifications_url":"https://api.github.com/repos/mikhailshilkov/examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikhailshilkov/examples/labels{/name}","releases_url":"https://api.github.com/repos/mikhailshilkov/examples/releases{/id}","deployments_url":"https://api.github.com/repos/mikhailshilkov/examples/deployments","created_at":"2018-06-18T20:45:59Z","updated_at":"2018-06-18T20:46:01Z","pushed_at":"2018-06-18T20:49:37Z","git_url":"git://github.com/mikhailshilkov/examples.git","ssh_url":"git@github.com:mikhailshilkov/examples.git","clone_url":"https://github.com/mikhailshilkov/examples.git","svn_url":"https://github.com/mikhailshilkov/examples","homepage":"","size":3882,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pulumi:master","ref":"master","sha":"31febdce9ed757ebfaef28bb69c1b72d6b7fb137","user":{"login":"pulumi","id":21992475,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxOTkyNDc1","avatar_url":"https://avatars0.githubusercontent.com/u/21992475?v=4","gravatar_id":"","url":"https://api.github.com/users/pulumi","html_url":"https://github.com/pulumi","followers_url":"https://api.github.com/users/pulumi/followers","following_url":"https://api.github.com/users/pulumi/following{/other_user}","gists_url":"https://api.github.com/users/pulumi/gists{/gist_id}","starred_url":"https://api.github.com/users/pulumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulumi/subscriptions","organizations_url":"https://api.github.com/users/pulumi/orgs","repos_url":"https://api.github.com/users/pulumi/repos","events_url":"https://api.github.com/users/pulumi/events{/privacy}","received_events_url":"https://api.github.com/users/pulumi/received_events","type":"Organization","site_admin":false},"repo":{"id":108589232,"node_id":"MDEwOlJlcG9zaXRvcnkxMDg1ODkyMzI=","name":"examples","full_name":"pulumi/examples","owner":{"login":"pulumi","id":21992475,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxOTkyNDc1","avatar_url":"https://avatars0.githubusercontent.com/u/21992475?v=4","gravatar_id":"","url":"https://api.github.com/users/pulumi","html_url":"https://github.com/pulumi","followers_url":"https://api.github.com/users/pulumi/followers","following_url":"https://api.github.com/users/pulumi/following{/other_user}","gists_url":"https://api.github.com/users/pulumi/gists{/gist_id}","starred_url":"https://api.github.com/users/pulumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulumi/subscriptions","organizations_url":"https://api.github.com/users/pulumi/orgs","repos_url":"https://api.github.com/users/pulumi/repos","events_url":"https://api.github.com/users/pulumi/events{/privacy}","received_events_url":"https://api.github.com/users/pulumi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pulumi/examples","description":"A collection of Pulumi examples, across many clouds, and many languages","fork":false,"url":"https://api.github.com/repos/pulumi/examples","forks_url":"https://api.github.com/repos/pulumi/examples/forks","keys_url":"https://api.github.com/repos/pulumi/examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulumi/examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulumi/examples/teams","hooks_url":"https://api.github.com/repos/pulumi/examples/hooks","issue_events_url":"https://api.github.com/repos/pulumi/examples/issues/events{/number}","events_url":"https://api.github.com/repos/pulumi/examples/events","assignees_url":"https://api.github.com/repos/pulumi/examples/assignees{/user}","branches_url":"https://api.github.com/repos/pulumi/examples/branches{/branch}","tags_url":"https://api.github.com/repos/pulumi/examples/tags","blobs_url":"https://api.github.com/repos/pulumi/examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulumi/examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulumi/examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulumi/examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulumi/examples/statuses/{sha}","languages_url":"https://api.github.com/repos/pulumi/examples/languages","stargazers_url":"https://api.github.com/repos/pulumi/examples/stargazers","contributors_url":"https://api.github.com/repos/pulumi/examples/contributors","subscribers_url":"https://api.github.com/repos/pulumi/examples/subscribers","subscription_url":"https://api.github.com/repos/pulumi/examples/subscription","commits_url":"https://api.github.com/repos/pulumi/examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulumi/examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulumi/examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulumi/examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulumi/examples/contents/{+path}","compare_url":"https://api.github.com/repos/pulumi/examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulumi/examples/merges","archive_url":"https://api.github.com/repos/pulumi/examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulumi/examples/downloads","issues_url":"https://api.github.com/repos/pulumi/examples/issues{/number}","pulls_url":"https://api.github.com/repos/pulumi/examples/pulls{/number}","milestones_url":"https://api.github.com/repos/pulumi/examples/milestones{/number}","notifications_url":"https://api.github.com/repos/pulumi/examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulumi/examples/labels{/name}","releases_url":"https://api.github.com/repos/pulumi/examples/releases{/id}","deployments_url":"https://api.github.com/repos/pulumi/examples/deployments","created_at":"2017-10-27T19:50:31Z","updated_at":"2018-06-18T20:51:51Z","pushed_at":"2018-06-18T20:52:15Z","git_url":"git://github.com/pulumi/examples.git","ssh_url":"git@github.com:pulumi/examples.git","clone_url":"https://github.com/pulumi/examples.git","svn_url":"https://github.com/pulumi/examples","homepage":"","size":3882,"stargazers_count":46,"watchers_count":46,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":12,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pulumi/examples/pulls/88"},"html":{"href":"https://github.com/pulumi/examples/pull/88"},"issue":{"href":"https://api.github.com/repos/pulumi/examples/issues/88"},"comments":{"href":"https://api.github.com/repos/pulumi/examples/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/pulumi/examples/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/pulumi/examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pulumi/examples/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/pulumi/examples/statuses/f292b702e479762b75062120ca800690ac827aa9"}},"author_association":"NONE"}}
{"actor":{"display_login":"mikhailshilkov"}}