{"id":1172,"date":"2011-10-17T18:20:22","date_gmt":"2011-10-17T09:20:22","guid":{"rendered":"http:\/\/www.creationline.com\/?p=1172"},"modified":"2012-08-02T20:56:18","modified_gmt":"2012-08-02T11:56:18","slug":"bash-script-of-cloudstack-api","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/author\/a-tooyama\/1172","title":{"rendered":"bash script for CloudStack API"},"content":{"rendered":"<p style=\"font-family: Arial, Helvetica, sans-serif; text-align: left;\">\u4f5c\u696d\u3067\u4e0d\u4fbf\u3060\u3063\u305f\u306e\u3067\u3001CloudStack API\u3092\u5b9f\u884c\u3059\u308bbash\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3092\u6a5f\u4f1a\u306bCloudStack API\u5b9f\u884c\u306b\u3064\u3044\u3066\u3061\u3087\u3063\u3068\u8aac\u660e\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p style=\"font-family: Arial, Helvetica, sans-serif; text-align: left;\">\u307e\u305a\u3001\u7ba1\u7406\u8005\u6a29\u9650\u306e\u3042\u308b\u30e6\u30fc\u30b6\u306bAPI\u9375\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u65b0\u305f\u306bAPI\u3092\u305f\u305f\u304f\u30e6\u30fc\u30b6\u3092\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002\u7ba1\u7406\u8005\u6a29\u9650\u3067CloudStack\u7ba1\u7406\u30b5\u30fc\u30d0\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u300c\u30a2\u30ab\u30a6\u30f3\u30c8\u300d\u30e1\u30cb\u30e5\u30fc\u3092\u958b\u304d\u3001\u300c\u65b0\u898f\u30e6\u30fc\u30b6\u300d\u30e1\u30cb\u30e5\u30fc\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1182\" title=\"create user\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user-300x153.png\" alt=\"create user at CloudStack management server\" width=\"300\" height=\"153\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user-300x153.png 300w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user-1024x524.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png 1033w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"font-family: Arial, Helvetica, sans-serif; text-align: left;\">\u4f5c\u6210\u3057\u305f\u30e6\u30fc\u30b6\u306e\u53f3\u7aef\u306e\u300c\u30a2\u30af\u30b7\u30e7\u30f3\u300d\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u9078\u629e\u3059\u308b\u3068\u30d7\u30eb\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u304c\u73fe\u308c\u307e\u3059\u3002\u300c\u30ad\u30fc\u751f\u6210\u300d\u30e1\u30cb\u30e5\u30fc\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2011\/10\/2-create-keys.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1174 aligncenter\" title=\"create keys\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2011\/10\/2-create-keys-300x161.png\" alt=\"create keys on CloudStack management console\" width=\"300\" height=\"161\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2011\/10\/2-create-keys-300x161.png 300w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2011\/10\/2-create-keys.png 617w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"font-family: Arial, Helvetica, sans-serif; text-align: left;\">\u6e96\u5099\u306f\u7d42\u308f\u308a\u3067\u3059\u3002API\u3092\u5b9f\u884c\u3059\u308b\u3068\u304d\u306e\u9375\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002\u753b\u9762\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2011\/10\/3-show-keys.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1175\" title=\"3 show keys\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2011\/10\/3-show-keys-300x124.png\" alt=\"show keys at CloudStack management console\" width=\"300\" height=\"124\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2011\/10\/3-show-keys-300x124.png 300w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2011\/10\/3-show-keys.png 784w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>CloudStack API\u30928080\u30dd\u30fc\u30c8\u304b\u3089\u4f7f\u7528\u3059\u308b\u306b\u306f\u7f72\u540d\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6307\u5b9a\u3057\u3066\u3084\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u7f72\u540d\u4f5c\u6210\u624b\u9806\u304c\u9762\u5012\u306a\u306e\u3067\u3001\u305d\u306e\u51e6\u7406\u3092bash\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u81ea\u52d5\u5316\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u7f72\u540d\u4f5c\u6210\u65b9\u6cd5\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"http:\/\/docs.cloud.com\/CloudStack_Documentation\/Developer's_Guide%3A_CloudStack\">CloudStack\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u7f72\u540d\u4f5c\u6210\u51e6\u7406\u306e\u6d41\u308c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30b3\u30de\u30f3\u30c9\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u8981\u7d20\u3092\u30bd\u30fc\u30c8<\/li>\n<li>\u30b3\u30de\u30f3\u30c9\u30d1\u30e9\u30e1\u30fc\u30bf\u3092URL\u30a8\u30f3\u30b3\u30fc\u30c9<\/li>\n<li>\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305f\u6587\u5b57\u5217\u3092\u5168\u3066\u5c0f\u6587\u5b57\u3078\u7f6e\u63db<\/li>\n<li>\u4e0a\u8a18\u6587\u5b57\u5217\u3068\u7ba1\u7406\u30b5\u30fc\u30d0\u3067\u4f5c\u6210\u3055\u308c\u305f\u79d8\u5bc6\u9375\u306b\u4f7f\u7528\u3057\u3066sha1\u3067\u7f72\u540d<\/li>\n<li>signature\u6587\u5b57\u5217\u3092URL\u30a8\u30f3\u30b3\u30fc\u30c9<\/li>\n<\/ol>\n<p style=\"font-family: Arial, Helvetica, sans-serif; text-align: left;\">&nbsp;<\/p>\n<p style=\"font-family: Arial, Helvetica, sans-serif; text-align: left;\">\u5b9f\u884c\u53ef\u80fd\u3068\u3059\u308b\u305f\u3081\u306b\u3001\u4e0b\u8a18\u306ebash\u30b9\u30af\u30ea\u30d7\u30c8\uff08kick_api.sh\uff09\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>api_key\u53ca\u3073secret_key\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u751f\u6210\u3055\u308c\u305f\u30ad\u30fc\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059<\/li>\n<li>address\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u30db\u30b9\u30c8\u540d\u3092\u8a2d\u5b9a\u3057\u307e\u3059<\/li>\n<\/ol>\n<p style=\"font-family: Arial, Helvetica, sans-serif; text-align: left;\">&nbsp;<\/p>\n<p style=\"font-family: Arial, Helvetica, sans-serif; text-align: left;\">CloudStack API\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002CloudStack API\u4e00\u89a7\u306b\u3064\u3044\u3066\u306f<a href=\"http:\/\/docs.cloud.com\/CloudStack_Documentation\/API_Reference%3A_CloudStack\">\u3053\u3053<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u306eusage\u4f8b\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u6307\u5b9a\u306a\u3057\u306elistAccounts\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u3044\u3068\u304d\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p style=\"text-align: left;\"><code># kick_api.sh command=listAccoutns<\/code><\/p>\n<p style=\"font-family: Arial, Helvetica, sans-serif; text-align: left;\">\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6307\u5b9a\u3057\u305fstartVirtualMachine\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u3044\u3068\u304d\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u3057\u307e\u3059\u3002\u30d1\u30e9\u30e1\u30fc\u30bf\u3084\u30ec\u30b9\u30dd\u30f3\u30b9\u30bf\u30b0\u3092\u30b9\u30da\u30fc\u30b9\u30c7\u30ea\u30df\u30c3\u30bf\u3067\u7d9a\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p style=\"text-align: left;\"><code># kick_api.sh command=startVirtualMachine id=8<\/code><\/p>\n<p style=\"font-family: Arial, Helvetica, sans-serif; text-align: left;\">&nbsp;<\/p>\n<p style=\"font-family: Arial, Helvetica, sans-serif; text-align: left;\">\u4ee5\u4e0b\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u8a18\u8ff0\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code>\r\n#!\/bin\/bash\r\n#\r\n# kick_api.sh\r\n#\r\n# please set your host\r\naddress=\"http:\/\/[your management server]:8080\"\r\n# please set your api key\r\napi_key=\"QVOObVBiTodKl5L0vPQFCCELsxbtEHHysXU42XTFFwhBHWWFV7GaiH5oJG0yHHsqFzCcgflH8Ee8Ttk4m_qJLQ\"\r\n# please set your secret key\r\nsecret_key=\"zTl4qQtSZPijMkNYgkX1lQh6QlEUXyjSKeXSPZQl2MJifzOBFhNDA5cQlfK7Ds5BFEM_ua_5ELMPL-z4JNJBIA\"\r\n\r\napi_path=\"\/client\/api?\"\r\n\r\nif [ $# -lt 1 ]; then\r\n  echo \"usage: $0 command=... paramter=... parameter=...\"; exit;\r\nelif [[ $1 != \"command=\"* ]]; then\r\n  echo \"usage: $0 command=... paramter=... parameter=...\"; exit;\r\nelif [ $1 == \"command=\" ]; then\r\n  echo \"usage: $0 command=... paramter=... parameter=...\"; exit;\r\nfi\r\n\r\ndata_array=(\"$@\" \"apikey=${api_key}\") \r\n\r\ntemp1=$(echo -n ${data_array[@]} | \\\r\n   tr \" \" \"\\n\" | \\\r\n   sort -fd -t'=' | \\\r\n   perl -pe's\/([^-_.~A-Za-z0-9=\\s])\/sprintf(\"%%%02X\", ord($1))\/seg'| \\\r\n   tr \"A-Z\" \"a-z\" | \\ \r\n   tr \"\\n\" \"&amp;\" )\r\n\r\nsignature=$(echo -n ${temp1[@]})\r\nsignature=${signature%&amp;}\r\nsignature=$(echo -n $signature | \\\r\n   openssl sha1 -binary -hmac $secret_key | \\\r\n   openssl base64 )\r\nsignature=$(echo -n $signature | \\\r\n   perl -pe's\/([^-_.~A-Za-z0-9])\/sprintf(\"%%%02X\", ord($1))\/seg')\r\n\r\nurl=${address}${api_path}$(echo -n $@ | tr \" \" \"&amp;\")\"&amp;\"apikey=$api_key\"&amp;\"signature=$signature\r\n\r\necho \" SEND URL: $url\"\r\ncurl ${url} | xmllint --format - <\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u696d\u3067\u4e0d\u4fbf\u3060\u3063\u305f\u306e\u3067\u3001CloudStack API\u3092\u5b9f\u884c\u3059\u308bbash\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3092\u6a5f\u4f1a\u306bCloudStack API\u5b9f\u884c\u306b\u3064\u3044\u3066\u3061\u3087\u3063\u3068\u8aac\u660e\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u307e\u305a\u3001\u7ba1\u7406\u8005\u6a29\u9650\u306e\u3042\u308b\u30e6\u30fc\u30b6\u306bAPI\u9375 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":1182,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-1172","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-a-tooyama"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>bash script for CloudStack API - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"asako |\u4f5c\u696d\u3067\u4e0d\u4fbf\u3060\u3063\u305f\u306e\u3067\u3001CloudStack API\u3092\u5b9f\u884c\u3059\u308bbash\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3092\u6a5f\u4f1a\u306bCloudStack\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/1172\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"bash script for CloudStack API - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"asako |\u4f5c\u696d\u3067\u4e0d\u4fbf\u3060\u3063\u305f\u306e\u3067\u3001CloudStack API\u3092\u5b9f\u884c\u3059\u308bbash\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3092\u6a5f\u4f1a\u306bCloudStack\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/1172\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2011-10-17T09:20:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2012-08-02T11:56:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1033\" \/>\n\t<meta property=\"og:image:height\" content=\"529\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/1172#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/1172\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a\"},\"headline\":\"bash script for CloudStack API\",\"datePublished\":\"2011-10-17T09:20:22+00:00\",\"dateModified\":\"2012-08-02T11:56:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/1172\"},\"wordCount\":41,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/1172#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png\",\"articleSection\":[\"asako\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.creationline.com\/tech-blog\/1172#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/1172\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/1172\",\"name\":\"bash script for CloudStack API - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/1172#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/1172#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png\",\"datePublished\":\"2011-10-17T09:20:22+00:00\",\"dateModified\":\"2012-08-02T11:56:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a\"},\"description\":\"asako |\u4f5c\u696d\u3067\u4e0d\u4fbf\u3060\u3063\u305f\u306e\u3067\u3001CloudStack API\u3092\u5b9f\u884c\u3059\u308bbash\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3092\u6a5f\u4f1a\u306bCloudStack\",\"breadcrumb\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/1172#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.creationline.com\/tech-blog\/1172\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/1172#primaryimage\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png\",\"width\":\"1033\",\"height\":\"529\",\"caption\":\"create user at CloudStack management server\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/1172#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\/\/www.creationline.com\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"bash script for CloudStack API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#website\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.creationline.com\/tech-blog\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"bash script for CloudStack API - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"asako |\u4f5c\u696d\u3067\u4e0d\u4fbf\u3060\u3063\u305f\u306e\u3067\u3001CloudStack API\u3092\u5b9f\u884c\u3059\u308bbash\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3092\u6a5f\u4f1a\u306bCloudStack","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/1172","og_locale":"ja_JP","og_type":"article","og_title":"bash script for CloudStack API - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"asako |\u4f5c\u696d\u3067\u4e0d\u4fbf\u3060\u3063\u305f\u306e\u3067\u3001CloudStack API\u3092\u5b9f\u884c\u3059\u308bbash\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3092\u6a5f\u4f1a\u306bCloudStack","og_url":"https:\/\/www.creationline.com\/tech-blog\/1172","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2011-10-17T09:20:22+00:00","article_modified_time":"2012-08-02T11:56:18+00:00","og_image":[{"width":1033,"height":529,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/1172#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/1172"},"author":{"name":"admin","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a"},"headline":"bash script for CloudStack API","datePublished":"2011-10-17T09:20:22+00:00","dateModified":"2012-08-02T11:56:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/1172"},"wordCount":41,"commentCount":0,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/1172#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png","articleSection":["asako"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.creationline.com\/tech-blog\/1172#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/1172","url":"https:\/\/www.creationline.com\/tech-blog\/1172","name":"bash script for CloudStack API - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/1172#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/1172#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png","datePublished":"2011-10-17T09:20:22+00:00","dateModified":"2012-08-02T11:56:18+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a"},"description":"asako |\u4f5c\u696d\u3067\u4e0d\u4fbf\u3060\u3063\u305f\u306e\u3067\u3001CloudStack API\u3092\u5b9f\u884c\u3059\u308bbash\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3092\u6a5f\u4f1a\u306bCloudStack","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/1172#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/1172"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/1172#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2031\/10\/1-create-user.png","width":"1033","height":"529","caption":"create user at CloudStack management server"},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/1172#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"bash script for CloudStack API"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a","name":"admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","caption":"admin"},"url":"https:\/\/www.creationline.com\/tech-blog\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/1172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=1172"}],"version-history":[{"count":0,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/1172\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/1182"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=1172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=1172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=1172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}