...
Code Block |
---|
## Azure에 로그인 합니다. [root@workspace-vm ~]# az login To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code HT3WTWGFJ to authenticate. [ { "cloudName": "AzureCloud", "id": "c6c1cb6d-3a2b-4912-9506xxxx-e54767670dbfxxxxxxxxxx", "isDefault": false, "name": "종량제", "state": "Disabled", "tenantId": "075f7662-60f9-46bb-9158xxxx-787589dee498xxxxxxxxxx", "user": { "name": "sooabia22@spteksooabia22@mycompany.co.kr", "type": "user" } }, { "cloudName": "AzureCloud", "id": "24ebf866-0c20-435b-af0fxxxx-e54c1c28f835xxxxxxxxxx", "isDefault": true, "name": "Visual Studio Enterprise", "state": "Enabled", "tenantId": "075f7662-60f9-46bb-9158xxxx-787589dee498xxxxxxxxxx", "user": { "name": "sooabia22@spteksooabia22@mycompany.co.kr", "type": "user" } } ] [root@workspace-vm ~]# [root@workspace-vm ~]# az account show { "environmentName": "AzureCloud", "id": "24ebf866-0c20-435b-af0fxxxx-e54c1c28f835xxxxxxxxxx", "isDefault": true, "name": "Visual Studio Enterprise", "state": "Enabled", "tenantId": "075f7662-60f9-46bb-9158xxxx-787589dee498xxxxxxxxxx", "user": { "name": "sooabia22@spteksooabia22@mycompany.co.kr", "type": "user" } } |
...
Code Block |
---|
## 어플리케이션 호출하기 [root@workspace-vm deploy]# curl -XPOST http://52.231.28.109:80/link -H "Content-Type: application/json" -d '{"link":"http://wiki.thesanseiisanse.com"}' {"shortenedLink":"http://localhost:8080/dXOOvO"} |
...