{"id":4626,"date":"2014-06-02T11:35:08","date_gmt":"2014-06-02T02:35:08","guid":{"rendered":"http:\/\/www.creationline.com\/?p=4626"},"modified":"2026-05-27T22:14:35","modified_gmt":"2026-05-27T13:14:35","slug":"softlayer-api-ruby-client-%e3%81%a7-virtual-server-%e3%81%a8-hardware-firewall-%e3%82%92%e5%90%8c%e6%99%82%e3%81%ab%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b-softlayer","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626","title":{"rendered":"softlayer-api-ruby-client \u3067 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b #softlayer"},"content":{"rendered":"<h2>Virtual Server \u3068 Hardware Firewall \u3092 API \u7d4c\u7531\u3067\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/h2>\n<p><a href=\"\/lab\/4577\">\u524d\u56de\u306e\u8a18\u4e8b<\/a>\u3067\u306f\u3001<a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/verifyOrder\">SoftLayer_Product_Order::verifyOrder<\/a> \u304a\u3088\u3073 <a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/placeOrder\">SoftLayer_Product_Order::placeOrder<\/a> \u3092\u7528\u3044\u3066\u3001<a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Virtual_Guest\/createObject\">SoftLayer_Virtual_Guest::createObject<\/a> \u3067\u4f5c\u6210\u3067\u304d\u308b\u3082\u306e\u3068\u540c\u3058 Virtual Server \u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f <a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/placeOrder\">SoftLayer_Product_Order::placeOrder<\/a> \u3092\u7528\u3044\u3066\u3001Hardware Firewall \u3064\u304d\u306e Virtual Server \u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>SoftLayer \u306b\u304a\u3051\u308b\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb<\/h2>\n<p>SoftLayer \u3067\u306e\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306f\u3044\u304f\u3064\u304b\u306e\u7a2e\u985e\u306b\u5206\u985e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u307e\u305a\u5927\u304d\u304f\u5206\u3051\u3066\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3068\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<p>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306f OS \u306b\u7d44\u307f\u8fbc\u307e\u308c\u305f\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3067\u3001SoftLayer \u3067\u306f Linux \u7528\u306e <strong>APF Software Firewall for Linux<\/strong> (<a href=\"http:\/\/knowledgelayer.softlayer.com\/procedure\/install-and-configure-advanced-policy-firewall-apf\">Install and Configure Advanced Policy Firewall (APF)<\/a>) \u3068 Windows \u7528\u306e <strong>Microsoft Windows Firewall<\/strong> \u304c\u3042\u308a\u307e\u3059\u3002APF Software Firewall for Linux \u306f\u300c<a href=\"\/lab\/4328\">SoftLayer\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u57fa\u790e<\/a>\u3067\u3082\u591a\u5c11\u89e6\u308c\u3066\u3044\u308b\u306e\u3067\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u914d\u7f6e\u3059\u308b\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3067\u3001SoftLayer \u3067\u306f VLAN \u81ea\u4f53\u306b\u9069\u7528\u3059\u308b <strong>Hardware Firewall (Dedicated)<\/strong> (VLAN routed firewalls) \u3068\u500b\u3005\u306e\u30b5\u30fc\u30d0\u306b\u9069\u7528\u3059\u308b <strong>Hardware Firewall<\/strong> (Single device firewalls \u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u500b\u3005\u306e\u30b5\u30fc\u30d0\u306b\u9069\u7528\u3059\u308b Hardware Firewall \u3064\u304d\u306e Virtual Server \u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>SoftLayer_Product_Order::placeOrder \u3092\u7528\u3044\u3066 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u6ce8\u6587\u3059\u308b<\/h2>\n<p><a href=\"\/lab\/4577\">\u524d\u56de\u306e\u8a18\u4e8b<\/a> \u306e\u3088\u3046\u306b\u3001<a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/placeOrder\">SoftLayer_Product_Order::placeOrder<\/a> \u3092\u7528\u3044\u3066\u6ce8\u6587\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30db\u30b9\u30c8\u540d: test-\u5e74\u6708\u65e5\u6642\u5206\u79d2<\/li>\n<li>\u30c9\u30e1\u30a4\u30f3\u540d: example.jp<\/li>\n<li>CPU\u30b3\u30a2\u6570: 1<\/li>\n<li>\u30e1\u30e2\u30ea: 1024MB<\/li>\n<li>\u8ab2\u91d1: <strong>\u6708<\/strong><\/li>\n<li>\u30c7\u30a3\u30b9\u30af: \u30ed\u30fc\u30ab\u30eb\u30c7\u30a3\u30b9\u30af<\/li>\n<li>\u30d6\u30ed\u30c3\u30af\u30c7\u30d0\u30a4\u30b9: 0\u756a 25GB<\/li>\n<li>\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc: \u30b5\u30f3\u30ce\u30bc<\/li>\n<li>OS: Ubuntu 12.04 (amd64)<\/li>\n<li>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af: 10Mbps<\/li>\n<li><strong>\u5916\u90e8\u3078\u306e\u8ee2\u9001\u91cf: 5000GB<\/strong><\/li>\n<li><strong>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb: \u30b5\u30fc\u30d0\u500b\u5225\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb<\/strong><\/li>\n<\/ul>\n<p><a href=\"\/lab\/4577\">\u524d\u56de\u306e\u8a18\u4e8b<\/a>\u306e\u6ce8\u6587\u3068\u7570\u306a\u308b\u7b87\u6240\u306f<strong>\u5f37\u8abf<\/strong>\u3067\u8868\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305a\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306f\u6642\u9593\u8ab2\u91d1\u304c\u306a\u3044\u305f\u3081\u3001\u6708\u8ab2\u91d1\u3068\u306a\u308a\u307e\u3059\u3002\u306a\u304a\u3001\u6e80\u4e86\u524d\u306b\u30ad\u30e3\u30f3\u30bb\u30eb\u3057\u3066\u3082\u65e5\u5272\u308a\u8a08\u7b97\u3055\u308c\u306a\u3044\u306e\u3067\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u307e\u305f\u3001\u5916\u90e8\u3078\u306e\u8ee2\u9001\u91cf\u304c\u6708\u306b 5000GB \u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#!\/usr\/bin\/ruby\n\nrequire 'softlayer_api'\nrequire 'pp'\n\n#\n# fill your SoftLayer API username and API key\n#\napi_username = ENV['SOFTLAYER_API_USERNAME'] || 'YOUR_SOFTLAYER_API_USERNAME'\napi_key = ENV['SOFTLAYER_API_KEY'] || 'YOUR_SOFTLAYER_API_KEY'\n\n#\n# http:\/\/sldn.softlayer.com\/reference\/datatypes\/SoftLayer_Container_Product_Order_Virtual_Guest\n#\nproduct_order = {\n'complexType' =&gt; 'SoftLayer_Container_Product_Order_Virtual_Guest',\n'quantity' =&gt; 1,\n#\n# http:\/\/sldn.softlayer.com\/reference\/datatypes\/SoftLayer_Virtual_Guest\n#\n'virtualGuests' =&gt; [\n{\n'hostname' =&gt; 'test-%s' % Time.now.strftime( '%F%T' ).gsub(\/\\D\/, '' ),\n'domain' =&gt; 'example.jp'\n}\n],\n'location' =&gt; 168642, # NOTE: 168642 is 'sjc01' location ID\n'packageId' =&gt; 46, # NOTE: 46 is 'Virtual Guests' package ID\n'useHourlyPricing' =&gt; false,\n'prices' =&gt; [\n#\n# Required Categories\n#\n{ 'id' =&gt; 1640 }, # 1640 -- 1 x 2.0 GHz Core\n{ 'id' =&gt; 1644 }, # 1644 -- 1 GB\n{ 'id' =&gt; 905 }, # 905 -- Reboot \/ Remote Console\n{ 'id' =&gt; 272 }, # 272 -- 10 Mbps Public &amp; Private Network Uplinks\n{ 'id' =&gt; 248 }, # 248 -- 5000 GB Bandwidth\n{ 'id' =&gt; 21 }, # 21 -- 1 IP Address\n{ 'id' =&gt; 13899 }, # 13899 -- 25 GB (LOCAL)\n{ 'id' =&gt; 17446 }, # 17446 -- Ubuntu Linux 12.04 LTS Precise Pangolin - Minimal Install (64 bit)\n{ 'id' =&gt; 55 }, # 55 -- Host Ping\n{ 'id' =&gt; 57 }, # 57 -- Email and Ticket\n{ 'id' =&gt; 58 }, # 58 -- Automated Notification\n{ 'id' =&gt; 420 }, # 420 -- Unlimited SSL VPN Users &amp; 1 PPTP VPN User per account\n{ 'id' =&gt; 418 }, # 418 -- Nessus Vulnerability Assessment &amp; Reporting\n#\n{ 'id' =&gt; 410 }, # 410 -- 10Mbps Hardware Firewall\n]\n}\n\n#\n# http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\n#\nproduct_order_service = SoftLayer::Service.new( 'SoftLayer_Product_Order',\n:username =&gt; api_username,\n:api_key =&gt; api_key,\n)\n\n#\n# http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/verifyOrder\n#\nbegin\nresult = product_order_service.verifyOrder( product_order )\nputs &quot;The order was verified successfully&quot;\npp result\nrescue =&gt; error_reason\nputs &quot;The order could not be verified by the server: #{error_reason}&quot;\nexit\nend\n\n#\n# http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/placeOrder\n#\nbegin\nresult = product_order_service.placeOrder( product_order )\nputs &quot;The order was placed successfully&quot;\npp result\nrescue =&gt; error_reason\nputs &quot;The order could not be placed by the server: #{error_reason}&quot;\nexit\nend\n\n__END__<\/pre>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">The order was verified successfully\n:\n(\u4e2d\u7565)\n:\n{&quot;currentPriceFlag&quot;=&gt;nil,\n&quot;id&quot;=&gt;410,\n&quot;itemId&quot;=&gt;299,\n&quot;laborFee&quot;=&gt;&quot;0&quot;,\n&quot;onSaleFlag&quot;=&gt;nil,\n&quot;oneTimeFee&quot;=&gt;&quot;0&quot;,\n&quot;oneTimeFeeTax&quot;=&gt;&quot;0&quot;,\n&quot;proratedRecurringFee&quot;=&gt;&quot;17.387096774194&quot;,\n&quot;proratedRecurringFeeTax&quot;=&gt;&quot;0&quot;,\n&quot;quantity&quot;=&gt;nil,\n&quot;recurringFee&quot;=&gt;&quot;49&quot;,\n&quot;recurringFeeTax&quot;=&gt;&quot;0&quot;,\n&quot;setupFee&quot;=&gt;&quot;0&quot;,\n&quot;sort&quot;=&gt;0,\n&quot;categories&quot;=&gt;\n[{&quot;categoryCode&quot;=&gt;&quot;firewall&quot;,\n&quot;id&quot;=&gt;30,\n&quot;name&quot;=&gt;&quot;Hardware &amp; Software Firewalls&quot;,\n&quot;quantityLimit&quot;=&gt;0}],\n&quot;item&quot;=&gt;\n{&quot;capacity&quot;=&gt;&quot;10&quot;,\n&quot;description&quot;=&gt;&quot;10Mbps Hardware Firewall&quot;,\n&quot;id&quot;=&gt;299,\n&quot;softwareDescriptionId&quot;=&gt;nil,\n&quot;units&quot;=&gt;&quot;Mbps&quot;,\n&quot;upgradeItemId&quot;=&gt;nil,\n&quot;bundle&quot;=&gt;[]}}],\n:\n(\u4e2d\u7565)\n:\nThe order was placed successfully\n:\n(\u4e2d\u7565)\n:\n{&quot;currentPriceFlag&quot;=&gt;nil,\n&quot;id&quot;=&gt;410,\n&quot;itemId&quot;=&gt;299,\n&quot;laborFee&quot;=&gt;&quot;0&quot;,\n&quot;onSaleFlag&quot;=&gt;nil,\n&quot;oneTimeFee&quot;=&gt;&quot;0&quot;,\n&quot;oneTimeFeeTax&quot;=&gt;&quot;0&quot;,\n&quot;proratedRecurringFee&quot;=&gt;&quot;17.387096774194&quot;,\n&quot;proratedRecurringFeeTax&quot;=&gt;&quot;0&quot;,\n&quot;quantity&quot;=&gt;nil,\n&quot;recurringFee&quot;=&gt;&quot;49&quot;,\n&quot;recurringFeeTax&quot;=&gt;&quot;0&quot;,\n&quot;setupFee&quot;=&gt;&quot;0&quot;,\n&quot;sort&quot;=&gt;0,\n&quot;categories&quot;=&gt;\n[{&quot;categoryCode&quot;=&gt;&quot;firewall&quot;,\n&quot;id&quot;=&gt;30,\n&quot;name&quot;=&gt;&quot;Hardware &amp; Software Firewalls&quot;,\n&quot;quantityLimit&quot;=&gt;0}],\n&quot;item&quot;=&gt;\n{&quot;capacity&quot;=&gt;&quot;10&quot;,\n&quot;description&quot;=&gt;&quot;10Mbps Hardware Firewall&quot;,\n&quot;id&quot;=&gt;299,\n&quot;softwareDescriptionId&quot;=&gt;nil,\n&quot;units&quot;=&gt;&quot;Mbps&quot;,\n&quot;upgradeItemId&quot;=&gt;nil,\n&quot;bundle&quot;=&gt;[]}}],\n:\n(\u4e2d\u7565)\n:\n{&quot;categoryCode&quot;=&gt;&quot;firewall&quot;,\n&quot;description&quot;=&gt;&quot;10Mbps Hardware Firewall&quot;,\n&quot;id&quot;=&gt;33974552,\n&quot;itemId&quot;=&gt;299,\n&quot;itemPriceId&quot;=&gt;&quot;410&quot;,\n&quot;laborFee&quot;=&gt;&quot;0&quot;,\n&quot;laborFeeTaxRate&quot;=&gt;&quot;0&quot;,\n&quot;oneTimeFee&quot;=&gt;&quot;0&quot;,\n&quot;oneTimeFeeTaxRate&quot;=&gt;&quot;0&quot;,\n&quot;parentId&quot;=&gt;33974526,\n&quot;promoCodeId&quot;=&gt;nil,\n&quot;quantity&quot;=&gt;nil,\n&quot;recurringFee&quot;=&gt;&quot;49&quot;,\n&quot;setupFee&quot;=&gt;&quot;0&quot;,\n&quot;setupFeeDeferralMonths&quot;=&gt;12,\n&quot;setupFeeTaxRate&quot;=&gt;&quot;0&quot;,\n&quot;bundledItems&quot;=&gt;[],\n&quot;category&quot;=&gt;\n{&quot;categoryCode&quot;=&gt;&quot;firewall&quot;,\n&quot;id&quot;=&gt;30,\n&quot;name&quot;=&gt;&quot;Hardware &amp; Software Firewalls&quot;,\n&quot;quantityLimit&quot;=&gt;0},\n&quot;children&quot;=&gt;[],\n&quot;order&quot;=&gt;nil,\n&quot;storageGroups&quot;=&gt;[]},\n:\n(\u4e2d\u7565)\n:\n{&quot;categoryCode&quot;=&gt;&quot;firewall&quot;,\n&quot;description&quot;=&gt;&quot;10Mbps Hardware Firewall&quot;,\n&quot;id&quot;=&gt;33974552,\n&quot;itemId&quot;=&gt;299,\n&quot;itemPriceId&quot;=&gt;&quot;410&quot;,\n&quot;laborFee&quot;=&gt;&quot;0&quot;,\n&quot;laborFeeTaxRate&quot;=&gt;&quot;0&quot;,\n&quot;oneTimeFee&quot;=&gt;&quot;0&quot;,\n&quot;oneTimeFeeTaxRate&quot;=&gt;&quot;0&quot;,\n&quot;parentId&quot;=&gt;33974526,\n&quot;promoCodeId&quot;=&gt;nil,\n&quot;quantity&quot;=&gt;nil,\n&quot;recurringFee&quot;=&gt;&quot;49&quot;,\n&quot;setupFee&quot;=&gt;&quot;0&quot;,\n&quot;setupFeeDeferralMonths&quot;=&gt;12,\n&quot;setupFeeTaxRate&quot;=&gt;&quot;0&quot;,\n&quot;bundledItems&quot;=&gt;[],\n&quot;category&quot;=&gt;\n{&quot;categoryCode&quot;=&gt;&quot;firewall&quot;,\n&quot;id&quot;=&gt;30,\n&quot;name&quot;=&gt;&quot;Hardware &amp; Software Firewalls&quot;,\n&quot;quantityLimit&quot;=&gt;0},\n&quot;children&quot;=&gt;[],\n&quot;order&quot;=&gt;nil,\n&quot;storageGroups&quot;=&gt;[]},\n:\n(\u4e2d\u7565)\n:\n{&quot;categoryCode&quot;=&gt;&quot;firewall&quot;,\n&quot;description&quot;=&gt;&quot;10Mbps Hardware Firewall&quot;,\n&quot;id&quot;=&gt;33974552,\n&quot;itemId&quot;=&gt;299,\n&quot;itemPriceId&quot;=&gt;&quot;410&quot;,\n&quot;laborFee&quot;=&gt;&quot;0&quot;,\n&quot;laborFeeTaxRate&quot;=&gt;&quot;0&quot;,\n&quot;oneTimeFee&quot;=&gt;&quot;0&quot;,\n&quot;oneTimeFeeTaxRate&quot;=&gt;&quot;0&quot;,\n&quot;parentId&quot;=&gt;33974526,\n&quot;promoCodeId&quot;=&gt;nil,\n&quot;quantity&quot;=&gt;nil,\n&quot;recurringFee&quot;=&gt;&quot;49&quot;,\n&quot;setupFee&quot;=&gt;&quot;0&quot;,\n&quot;setupFeeDeferralMonths&quot;=&gt;12,\n&quot;setupFeeTaxRate&quot;=&gt;&quot;0&quot;,\n&quot;bundledItems&quot;=&gt;[],\n&quot;category&quot;=&gt;\n{&quot;categoryCode&quot;=&gt;&quot;firewall&quot;,\n&quot;id&quot;=&gt;30,\n&quot;name&quot;=&gt;&quot;Hardware &amp; Software Firewalls&quot;,\n&quot;quantityLimit&quot;=&gt;0},\n&quot;children&quot;=&gt;[],\n&quot;order&quot;=&gt;nil,\n&quot;storageGroups&quot;=&gt;[]},\n:\n(\u4e2d\u7565)\n:<\/pre>\n<p>Virtual Server \u3068 Hardware Firewall \u304c\u540c\u6642\u306b\u4f5c\u6210\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u306a\u304a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306b\u30eb\u30fc\u30eb\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u304a\u3089\u305a\u3001\u3059\u3079\u3066\u306e\u901a\u4fe1\u304c\u7d20\u901a\u3057\u306e\u72b6\u614b\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u64cd\u4f5c\u306b\u3064\u3044\u3066\u306f\u6b21\u306e\u8a18\u4e8b\u306b\u8b72\u308a\u307e\u3059\u3002<\/p>\n<h2>Virtual Server \u306b\u7d50\u3073\u4ed8\u3051\u3089\u308c\u305f Hardware Firewall \u3092\u78ba\u8a8d\u3059\u308b<\/h2>\n<p>\u3067\u306f\u3001\u4f5c\u6210\u3057\u305f Virtual Server \u3068 Hardware Firewall \u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305a\u306fsl\u30b3\u30de\u30f3\u30c9\u3067\u4f5c\u6210\u3057\u305f Virtual Server \u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">% sl vs list\n:.........:............:................................:.......:........:.................:..............:....................:\n:    id   : datacenter :              host              : cores : memory :    primary_ip   :  backend_ip  : active_transaction :\n:.........:............:................................:.......:........:.................:..............:....................:\n: XXXXX64 :   sjc01    : test-20140516144201.example.jp :   1   :   1G   : 108.168.XX8.XX7 : 10.88.X5.XX1 :         -          :\n:.........:............:................................:.......:........:.................:..............:....................:<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">% sl vs detail XXXXX64\n:....................:.....................................................:\n:               Name : Value                                               :\n:....................:.....................................................:\n:                 id : XXXXX64                                             :\n:           hostname : test-20140516144201.example.jp                      :\n:             status : Active                                              :\n: active_transaction : -                                                   :\n:              state : Running                                             :\n:         datacenter : sjc01                                               :\n:                 os : Ubuntu                                              :\n:         os_version : 12.04-64 Minimal for VSI                            :\n:              cores : 1                                                   :\n:             memory : 1G                                                  :\n:          public_ip : 108.168.XX8.XX7                                     :\n:         private_ip : 10.88.X5.XX1                                        :\n:       private_only : False                                               :\n:        private_cpu : False                                               :\n:            created : 2014-05-16T14:42:06+09:00                           :\n:           modified : 2014-05-16T14:58:55+09:00                           :\n:              vlans : :.........:........:........:                       :\n:                    : :   type  : number :   id   :                       :\n:                    : :.........:........:........:                       :\n:                    : :  PUBLIC :  XX04  : XXXX26 :                       :\n:                    : : PRIVATE :  XX52  : XXXX28 :                       :\n:                    : :.........:........:........:                       :\n:....................:.....................................................:<\/pre>\n<p>\u6b21\u306bsl\u30b3\u30de\u30f3\u30c9\u3067\u4f5c\u6210\u3057\u305f Virtual Server \u306b\u7d10\u4ed8\u3044\u3066\u3044\u308b Hardware Firewall \u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\n\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e<strong>server\/vlan id<\/strong>\u306fVirtual Server\u306e<strong>id<\/strong>\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">% sl firewall list\n:.............:................:..........:................:\n: firewall id :      type      : features : server\/vlan id :\n:.............:................:..........:................:\n:  cci:XXX94  : CCI - standard :    -     :    XXXXX64     :\n:.............:................:..........:................:<\/pre>\n<p>Hardware Firewall\u306e\u30eb\u30fc\u30eb\u306f\u307e\u3060\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">% sl firewall detail cci:XXX94\n:...:........:..........:........:..........:......:...........:\n: # : action : protocol : src_ip : src_mask : dest : dest_mask :\n:...:........:..........:........:..........:......:...........:\n:...:........:..........:........:..........:......:...........:<\/pre>\n<p>softlayer-api-ruby-client \u304b\u3089\u3082 Virtual Server \u306b\u7d10\u4ed8\u3044\u305f Hardware Firewall \u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u6b21\u306f <a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Account\">SoftLayer_Account<\/a> \u30b5\u30fc\u30d3\u30b9\u304b\u3089 <a href=\"https:\/\/github.com\/softlayer\/softlayer-python\/blob\/v3.1.0\/SoftLayer\/managers\/firewall.py#L171\">sl firewall detail \u30b3\u30de\u30f3\u30c9\u540c\u69d8\u306e\u30de\u30b9\u30af<\/a> \u3092\u8a2d\u5b9a\u3057\u3066\u30c7\u30fc\u30bf\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3067\u3001Hardware Firewall \u306e\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#!\/usr\/bin\/ruby\n\nrequire 'softlayer_api'\nrequire 'pp'\n\n#\n# fill your SoftLayer API username and API key\n#\napi_username = ENV['SOFTLAYER_API_USERNAME'] || 'YOUR_SOFTLAYER_API_USERNAME'\napi_key = ENV['SOFTLAYER_API_KEY'] || 'YOUR_SOFTLAYER_API_KEY'\n\n#\n# http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Account\n#\naccount_service = SoftLayer::Service.new( 'SoftLayer_Account',\n:username =&gt; api_username,\n:api_key =&gt; api_key,\n)\n\n#\n# https:\/\/github.com\/softlayer\/softlayer-python\/blob\/v3.1.0\/SoftLayer\/managers\/firewall.py#L171\n#\nmask=[\n'networkVlans[' +\n'firewallNetworkComponents, ' +\n'networkVlanFirewall, ' +\n'dedicatedFirewallFlag, ' +\n'firewallGuestNetworkComponents, ' +\n'firewallInterfaces, ' +\n'firewallRules, ' +\n'highAvailabilityFirewallFlag]'\n# 'primarySubnet': None,\n]\nresponse = account_service.\nobject_mask( 'mask[' + mask.join( ',' ) + ']' ).\ngetObject()\n\npp response\n\n#\n# result\n#\n__END__<\/pre>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n:\n(\u4e2d\u7565)\n:\n&quot;networkVlans&quot;=&gt;\n[{&quot;accountId&quot;=&gt;XXXX78,\n&quot;id&quot;=&gt;XXXX26,\n&quot;modifyDate&quot;=&gt;&quot;2014-05-07T10:50:07+09:00&quot;,\n&quot;networkVrfId&quot;=&gt;nil,\n&quot;primarySubnetId&quot;=&gt;XXXX98,\n&quot;vlanNumber&quot;=&gt;XX04,\n&quot;dedicatedFirewallFlag&quot;=&gt;0,\n&quot;firewallGuestNetworkComponents&quot;=&gt;\n[{&quot;guestNetworkComponentId&quot;=&gt;XXXXX66,\n&quot;id&quot;=&gt;XXX94,\n&quot;networkComponentId&quot;=&gt;nil,\n&quot;status&quot;=&gt;&quot;bypass&quot;,\n&quot;guestNetworkComponent&quot;=&gt;\n{&quot;createDate&quot;=&gt;&quot;2014-05-16T14:42:34+09:00&quot;,\n&quot;guestId&quot;=&gt;XXXXX64,\n&quot;id&quot;=&gt;2242466,\n&quot;macAddress&quot;=&gt;&quot;XX:XX:XX:XX:XX:94&quot;,\n&quot;maxSpeed&quot;=&gt;10,\n&quot;modifyDate&quot;=&gt;&quot;2014-05-16T14:42:59+09:00&quot;,\n&quot;name&quot;=&gt;&quot;eth&quot;,\n&quot;networkId&quot;=&gt;XXXXX18,\n&quot;port&quot;=&gt;1,\n&quot;speed&quot;=&gt;10,\n&quot;status&quot;=&gt;&quot;ACTIVE&quot;,\n&quot;uuid&quot;=&gt;&quot;XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&quot;,\n&quot;guest&quot;=&gt;\n{&quot;accountId&quot;=&gt;XXXX78,\n&quot;createDate&quot;=&gt;&quot;2014-05-16T14:42:06+09:00&quot;,\n&quot;dedicatedAccountHostOnlyFlag&quot;=&gt;false,\n&quot;domain&quot;=&gt;&quot;example.jp&quot;,\n&quot;fullyQualifiedDomainName&quot;=&gt;&quot;test-20140516144201.example.jp&quot;,\n&quot;hostname&quot;=&gt;&quot;test-20140516144201&quot;,\n&quot;id&quot;=&gt;XXXXX64,\n&quot;lastPowerStateId&quot;=&gt;nil,\n&quot;lastVerifiedDate&quot;=&gt;nil,\n&quot;maxCpu&quot;=&gt;1,\n&quot;maxCpuUnits&quot;=&gt;&quot;CORE&quot;,\n&quot;maxMemory&quot;=&gt;1024,\n&quot;metricPollDate&quot;=&gt;nil,\n&quot;modifyDate&quot;=&gt;&quot;2014-05-16T17:32:22+09:00&quot;,\n&quot;startCpus&quot;=&gt;1,\n&quot;statusId&quot;=&gt;1001,\n&quot;uuid&quot;=&gt;&quot;XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&quot;}}}],\n&quot;firewallInterfaces&quot;=&gt;\n[{&quot;id&quot;=&gt;XX54, &quot;name&quot;=&gt;&quot;inside&quot;}, {&quot;id&quot;=&gt;XX55, &quot;name&quot;=&gt;&quot;outside&quot;}],\n&quot;firewallNetworkComponents&quot;=&gt;[],\n&quot;firewallRules&quot;=&gt;[],\n&quot;highAvailabilityFirewallFlag&quot;=&gt;false},\n:\n(\u4e2d\u7565)\n:<\/pre>\n<p>\u3053\u3053\u3067\u4e00\u65e6 API \u3067\u306f\u306a\u304f Web \u30dd\u30fc\u30bf\u30eb\u753b\u9762\u304b\u3089\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u30eb\u30fc\u30eb\u306e\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n[Devices]\u30e1\u30cb\u30e5\u30fc\u304b\u3089[Device List]\u3092\u9078\u3073\u3001\u4f5c\u6210\u3057\u305f Virtual Server \u3092\u9078\u629e\u3057\u3001[Firewall]\u30bf\u30d6\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/05\/softlayer-api-ruby-vs-hwfw-1-firewall.png\" alt=\"softlayer-api-ruby-vs-hwfw-1-firewall\"><\/p>\n<p>Action: Permit\u3001Port Range: 22-22\u3001Protocol: TCP \u3068\u5165\u529b\u3057\u3001[Process Rules]\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3057\u3066\u30eb\u30fc\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001sl\u30b3\u30de\u30f3\u30c9\u3067\u30eb\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">:...:........:..........:.........:..........:.....................:.................:\n: # : action : protocol :  src_ip : src_mask :         dest        :    dest_mask    :\n:...:........:..........:.........:..........:.....................:.................:\n: 1 : permit :   tcp    : 0.0.0.0 : 0.0.0.0  : any on server:22-22 : 255.255.255.255 :\n:...:........:..........:.........:..........:.....................:.................:<\/pre>\n<p>\u5148\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3082\u540c\u69d8\u306b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">:\n(\u4e2d\u7565)\n:\n&quot;firewallInterfaces&quot;=&gt;\n[{&quot;id&quot;=&gt;4654, &quot;name&quot;=&gt;&quot;inside&quot;}, {&quot;id&quot;=&gt;4655, &quot;name&quot;=&gt;&quot;outside&quot;}],\n&quot;firewallNetworkComponents&quot;=&gt;[],\n&quot;firewallRules&quot;=&gt;\n[{&quot;action&quot;=&gt;&quot;permit&quot;,\n&quot;destinationIpAddress&quot;=&gt;&quot;any on server&quot;,\n&quot;destinationIpCidr&quot;=&gt;32,\n&quot;destinationIpSubnetMask&quot;=&gt;&quot;255.255.255.255&quot;,\n&quot;destinationPortRangeEnd&quot;=&gt;22,\n&quot;destinationPortRangeStart&quot;=&gt;22,\n&quot;id&quot;=&gt;XXXXX26,\n&quot;orderValue&quot;=&gt;1,\n&quot;protocol&quot;=&gt;&quot;tcp&quot;,\n&quot;sourceIpAddress&quot;=&gt;&quot;0.0.0.0&quot;,\n&quot;sourceIpCidr&quot;=&gt;0,\n&quot;sourceIpSubnetMask&quot;=&gt;&quot;0.0.0.0&quot;,\n&quot;status&quot;=&gt;&quot;allow_edit&quot;,\n&quot;version&quot;=&gt;4}],\n&quot;highAvailabilityFirewallFlag&quot;=&gt;false},\n:\n(\u4e2d\u7565)\n:<\/pre>\n<p><strong>firewallRules<\/strong>\u304c\u66f4\u65b0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u672c\u8a18\u4e8b\u3067\u306f <a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/placeOrder\">SoftLayer_Product_Order::placeOrder<\/a> \u3092\u7528\u3044\u3066\u3001Hardware Firewall \u3064\u304d\u306e Virtual Server \u3092\u4f5c\u6210\u3057\u3001<a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Account\">SoftLayer_Account<\/a> \u30b5\u30fc\u30d3\u30b9\u304b\u3089\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u30eb\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<br \/>\n\u6b21\u56de\u306f API \u304b\u3089\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u30eb\u30fc\u30eb\u3092\u64cd\u4f5c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Virtual Server \u3068 Hardware Firewall \u3092 API \u7d4c\u7531\u3067\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 \u524d\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001SoftLayer_Product_Order::verifyOrder \u304a\u3088\u3073 SoftLay [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":4693,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[31,819,38],"tags":[],"class_list":["post-4626","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-higuchi","category-ruby","category-softlayer"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>softlayer-api-ruby-client \u3067 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b #softlayer - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"d-higuchi, Ruby, softlayer |Virtual Server \u3068 Hardware Firewall \u3092 API \u7d4c\u7531\u3067\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\" \/>\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\/others\/ruby\/4626\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"softlayer-api-ruby-client \u3067 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b #softlayer - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"d-higuchi, Ruby, softlayer |Virtual Server \u3068 Hardware Firewall \u3092 API \u7d4c\u7531\u3067\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626\" \/>\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=\"2014-06-02T02:35:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-27T13:14:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/05\/softlayer-api-ruby-vs-hwfw-1-firewall.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1194\" \/>\n\t<meta property=\"og:image:height\" content=\"491\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Daisuke Higuchi\" \/>\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=\"Daisuke Higuchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"9\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\\\/others\\\/ruby\\\/4626#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/4626\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"softlayer-api-ruby-client \u3067 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b #softlayer\",\"datePublished\":\"2014-06-02T02:35:08+00:00\",\"dateModified\":\"2026-05-27T13:14:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/4626\"},\"wordCount\":171,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/4626#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/softlayer-api-ruby-vs-hwfw-1-firewall.png\",\"articleSection\":[\"d-higuchi\",\"Ruby\",\"softlayer\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/4626\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/4626\",\"name\":\"softlayer-api-ruby-client \u3067 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b #softlayer - 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\\\/others\\\/ruby\\\/4626#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/4626#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/softlayer-api-ruby-vs-hwfw-1-firewall.png\",\"datePublished\":\"2014-06-02T02:35:08+00:00\",\"dateModified\":\"2026-05-27T13:14:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"d-higuchi, Ruby, softlayer |Virtual Server \u3068 Hardware Firewall \u3092 API \u7d4c\u7531\u3067\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/4626#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/4626\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/4626#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/softlayer-api-ruby-vs-hwfw-1-firewall.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/softlayer-api-ruby-vs-hwfw-1-firewall.png\",\"width\":1194,\"height\":491},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/4626#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u305d\u306e\u4ed6\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ruby\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"softlayer-api-ruby-client \u3067 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b #softlayer\"}]},{\"@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\\\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/pngout-25-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/pngout-25-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/pngout-25-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"\u306f\u3084\u308a\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"softlayer-api-ruby-client \u3067 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b #softlayer - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"d-higuchi, Ruby, softlayer |Virtual Server \u3068 Hardware Firewall \u3092 API \u7d4c\u7531\u3067\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b\u65b9\u6cd5","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\/others\/ruby\/4626","og_locale":"ja_JP","og_type":"article","og_title":"softlayer-api-ruby-client \u3067 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b #softlayer - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"d-higuchi, Ruby, softlayer |Virtual Server \u3068 Hardware Firewall \u3092 API \u7d4c\u7531\u3067\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b\u65b9\u6cd5","og_url":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626","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":"2014-06-02T02:35:08+00:00","article_modified_time":"2026-05-27T13:14:35+00:00","og_image":[{"width":1194,"height":491,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/05\/softlayer-api-ruby-vs-hwfw-1-firewall.png","type":"image\/png"}],"author":"Daisuke Higuchi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Daisuke Higuchi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"9\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"softlayer-api-ruby-client \u3067 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b #softlayer","datePublished":"2014-06-02T02:35:08+00:00","dateModified":"2026-05-27T13:14:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626"},"wordCount":171,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/05\/softlayer-api-ruby-vs-hwfw-1-firewall.png","articleSection":["d-higuchi","Ruby","softlayer"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626","url":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626","name":"softlayer-api-ruby-client \u3067 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b #softlayer - 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\/others\/ruby\/4626#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/05\/softlayer-api-ruby-vs-hwfw-1-firewall.png","datePublished":"2014-06-02T02:35:08+00:00","dateModified":"2026-05-27T13:14:35+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"d-higuchi, Ruby, softlayer |Virtual Server \u3068 Hardware Firewall \u3092 API \u7d4c\u7531\u3067\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b\u65b9\u6cd5","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/05\/softlayer-api-ruby-vs-hwfw-1-firewall.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/05\/softlayer-api-ruby-vs-hwfw-1-firewall.png","width":1194,"height":491},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/4626#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u305d\u306e\u4ed6","item":"https:\/\/www.creationline.com\/tech-blog\/others"},{"@type":"ListItem","position":3,"name":"Ruby","item":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby"},{"@type":"ListItem","position":4,"name":"softlayer-api-ruby-client \u3067 Virtual Server \u3068 Hardware Firewall \u3092\u540c\u6642\u306b\u4f5c\u6210\u3059\u308b #softlayer"}]},{"@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\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/05\/pngout-25-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/05\/pngout-25-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/05\/pngout-25-230x230.png","caption":"Daisuke Higuchi"},"description":"\u306f\u3084\u308a\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/4626","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=4626"}],"version-history":[{"count":3,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/4626\/revisions"}],"predecessor-version":[{"id":83986,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/4626\/revisions\/83986"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/4693"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=4626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=4626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=4626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}